[][src]Module nrf9160_pac::saadc_ns

Analog to Digital Converter 0

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.

publish_calibratedone

Publish configuration for event CALIBRATEDONE

publish_ch

Register block Publish configuration for events

publish_done

Publish configuration for event DONE

publish_end

Publish configuration for event END

publish_resultdone

Publish configuration for event RESULTDONE

publish_started

Publish configuration for event STARTED

publish_stopped

Publish configuration for event STOPPED

resolution

Resolution configuration

result

Register block RESULT EasyDMA channel

samplerate

Controls normal or continuous sample rate

status

Status

subscribe_calibrateoffset

Subscribe configuration for task CALIBRATEOFFSET

subscribe_sample

Subscribe configuration for task SAMPLE

subscribe_start

Subscribe configuration for task START

subscribe_stop

Subscribe configuration for task STOP

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

EVENTS_CH

Register block

PUBLISH_CH

Register block

RESULT

Register block

RegisterBlock

Register block

Type Definitions

ENABLE

Enable or disable ADC

EVENTS_CALIBRATEDONE

Calibration is complete

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.

PUBLISH_CALIBRATEDONE

Publish configuration for event CALIBRATEDONE

PUBLISH_DONE

Publish configuration for event DONE

PUBLISH_END

Publish configuration for event END

PUBLISH_RESULTDONE

Publish configuration for event RESULTDONE

PUBLISH_STARTED

Publish configuration for event STARTED

PUBLISH_STOPPED

Publish configuration for event STOPPED

RESOLUTION

Resolution configuration

SAMPLERATE

Controls normal or continuous sample rate

STATUS

Status

SUBSCRIBE_CALIBRATEOFFSET

Subscribe configuration for task CALIBRATEOFFSET

SUBSCRIBE_SAMPLE

Subscribe configuration for task SAMPLE

SUBSCRIBE_START

Subscribe configuration for task START

SUBSCRIBE_STOP

Subscribe configuration for task STOP

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