Struct esp32_hal::pac::dport::cpu_per_conf::W
pub struct W(_);
Expand description
Register CPU_PER_CONF
writer
Implementations§
§impl W
impl W
pub fn cpuperiod_sel(
&mut self
) -> FieldWriterRaw<'_, u32, CPU_PER_CONF_SPEC, u8, u8, Unsafe, 2, 0>
pub fn cpuperiod_sel(
&mut self
) -> FieldWriterRaw<'_, u32, CPU_PER_CONF_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1
pub fn lowspeed_clk_sel(
&mut self
) -> BitWriterRaw<'_, u32, CPU_PER_CONF_SPEC, bool, BitM, 2>
pub fn lowspeed_clk_sel(
&mut self
) -> BitWriterRaw<'_, u32, CPU_PER_CONF_SPEC, bool, BitM, 2>
Bit 2
pub fn fast_clk_rtc_sel(
&mut self
) -> BitWriterRaw<'_, u32, CPU_PER_CONF_SPEC, bool, BitM, 3>
pub fn fast_clk_rtc_sel(
&mut self
) -> BitWriterRaw<'_, u32, CPU_PER_CONF_SPEC, bool, BitM, 3>
Bit 3
Methods from Deref<Target = W<CPU_PER_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<CPU_PER_CONF_SPEC>> for W
impl From<W<CPU_PER_CONF_SPEC>> for W
§fn from(writer: W<CPU_PER_CONF_SPEC>) -> W
fn from(writer: W<CPU_PER_CONF_SPEC>) -> W
Converts to this type from the input type.