embassy-nrf

Crates

git

Versions

nrf9151-s

Flavors

Module saadc

Source
Expand description

Successive Approximation Analog-to-Digital Converter (SAADC) driver.

Structs§

AnyInput
A type-erased SAADC input.
ChannelConfig
Used to configure an individual SAADC peripheral channel.
Config
Used to configure the SAADC peripheral.
InterruptHandler
Interrupt handler.
Saadc
One-shot and continuous SAADC.
VddInput
A dummy Input pin implementation for SAADC peripheral sampling from the internal voltage.

Enums§

CallbackResult
Value returned by the SAADC callback, deciding what happens next.
Error
SAADC error
Gain
Gain control
Oversample
Oversample control
Reference
Reference control
Resistor
Positive channel resistor control
Resolution
Set the resolution
Time
Acquisition time, the time the SAADC uses to sample the input voltage

Traits§

Input
An input that can be used as either or negative end of a ADC differential in the SAADC periperhal.