Struct esp32c2_hal::pac::system::sysclk_conf::W
pub struct W(_);
Expand description
Register SYSCLK_CONF
writer
Implementations§
§impl W
impl W
pub fn pre_div_cnt(
&mut self
) -> FieldWriterRaw<'_, u32, SYSCLK_CONF_SPEC, u16, u16, Unsafe, 10, 0>
pub fn pre_div_cnt(
&mut self
) -> FieldWriterRaw<'_, u32, SYSCLK_CONF_SPEC, u16, u16, Unsafe, 10, 0>
Bits 0:9 - This field is used to set the count of prescaler of XTAL_CLK.
pub fn soc_clk_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SYSCLK_CONF_SPEC, u8, u8, Unsafe, 2, 10>
pub fn soc_clk_sel(
&mut self
) -> FieldWriterRaw<'_, u32, SYSCLK_CONF_SPEC, u8, u8, Unsafe, 2, 10>
Bits 10:11 - This field is used to select soc clock.
Methods from Deref<Target = W<SYSCLK_CONF_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<SYSCLK_CONF_SPEC>> for W
impl From<W<SYSCLK_CONF_SPEC>> for W
§fn from(writer: W<SYSCLK_CONF_SPEC>) -> W
fn from(writer: W<SYSCLK_CONF_SPEC>) -> W
Converts to this type from the input type.