|
FXLS8471Q Datasheet, PDF (31/75 Pages) Freescale Semiconductor, Inc – Linear Accelerometer | |||
|
◁ |
10.1.6 INT_SOURCE (0x0C) register
Interrupt source register. The bits that are set (logic â1â) indicate which function has asserted its interrupt and conversely bits that
are cleared (logic â0â) indicate which function has not asserted its interrupt.
Reading the INT_SOURCE register does not clear any interrupt status bits (except for src_a_vecm, see below); the respective
interrupt flag bits are reset by reading the appropriate source register for the function that generated the interrupt.
Table 25. INT_SOURCE register
src_aslp
src_fifo
src_trans
src_lndprt
src_pulse
src_ffmt
src_a_vecm
src_drdy
Table 26. INT_SOURCE bit descriptions
Field
src_aslp
src_fifo
src_trans
src_lndprt
src_pulse
src_ffmt
src_a_vecm
src_drdy
Description
Auto-Sleep/Wake interrupt status bit: logic â1â indicates that an interrupt event that can cause a Wake to Sleep or Sleep to
Wake system mode transition has occurred and logic â0â indicates that no Wake to Sleep or Sleep to Wake system mode
transition interrupt event has occurred.
The âWake-to-Sleepâ transition occurs when a period of inactivity that exceeds the user-specified time limit
(ASLP_COUNT) has been detected, thus causing the system to transition to a user-specified low ODR setting.
A âSleep-to-Wakeâ transition occurs when the user-specified interrupt event has awakened the system, thus causing the
system to transition to the user-specified higher ODR setting.
Reading the SYSMOD register will clear the src_aslp bit.
FIFO interrupt status bit: logic â1â indicates that a FIFO interrupt event such as an overflow or watermark (F_STATUS[f_cnt]
= F_STATUS[f_wmrk]) event has occurred and logic â0â indicates that no FIFO interrupt event has occurred.
This bit is cleared by reading the F_STATUS register.
Transient interrupt status bit: logic â1â indicates that an acceleration transient value greater than user-specified threshold
has occurred. and logic â0â indicates that no transient event has occurred.
This bit is asserted whenever TRANSIENT_SRC[ea] is asserted and the functional block interrupt has been enabled.
This bit is cleared by reading the TRANSIENT_SRC register.
Landscape/Portrait orientation interrupt status bit: logic â1â indicates that an interrupt was generated due to a change in the
device orientation status and logic â0â indicates that no change in orientation status was detected.
This bit is asserted whenever PL_STATUS[newlp] is asserted and the functional block interrupt has been enabled.
This bit is cleared by reading the PL_STATUS register.
Pulse interrupt status bit: logic â1â indicates that an interrupt was generated due to single- and/or double- pulse event and
logic â0â indicates that no pulse event was detected.
This bit is asserted whenever PULSE_SRC[ea] is asserted and the functional block interrupt has been enabled.
This bit is cleared by reading the PULSE_SRC register.
Freefall/motion interrupt status bit: logic â1â indicates that the freefall/motion function interrupt is active and logic â0â
indicates that no freefall or motion event was detected.
This bit is asserted whenever PULSE_SRC[ea] is asserted and the functional block interrupt has been enabled.
This bit is cleared by reading the A_FFMT_SRC register.
Accelerometer vector-magnitude interrupt status bit: logic â1â indicates that an interrupt was generated due to acceleration
vector-magnitude function and logic â0â indicates that no interrupt has been generated. This bit is cleared by reading this
register (INT_SOURCE).
Data-ready interrupt status bit. In acceleration only mode this bit indicates that new accelerometer data is available to read.
The src_drdy interrupt flag is cleared by reading out the acceleration data from the OUT_X, OUT_Y, and OUT_Z registers.
This data can be burst read using a 6-byte burst read starting from the address 0x01 (OUT_X_MSB).
Sensors
Freescale Semiconductor, Inc.
FXLS8471Q
31
|
▷ |