Module nrf52810_pac::saadc
source · [−]Expand description
Analog to Digital Converter
Re-exports
Modules
Cluster
Unspecified
Enable or disable ADC
Calibration is complete
Cluster
Peripheral events.
A conversion task has been completed. Depending on the mode, multiple conversions might be needed for a result to be transferred to RAM.
The ADC has filled up the Result buffer
A result is ready to get transferred to RAM.
The ADC has started
The ADC has stopped
Enable or disable interrupt
Disable interrupt
Enable interrupt
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 configuration
Cluster
RESULT EasyDMA channel
Controls normal or continuous sample rate
Status
Starts offset auto-calibration
Take one ADC sample, if scan is enabled all channels are sampled
Start the ADC and prepare the result buffer in RAM
Stop the ADC and terminate any on-going conversion
Structs
Register block
Type Definitions
ENABLE (rw) register accessor: an alias for
Reg<ENABLE_SPEC>
EVENTS_CALIBRATEDONE (rw) register accessor: an alias for
Reg<EVENTS_CALIBRATEDONE_SPEC>
EVENTS_DONE (rw) register accessor: an alias for
Reg<EVENTS_DONE_SPEC>
EVENTS_END (rw) register accessor: an alias for
Reg<EVENTS_END_SPEC>
EVENTS_RESULTDONE (rw) register accessor: an alias for
Reg<EVENTS_RESULTDONE_SPEC>
EVENTS_STARTED (rw) register accessor: an alias for
Reg<EVENTS_STARTED_SPEC>
EVENTS_STOPPED (rw) register accessor: an alias for
Reg<EVENTS_STOPPED_SPEC>
INTEN (rw) register accessor: an alias for
Reg<INTEN_SPEC>
INTENCLR (rw) register accessor: an alias for
Reg<INTENCLR_SPEC>
INTENSET (rw) register accessor: an alias for
Reg<INTENSET_SPEC>
OVERSAMPLE (rw) register accessor: an alias for
Reg<OVERSAMPLE_SPEC>
RESOLUTION (rw) register accessor: an alias for
Reg<RESOLUTION_SPEC>
SAMPLERATE (rw) register accessor: an alias for
Reg<SAMPLERATE_SPEC>
STATUS (r) register accessor: an alias for
Reg<STATUS_SPEC>
TASKS_CALIBRATEOFFSET (w) register accessor: an alias for
Reg<TASKS_CALIBRATEOFFSET_SPEC>
TASKS_SAMPLE (w) register accessor: an alias for
Reg<TASKS_SAMPLE_SPEC>
TASKS_START (w) register accessor: an alias for
Reg<TASKS_START_SPEC>
TASKS_STOP (w) register accessor: an alias for
Reg<TASKS_STOP_SPEC>