[][src]Module nrf52810_pac::saadc

Analog to Digital Converter

Modules

ch

Register block Unspecified

enable

Enable or disable ADC

events_calibratedone

Calibration is complete

events_ch

Register block Peripheral events.

events_done

A conversion task has been completed. Depending on the mode, multiple conversions might be needed for a result to be transferred to RAM.

events_end

The ADC has filled up the Result buffer

events_resultdone

A result is ready to get transferred to RAM.

events_started

The ADC has started

events_stopped

The ADC has stopped

inten

Enable or disable interrupt

intenclr

Disable interrupt

intenset

Enable interrupt

oversample

Oversampling configuration. OVERSAMPLE should not be combined with SCAN. The RESOLUTION is applied before averaging, thus for high OVERSAMPLE a higher RESOLUTION should be used.

resolution

Resolution configuration

result

Register block RESULT EasyDMA channel

samplerate

Controls normal or continuous sample rate

status

Status

tasks_calibrateoffset

Starts offset auto-calibration

tasks_sample

Take one ADC sample, if scan is enabled all channels are sampled

tasks_start

Start the ADC and prepare the result buffer in RAM

tasks_stop

Stop the ADC and terminate any on-going conversion

Structs

CH

Register block

ENABLE

Enable or disable ADC

EVENTS_CALIBRATEDONE

Calibration is complete

EVENTS_CH

Register block

EVENTS_DONE

A conversion task has been completed. Depending on the mode, multiple conversions might be needed for a result to be transferred to RAM.

EVENTS_END

The ADC has filled up the Result buffer

EVENTS_RESULTDONE

A result is ready to get transferred to RAM.

EVENTS_STARTED

The ADC has started

EVENTS_STOPPED

The ADC has stopped

INTEN

Enable or disable interrupt

INTENCLR

Disable interrupt

INTENSET

Enable interrupt

OVERSAMPLE

Oversampling configuration. OVERSAMPLE should not be combined with SCAN. The RESOLUTION is applied before averaging, thus for high OVERSAMPLE a higher RESOLUTION should be used.

RESOLUTION

Resolution configuration

RESULT

Register block

RegisterBlock

Register block

SAMPLERATE

Controls normal or continuous sample rate

STATUS

Status

TASKS_CALIBRATEOFFSET

Starts offset auto-calibration

TASKS_SAMPLE

Take one ADC sample, if scan is enabled all channels are sampled

TASKS_START

Start the ADC and prepare the result buffer in RAM

TASKS_STOP

Stop the ADC and terminate any on-going conversion