Struct esp32c6::pcr::saradc_conf::W
source · pub struct W(_);Expand description
Register SARADC_CONF writer
Implementations§
source§impl W
impl W
sourcepub fn saradc_clk_en(&mut self) -> SARADC_CLK_EN_W<'_, 0>
pub fn saradc_clk_en(&mut self) -> SARADC_CLK_EN_W<'_, 0>
Bit 0 - no use
sourcepub fn saradc_rst_en(&mut self) -> SARADC_RST_EN_W<'_, 1>
pub fn saradc_rst_en(&mut self) -> SARADC_RST_EN_W<'_, 1>
Bit 1 - Set 0 to reset function_register of saradc module
sourcepub fn saradc_reg_clk_en(&mut self) -> SARADC_REG_CLK_EN_W<'_, 2>
pub fn saradc_reg_clk_en(&mut self) -> SARADC_REG_CLK_EN_W<'_, 2>
Bit 2 - Set 1 to enable saradc apb clock
sourcepub fn saradc_reg_rst_en(&mut self) -> SARADC_REG_RST_EN_W<'_, 3>
pub fn saradc_reg_rst_en(&mut self) -> SARADC_REG_RST_EN_W<'_, 3>
Bit 3 - Set 0 to reset apb_register of saradc module
Methods from Deref<Target = W<SARADC_CONF_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