Struct esp32c2_hal::analog::ADC1
source · pub struct ADC1 { /* private fields */ }
Trait Implementations§
source§impl AdcCalEfuse for ADC1
impl AdcCalEfuse for ADC1
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 CalibrationAccess for ADC1
impl CalibrationAccess for ADC1
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 ADC1
impl Peripheral for ADC1
impl AdcHasLineCal for ADC1
Auto Trait Implementations§
impl RefUnwindSafe for ADC1
impl Send for ADC1
impl Sync for ADC1
impl Unpin for ADC1
impl UnwindSafe for ADC1
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