Struct esp32c2_hal::pac::system::sysclk_conf::R
pub struct R(_);
Expand description
Register SYSCLK_CONF
reader
Implementations§
§impl R
impl R
pub fn pre_div_cnt(&self) -> FieldReaderRaw<u16, u16>
pub fn pre_div_cnt(&self) -> FieldReaderRaw<u16, u16>
Bits 0:9 - This field is used to set the count of prescaler of XTAL_CLK.
pub fn soc_clk_sel(&self) -> FieldReaderRaw<u8, u8>
pub fn soc_clk_sel(&self) -> FieldReaderRaw<u8, u8>
Bits 10:11 - This field is used to select soc clock.
pub fn clk_xtal_freq(&self) -> FieldReaderRaw<u8, u8>
pub fn clk_xtal_freq(&self) -> FieldReaderRaw<u8, u8>
Bits 12:18 - This field is used to read xtal frequency in MHz.
pub fn clk_div_en(&self) -> BitReaderRaw<bool>
pub fn clk_div_en(&self) -> BitReaderRaw<bool>
Bit 19 - reg_clk_div_en
Methods from Deref<Target = R<SYSCLK_CONF_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<SYSCLK_CONF_SPEC>> for R
impl From<R<SYSCLK_CONF_SPEC>> for R
§fn from(reader: R<SYSCLK_CONF_SPEC>) -> R
fn from(reader: R<SYSCLK_CONF_SPEC>) -> R
Converts to this type from the input type.