Type Alias esp32s3::system::sysclk_conf::R

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

Register SYSCLK_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn pre_div_cnt(&self) -> PRE_DIV_CNT_R

Bits 0:9 - This field is used to set the count of prescaler of XTAL_CLK.

source

pub fn soc_clk_sel(&self) -> SOC_CLK_SEL_R

Bits 10:11 - This field is used to select soc clock.

source

pub fn clk_xtal_freq(&self) -> CLK_XTAL_FREQ_R

Bits 12:18 - This field is used to read xtal frequency in MHz.

source

pub fn clk_div_en(&self) -> CLK_DIV_EN_R

Bit 19 - Reserved.