AN4506
Interrupt generation
Table 26. Duration LSB value in Normal mode
ODR (Hz)
Duration LSB value (ms)
200
5
400
2.5
800
1.25
The WAIT bit of the IG_DURATION register has the following meaning:
Wait = ‘0’: the interrupt falls immediately if signal crosses the selected threshold (Figure 12).
Wait = ‘1’: if signal crosses the selected threshold, the interrupt falls only after the duration
has counted the number of samples at the selected data rate, written into the duration
counter register (Figure 13).
Figure 12. Wait 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)
DocID026442 Rev 2
25/47