Hi all,
My project will use PPI to control COMP of nRF52832, connect Event of COPM and Task of GPIOTE.
Question 1,
How could I get the address of COMP event and use it for PPI?
Address1 = * nrf_comp_event_address_get(NRF_COMP_EVENT_UP); // The function is always wrong!
Question 2,
nrfx_gpiote_out_task_addr_get(COM_out)+0x30 ;
Is it right address for clearing GPIO by PPI? Or we have other better way.
Code attached: