SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
Each GPIO module uses two clocks:
The debouncing value register (GPIOi.GPIO_DEBOUNCINGTIME) is used to set the debouncing time for all input lines in the GPIO module. Because the value is global for all the ports of one GPIO module, up to eight different debouncing values are possible. The debounce cell runs with the debounce clock (32 kHz). This register represents the number of clock cycle(s) to be used.
The following formula describes the required input stable time to be propagated to the debounced output:
Required input line stable = (the value of the GPIOi.GPIO_DEBOUNCINGTIME[7:0] DEBOUNCETIME bit field + 1) × 31,
where the value of the GPIOi.GPIO_DEBOUNCINGTIME[7:0] DEBOUNCETIME bit field is from 0 to 255.
For more information, see CD_L4_PER1 Clock Domain, and CD_WKUPAON Clock Domain, in Power, Reset, and Clock Management.
For more information, see CD_L4_PER1_Clock Domain, and CD_WKUPAON Clock Domain, in Power, Reset, and Clock Management.
Table 27-3 describes the clocks in the GPIO modules.
Table 27-5 summarizes the functional clock configuration.
Interface Clock | GPIO_CTRL[2:1]GATINGRATIO | Functional Clock |
---|---|---|
GPIOi_ICLK ( where i = 1 to 8) | 00 | GPIOi_ICLK /1 |
GPIOi_ICLK (where i = 1 to 8) | 01 | GPIOi_ICLK /2 |
GPIOi_ICLK (where i = 1 to 8) | 10 | GPIOi_ICLK /4 |
GPIOi_ICLK (where i = 1 to 8) | 11 | GPIOi_ICLK /8 |