-
注册一个标准的字符设备
1: /*动态分配一个设备号*/alloc_chrdev_region(&LedDev,0,1,"myled"); //我们可以读取/proc/devices文件以获得Linux内核分配给设备的主设备号和设备名字2: /*动态分配cdev结构体,返个cdev结构;如果执行失败,将返回NULL。*/LedCdev = cdev_alloc();3: /*初始化Cdev结构体*/cdev_init(LedCdev,&fops);4: /*注册Cdev结构体*/cdev_add(LedCdev,LedDev,1);
- 2022-01-26 02:49:41下载
- 积分:1
-
ALIENTEK MINISTM32 实验2 按键实验
说明: 1.44寸显示屏显示资料,可显示汉字,图片,彩色图片,带取模软件(1.44-inch display screen display data, can display Chinese characters, pictures, color pictures, with the module software)
- 2020-06-19 02:20:01下载
- 积分:1
-
贪吃蛇 c语言
使用c语言编写的贪吃蛇游戏,命令行游戏,只是利用打印命令做的游戏
- 2022-02-16 07:23:08下载
- 积分:1
-
C# ɾ
- 2023-02-26 20:40:04下载
- 积分:1
-
mt8888application
MT8880应用实例合集,总共有十余个例子(MT8880 Application collection, a total of more than ten examples of)
- 2010-10-15 09:27:09下载
- 积分:1
-
王兆安_谐波抑制与无功功率补偿(第二版)
说明: 电气自动化,谐波抑制和无功功率补偿原理,静态无功发生器(Principles of electric automation, harmonic suppression and reactive power compensation)
- 2020-01-17 19:23:39下载
- 积分:1
-
操作FlexCell表格控件
LabWindows/cvi 操作FlexCell表格控件,固定列表头和固定列,预览和打印.(LabWindows/cvi operation FlexCell form controls, fixed and fixed list of the first row, and print preview.)
- 2009-05-07 13:03:10下载
- 积分:1
-
ADcaijimokuai
单片机的A/D采集模块,该模块通过编者使用,性能良好稳定。(Microcontroller A/D acquisition module, through the editor to use, good performance and stability.)
- 2013-09-07 15:51:18下载
- 积分:1
-
AddCAD
AE实现加载CAD格式的数据,以及对其进行转换格式,转换为SHP等格式,还有对其进行编辑等操作(AE spatial data editing functions, including generating points, generating lines, as well as delete, move elements such as fried operation)
- 2013-10-26 11:23:37下载
- 积分:1
-
694
顺序表插入x值顺序表插入x值顺序表插入x值(Insert x value of the order sequence table table table is inserted into the x value of the order value of x)
- 2013-09-24 21:29:05下载
- 积分:1