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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.