SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
The debounce timer uses the 32768-Hz clock or the clock coming from the external oscillator, depending on the SW configurations for the RTC. It allows choosing the timing or accuracy of the "debouncing".
A register receives a bit from the reference pin. Software then chooses the timing if it uses the debouncing feature like a timer, or it chooses the accuracy if it uses the debouncing like a real debouncing. The debouncing is finished when the reference pin stays the same value, defined in RTC_RTL_DEBOUNCE_REG[7:0] DEBOUNCE_REG, for a defined time.
If the RTC module uses the internal 32-kHz clock then setting the RTC_RTL_DEBOUNCE_REG[7:0] DEBOUNCE_REG to 0x0 results in a debounce time of 30.52us. Otherwise (DEBOUNCE_REG = n) the debounce time is 30.52µs × (n + 1). The debounce time may be different, depending on, whether the module uses the internal 32 kHz clock, or an external clock source.