Struct esp32c6::pcr::sysclk_conf::R
source · pub struct R(_);Expand description
Register SYSCLK_CONF reader
Implementations§
source§impl R
impl R
sourcepub fn ls_div_num(&self) -> LS_DIV_NUM_R
pub fn ls_div_num(&self) -> LS_DIV_NUM_R
Bits 0:7 - clk_hproot is div1 of low-speed clock-source if clck-source is a low-speed clock-source such as XTAL/FOSC.
sourcepub fn hs_div_num(&self) -> HS_DIV_NUM_R
pub fn hs_div_num(&self) -> HS_DIV_NUM_R
Bits 8:15 - clk_hproot is div3 of SPLL if the clock-source is high-speed clock SPLL.
sourcepub fn soc_clk_sel(&self) -> SOC_CLK_SEL_R
pub fn soc_clk_sel(&self) -> SOC_CLK_SEL_R
Bits 16:17 - This field is used to select clock source. 0: XTAL, 1: SPLL, 2: FOSC, 3: reserved.
sourcepub fn clk_xtal_freq(&self) -> CLK_XTAL_FREQ_R
pub fn clk_xtal_freq(&self) -> CLK_XTAL_FREQ_R
Bits 24:30 - This field indicates the frequency(MHz) of XTAL.
Methods from Deref<Target = R<SYSCLK_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