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