Struct esp32s2::sens::sar_reader1_ctrl::W
source · pub struct W(_);
Expand description
Register SAR_READER1_CTRL
writer
Implementations§
source§impl W
impl W
sourcepub fn sar1_clk_div(&mut self) -> SAR1_CLK_DIV_W<'_, 0>
pub fn sar1_clk_div(&mut self) -> SAR1_CLK_DIV_W<'_, 0>
Bits 0:7 - Clock divider.
sourcepub fn sar1_clk_gated(&mut self) -> SAR1_CLK_GATED_W<'_, 18>
pub fn sar1_clk_gated(&mut self) -> SAR1_CLK_GATED_W<'_, 18>
Bit 18
sourcepub fn sar1_sample_num(&mut self) -> SAR1_SAMPLE_NUM_W<'_, 19>
pub fn sar1_sample_num(&mut self) -> SAR1_SAMPLE_NUM_W<'_, 19>
Bits 19:26
sourcepub fn sar1_data_inv(&mut self) -> SAR1_DATA_INV_W<'_, 28>
pub fn sar1_data_inv(&mut self) -> SAR1_DATA_INV_W<'_, 28>
Bit 28 - Invert SAR ADC1 data.
sourcepub fn sar1_int_en(&mut self) -> SAR1_INT_EN_W<'_, 29>
pub fn sar1_int_en(&mut self) -> SAR1_INT_EN_W<'_, 29>
Bit 29 - Enable SAR ADC1 to send out interrupt.
Methods from Deref<Target = W<SAR_READER1_CTRL_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