Struct esp32c2::system::sysclk_conf::R
source · pub struct R(_);
Expand description
Register SYSCLK_CONF
reader
Implementations
sourceimpl R
impl R
sourcepub fn pre_div_cnt(&self) -> PRE_DIV_CNT_R
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.
sourcepub fn soc_clk_sel(&self) -> SOC_CLK_SEL_R
pub fn soc_clk_sel(&self) -> SOC_CLK_SEL_R
Bits 10:11 - This field is used to select soc clock.
sourcepub fn clk_xtal_freq(&self) -> CLK_XTAL_FREQ_R
pub fn clk_xtal_freq(&self) -> CLK_XTAL_FREQ_R
Bits 12:18 - This field is used to read xtal frequency in MHz.
sourcepub fn clk_div_en(&self) -> CLK_DIV_EN_R
pub fn clk_div_en(&self) -> CLK_DIV_EN_R
Bit 19 - reg_clk_div_en
Methods from Deref<Target = R<SYSCLK_CONF_SPEC>>
Trait Implementations
sourceimpl From<R<SYSCLK_CONF_SPEC>> for R
impl From<R<SYSCLK_CONF_SPEC>> for R
sourcefn from(reader: R<SYSCLK_CONF_SPEC>) -> Self
fn from(reader: R<SYSCLK_CONF_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more