Struct esp32s3::sens::sar_reader2_ctrl::R
source · pub struct R(_);
Expand description
Register SAR_READER2_CTRL
reader
Implementations
sourceimpl R
impl R
sourcepub fn sar_sar2_clk_div(&self) -> SAR_SAR2_CLK_DIV_R
pub fn sar_sar2_clk_div(&self) -> SAR_SAR2_CLK_DIV_R
Bits 0:7 - clock divider
sourcepub fn sar_sar2_wait_arb_cycle(&self) -> SAR_SAR2_WAIT_ARB_CYCLE_R
pub fn sar_sar2_wait_arb_cycle(&self) -> SAR_SAR2_WAIT_ARB_CYCLE_R
Bits 16:17 - wait arbit stable after sar_done
sourcepub fn sar_sar2_clk_gated(&self) -> SAR_SAR2_CLK_GATED_R
pub fn sar_sar2_clk_gated(&self) -> SAR_SAR2_CLK_GATED_R
Bit 18 - ******* Description ***********
sourcepub fn sar_sar2_sample_num(&self) -> SAR_SAR2_SAMPLE_NUM_R
pub fn sar_sar2_sample_num(&self) -> SAR_SAR2_SAMPLE_NUM_R
Bits 19:26 - ******* Description ***********
sourcepub fn sar_sar2_data_inv(&self) -> SAR_SAR2_DATA_INV_R
pub fn sar_sar2_data_inv(&self) -> SAR_SAR2_DATA_INV_R
Bit 29 - Invert SAR ADC2 data
sourcepub fn sar_sar2_int_en(&self) -> SAR_SAR2_INT_EN_R
pub fn sar_sar2_int_en(&self) -> SAR_SAR2_INT_EN_R
Bit 30 - enable saradc2 to send out interrupt
Methods from Deref<Target = R<SAR_READER2_CTRL_SPEC>>
Trait Implementations
sourceimpl From<R<SAR_READER2_CTRL_SPEC>> for R
impl From<R<SAR_READER2_CTRL_SPEC>> for R
sourcefn from(reader: R<SAR_READER2_CTRL_SPEC>) -> Self
fn from(reader: R<SAR_READER2_CTRL_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more