Type Alias esp32c3::apb_saradc::ctrl::W
source · pub type W = W<CTRL_SPEC>;
Expand description
Register CTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn start_force(&mut self) -> START_FORCE_W<'_, CTRL_SPEC>
pub fn start_force(&mut self) -> START_FORCE_W<'_, CTRL_SPEC>
Bit 0 - select software enable saradc sample
sourcepub fn sar_clk_gated(&mut self) -> SAR_CLK_GATED_W<'_, CTRL_SPEC>
pub fn sar_clk_gated(&mut self) -> SAR_CLK_GATED_W<'_, CTRL_SPEC>
Bit 6 - SAR clock gated
sourcepub fn sar_clk_div(&mut self) -> SAR_CLK_DIV_W<'_, CTRL_SPEC>
pub fn sar_clk_div(&mut self) -> SAR_CLK_DIV_W<'_, CTRL_SPEC>
Bits 7:14 - SAR clock divider
sourcepub fn sar_patt_len(&mut self) -> SAR_PATT_LEN_W<'_, CTRL_SPEC>
pub fn sar_patt_len(&mut self) -> SAR_PATT_LEN_W<'_, CTRL_SPEC>
Bits 15:17 - 0 ~ 15 means length 1 ~ 16
sourcepub fn sar_patt_p_clear(&mut self) -> SAR_PATT_P_CLEAR_W<'_, CTRL_SPEC>
pub fn sar_patt_p_clear(&mut self) -> SAR_PATT_P_CLEAR_W<'_, CTRL_SPEC>
Bit 23 - clear the pointer of pattern table for DIG ADC1 CTRL
sourcepub fn xpd_sar_force(&mut self) -> XPD_SAR_FORCE_W<'_, CTRL_SPEC>
pub fn xpd_sar_force(&mut self) -> XPD_SAR_FORCE_W<'_, CTRL_SPEC>
Bits 27:28 - force option to xpd sar blocks
sourcepub fn wait_arb_cycle(&mut self) -> WAIT_ARB_CYCLE_W<'_, CTRL_SPEC>
pub fn wait_arb_cycle(&mut self) -> WAIT_ARB_CYCLE_W<'_, CTRL_SPEC>
Bits 30:31 - wait arbit signal stable after sar_done