This content has been marked as final. Show 2 replies
I'm going to use several GPIO pin as Data Input with interrupt by register handler in following function.
Then, in the application_gpio_interrupt_handler(), as the document example is:
void application_gpio_interrupt_handler(void* parameter)
Can the "parameter" be used to identify the pin which trigger an interrupt? and identify that is triggered at falling edge or rising edge?
Or is there any API to identify it? I found gpio_getPortInterruptStatus but not sure this is.
Do the handler need to clear interrupt by gpio_clearPortInterruptStatus before exit the handler?