文件名称:chrdev_led_five_function
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- life*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在友善开发板mini2440上,用字符设备方式实现的led驱动程序,及测试用的应用程序。led驱动程序实现了ioctl、read、write设备方法,都比较简单,可以供初学者参考,在应用程序中有五个命令方法,
0-关闭指定的led
1-打开指定的led
2-获得指定的led状态
3-获得所有的led状态
4-设置所有的led-Development board mini2440 in a friendly, and with the realization of the led character device driver, and test applications. led driver realized the ioctl, read, write device methods are relatively simple, you can reference for beginners, there are five in the application command method, 0- Close the specified led 1- Open the specified led 2- access to specified led state of 3- led the state to get all 4- to set all of the led
0-关闭指定的led
1-打开指定的led
2-获得指定的led状态
3-获得所有的led状态
4-设置所有的led-Development board mini2440 in a friendly, and with the realization of the led character device driver, and test applications. led driver realized the ioctl, read, write device methods are relatively simple, you can reference for beginners, there are five in the application command method, 0- Close the specified led 1- Open the specified led 2- access to specified led state of 3- led the state to get all 4- to set all of the led
(系统自动生成,下载前可以参看下载内容)
下载文件列表
chrdev_led_five_function\led_device.h
........................\led_device.c
........................\led_device_test.c
chrdev_led_five_function
........................\led_device.c
........................\led_device_test.c
chrdev_led_five_function