I have trouble activating en ISR to a newly added PIN. I frist do a PIN_open with an empty pintable:
static const PIN_Config _pinTable[] = { PIN_TERMINATE };
I also already assign a ISR callback
Then I want to add pins via:
PIN_registerIntCb(pinHandle, EH_isr)
Then I want to add a new pin to the handle:
PIN_add(pinHandle,config); status = PIN_setInterrupt(pinHandle, PIN_IRQ_POSEDGE);
This however gives me a PIN_NO_ACCESS status.
What's wrong here?