How can I know what type of interrupts happend?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

In my application,I set one IO pin both edges interrupt. in interrupt service function, how can I know whether the interrupt is raising interrupt or falling interrupt?

   

Or can I connect my signal to two pins, one for raising detection, the other for falling detection?

0 Likes
1 Reply