General Purpose Input/Output (GPIO)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
67
Fig 8-12 shows a timing diagram where an interrupt is generated on both the rising edge and the falling edge of an input on Port A, that is, with
GPIO_INT_BOTH_EDGE = 1 and gpio_int_bothedge programmed to detect both edges. In this scenario, debounce logic is disabled and
metastability registers are included. This figure also shows how an interrupt is cleared by a write to the interrupt clear register.
Fig 8-12 Interrupt edge detection and interrupt clear timing when GPIO_SYNC_PA_INTERRPUTS = 1 and GPIO_INT_BOTH_EDGE=1
(metastability included)
Fig 8-13 shows a timing diagram similar to Fig 8-12, except that in this scenario, metastability registers are removed.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03