Struct esp32c2::apb_saradc::ctrl::W
source · pub struct W(_);Expand description
Register CTRL writer
Implementations§
source§impl W
impl W
sourcepub fn saradc_start_force(&mut self) -> SARADC_START_FORCE_W<'_, 0>
pub fn saradc_start_force(&mut self) -> SARADC_START_FORCE_W<'_, 0>
Bit 0 - Need add description
sourcepub fn saradc_start(&mut self) -> SARADC_START_W<'_, 1>
pub fn saradc_start(&mut self) -> SARADC_START_W<'_, 1>
Bit 1 - Need add description
sourcepub fn saradc_sar_clk_gated(&mut self) -> SARADC_SAR_CLK_GATED_W<'_, 6>
pub fn saradc_sar_clk_gated(&mut self) -> SARADC_SAR_CLK_GATED_W<'_, 6>
Bit 6 - Need add description
sourcepub fn saradc_sar_clk_div(&mut self) -> SARADC_SAR_CLK_DIV_W<'_, 7>
pub fn saradc_sar_clk_div(&mut self) -> SARADC_SAR_CLK_DIV_W<'_, 7>
Bits 7:14 - SAR clock divider
sourcepub fn saradc_sar_patt_len(&mut self) -> SARADC_SAR_PATT_LEN_W<'_, 15>
pub fn saradc_sar_patt_len(&mut self) -> SARADC_SAR_PATT_LEN_W<'_, 15>
Bits 15:17 - 0 ~ 15 means length 1 ~ 16
sourcepub fn saradc_sar_patt_p_clear(&mut self) -> SARADC_SAR_PATT_P_CLEAR_W<'_, 23>
pub fn saradc_sar_patt_p_clear(&mut self) -> SARADC_SAR_PATT_P_CLEAR_W<'_, 23>
Bit 23 - clear the pointer of pattern table for DIG ADC1 CTRL
sourcepub fn saradc_xpd_sar_force(&mut self) -> SARADC_XPD_SAR_FORCE_W<'_, 27>
pub fn saradc_xpd_sar_force(&mut self) -> SARADC_XPD_SAR_FORCE_W<'_, 27>
Bits 27:28 - force option to xpd sar blocks
sourcepub fn saradc_wait_arb_cycle(&mut self) -> SARADC_WAIT_ARB_CYCLE_W<'_, 30>
pub fn saradc_wait_arb_cycle(&mut self) -> SARADC_WAIT_ARB_CYCLE_W<'_, 30>
Bits 30:31 - wait arbit signal stable after sar_done
Methods from Deref<Target = W<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