Struct esp32s2::sens::sar_meas2_ctrl2::W
source · pub struct W(_);Expand description
Register SAR_MEAS2_CTRL2 writer
Implementations§
source§impl W
impl W
sourcepub fn meas2_start_sar(&mut self) -> MEAS2_START_SAR_W<'_, 17>
pub fn meas2_start_sar(&mut self) -> MEAS2_START_SAR_W<'_, 17>
Bit 17 - SAR ADC2 controller (in RTC) starts conversion, active only when SENS_MEAS2_START_FORCE = 1.
sourcepub fn meas2_start_force(&mut self) -> MEAS2_START_FORCE_W<'_, 18>
pub fn meas2_start_force(&mut self) -> MEAS2_START_FORCE_W<'_, 18>
Bit 18 - 1: SAR ADC2 controller (in RTC) is started by software. 0: SAR ADC2 controller is started by ULP coprocessor.
sourcepub fn sar2_en_pad(&mut self) -> SAR2_EN_PAD_W<'_, 19>
pub fn sar2_en_pad(&mut self) -> SAR2_EN_PAD_W<'_, 19>
Bits 19:30 - SAR ADC2 pad enable bitmap, active only whenSENS_SAR2_EN_PAD_FORCE = 1.
sourcepub fn sar2_en_pad_force(&mut self) -> SAR2_EN_PAD_FORCE_W<'_, 31>
pub fn sar2_en_pad_force(&mut self) -> SAR2_EN_PAD_FORCE_W<'_, 31>
Bit 31 - 1: SAR ADC2 pad enable bitmap is controlled by software. 0: SAR ADC2 pad enable bitmap is controlled by ULP coprocessor.
Methods from Deref<Target = W<SAR_MEAS2_CTRL2_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
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