Struct esp32c2_hal::pac::rtc_cntl::cpu_period_conf::W
pub struct W(_);
Expand description
Register CPU_PERIOD_CONF
writer
Implementations§
§impl W
impl W
pub fn cpusel_conf(
&mut self
) -> BitWriterRaw<'_, u32, CPU_PERIOD_CONF_SPEC, bool, BitM, 29>
pub fn cpusel_conf(
&mut self
) -> BitWriterRaw<'_, u32, CPU_PERIOD_CONF_SPEC, bool, BitM, 29>
Bit 29 - CPU sel option
pub fn cpuperiod_sel(
&mut self
) -> FieldWriterRaw<'_, u32, CPU_PERIOD_CONF_SPEC, u8, u8, Unsafe, 2, 30>
pub fn cpuperiod_sel(
&mut self
) -> FieldWriterRaw<'_, u32, CPU_PERIOD_CONF_SPEC, u8, u8, Unsafe, 2, 30>
Bits 30:31 - Need add desc
Methods from Deref<Target = W<CPU_PERIOD_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_PERIOD_CONF_SPEC>> for W
impl From<W<CPU_PERIOD_CONF_SPEC>> for W
§fn from(writer: W<CPU_PERIOD_CONF_SPEC>) -> W
fn from(writer: W<CPU_PERIOD_CONF_SPEC>) -> W
Converts to this type from the input type.