Struct esp32::sens::sar_read_ctrl::W
source · pub struct W(_);
Expand description
Register SAR_READ_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_sample_cycle(&mut self) -> SAR1_SAMPLE_CYCLE_W<'_, 8>
pub fn sar1_sample_cycle(&mut self) -> SAR1_SAMPLE_CYCLE_W<'_, 8>
Bits 8:15 - sample cycles for SAR ADC1
sourcepub fn sar1_sample_bit(&mut self) -> SAR1_SAMPLE_BIT_W<'_, 16>
pub fn sar1_sample_bit(&mut self) -> SAR1_SAMPLE_BIT_W<'_, 16>
Bits 16:17 - 00: for 9-bit width 01: for 10-bit width 10: for 11-bit width 11: for 12-bit width
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_dig_force(&mut self) -> SAR1_DIG_FORCE_W<'_, 27>
pub fn sar1_dig_force(&mut self) -> SAR1_DIG_FORCE_W<'_, 27>
Bit 27 - 1: SAR ADC1 controlled by DIG ADC1 CTRL 0: SAR ADC1 controlled by RTC ADC1 CTRL
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
Methods from Deref<Target = W<SAR_READ_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