Functionality
5.2 Rate Threshold Detection Function
The embedded rate detection function can be used to detect an angular rate event that
exceeds a programmed threshold on any one of the enabled axes for longer than the
programmed debounce time, triggering an interrupt on one of the INT1/INT2 pins (if
enabled).
Sign
ELE
LATCH
RT_Pol
Data
|x|
RT_THS
DBCNTM
RT_COUNT
>
CNT
>
LATCH
RT
ELE
Output data rate (Hz)
800
400
200
100
50
25
12.5
ODR and counter clock period (ms)
1.25
2.5
5
10
20
40
80
Event debounce time range (s)
0 – 0.32
0 – 0.64
0 – 1.28
0 – 2.56
0 – 5.12
0 – 10.24
0 – 20.48
If the debounce counter reaches the value stored in RT_COUNT, the rate threshold
event is detected. The interrupt flag can be either latched or updated in real-time
depending on the state of the ELE bit. The examples illustrated in Figure 20 through
Figure 23 show the use of the rate threshold function with the various settings for the
DBCNTM and ELE control bits:
28
Freescale Semiconductor, Inc.
3-Axis Digital Angular Rate Gyroscope, Rev. 2.1, 5/2015