64.5.4.1.7 Debouncing Time

The debouncing time is common to all I/Os. The principle is presented in the following figure. A period (fICLK/2) is allocated to each I/O. During that period, if SECUMOD_PIOBUx.SCHEDULE is set and if a pull-up/pull-down is needed (PULLUP field different from 0), the pull-up/pull-down is activated, the level is measured and the pull-up/pull-down is deactivated. Otherwise, only the level is measured. Measurement is performed at the end of the allocated period.

Figure 64-3. Schedule Principle
Table 64-2. Timings vs. fICLK
Timing fICLK (kHz) Units
Min = 38 Typ = 64 Max = 90
tICLK/2 53 31 22 μs
tICLK/32 842 500 356 μs
tICLK/256 6.74 4.00 2.84 ms