I'm trying to be a good camper and stick to published SDK interfaces, but I'm stuck on one point.
I want to use the PPI to toggle a GPIO pin AND clear the timer on a timer CC event. So I have something like:
uint32_t cc0_eep = nrf_drv_timer_compare_event_address_get(&m_timer, NRF_TIMER_CC_CHANNEL0); |
My confusion is that there is no function "nrfx_timer_clear_task_addr_get()". What's the right argument to pass here?
(Related, but less critical: is it possible to mix calls to shortcuts and regular nrf_drv_ppi_channel_assign()? If so, how?)