English
Language : 

LSM303AH Datasheet, PDF (53/82 Pages) –
LSM303AH
Register description
BOOT
Table 37. CTRL2_A register description
Reboot memory content. Default value: 0
(0: normal mode; 1: reboot memory content)
SOFT_RESET Soft reset acts as reset for all control registers, then goes to 0.
Default value: 0 (0: disabled; 1: enabled)
FUNC_
CFG_EN
Access to advanced configuration registers from address 2Bh to 3Fh. Default
value: 0
(0: disable the access to advanced configuration registers;
1: enable the access to advanced configuration registers)
High-pass filter data selection on output register and FIFO. Default value: 0
FDS_SLOPE
(0: internal filter bypassed; 1: internal filter enabled on output register and FIFO)
IF_ADD_INC
I2C_DISABLE
Register address automatically incremented during multiple byte access with a
serial interface (I2C or SPI). Default value: 1 (0: disabled; 1: enabled)
Disable I2C communication protocol. Default value: 0
(0: SPI and I2C interfaces enabled; 1: I2C mode disabled)
SPI_ENABLE
3-wire SPI interface read enable. Default value: 0
0: SPI read disabled
1: SPI read enabled
8.5
CTRL3_A (22h)
Control register 3 (r/w)
Table 38. CTRL3_A register
ST2
ST1 TAP_X_EN TAP_Y_EN TAP_Z_EN LIR H_LACTIVE PP_OD
Table 39. CTRL3_A register description
ST [2:1]
Self-test enable. Default value: 00
(00: Self-test disabled; Other: see Table 40)
TAP_X_EN Tap recognition on X direction enable. Default value: 0
(0: disabled; 1: enabled)
TAP_Y_EN Tap recognition on Y direction enable. Default value: 0
(0: disabled; 1: enabled)
TAP_Z_EN Tap recognition on Z direction enable. Default value: 0
(0: disabled; 1: enabled)
LIR
Latched Interrupt. Switches between latched ('1'-logic) and pulsed ('0'-logic) mode for
function source signals and interrupts routed to pins (wakeup, tap, double-tap, tilt,
pedometer, significant motion). Default value: 0
(0: interrupt request not latched; 1: interrupt request latched)
H_LACTIVE Interrupt active high, low. Default value: 0
(0: active high; 1: active low)
PP_OD
Push-pull/open-drain selection on interrupt pad. Default value: 0
(0: push-pull; 1: open-drain)
DocID027766 Rev 6
53/82
82