Type Alias esp32c3::apb_saradc::clkm_conf::R

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

Register CLKM_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn clkm_div_num(&self) -> CLKM_DIV_NUM_R

Bits 0:7 - Integral I2S clock divider value

source

pub fn clkm_div_b(&self) -> CLKM_DIV_B_R

Bits 8:13 - Fractional clock divider numerator value

source

pub fn clkm_div_a(&self) -> CLKM_DIV_A_R

Bits 14:19 - Fractional clock divider denominator value

source

pub fn clk_en(&self) -> CLK_EN_R

Bit 20 - reg clk en

source

pub fn clk_sel(&self) -> CLK_SEL_R

Bits 21:22 - Set this bit to enable clk_apll