hello Nordic
i am using nrf52832, sdk 16.0,
i have a system which need to react to multiple external interrupts on multiple pins
i see that when ' nrf_drv_gpiote_in_init( ... )' is called more then 8 times i fall because the ' channel_port_alloc(..)' returns 'channel_id = -1
if i understand correctly then the GPIOTE register is one byte so limited to 8 possible pins
how can i use more then 8 pins as external input interrupt pins ?
if i understand correctly, then there is a way to define gpios as input and then use the event port so no additional GPIOTE channel is taken but the GPIOTE interrupt vector table is used .. its all great if thats the solution but how is it done ???
is there a code example somewhere for using multiple gpios as external interrupts (all inputs) ??
one more thing, can this 2 below work together with no unexpected issues ?
#include "nrf_drv_gpiote.h"
#include "app_gpiote.h"
best regards
Ziv