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

다운로드
페이지 100
FXOS8700CQ
Sensors
Freescale Semiconductor, Inc.
85
10.17.3 M_CTRL_REG3 (0x5D) register
10.17.4 M_INT_SRC (0x5E) register
Table 199. M_CTRL_REG3 register
m_raw
m_aslp_os[2:0]
m_ths_xyz_update
m_st_z
m_st_xy[1:0]
0
0b000
0
0
0b00
Table 200. M_CTRL_REG3 bit descriptions
Field
Description
m_raw
Magnetic measurement RAW mode enable:
0: Values stored in the M_OFF_X/Y/Z registers are applied to the magnetic sample data. This bit must be cleared 
in order for the automatic hard-iron compensation function to have any effect. 
1: Values stored in M_OFF_X/Y/Z are not applied to the magnetic sample data; automatic hard-iron compensation 
function does not have any effect on the output data.
m_aslp_os[2:0]
Defines magnetometer OSR in Auto-Sleep mode. See 
.
m_ths_xyz_update
This control bit defines which reference values are updated when the magnetic threshold event detection function 
triggers.
0:
 
X, Y and Z reference values are all updated when the function triggers on any of the X, Y, or Z axes.
1
Only the reference value for the axis that triggered the detection event is updated.
m_st_z
Enables Z-axis magnetic self-test function when set.
m_st_xy[1:0]
Enables both X and Y axes magnetic self-test function simultaneously when set to a value greater than 0b00. 
X and Y magnetic self-test is disabled when this field is set to 2'b00
.
Table 201. M-cell OSR versus ODR
ODR (Hz)
OSR = 0
OSR = 1
OSR = 2
OSR = 3
OSR = 4
OSR = 5
OSR = 6
OSR = 7
1.56
16
16
32
64
128
256
512
1024
6.25
4
4
8
16
32
64
128
256
12.5
2
2
4
8
16
32
64
128
50
2
2
2
2
4
8
16
32
100
2
2
2
2
2
4
8
16
200
2
2
2
2
2
2
4
8
400
2
2
2
2
2
2
2
4
800
2
2
2
2
2
2
2
2
Table 202. M_INT_SRC register
src_m_ths
src_m_vecm
src_m_drdy
0
0
0
0
0
0
0
0
Table 203. M_INT_SRC bit description
Field
Description
src_m_ths
Magnetic threshold interrupt flag:
0: Magnetic threshold event has not been detected.
1: Magnetic threshold event has been detected.
src_m_vecm
Magnetic vector-magnitude interrupt flag:
0: Magnetic vector-magnitude change event has not been detected.
1: Magnetic vector-magnitude change event has been detected.
src_m_drdy
Magnetic data-ready interrupt flag:
0: No new magnetic data is available.
1: New magnetic data is available.