Datasheet
Sensors
Freescale Semiconductor, Inc. 14
MMA7660FC
REGISTER DEFINITIONS
NOTE: To write to the registers the MODE bit in the MODE (0x07) register must be set to 0, placing the device in Standby Mode.
$00: 6-bits output value X (Read Only when not in Test Mode)
XOUT — X Output
Signed byte 6-bit 2’s complement data with allowable range of +31 to -32.
XOUT[5] is 0 if the g direction is positive, 1 if the g direction is negative.
If the Alert bit is set, the register was read at the same time as the device was attempting to update the contents. The register
must be read again.
$01: 6-bits output value Y (Read Only when not in Test Mode)
YOUT — Y Output
Signed byte 6-bit 2’s complement data with allowable range of +31 to -32.
YOUT[5] is 0 if the g direction is positive, 1 if the g direction is negative.
If the Alert bit is set, the register was read at the same time as the device was attempting to update the contents. The register
must be read again.
$02: 6-bits output value Z (Read Only when not in Test Mode)
ZOUT — Z Output
Signed byte 6-bit 2’s complement data with allowable range of +31 to -32.
ZOUT[5] is 0 if the g direction is positive, 1 if the g direction is negative.
If the Alert bit is set, the register was read at the same time as the device was attempting to update the contents. The register
must be read again.
Table 9. User Register Summary
Address Name Definition Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
$00 XOUT 6-bit output value X - Alert XOUT[5] XOUT[4] XOUT[3] XOUT[2] XOUT[1] XOUT[0]
$01 YOUT 6-bit output value Y - Alert YOUT[5] YOUT[4] YOUT[3] YOUT[2] YOUT[1] YOUT[0]
$02 ZOUT 6-bit output value Z - Alert ZOUT[5] ZOUT[4] ZOUT[3] ZOUT[2] ZOUT[1] ZOUT[0]
$03 TILT Tilt Status Shake Alert Tap PoLa[2] PoLa[1] PoLa[0] BaFro[1] BaFro[0]
$04 SRST Sampling Rate Status 0 0 0 0 0 0 AWSRS AMSRS
$05 SPCNT Sleep Count SC[7] SC[6] SC[5] SC[4] SC[3] SC[2] SC[1] SC[0]
$06 INTSU Interrupt Setup SHINTX SHINTY SHINTZ GINT ASINT PDINT PLINT FBINT
$07 MODE Mode IAH IPP SCPS ASE AWE TON - MODE
$08 SR Auto-Wake/Sleep and
Portrait/Landscape samples
per seconds and Debounce
Filter
FILT[2] FILT[1] FILT[0] AWSR[1] AWSR[0] AMSR[2] AMSR[1] AMSR[0]
$09 PDET Tap Detection ZDA YDA XDA PDTH[4] PDTH[3] PDTH[2] PDTH[1] PDTH[0]
$0A PD Tap Debounce Count PD[7] PD[6] PD[5] PD[4] PD[3] PD[2] PD[1] PD[0]
$0B-$1F Factory Reserved - - - - - - - -
D7 D6 D5 D4 D3 D2 D1 D0
- Alert XOUT[5] XOUT[4] XOUT[3] XOUT[2] XOUT[1] XOUT[0]
00000000
D7 D6 D5 D4 D3 D2 D1 D0
- Alert YOUT[5] YOUT[4] YOUT[3] YOUT[2] YOUT[1] YOUT[0]
00000000
D7 D6 D5 D4 D3 D2 D1 D0
- Alert ZOUT[5] ZXOUT[4] ZOUT[3] ZOUT[2] ZOUT[1] ZOUT[0]
000 0 0000