pub type W = W<SARADC_CONF_SPEC>;
Expand description
Register SARADC_CONF
writer
Aliased Type§
pub struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn saradc_clk_en(&mut self) -> SARADC_CLK_EN_W<'_, SARADC_CONF_SPEC>
pub fn saradc_clk_en(&mut self) -> SARADC_CLK_EN_W<'_, SARADC_CONF_SPEC>
Bit 0 - no use
Sourcepub fn saradc_rst_en(&mut self) -> SARADC_RST_EN_W<'_, SARADC_CONF_SPEC>
pub fn saradc_rst_en(&mut self) -> SARADC_RST_EN_W<'_, SARADC_CONF_SPEC>
Bit 1 - Set 0 to reset function_register of saradc module
Sourcepub fn saradc_reg_clk_en(&mut self) -> SARADC_REG_CLK_EN_W<'_, SARADC_CONF_SPEC>
pub fn saradc_reg_clk_en(&mut self) -> SARADC_REG_CLK_EN_W<'_, SARADC_CONF_SPEC>
Bit 2 - Set 1 to enable saradc apb clock
Sourcepub fn saradc_reg_rst_en(&mut self) -> SARADC_REG_RST_EN_W<'_, SARADC_CONF_SPEC>
pub fn saradc_reg_rst_en(&mut self) -> SARADC_REG_RST_EN_W<'_, SARADC_CONF_SPEC>
Bit 3 - Set 0 to reset apb_register of saradc module