English
Language : 

LSM330DL Datasheet, PDF (35/54 Pages) STMicroelectronics – Linear sensor module 3D accelerometer sensor and 3D gyroscope sensor
LSM330DL
Registers description
Table 43. INT1_CFG_REG_A description (continued)
XHIE/
XUPE
Enable interrupt generation on X high event or on direction recognition. Default value: 0
(0: disable interrupt request; 1: enable interrupt request.)
XLIE/XDO Enable interrupt generation on X low event or on direction recognition. Default value: 0
WNE
(0: disable interrupt request; 1: enable interrupt request.)
The contents of the INT1_CFG_REG_A register are loaded at boot.
A write operation at this address is possible only after system boot.
Table 44. Interrupt mode
AOI
6D
Interrupt mode
0
0 OR combination of interrupt events
0
1 6-direction movement recognition
1
0 AND combination of interrupt events
1
1 6-direction position recognition
The difference between AOI-6D = ‘01’ and AOI-6D = ‘11’ is defined as follows:
AOI-6D = ‘01’ is movement recognition. An interrupt is generated when the orientation
moves from an unknown zone to a known zone. The interrupt signal stays for a duration
determined by ODR.
AOI-6D = ‘11’ is direction recognition. An interrupt is generated when the orientation is
inside a known zone. The interrupt signal stays until orientation is inside the zone.
7.15
INT1_SRC_A (31h)
Table 45. INT1_SRC_A register
0(1)
IA
ZH
ZL
YH
YL
XH
XL
1. This bit has to be set to ‘0’ for correct operation.
Table 46. INT1_SRC_A description
Interrupt active. Default value: 0
IA
(0: no interrupt has been generated; 1: one or more interrupts have been generated)
Z high. Default value: 0
ZH
(0: no interrupt, 1: Z high event has occurred)
Z low. Default value: 0
ZL
(0: no interrupt; 1: Z low event has occurred)
Y high. Default value: 0
YH
(0: no interrupt, 1: Y high event has occurred)
Y low. Default value: 0
YL
(0: no interrupt, 1: Y low event has occurred)
Doc ID 022018 Rev 1
35/54