Linux驱动
pixelcolor
编辑教师
展开
-
海思Hi3531 GPIO按键的长按、短按、连发——Linux驱动+应用程序
转:https://blog.csdn.net/cfl927096306/article/details/88842398### ...转载 2019-08-03 11:34:56 · 854 阅读 · 0 评论 -
Linux混杂设备驱动 - 按键设备驱动
之前的一篇博客概括了混杂设备驱动模型(http://www.cnblogs.com/ape-ming/p/5101322.html),现在就根据那篇博客所列出来的模板写一个按键设备驱动程序。根据模板首先要写一个设备加载函数: 1 /* 2 * 函数名 : button_init 3 * 函数功能: 设备加载 4 */ 5 static int __...转载 2019-08-14 11:22:49 · 122 阅读 · 0 评论