English
Language : 

LSM303AGR Datasheet, PDF (64/68 Pages) STMicroelectronics – ultra-low-power 3D accelerometer and 3D magnetometer
Register description
LSM303AGR
8.46
STATUS_REG_M (67h)
The status register is an 8-bit read-only register. This register is used to indicate device
status. SR0 through SR7 indicate bit locations, with SR denoting the bits that are in the
status register. SR7 denotes the first bit of the data stream.
Table 107. STATUS_REG_M register
Zyxor
zor
yor
xor
Zyxda
zda
yda
xda
Zyxor
zor
yor
xor
Zyxda
zda
yda
xda
Table 108. STATUS_REG_M register description
X-, Y- and Z-axis data overrun. Default value: 0
(0: no overrun has occurred; 1: a new set of data has overwritten the previous set).
Z-axis data overrun. Default value: 0
(0: no overrun has occurred; 1: new data for the Z-axis has overwritten the previous data).
Y-axis data overrun. Default value: 0
(0: no overrun has occurred; 1: new data for the Y-axis has overwritten the previous data).
X-axis data overrun. Default value: 0
(0: no overrun has occurred; 1: new data for the X-axis has overwritten the previous data).
X-, Y- and Z-axis new data available. Default value: 0
(0: a new set of data is not yet available; 1: a new set of data is available).
Z-axis new data available. Default value: 0
(0: a new data for the Z-axis is not yet available; 1: a new data for the Z-axis is available)
Y-axis new data available. Default value: 0
(0: a new data for the Y-axis is not yet available; 1: a new data for the Y-axis is available)
X-axis new data available. Default value: 0
(0: a new data for the X-axis is not yet available; 1: a new data for the X-axis is available)
8.47
OUTX_L_REG_M, OUTX_H_REG_M (68h - 69h)
The data output X registers are two 8-bit registers, data output ch1 MSB register (69h) and
output X LSB register (68h).
The output data represents the raw magnetic data only if OFFSET_X_REG is equal to zero,
otherwise hard-iron calibration is included.
Table 109. OUTX_L_REG_M register
0
0
0
0
0
0
0
0
Table 110. OUTX_H_REG_M register
0
0
0
0
0
0
0
0
The value of the magnetic field is expressed in two’s complement. This register contains the
X component of the magnetic data.
64/68
DocID027765 Rev 5