English
Language : 

LSM303AGR Datasheet, PDF (60/68 Pages) STMicroelectronics – ultra-low-power 3D accelerometer and 3D magnetometer
Register description
LSM303AGR
8.35
OFFSET_X_REG_L_M (45h) and OFFSET_X_REG_H_M (46h)
These registers comprise a 16-bit register and represent X hard-iron offset in order to
compensate environmental effects (data in two’s complement). These values act on the
magnetic output data value in order to delete the environmental offset.
8.36
OFFSET_Y_REG_L_M (47h) and OFFSET_Y_REG_H_M (48h)
These registers comprise a 16-bit register and represent Y hard-iron offset in order to
compensate environmental effects (data in two’s complement). These values act on the
magnetic output data value in order to delete the environmental offset.
8.37
OFFSET_Z_REG_L_M (49h) and OFFSET_Z_REG_H_M (4Ah)
These registers comprise a 16-bit register and represent Z hard-iron offset in order to
compensate environmental effects (data in two’s complement). These values act on the
magnetic output data value in order to delete the environmental offset.
8.38
WHO_AM_I_M (4Fh)
The identification register is used to identify the device (read-only register).
0
1
0
0
0
0
0
0
8.39
CFG_REG_A_M (60h)
The configuration register is used to configure the output data rate and the measurement
configuration.
Table 90. CFG_REG_A_M register
0
0
SOFT_RST LP
ODR1
ODR0
MD1
MD0
SOFT_RST
LP
ODR[1:0]
MD[1:0]
Table 91. CFG_REG_A_M register description
When this bit is set, the configuration registers and user registers are reset. Flash
registers keep their values.
Low-power mode enable. Default: 0
0: high-resolution mode 1: low-power mode enabled
Output data rate configuration (see Table 92: Output data rate configuration)
Mode select bit. These bits select the mode of operation of the device (see
Table 93: System mode)
60/68
DocID027765 Rev 5