Type Alias esp32c3::apb_saradc::clkm_conf::W

source ·
pub type W = W<CLKM_CONF_SPEC>;
Expand description

Register CLKM_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn clkm_div_num(&mut self) -> CLKM_DIV_NUM_W<'_, CLKM_CONF_SPEC>

Bits 0:7 - Integral I2S clock divider value

source

pub fn clkm_div_b(&mut self) -> CLKM_DIV_B_W<'_, CLKM_CONF_SPEC>

Bits 8:13 - Fractional clock divider numerator value

source

pub fn clkm_div_a(&mut self) -> CLKM_DIV_A_W<'_, CLKM_CONF_SPEC>

Bits 14:19 - Fractional clock divider denominator value

source

pub fn clk_en(&mut self) -> CLK_EN_W<'_, CLKM_CONF_SPEC>

Bit 20 - reg clk en

source

pub fn clk_sel(&mut self) -> CLK_SEL_W<'_, CLKM_CONF_SPEC>

Bits 21:22 - Set this bit to enable clk_apll