Uisng pca10040 and SDk16.0.0 + Segger
I built and ran the GPIOTE example so I could experiment.
I want to toggle a gpio once only and then stop and I need to know when its complete.
So I changed NRF_TIMER_SHORT_COMPARE0_CLEAR_MASK to NRF_TIMER_SHORT_COMPARE0_STOP_MASK in the function led_blinking_setup() and expected to get one toggle event on the GPIO for the specified period and expected to see the timer_dummy_handler(nrf_timer_event_t event_type, void * p_context) called.
On my scope I see the GPIO go high but not low and I dont get the timer event.
What am i missing how do i set it up to toggle once and then get an event when its complete so I know
Robin