English
Language : 

LSM6DB0 Datasheet, PDF (61/66 Pages) STMicroelectronics – 3D accelerometer, 3D gyroscope and signal processor
LSM6DB0
Register description
WAIT_G
DUR_G [6:0]
Table 101. INT_GEN_DUR_G register description
Exit from interrupt wait function enable. Default value: 0
(0: wait function off; 1: wait for DUR_G [6:0] samples before exiting interrupt)
Enter/exit interrupt duration value. Default value: 000 0000
The DUR_G [6:0] bits set the minimum duration of the interrupt event to be recognized.
Duration steps and maximum values depend on the ODR chosen.
The WAIT_G bit has the following meaning:
‘0’: the interrupt falls immediately if the signal crosses the selected threshold
‘1’: if the signal crosses the selected threshold, the interrupt falls after a number of samples
equal to the value of the duration counter register.
For further details refer to Figure 18 and Figure 19.
Figure 18. Wait bit disabled
• Wait bit = ‘0’ Interrupt disabled as soon as condition
is no longer valid (ex: Rate value below threshold)
Rate
(dps)
0
Counter
Interrupt
Rate
t(n)
Threshold
Duration
Value
t(n)
“Wait”
Disabled
t(n)
DocID025603 Rev 1
61/66
66