This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Debouncing Button using two interrupts and one timer

Hi, I am new to Dev Zone. I am writing debounce logic and I am wondering if a button can have an interrupt set when the GPIOTE sense a HITOLO transition to fire the first interrupt, And that same button senses a LOTOHI transition to fire the second interrupt. If that is possible what are the methods used for this approach? I've used the TOGGLE option already but Identifying the state of the button is not part of the requirements. 

Parents Reply Children
No Data
Related