Welcome![Sign In][Sign Up]
Location:
Search - gpio_test.c

Search list

[VC/MFCGpio_TEST

Description: 利用c语言,模拟了通用输入输出端口的时序功能-Using c language, a common analog input and output ports of the timing function
Platform: | Size: 193536 | Author: zds | Hits:

[Other Embeded programgpio-test

Description: 1、将makefile中的 CROSS =/usr/local/arm/2.95.3/bin/arm-linux- CFLAGS+=-I/usr/local/src/2.4.18-rmk7/include CFLAGS+=-I/usr/local/src/2.4.18-rmk7/include/linux CFLAGS+=-I/usr/local/arm/2.95.3/arm-linux/include 路径改为你宿主机上的。 2、#make,来编译驱动模块。 3、#export PATH=$PATH:/usr/local/arm/2.95.3/bin //取决于你宿主机上的交叉编译工具路径 #arm-linux-gcc -o gpio_test gpio_test.c //编译应用程序 最终在你的当前文件夹下会生成gpiodrv.o与gpio_test两个文件。 4、#mkdir /tmp/1 5、通过ftp的方法,把gpio_test与gpiodrv.o文件下载到你的开发板上的/tmp/1目录中。 6、#mknod /dev/gpio c 220 0 //创建文件节点 #insmod gpiodrv.o #chmod +x gpio_test #./gpio_test 然后,就可以看到四个LED灯在闪烁了。:)-1, the makefile in the CROSS =/usr/local/arm/2.95.3/bin/arm-linux- CFLAGS+ =- I/usr/local/src/2.4.18-rmk7/include CFLAGS+ =- I/usr/local/src/2.4.18-rmk7/include/linux CFLAGS+ =- I/usr/local/arm/2.95.3/arm-linux/include changed the path on your host. 2,# make, to compile driver modules. 3,# export PATH = $ PATH:/usr/local/arm/2.95.3/bin// depends on your host on the path of the cross compiler tool# arm-linux-gcc-o gpio_test gpio_test.c// compile the application procedures for the ultimate in your current folder will be generated under the two documents gpiodrv.o and gpio_test. 4,# mkdir/tmp/1 5, through the ftp way to gpiodrv.o File Download gpio_test with the development of your board/tmp/1 directory. 6,# mknod/dev/gpio c 220 0// create a file node# insmod gpiodrv.o# chmod+ x gpio_test#./Gpio_test then four LED lights can be seen in the flicker of. :)
Platform: | Size: 9216 | Author: 马工 | Hits:

[Embeded-SCM Developgpio_test

Description: 周立功EPC8900 GPIO测试例程,包含.c和makefile文件。-ZLG EPC8900 GPIO test routines, including. C and makefile files.
Platform: | Size: 1024 | Author: 马文军 | Hits:

[ARM-PowerPC-ColdFire-MIPSgpio_test.c.tar

Description: 针对OMAP3530处理器,用来测试GPIO的模块程序。这个程序可以申请gpio,为gpio设置中断处理函数等功能。-For the OMAP3530 processor, the program is used to test the GPIO. This procedure can apply gpio, gpio settings for the interrupt handler functions.
Platform: | Size: 1024 | Author: haohuiming | Hits:

[Linux-Unixgpio_test

Description: gpio_test 测试gpio口 拉低拉高 看状态(Test of GPIO port, low pull and high look state)
Platform: | Size: 9216 | Author: 数据包 | Hits:

CodeBus www.codebus.net