Struct esp32s2::sens::sar_reader1_ctrl::R
source · pub struct R(_);Expand description
Register SAR_READER1_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_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_data_inv(&self) -> SAR1_DATA_INV_R
pub fn sar1_data_inv(&self) -> SAR1_DATA_INV_R
Bit 28 - Invert SAR ADC1 data.
sourcepub fn sar1_int_en(&self) -> SAR1_INT_EN_R
pub fn sar1_int_en(&self) -> SAR1_INT_EN_R
Bit 29 - Enable SAR ADC1 to send out interrupt.