Struct esp32c2_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 - Need add desc
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 - Need add desc
pub fn vdd_spi_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 3>
pub fn vdd_spi_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 3>
Bit 3 - Need add desc
pub fn lslp_mem_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 4>
pub fn lslp_mem_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 4>
Bit 4 - memories in digital core force PD in sleep
pub fn lslp_mem_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 5>
pub fn lslp_mem_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, DIG_PWC_SPEC, bool, BitM, 5>
Bit 5 - memories in digital core force no PD in sleep
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 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 - Need add desc
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.
Trait Implementations§
§impl From<W<DIG_PWC_SPEC>> for W
impl From<W<DIG_PWC_SPEC>> for W
§fn from(writer: W<DIG_PWC_SPEC>) -> W
fn from(writer: W<DIG_PWC_SPEC>) -> W
Converts to this type from the input type.