nrfx_saadc_simple_low_power_app_timer/main.c
/**< Handler for repeated timer used to blink LED 1. */
< Handler for repeated timer used to blink LED 1.
< Handler for repeated timer used to blink LED 1 .
static void event_handler(nrfx_saadc_evt_t const * p_event)
{
    if (p_event->type == NRFX_SAADC_EVT_DONE)
    {
        for(int i = 0; i < p_event->data.done.size; i++)
        {
            NRF_LOG_INFO("CH%d: %d", i, p_event->data.done.p_buffer[i]);
        }
        is_ready = true;
    }
}
static void event_handler ( nrfx_saadc_evt_t const * p_event ) { if ( p_event -> type == NRFX_SAADC_EVT_DONE ) { for ( int i = 0 ; i < p_event -> data . done . size ; i ++ ) { NRF_LOG_INFO ( " " , i , p_event -> data . done . p_buffer [ i ] ) ; } is_ready = true ; } }
< Handler for repeated timer used to blink LED 1.
< Handler for repeated timer used to blink LED 1 .