Struct esp32s3_hal::pac::rtc_cntl::pwc::W
pub struct W(_);
Expand description
Register PWC
writer
Implementations§
§impl W
impl W
pub fn fastmem_force_noiso(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 0>
pub fn fastmem_force_noiso(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 0>
Bit 0 - Fast RTC memory force no ISO
pub fn fastmem_force_iso(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 1>
pub fn fastmem_force_iso(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 1>
Bit 1 - Fast RTC memory force ISO
pub fn slowmem_force_noiso(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 2>
pub fn slowmem_force_noiso(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 2>
Bit 2 - RTC memory force no ISO
pub fn slowmem_force_iso(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 3>
pub fn slowmem_force_iso(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 3>
Bit 3 - RTC memory force ISO
pub fn force_iso(&mut self) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 4>
pub fn force_iso(&mut self) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 4>
Bit 4 - rtc_peri force ISO
pub fn force_noiso(&mut self) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 5>
pub fn force_noiso(&mut self) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 5>
Bit 5 - rtc_peri force no ISO
pub fn fastmem_folw_cpu(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 6>
pub fn fastmem_folw_cpu(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 6>
Bit 6 - 1: Fast RTC memory PD following CPU, 0: fast RTC memory PD following RTC state machine
pub fn fastmem_force_lpd(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 7>
pub fn fastmem_force_lpd(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 7>
Bit 7 - Fast RTC memory force PD
pub fn fastmem_force_lpu(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 8>
pub fn fastmem_force_lpu(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 8>
Bit 8 - Fast RTC memory force no PD
pub fn slowmem_folw_cpu(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 9>
pub fn slowmem_folw_cpu(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 9>
Bit 9 - 1: RTC memory PD following CPU, 0: RTC memory PD following RTC state machine
pub fn slowmem_force_lpd(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 10>
pub fn slowmem_force_lpd(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 10>
Bit 10 - RTC memory force PD
pub fn slowmem_force_lpu(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 11>
pub fn slowmem_force_lpu(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 11>
Bit 11 - RTC memory force no PD
pub fn force_pd(&mut self) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 18>
pub fn force_pd(&mut self) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 18>
Bit 18 - rtc_peri force power down
pub fn force_pu(&mut self) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 19>
pub fn force_pu(&mut self) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 19>
Bit 19 - rtc_peri force power up
pub fn pd_en(&mut self) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 20>
pub fn pd_en(&mut self) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 20>
Bit 20 - enable power down rtc_peri in sleep
pub fn pad_force_hold(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 21>
pub fn pad_force_hold(
&mut self
) -> BitWriterRaw<'_, u32, PWC_SPEC, bool, BitM, 21>
Bit 21 - rtc pad force hold
Methods from Deref<Target = W<PWC_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.