Interrupts on GPIO
Posted: Thu May 25, 2017 10:01 am
Hi,
Based on the array GPIO_PIN_MUX_REG in this source file, it seems any GPIO, including the input-only pins, can be used as an interrupt source, which is great. It also seems that any interrupt can be set either level or edge triggered using gpio_set_intr_type.
However, section 2.3.2 of the Technical Reference Manual shows that there are only four edge-triggered interrupts available per CPU, for a total of eight. If this is the case, I think you should add this limitation to the source documentation.
Lastly, where in the docs can I find the minimum pulse width for interrupt signals?
Based on the array GPIO_PIN_MUX_REG in this source file, it seems any GPIO, including the input-only pins, can be used as an interrupt source, which is great. It also seems that any interrupt can be set either level or edge triggered using gpio_set_intr_type.
However, section 2.3.2 of the Technical Reference Manual shows that there are only four edge-triggered interrupts available per CPU, for a total of eight. If this is the case, I think you should add this limitation to the source documentation.
Lastly, where in the docs can I find the minimum pulse width for interrupt signals?