User's Manual

RYZ012 Multi-Standard Wireless Communication Module for Bluetooth 5 Low Energy and 802.15.4
R15UH0002EU0103 Rev.1.03 Page 157 of 206
Apr.21.21
Figure 28. Double Accuracy Mode
13.3 Read Real-time Counting Value
The Hardware Counter value cannot be read directly through software, and the counting value in address
QDEC:COUNT cannot be updated
automatically. To read the real-time counting value, first write QDEC:DATA_LOAD with 1b'1 to load the hardware counter data into the
QDEC:COUNT, before the register is read. The register is cleared automatically after it has been read.
Figure 29. Read Real-time Counting Value
13.4 QDEC Reset
QDEC:RST serves to reset the QDEC. The QDEC Counter value is cleared to zero.
13.5 Other Configuration
The QDEC supports hardware debouncing.
QDEC:GC:FTIME serves to set the filtering window duration. All jitter with period less than the
value is filtered out and therefore does not trigger a count change.
QDEC:GC:POL serves to set the input signal initial polarity.
QDEC:GC:SHU serves to enable the shuttle mode. Shuttle mode allows non-overlapping two phase signals as shown below.