linux驱动开发:重力传感器的了解

板子上有一颗IC:MMA7660FC,我们来试着读一下它的芯片手册,当然读的目的是为了驱动它。这也是我们驱动开发的目的:拿过来一块未知的IC,去读它的芯片手册,支持那种通讯协议,然后编码让它动起来。

he sensor has three power modes: Off Mode, Standby Mode, and Active Mode to offer the customer different power
consumption options. The sensor is only capable of running in one of these modes at a time.
支持三种模式:off mode,standby mode,active mode.

During the Active Mode, continuous measurement on all three axes is enabled. In addition, the user can choose to enable:Shake Detection, Tap Detection, Orientation Detection, and/or Auto-Wake/Sleep Feature and in this mode the digital analysis for any of these functions is done. The user can configure the samples per second to any of the following: 1 sample/second,2 samples/second, 4 samples/second, 8 samples/second, 16 samples/second, 32 samples/second, 64 samples/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值