Struct esp32s2::sens::sar_reader2_ctrl::W
source · pub struct W(_);
Expand description
Register SAR_READER2_CTRL
writer
Implementations§
source§impl W
impl W
sourcepub fn sar2_clk_div(&mut self) -> SAR2_CLK_DIV_W<'_, 0>
pub fn sar2_clk_div(&mut self) -> SAR2_CLK_DIV_W<'_, 0>
Bits 0:7 - clock divider
sourcepub fn sar2_wait_arb_cycle(&mut self) -> SAR2_WAIT_ARB_CYCLE_W<'_, 16>
pub fn sar2_wait_arb_cycle(&mut self) -> SAR2_WAIT_ARB_CYCLE_W<'_, 16>
Bits 16:17 - wait arbit stable after sar_done
sourcepub fn sar2_clk_gated(&mut self) -> SAR2_CLK_GATED_W<'_, 18>
pub fn sar2_clk_gated(&mut self) -> SAR2_CLK_GATED_W<'_, 18>
Bit 18
sourcepub fn sar2_sample_num(&mut self) -> SAR2_SAMPLE_NUM_W<'_, 19>
pub fn sar2_sample_num(&mut self) -> SAR2_SAMPLE_NUM_W<'_, 19>
Bits 19:26
sourcepub fn sar2_data_inv(&mut self) -> SAR2_DATA_INV_W<'_, 29>
pub fn sar2_data_inv(&mut self) -> SAR2_DATA_INV_W<'_, 29>
Bit 29 - Invert SAR ADC2 data
sourcepub fn sar2_int_en(&mut self) -> SAR2_INT_EN_W<'_, 30>
pub fn sar2_int_en(&mut self) -> SAR2_INT_EN_W<'_, 30>
Bit 30 - enable saradc2 to send out interrupt