I need to count the occurrence of an external interrupt from a GPIO pin within a time period.
Therefore, I need to know how to set a timer which can periodically generate an interrupt when a specific time is up.
I also need to know how to make an ISR for the external interrupt from a GPIO pin.
Could someone tell me any solution or related resource I can use?
Thanks in advanced. .