摘要:
以led驱动为例,讲解如何写一个字符设备驱动程序。 1)看原理图 a.确定引脚 b.看芯片手册,确定如何操作引脚 2)写驱动程序 3)写测试程序 最简单的字符设备驱动程序的框架: App: open read write ioctl 驱动: drv_open drv_read drv_write d 阅读全文
posted @ 2019-07-17 23:10
一代枭雄
阅读(848)
评论(0)
推荐(0)
摘要:
核心句型 Do you have this T-shirt in red? 这样的T恤衫,你们有红色的吗? 场景对话: A:Excuse me,do you have this T-shirt in red? 请问,这样的T恤衫你们有红色的吗? B:Yeah,let me show you。What 阅读全文
posted @ 2019-07-17 22:05
一代枭雄
阅读(618)
评论(0)
推荐(0)
浙公网安备 33010602011771号