Struct esp32c3::apb_saradc::ctrl2::W
source · pub struct W(_);
Expand description
Register CTRL2
writer
Implementations§
source§impl W
impl W
sourcepub fn saradc_meas_num_limit(&mut self) -> SARADC_MEAS_NUM_LIMIT_W<'_, 0>
pub fn saradc_meas_num_limit(&mut self) -> SARADC_MEAS_NUM_LIMIT_W<'_, 0>
Bit 0 - enable max meas num
sourcepub fn saradc_max_meas_num(&mut self) -> SARADC_MAX_MEAS_NUM_W<'_, 1>
pub fn saradc_max_meas_num(&mut self) -> SARADC_MAX_MEAS_NUM_W<'_, 1>
Bits 1:8 - max conversion number
sourcepub fn saradc_sar1_inv(&mut self) -> SARADC_SAR1_INV_W<'_, 9>
pub fn saradc_sar1_inv(&mut self) -> SARADC_SAR1_INV_W<'_, 9>
Bit 9 - 1: data to DIG ADC1 CTRL is inverted, otherwise not
sourcepub fn saradc_sar2_inv(&mut self) -> SARADC_SAR2_INV_W<'_, 10>
pub fn saradc_sar2_inv(&mut self) -> SARADC_SAR2_INV_W<'_, 10>
Bit 10 - 1: data to DIG ADC2 CTRL is inverted, otherwise not
sourcepub fn saradc_timer_target(&mut self) -> SARADC_TIMER_TARGET_W<'_, 12>
pub fn saradc_timer_target(&mut self) -> SARADC_TIMER_TARGET_W<'_, 12>
Bits 12:23 - to set saradc timer target
sourcepub fn saradc_timer_en(&mut self) -> SARADC_TIMER_EN_W<'_, 24>
pub fn saradc_timer_en(&mut self) -> SARADC_TIMER_EN_W<'_, 24>
Bit 24 - to enable saradc timer trigger