Lines Matching refs:NRF_SAADC
303 nrf_saadc_channel_init(NRF_SAADC, channel_id, &config); in adc_nrfx_channel_setup()
308 nrf_saadc_channel_input_set(NRF_SAADC, in adc_nrfx_channel_setup()
318 nrf_saadc_enable(NRF_SAADC); in adc_context_start_sampling()
321 nrf_saadc_task_trigger(NRF_SAADC, in adc_context_start_sampling()
324 nrf_saadc_task_trigger(NRF_SAADC, NRF_SAADC_TASK_START); in adc_context_start_sampling()
325 nrf_saadc_task_trigger(NRF_SAADC, NRF_SAADC_TASK_SAMPLE); in adc_context_start_sampling()
337 samples_to_bytes(&ctx->sequence, nrfy_saadc_amount_get(NRF_SAADC)); in adc_context_update_buffer_pointer()
340 (uint8_t *)nrf_saadc_buffer_pointer_get(NRF_SAADC) + in adc_context_update_buffer_pointer()
341 samples_to_bytes(&ctx->sequence, nrfy_saadc_amount_get(NRF_SAADC)); in adc_context_update_buffer_pointer()
342 nrfy_saadc_buffer_pointer_set(NRF_SAADC, buffer); in adc_context_update_buffer_pointer()
370 nrf_saadc_resolution_set(NRF_SAADC, nrf_resolution); in set_resolution()
419 nrf_saadc_oversample_set(NRF_SAADC, nrf_oversampling); in set_oversampling()
453 int16_t *sample = nrf_saadc_buffer_pointer_get(NRF_SAADC); in correct_single_ended()
527 nrf_saadc_burst_set(NRF_SAADC, channel_id, in start_read()
532 NRF_SAADC, in start_read()
543 NRF_SAADC, in start_read()
547 NRF_SAADC, in start_read()
572 nrf_saadc_buffer_init(NRF_SAADC, in start_read()
576 nrf_saadc_buffer_init(NRF_SAADC, in start_read()
617 if (nrf_saadc_event_check(NRF_SAADC, NRF_SAADC_EVENT_END)) { in saadc_irq_handler()
618 nrf_saadc_event_clear(NRF_SAADC, NRF_SAADC_EVENT_END); in saadc_irq_handler()
620 nrf_saadc_task_trigger(NRF_SAADC, NRF_SAADC_TASK_STOP); in saadc_irq_handler()
621 nrf_saadc_disable(NRF_SAADC); in saadc_irq_handler()
633 } else if (nrf_saadc_event_check(NRF_SAADC, in saadc_irq_handler()
635 nrf_saadc_event_clear(NRF_SAADC, NRF_SAADC_EVENT_CALIBRATEDONE); in saadc_irq_handler()
642 nrf_saadc_task_trigger(NRF_SAADC, NRF_SAADC_TASK_STOP); in saadc_irq_handler()
643 nrf_saadc_task_trigger(NRF_SAADC, NRF_SAADC_TASK_START); in saadc_irq_handler()
644 nrf_saadc_task_trigger(NRF_SAADC, NRF_SAADC_TASK_SAMPLE); in saadc_irq_handler()
650 nrf_saadc_event_clear(NRF_SAADC, NRF_SAADC_EVENT_END); in init_saadc()
651 nrf_saadc_event_clear(NRF_SAADC, NRF_SAADC_EVENT_CALIBRATEDONE); in init_saadc()
652 nrf_saadc_int_enable(NRF_SAADC, in init_saadc()