Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GPIOTE input event – how to change polarity at runtime

Let say during the normal program flow I want to change often the edge direction which will trigger the event: rising edge, none, falling edge, none … Can I work direct with registers for CONFIG[n].POLARITY or do I need on every change to call nrf*_gpiote_in_init() . Any example ?

 Thanks

Parents Reply Children
No Data
Related