板子上有一颗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/