Struct esp32::sens::sar_read_ctrl::R
source · pub struct R(_);
Expand description
Register SAR_READ_CTRL
reader
Implementations§
source§impl R
impl R
sourcepub fn sar1_clk_div(&self) -> SAR1_CLK_DIV_R
pub fn sar1_clk_div(&self) -> SAR1_CLK_DIV_R
Bits 0:7 - clock divider
sourcepub fn sar1_sample_cycle(&self) -> SAR1_SAMPLE_CYCLE_R
pub fn sar1_sample_cycle(&self) -> SAR1_SAMPLE_CYCLE_R
Bits 8:15 - sample cycles for SAR ADC1
sourcepub fn sar1_sample_bit(&self) -> SAR1_SAMPLE_BIT_R
pub fn sar1_sample_bit(&self) -> SAR1_SAMPLE_BIT_R
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(&self) -> SAR1_CLK_GATED_R
pub fn sar1_clk_gated(&self) -> SAR1_CLK_GATED_R
Bit 18
sourcepub fn sar1_sample_num(&self) -> SAR1_SAMPLE_NUM_R
pub fn sar1_sample_num(&self) -> SAR1_SAMPLE_NUM_R
Bits 19:26
sourcepub fn sar1_dig_force(&self) -> SAR1_DIG_FORCE_R
pub fn sar1_dig_force(&self) -> SAR1_DIG_FORCE_R
Bit 27 - 1: SAR ADC1 controlled by DIG ADC1 CTRL 0: SAR ADC1 controlled by RTC ADC1 CTRL
sourcepub fn sar1_data_inv(&self) -> SAR1_DATA_INV_R
pub fn sar1_data_inv(&self) -> SAR1_DATA_INV_R
Bit 28 - Invert SAR ADC1 data
Methods from Deref<Target = R<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