文件名称:tengnuo
介绍说明--下载内容均来自于网络,请自行研究使用
键盘驱动源码,应用程序源码
本驱动是基于中断方式的,在此创建一个等待队列,以配合中断函数使用;当有按键按下并读取到键
值时,将会唤醒此队列,并设置中断标志,以便能通过 read 函数判断和读取键值传递到用户态;当没有按
键按下时,系统并不会轮询按键状态,以节省时钟资源*/ -Keyboard driver source code, the application source code of this driver is interrupt-based approach, in which to create a queue to match interrupt function uses When a button is pressed and read to the key, it will wake up this queue, and set the interrupt flag to pass judgment and read read function keys passed to the user mode when no key is pressed, the system does not poll the key state in order to save the clock resource* /
本驱动是基于中断方式的,在此创建一个等待队列,以配合中断函数使用;当有按键按下并读取到键
值时,将会唤醒此队列,并设置中断标志,以便能通过 read 函数判断和读取键值传递到用户态;当没有按
键按下时,系统并不会轮询按键状态,以节省时钟资源*/ -Keyboard driver source code, the application source code of this driver is interrupt-based approach, in which to create a queue to match interrupt function uses When a button is pressed and read to the key, it will wake up this queue, and set the interrupt flag to pass judgment and read read function keys passed to the user mode when no key is pressed, the system does not poll the key state in order to save the clock resource* /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tengnuo.rtf