Shimejing

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年1月5日

摘要: http://blog.csdn.net/new_abc/article/details/8971807http://blog.csdn.net/cs_lht/article/details/8173232http://www.th7.cn/Program/Android/201210/106525... 阅读全文
posted @ 2015-01-05 14:49 Shimejing 阅读(203) 评论(0) 推荐(0) 编辑

摘要: Android 中多点触摸协议: 参考:http://www.kernel.org/doc/Documentation/input/multi-touch-protocol.txt1, 两种多点触摸协议: 1)A类: 处理无关联的接触: 用于直接发送原始数据; B类: 处理跟踪识别类的接触: 通过事... 阅读全文
posted @ 2015-01-05 09:33 Shimejing 阅读(346) 评论(0) 推荐(0) 编辑

2015年1月4日

摘要: http://blog.chinaunix.net/uid-28320320-id-3389196.htmlhttp://blog.chinaunix.net/uid-9688646-id-3267697.html 阅读全文
posted @ 2015-01-04 18:19 Shimejing 阅读(217) 评论(0) 推荐(0) 编辑

2014年12月31日

摘要: 因客户有用到了gsl1680 7寸电容屏,所以拿了一块过来,便在329xx的平台上面开始调试了。 大概浏览了一下所提供的资料,只有介绍模组的资料跟一份中文版的datasheet,datasheet只是说了个大概,没有提到读取触摸坐标的寄存器。不过还好有给一份在其他处理器平台的驱动,所以读取坐标的部... 阅读全文
posted @ 2014-12-31 14:31 Shimejing 阅读(1211) 评论(0) 推荐(1) 编辑

摘要: 在学习Linux驱动的过程中,遇到一个宏叫做container_of。该宏定义在include/linux/kernel.h中,首先来贴出它的代码:/*** container_of - cast a member of a structure out to the containing struc... 阅读全文
posted @ 2014-12-31 12:25 Shimejing 阅读(279) 评论(0) 推荐(0) 编辑

摘要: 重力传感器是根据压电效应的原理来工作的。 所谓的压电效应就是 “对于不存在对称中心的异极晶体加在晶体上的外力除了使晶体发生形变以外,还将改变晶体的极化状态,在晶体内部建立电场,这种由于机械力作用使介质发生极化的现象称为正压电效应 ”。 重力传感器就是利用了其内部的由于加速度造成的晶体变形这个特性... 阅读全文
posted @ 2014-12-31 09:12 Shimejing 阅读(1077) 评论(0) 推荐(0) 编辑

2014年12月29日

摘要: http://blog.csdn.net/qianjin0703/article/details/5942579http://blog.chinaunix.net/uid-28621021-id-3487087.htmlhttp://www.rdbuy.cn/article-137.html?fro... 阅读全文
posted @ 2014-12-29 23:33 Shimejing 阅读(221) 评论(0) 推荐(0) 编辑

2014年12月28日

摘要: 重力传感器代码分析重力传感器驱动的功能,主要是向HAL层提供IOCTRL接口,并通过input设备上报数据。芯片实际数据的读取是采用i2c协议读取原始数据,并且作为i2c设备挂载在系统上工作的。1、调用关系 采用模块化的编程方式,一下介绍函数的调用关系。module_init(aac_MMAxxxx... 阅读全文
posted @ 2014-12-28 23:50 Shimejing 阅读(875) 评论(0) 推荐(0) 编辑

2014年12月26日

摘要: http://www.cnblogs.com/simonshi/archive/2011/02/24/1963426.html 阅读全文
posted @ 2014-12-26 18:05 Shimejing 阅读(147) 评论(0) 推荐(0) 编辑

摘要: http://blog.csdn.net/l627859442/article/details/7633457http://blog.chinaunix.net/uid-27717694-id-3789822.html 阅读全文
posted @ 2014-12-26 16:07 Shimejing 阅读(273) 评论(0) 推荐(0) 编辑