We have implement a PPI for device match to trigger a GPIO toggle . but now we want to trigger a SW interrupt or a callback function .
my question is how to set PPI TASK when device match event occur .
// Configure PPI channel with connection between EVENTS_DEVMATCH and GPIOTE->TASKS_OUT[0]
NRF_PPI->CH[PPI_CHANNEL].EEP = (uint32_t)&NRF_RADIO->EVENTS_DEVMATCH;
NRF_PPI->CH[PPI_CHANNEL].TEP = (uint32_t)&NRF_GPIOTE->TASKS_OUT[0];
I want to trigger a SWI to instead of this GPIO task