摘要: 摘自: http://www.ntu.edu.sg/home/ehchua/programming/java/J4a_GUI.html Creating Your Own Event, Source and Listener: Suppose that we have a source called 阅读全文
posted @ 2016-01-21 23:26 SuperTao1024 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 本文主要关注bsp中,关于smbus(系统管理总线,是i2c的子集)的配置过程,了解如如何配置i2c寄存器。所有发送的数据都会写在FIFO中,使能之后就发送出去。接收数据就从接收寄存器中读取。读取和发送的数据都保存在iproc_xact_info结构体中。结合smbus数据帧的格式,分析下面代码。s 阅读全文
posted @ 2016-01-21 09:35 SuperTao1024 阅读(1773) 评论(0) 推荐(1) 编辑