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 rom0_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 5>
pub fn rom0_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 5>
Bit 5 - ROM force power down
pub fn rom0_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 6>
pub fn rom0_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 6>
Bit 6 - ROM force power up
pub fn inter_ram0_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 7>
pub fn inter_ram0_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 7>
Bit 7 - internal SRAM 0 force power down
pub fn inter_ram0_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 8>
pub fn inter_ram0_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 8>
Bit 8 - internal SRAM 0 force power up
pub fn inter_ram1_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 9>
pub fn inter_ram1_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 9>
Bit 9 - internal SRAM 1 force power down
pub fn inter_ram1_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 10>
pub fn inter_ram1_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 10>
Bit 10 - internal SRAM 1 force power up
pub fn inter_ram2_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 11>
pub fn inter_ram2_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 11>
Bit 11 - internal SRAM 2 force power down
pub fn inter_ram2_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 12>
pub fn inter_ram2_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 12>
Bit 12 - internal SRAM 2 force power up
pub fn inter_ram3_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 13>
pub fn inter_ram3_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 13>
Bit 13 - internal SRAM 3 force power down
pub fn inter_ram3_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 14>
pub fn inter_ram3_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 14>
Bit 14 - internal SRAM 3 force power up
pub fn inter_ram4_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 15>
pub fn inter_ram4_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 15>
Bit 15 - internal SRAM 4 force power down
pub fn inter_ram4_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 16>
pub fn inter_ram4_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 16>
Bit 16 - internal SRAM 4 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 rom0_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 24>
pub fn rom0_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 24>
Bit 24 - enable power down ROM in sleep
pub fn inter_ram0_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 25>
pub fn inter_ram0_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 25>
Bit 25 - enable power down internal SRAM 0 in sleep
pub fn inter_ram1_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 26>
pub fn inter_ram1_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 26>
Bit 26 - enable power down internal SRAM 1 in sleep
pub fn inter_ram2_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 27>
pub fn inter_ram2_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 27>
Bit 27 - enable power down internal SRAM 2 in sleep
pub fn inter_ram3_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 28>
pub fn inter_ram3_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 28>
Bit 28 - enable power down internal SRAM 3 in sleep
pub fn inter_ram4_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 29>
pub fn inter_ram4_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 digital core in sleep
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.