English
Language : 

LSM303AH Datasheet, PDF (68/82 Pages) –
Register description
LSM303AH
8.34
FUNC_CTRL_A (3Fh)
Functional control register (r/w)
Table 93. FUNC_CTRL_A register
0(1)
0(1)
MODULE_
ON
TILT_ON
0(1)
0(1)
1. This bit must be set to '0' for the correct operation of the device.
SIGN_ STEP_
MOT_ON CNT_ON
MODULE_ON
Table 94. FUNC_CTRL_A register description
Module processing enable. Default value: 0
(0: disabled; 1: module)
TILT_ON
Tilt on. Default value: 0
(0: new module data not available; 1: new module data available)
SIGN_MOT_ON Pedometer significant motion routine enable. Default value: 0
(0: disabled, 1: pedometer significant motion routine enabled)
STEP_CNT_ON Step counter routine enable. Default value: 0
(0: disabled, 1: pedometer step counter routine enabled)
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
68/82
DocID027766 Rev 6