Struct esp32c3_hal::analog::ADC2
source · pub struct ADC2 { /* private fields */ }
Trait Implementations§
source§impl AdcCalEfuse for ADC2
impl AdcCalEfuse for ADC2
source§fn get_init_code(atten: Attenuation) -> Option<u16>
fn get_init_code(atten: Attenuation) -> Option<u16>
Get ADC calibration init code Read more
source§fn get_cal_mv(atten: Attenuation) -> u16
fn get_cal_mv(atten: Attenuation) -> u16
Get ADC calibration reference point voltage Read more
source§fn get_cal_code(atten: Attenuation) -> Option<u16>
fn get_cal_code(atten: Attenuation) -> Option<u16>
Get ADC calibration reference point digital value Read more
source§impl AdcHasCurveCal for ADC2
impl AdcHasCurveCal for ADC2
source§const CURVES_COEFFS: &'static [CurveCoeffs] = CURVES_COEFFS1
const CURVES_COEFFS: &'static [CurveCoeffs] = CURVES_COEFFS1
Coefficients for calculating the reading voltage error. Read more
source§impl CalibrationAccess for ADC2
impl CalibrationAccess for ADC2
const ADC_CAL_CNT_MAX: u16 = 32u16
const ADC_CAL_CHANNEL: u16 = 15u16
const ADC_VAL_MASK: u16 = 4_095u16
fn enable_vdef(enable: bool)
source§fn connect_cal(source: AdcCalSource, enable: bool)
fn connect_cal(source: AdcCalSource, enable: bool)
Enable internal calibration voltage source
source§impl Peripheral for ADC2
impl Peripheral for ADC2
impl AdcHasLineCal for ADC2
Auto Trait Implementations§
impl RefUnwindSafe for ADC2
impl Send for ADC2
impl Sync for ADC2
impl Unpin for ADC2
impl UnwindSafe for ADC2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more