Datasheet

Register description LSM303D
32/52 DocID023312 Rev 2
8.8 INT_SRC_M (13h)
8.9 INT_THS_L_M (14h), INT_THS_H_M (15h)
Magnetic interrupt threshold. Default value: 0.
The value is expressed in 16-bit unsigned.
Even if the threshold is expressed in absolute value, the device detects both positive and
negative thresholds.
Table 22. INT_SRC_M register
M_PTH_X M_PTH_Y M_PTH_Z M_NTH_X M_NTH_Y M_NTH_Z MROI MINT
Table 23. INT_SRC_M register description
M_PTH_X Magnetic value on X-axis exceeds the threshold on the positive side.
Default value: 0.
M_PTH_Y Magnetic value on Y-axis exceeds the threshold on the positive side.
Default value: 0.
M_PTH_Z Magnetic value on Z-axis exceeds the threshold on the positive side.
Default value: 0.
M_NTH_X Magnetic value on X-axis exceeds the threshold on the negative side.
Default value: 0.
M_NTH_Y Magnetic value on Y-axis exceeds the threshold on the negative side.
Default value: 0.
M_NTH_Z Magnetic value on Z-axis exceeds the threshold on the negative side.
Default value: 0.
MROI Internal measurement range overflow on magnetic value.
Default value: 0.
MINT Magnetic interrupt event. The magnetic field value exceeds the threshold.
Default value: 0.
Table 24. INT_THS_L_M register
THS7 THS6 THS5 THS4 THS3 THS2 THS1 THS0
Table 25. INT_THS_H_M register
0 THS14 THS13 THS12 THS11 THS10 THS9 THS8