Struct esp32s3_hal::pac::rtc_cntl::dig_pwc::W
pub struct W(_);
Expand description
Register DIG_PWC
writer
Implementations§
§impl W
impl W
pub fn lslp_mem_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 3>
pub fn lslp_mem_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 3>
Bit 3 - memories in digital core force PD in sleep
pub fn lslp_mem_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 4>
pub fn lslp_mem_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 4>
Bit 4 - memories in digital core force no PD in sleep
pub fn bt_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 11>
pub fn bt_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 11>
Bit 11 - internal SRAM 2 force power down
pub fn bt_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 12>
pub fn bt_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 12>
Bit 12 - internal SRAM 2 force power up
pub fn dg_peri_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 13>
pub fn dg_peri_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 13>
Bit 13 - internal SRAM 3 force power down
pub fn dg_peri_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 14>
pub fn dg_peri_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 14>
Bit 14 - internal SRAM 3 force power up
pub fn wifi_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 17>
pub fn wifi_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 17>
Bit 17 - wifi force power down
pub fn wifi_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 18>
pub fn wifi_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 18>
Bit 18 - wifi force power up
pub fn dg_wrap_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 19>
pub fn dg_wrap_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 19>
Bit 19 - digital core force power down
pub fn dg_wrap_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 20>
pub fn dg_wrap_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 20>
Bit 20 - digital core force power up
pub fn cpu_top_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 21>
pub fn cpu_top_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 21>
Bit 21 - digital dcdc force power down
pub fn cpu_top_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 22>
pub fn cpu_top_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 22>
Bit 22 - digital dcdc force power up
pub fn bt_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 27>
pub fn bt_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 27>
Bit 27 - enable power down internal SRAM 2 in sleep
pub fn dg_peri_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 28>
pub fn dg_peri_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 28>
Bit 28 - enable power down internal SRAM 3 in sleep
pub fn cpu_top_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 29>
pub fn cpu_top_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 29>
Bit 29 - enable power down internal SRAM 4 in sleep
pub fn wifi_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 30>
pub fn wifi_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 30>
Bit 30 - enable power down wifi in sleep
pub fn dg_wrap_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 31>
pub fn dg_wrap_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 31>
Bit 31 - enable power down all digital logic
Methods from Deref<Target = W<DIG_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.