Module nrf52840::saadc [−][src]
Successive approximation register (SAR) analog-to-digital converter
Modules
ch |
Register block Unspecified |
enable |
Enable or disable SAADC |
events_calibratedone |
Calibration is complete |
events_ch |
Register block Unspecified |
events_done |
A conversion task has been completed. Depending on the configuration, multiple conversions might be needed for a result to be transferred to RAM. |
events_end |
The SAADC has filled up the result buffer |
events_resultdone |
Result ready for transfer to RAM |
events_started |
The SAADC has started |
events_stopped |
The SAADC has stopped |
inten |
Enable or disable interrupt |
intenclr |
Disable interrupt |
intenset |
Enable interrupt |
oversample |
Oversampling configuration. 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 |
Takes one SAADC sample |
tasks_start |
Starts the SAADC and prepares the result buffer in RAM |
tasks_stop |
Stops the SAADC and terminates all on-going conversions |
Structs
CH |
Register block |
ENABLE |
Enable or disable SAADC |
EVENTS_CALIBRATEDONE |
Calibration is complete |
EVENTS_CH |
Register block |
EVENTS_DONE |
A conversion task has been completed. Depending on the configuration, multiple conversions might be needed for a result to be transferred to RAM. |
EVENTS_END |
The SAADC has filled up the result buffer |
EVENTS_RESULTDONE |
Result ready for transfer to RAM |
EVENTS_STARTED |
The SAADC has started |
EVENTS_STOPPED |
The SAADC has stopped |
INTEN |
Enable or disable interrupt |
INTENCLR |
Disable interrupt |
INTENSET |
Enable interrupt |
OVERSAMPLE |
Oversampling configuration. 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 |
Takes one SAADC sample |
TASKS_START |
Starts the SAADC and prepares the result buffer in RAM |
TASKS_STOP |
Stops the SAADC and terminates all on-going conversions |