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

gpiote get task address

In the nrf_drv_gpiote in SDK 11.0, I can only find a function to get the address of the out task for a gpiote channel. Shouldn't there be a similar function to get the addresses of the set and clear tasks, or am I missing something?

Parents Reply
  • Hi,

    as I understand these functions, nrf_drv_gpiote_out_task_addr_get() gives the address of the OUT task. And the OUT task can be configured to toggle, set or clear a pin. But there are also dedicated SET and CLR tasks with their own address for PPI usage. I need these addresses in PPI to configure different events triggering set and clear tasks through the same GPIOTE channel. This seems to work if I enter the addresses manually, but I could'nt find any function to get these addresses in the SDK.

Children
No Data
Related