Freescale Semiconductor FRDM-FXS-MULTI 데이터 시트

다운로드
페이지 65
MMA8652FC
Sensors
42
Freescale Semiconductor, Inc.
6.9.2
0x1E TRANSIENT_SRC register
The transient source register provides the status of the enabled axes and the polarity (directional) information. When the 
TRANSIENT_SRC register is read, it clears the interrupt for the transient detection. 
When new events arrive while EA = 1, additional *TRANSE bits may get set, and the corresponding *_Trans_Pol flag become 
updated. However no *TRANSE bit may get cleared before the TRANSIENT_SRC register is read. 
When the EA bit gets set while ELE = 1, all other status bits get frozen at their current state. 
By reading the TRANSIENT_SRC register, all bits get cleared.
Table 60. 0x1E TRANSIENT_SRC register (Read-Only)
Back to Register Address Map
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
 EA
ZTRANSE
Z_Trans_Pol
YTRANSE
Y_Trans_Pol
XTRANSE
X_Trans_Pol
Table 61. TRANSIENT_SRC register
Bit(s)
Field
Description
7
Could be 0 or 1.
6
EA
Event Active Flag 
0 No event flag has been asserted (default)
1 One or more event flags has been asserted. 
5
ZTRANSE
Z-transient event 
0 No interrupt (default)
1 Z-transient acceleration greater than the value of TRANSIENT_THS event has occurred
4
Z_Trans_Pol
Polarity of Z-Transient Event that triggered the interrupt 
0 Z-event was positive g (default)
1 Z-event was negative g
3
YTRANSE
Y-transient event 
0 No interrupt (default)
1 Y-transient acceleration greater than the value of TRANSIENT_THS event has occurred
2
Y_Trans_Pol
Polarity of Y-Transient Event that triggered the interrupt 
0 Y-event was Positive g (default)
1 Y-event was Negative g
1
XTRANSE
X-transient event 
0 No interrupt (default)
1 X-transient acceleration greater than the value of TRANSIENT_THS event has occurred
0
X_Trans_Pol
Polarity of X-Transient Event that triggered the interrupt 
0 X-event was Positive g (default)
1 X-event was Negative g