Freescale Semiconductor FRDM-FXS-MULTI-B 数据表

下载
页码 100
FXOS8700CQ
Sensors
80
Freescale Semiconductor, Inc.
Figure 18. Illustration of magnetic threshold detection
10.16.2 M_THS_SRC (0x53) register
Magnetic-threshold interrupt source register.
This register keeps track of the magnetic threshold event which is triggering (or has triggered, when M_THS_CFG[m_ths_ele
= 1) the event flag. In particular, if M_THS_SRC[m_ths_ea] is set to a logic ‘1’ then the logical combination of magnetic-event 
flags specified in M_THS_CFG is true.
Table 183. M_THS_SRC register
m_ths_ea
m_ths_zhe
m_ths_zhp
m_ths_yhe
m_ths_yhp
m_ths_xhe
m_ths_xhp
0
0
0
0
0
0
0
0
Table 184. M_THS_SRC bit descriptions
Field
Description
m_ths_ea
Event-active flag. 
0: No event flag has been asserted
1: One or more event flag(s) has been asserted.
m_ths_zhe
Z-high event flag. 
0: No event detected
1: Z-high event has been detected 
This bit always reads zero if the m_ths_zefe control bit is set to zero
m_ths_zhp
Z-high event polarity flag. 
0: Z event detected was positive polarity
1: Z event detected was negative polarity
This bit always reads zero if the m_ths_zefe control bit is set to zero
m_ths_yhe
Y-high event flag. 
0: No event detected
1: Y-high event has been detected
This bit always reads zero if the m_ths_yefe control bit is set to zero
m_ths_yhp
Y-high event polarity flag. 
0: Y event detected was positive polarity
1: Y event detected was negative polarity
This bit always reads zero if the m_ths_yefe control bit is set to zero
m_ths_xhe
X-high event flag. 
0: No event detected
1: X-high event has been detected 
This bit always reads zero if the m_ths_xefe control bit is set to zero
m_ths_xhp
X-high event polarity flag. 
0: X event detected was positive polarity
1: X event detected was negative polarity. 
This bit always reads zero if the m_ths_xefe control bit is set to zero
0 Field
-Full Scale
+ Full Scale
Threshold +
Threshold -
X (Y, Z) High
X (Y, Z) High
Larger Field
Smaller Field
X, Y, Z above threshold (positive)
X, Y, Z below threshold (negative)