Inside SW,FW and HW R&D

C/C++ | Visual C++ | 嵌入式系统 | 硬件设计 | 通信与网络

My Links

Blog统计

公告


  ----Counters-----
     Welcome to Inside SW,FW and HW R&D.
   Developer:宋宝华
21cnbao@21cn.com

文章

收藏

相册

技术网站

存档


正在读取评论……

2008年04月



    摘要:Subject: Re: bug report about nand flash id table and the way to identify chips From: song baohua Date: Thu, April 10, 2008 3:33 pm To: "Thomas Gleixner" Cc: Priority: Normal Options: Thomas, Thanks for your reply! We are using a little old kernel version. We find there is really CONFIG_MTD_NAND_MUSEUM_IDS in the newest linux kernel. Best regards Baohua > On Thu, 10 Apr 2008, songbaohua wrote: >> Dear all&Thomas, >> There is a bug in the way to identif    (全文共16970字)——点击此处阅读全文




    摘要:         《详解》12.1的按键驱动,是本书的最大失误,应大家的要求,我们很有必要对其进行再次阐述。
         注意标题是“按键”驱动而非“键盘”驱动,按键往往是一个按钮直接对应于一个可中断的GPIO,而键盘则有一个行列矩阵,有一个扫描的过程,由键盘控制器负责扫描、去抖动、得到键值等工作。
         按键驱动的目的是在用户调用read()的时候能够读出来正确的键值,如果用户以阻塞方式打开,则在没有按键事件的情况下,驱动应切出本进程,之后等待按键事件唤醒之。
        因为在一个键被按下的时候,有一定时间的抖动,也就是说刚按下去的时候会弹来弹去数次,这些事件应该被忽略。有的So    (全文共1210字)——点击此处阅读全文