Trait esp32c2_hal::analog::adc::CalibrationAccess
source · pub trait CalibrationAccess: RegisterAccess {
const ADC_CAL_CNT_MAX: u16;
const ADC_CAL_CHANNEL: u16;
const ADC_VAL_MASK: u16;
// Required methods
fn enable_vdef(enable: bool);
fn connect_cal(source: AdcCalSource, enable: bool);
}
Required Associated Constants§
Required Methods§
fn enable_vdef(enable: bool)
sourcefn connect_cal(source: AdcCalSource, enable: bool)
fn connect_cal(source: AdcCalSource, enable: bool)
Enable internal calibration voltage source
Object Safety§
This trait is not object safe.