This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Function address as PPI "Task End-Point"

Hi,

Is it possible to give a function address to the "Task End-Point" of a PPI channel?

Like :

    err_code = sd_ppi_channel_assign(PPI_CHAN0_TO_TOGGLE_LED,
                           &(NRF_TIMER1->EVENTS_COMPARE[0]),
                           &(myTestFunction));

Or the only accepted TEP are timer and GPIOTE tasks?

Thanks

Related