Linux驱动开发 file_operations ioctl read write驱动及Android应用程序调用

上传者: tarkelc | 上传时间: 2020-01-03 11:35:43 | 文件大小: 2.21MB | 文件类型: zip
资源含Android应用程序->JNI->C语言层->驱动程序。 硬件开发板为讯为电子的exynos4412开发板。 主要实现从驱动到Android应用程序的逐层调用过程。关键是file_operations!! 通过Android应用程序,能够控制GPIO LED,写入数据,以及去读已写入的数据。 Android应用程序中有两个BUTTON用不上,无关紧要,这就不删掉了。

文件下载

资源详情

[{"title":"( 83 个子文件 2.21MB ) Linux驱动开发 file_operations ioctl read write驱动及Android应用程序调用","children":[{"title":"资源","children":[{"title":"MyledsTest","children":[{"title":".project <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 609B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"ling","children":[{"title":"tarkelc","children":[{"title":"myledstest","children":[{"title":"MainActivity.java <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"Myleds.java <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"SystemManager.java <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 865B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1008B </span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 331B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 655B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 699B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 388B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"jni","children":[{"title":"MyledsTest.cpp <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"Android.mk <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"ling_tarkelc_myledstest_Myleds.h <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false}],"spread":true},{"title":".cproject <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"ling","children":[{"title":"tarkelc","children":[{"title":"myledstest","children":[{"title":"BuildConfig.java <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 176.82KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"android","children":[{"title":"support","children":[{"title":"v7","children":[{"title":"appcompat","children":[{"title":"R.java <span style='color:#111;'> 40.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 633.13KB </span>","children":null,"spread":false},{"title":"armeabi","children":[{"title":"libMyledsTest.so <span style='color:#111;'> 13.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"obj","children":[{"title":"local","children":[{"title":"armeabi","children":[{"title":"objs","children":[{"title":"MyledsTest","children":[{"title":"MyledsTest.o <span style='color:#111;'> 59.77KB </span>","children":null,"spread":false},{"title":"MyledsTest.o.d <span style='color:#111;'> 10.76KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"libMyledsTest.so <span style='color:#111;'> 83.34KB </span>","children":null,"spread":false},{"title":"libstdc++.a <span style='color:#111;'> 8B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 7.67KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'> 346.22KB </span>","children":null,"spread":false},{"title":"R.txt <span style='color:#111;'> 30.01KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"ling","children":[{"title":"tarkelc","children":[{"title":"myledstest","children":[{"title":"R$layout.class <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 9.41KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"MainActivity$4.class <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 355B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 5.09KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"R$bool.class <span style='color:#111;'> 748B </span>","children":null,"spread":false},{"title":"R$integer.class <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"MainActivity$5.class <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 614B </span>","children":null,"spread":false},{"title":"SystemManager.class <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"MainActivity$2.class <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 945B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"MainActivity$3.class <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"Myleds.class <span style='color:#111;'> 436B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 579B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 6.55KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"android","children":[{"title":"support","children":[{"title":"v7","children":[{"title":"appcompat","children":[{"title":"R$layout.class <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 9.36KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 5.02KB </span>","children":null,"spread":false},{"title":"R$bool.class <span style='color:#111;'> 763B </span>","children":null,"spread":false},{"title":"R$integer.class <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 629B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 1015B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 865B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"appcompat_v7_4-66d705ef088e0a39d10d6e35645ab7bf.jar <span style='color:#111;'> 166B </span>","children":null,"spread":false},{"title":"annotations-58f487a491504e891d6644656f807d3c.jar <span style='color:#111;'> 910B </span>","children":null,"spread":false},{"title":"android-support-v7-appcompat-249361235d2a219a9bacd6b4e3b7db6c.jar <span style='color:#111;'> 146.62KB </span>","children":null,"spread":false},{"title":"android-support-v4-a9e78964af64fca0adf5d97be3965ab3.jar <span style='color:#111;'> 236.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"MyledsTest.apk <span style='color:#111;'> 757.84KB </span>","children":null,"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 798B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"classes.dex <span style='color:#111;'> 1.27MB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"tarkelc_writeread.ko <span style='color:#111;'> 73.73KB </span>","children":null,"spread":false},{"title":"tarkelc_writeread.c <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • ju19841124 :
    挺好用的,谢谢楼主
    2021-04-25

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明