English
Language : 

LIS2HH12 Datasheet, PDF (36/47 Pages) STMicroelectronics – Embedded temperature sensor
Register description
LIS2HH12
8.10
CTRL6 (25h)
Control register 6 (r/w)
BOOT
Table 35. Control register 6
0(1)
INT2
_BOOT
INT2
_IG2
INT2
_IG1
INT2
_EMPTY
1. This bit must be set to ‘0’ for the correct operation of the device.
INT2
_FTH
INT2
_DRDY
BOOT
INT2_BOOT
INT2_IG2
INT2_IG1
INT2_EMPTY
INT2_FTH
INT2_DRDY
Table 36. Control register 6 description
Force reboot, cleared as soon as the reboot is finished. Active high.
Default value 0.
BOOT interrupt on INT2. Default value: 0
(0: disable; 1: enable)
Interrupt generator 2 on INT2. Default value: 0
(0: disable; 1: enable)
Interrupt generator 1 on INT2. Default value: 0
(0: disable; 1: enable)
FIFO empty flag on INT2. Default value: 0
FIFO threshold signal on INT2. Default value: 0
Data Ready signal on INT2. Default value: 0
8.11
CTRL7 (26h)
Control Register 7 (r/w)
Table 37. Control register 7
0(1)
0(1)
DCRM2 DCRM1
LIR2
LIR1
1. This bit must be set to ‘0’ for the correct operation of the device.
4D_IG2
4D_IG1
DCRM [2:1]
LIR [2:1]
4D_IG [2:1]
Table 38. Control register 7 description
DCRM is used to select the reset mode of the duration counter. Default value: 0
If DCRM = ‘0’, the counter is reset when the interrupt is no longer active, else if
DCRM = ‘1’ the duration counter is decremented. 1LSB
Latched Interrupt [2:1] Default value: 00
(0: interrupt request not latched; 1: interrupt request latched)
Cleared by reading the IG_SRC1 (31h) and IG_SRC2 (37h) registers.
Interrupt [2:1] 4D option enabled. Default value: 00
When set, IG_CFG1 (30h) and IG_CFG2 (36h) use 4D for position recognition.
36/47
DocID025344 Rev 5