Struct esp32c3_hal::pac::rtc_cntl::dig_pwc::W
pub struct W(_);
Expand description
Register DIG_PWC
writer
Implementations
impl W
impl W
pub fn vdd_spi_pwr_drv(
&mut self
) -> FieldWriterRaw<'_, u32, DIG_PWC_SPEC, u8, u8, Unsafe, 2, 0>
pub fn vdd_spi_pwr_drv(
&mut self
) -> FieldWriterRaw<'_, u32, DIG_PWC_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - vdd_spi drv’s software value
pub fn vdd_spi_pwr_force(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 2>
pub fn vdd_spi_pwr_force(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 2>
Bit 2 - vdd_spi drv use software value
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 PU 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 - bt 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 - bt 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 - digital peri 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 - digital peri force power up
pub fn fastmem_force_lpd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 15>
pub fn fastmem_force_lpd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 15>
Bit 15 - fastmemory retention mode in sleep
pub fn fastmem_force_lpu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 16>
pub fn fastmem_force_lpu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 16>
Bit 16 - fastmemory donlt entry retention mode in sleep
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 - cpu core 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 - cpu 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 bt 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 digital peri 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 cpu 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 wrap 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.