pub type AdcConfig = SaadcConfig;Expand description
AdcConfig alias to unify v1 and v2 names
Aliased Type§
pub struct AdcConfig {
pub resolution: VAL_A,
pub oversample: OVERSAMPLE_A,
pub reference: REFSEL_A,
pub gain: GAIN_A,
pub resistor: RESP_A,
pub time: TACQ_A,
}Fields§
§resolution: VAL_AOutput resolution in bits.
oversample: OVERSAMPLE_AAverage 2^oversample input samples before transferring the result into memory.
reference: REFSEL_AReference voltage of the SAADC input.
gain: GAIN_AGain used to control the effective input range of the SAADC.
resistor: RESP_APositive channel resistor control.
time: TACQ_AAcquisition time in microseconds.