Struct esp32c2_hal::pac::apb_ctrl::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 - reg_pre_div_cnt
pub fn clk_320m_en(
&mut self
) -> BitWriterRaw<'_, u32, SYSCLK_CONF_SPEC, bool, BitM, 10>
pub fn clk_320m_en(
&mut self
) -> BitWriterRaw<'_, u32, SYSCLK_CONF_SPEC, bool, BitM, 10>
Bit 10 - reg_clk_320m_en
pub fn clk_en(
&mut self
) -> BitWriterRaw<'_, u32, SYSCLK_CONF_SPEC, bool, BitM, 11>
pub fn clk_en(
&mut self
) -> BitWriterRaw<'_, u32, SYSCLK_CONF_SPEC, bool, BitM, 11>
Bit 11 - reg_clk_en
pub fn rst_tick_cnt(
&mut self
) -> BitWriterRaw<'_, u32, SYSCLK_CONF_SPEC, bool, BitM, 12>
pub fn rst_tick_cnt(
&mut self
) -> BitWriterRaw<'_, u32, SYSCLK_CONF_SPEC, bool, BitM, 12>
Bit 12 - reg_rst_tick_cnt
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.