English
Language : 

LSM303AGR Datasheet, PDF (62/68 Pages) STMicroelectronics – ultra-low-power 3D accelerometer and 3D magnetometer
Register description
LSM303AGR
8.41
CFG_REG_C_M (62h)
Table 97. CFG_REG_C_M register
0
INT_MAG
_PIN
I2C_DIS
BDU
BLE
0(1)
1. This bit must be set to ‘0’ for the correct operation of the device.
Self_test INT_MAG
INT_MAG_PIN
I2C_DIS
BDU
BLE
Self_test
INT_MAG
Table 98. CFG_REG_C_M register description
If '1', the INTERRUPT signal (INT bit inside INT_SOURCE_REG_M (64h)) is
driven on INT_MAG_PIN
If ‘1’, the I2C interface is inhibited. Only the SPI interface can be used.
If enabled, reading of incorrect data is avoided when the user reads asynchro-
nously. In fact if the read request arrives during an update of the output data, a
latch is possible, reading incoherent high and low parts of the same register. Only
one part is updated and the other one remains old.
If ‘1’, an inversion of the low and high parts of the data occurs.
If ‘1’, the self-test is enabled.
If ‘1’, the DRDY pin is configured as a digital output.
8.42
INT_CTRL_REG_M (63h)
The interrupt control register is used to enable and to configure the interrupt recognition.
Table 99. INT_CRTL_REG_M register
XIEN
YIEN
ZIEN
0(1)
0(1)
IEA
IEL
IEN
1. This bit must be set to ‘0’ for the correct operation of the device.
XIEN
YIEN
ZIEN
IEA
IEL
IEN
Table 100. INT_CTRL_REG_M register description
Enables the interrupt recognition for the X-axis. Default: 0
1: enabled; 0: disabled.
Enables the interrupt recognition for the Y-axis. Default: 0
1: enabled; 0: disabled.
Enables the interrupt recognition for the Z-axis. Default: 0
1: enabled; 0: disabled.
Controls the polarity of the INT bit (INT_SOURCE_REG_M (64h)) when an interrupt
occurs. Default: 0
If IEA = 0, then INT = 0 signals an interrupt
If IEA = 1, then INT = 1 signals an interrupt
Controls whether the INT bit (INT_SOURCE_REG_M (64h)) is latched or pulsed.
Default: 0
If IEL = 0, then INT is pulsed.
If IEL = 1, then INT is latched.
Once latched, INT remains in the same state until INT_SOURCE_REG_M (64h) is read.
Interrupt enable. When set, enables the interrupt generation. The INT bit
is in INT_SOURCE_REG_M (64h). Default: 0
62/68
DocID027765 Rev 5