Struct esp32::rtc_cntl::dig_pwc::W

source ·
pub struct W(_);
Expand description

Register DIG_PWC writer

Implementations§

source§

impl W

source

pub fn lslp_mem_force_pd(&mut self) -> LSLP_MEM_FORCE_PD_W<'_, 3>

Bit 3 - memories in digital core force PD in sleep

source

pub fn lslp_mem_force_pu(&mut self) -> LSLP_MEM_FORCE_PU_W<'_, 4>

Bit 4 - memories in digital core force no PD in sleep

source

pub fn rom0_force_pd(&mut self) -> ROM0_FORCE_PD_W<'_, 5>

Bit 5 - ROM force power down

source

pub fn rom0_force_pu(&mut self) -> ROM0_FORCE_PU_W<'_, 6>

Bit 6 - ROM force power up

source

pub fn inter_ram0_force_pd(&mut self) -> INTER_RAM0_FORCE_PD_W<'_, 7>

Bit 7 - internal SRAM 0 force power down

source

pub fn inter_ram0_force_pu(&mut self) -> INTER_RAM0_FORCE_PU_W<'_, 8>

Bit 8 - internal SRAM 0 force power up

source

pub fn inter_ram1_force_pd(&mut self) -> INTER_RAM1_FORCE_PD_W<'_, 9>

Bit 9 - internal SRAM 1 force power down

source

pub fn inter_ram1_force_pu(&mut self) -> INTER_RAM1_FORCE_PU_W<'_, 10>

Bit 10 - internal SRAM 1 force power up

source

pub fn inter_ram2_force_pd(&mut self) -> INTER_RAM2_FORCE_PD_W<'_, 11>

Bit 11 - internal SRAM 2 force power down

source

pub fn inter_ram2_force_pu(&mut self) -> INTER_RAM2_FORCE_PU_W<'_, 12>

Bit 12 - internal SRAM 2 force power up

source

pub fn inter_ram3_force_pd(&mut self) -> INTER_RAM3_FORCE_PD_W<'_, 13>

Bit 13 - internal SRAM 3 force power down

source

pub fn inter_ram3_force_pu(&mut self) -> INTER_RAM3_FORCE_PU_W<'_, 14>

Bit 14 - internal SRAM 3 force power up

source

pub fn inter_ram4_force_pd(&mut self) -> INTER_RAM4_FORCE_PD_W<'_, 15>

Bit 15 - internal SRAM 4 force power down

source

pub fn inter_ram4_force_pu(&mut self) -> INTER_RAM4_FORCE_PU_W<'_, 16>

Bit 16 - internal SRAM 4 force power up

source

pub fn wifi_force_pd(&mut self) -> WIFI_FORCE_PD_W<'_, 17>

Bit 17 - wifi force power down

source

pub fn wifi_force_pu(&mut self) -> WIFI_FORCE_PU_W<'_, 18>

Bit 18 - wifi force power up

source

pub fn dg_wrap_force_pd(&mut self) -> DG_WRAP_FORCE_PD_W<'_, 19>

Bit 19 - digital core force power down

source

pub fn dg_wrap_force_pu(&mut self) -> DG_WRAP_FORCE_PU_W<'_, 20>

Bit 20 - digital core force power up

source

pub fn rom0_pd_en(&mut self) -> ROM0_PD_EN_W<'_, 24>

Bit 24 - enable power down ROM in sleep

source

pub fn inter_ram0_pd_en(&mut self) -> INTER_RAM0_PD_EN_W<'_, 25>

Bit 25 - enable power down internal SRAM 0 in sleep

source

pub fn inter_ram1_pd_en(&mut self) -> INTER_RAM1_PD_EN_W<'_, 26>

Bit 26 - enable power down internal SRAM 1 in sleep

source

pub fn inter_ram2_pd_en(&mut self) -> INTER_RAM2_PD_EN_W<'_, 27>

Bit 27 - enable power down internal SRAM 2 in sleep

source

pub fn inter_ram3_pd_en(&mut self) -> INTER_RAM3_PD_EN_W<'_, 28>

Bit 28 - enable power down internal SRAM 3 in sleep

source

pub fn inter_ram4_pd_en(&mut self) -> INTER_RAM4_PD_EN_W<'_, 29>

Bit 29 - enable power down internal SRAM 4 in sleep

source

pub fn wifi_pd_en(&mut self) -> WIFI_PD_EN_W<'_, 30>

Bit 30 - enable power down wifi in sleep

source

pub fn dg_wrap_pd_en(&mut self) -> DG_WRAP_PD_EN_W<'_, 31>

Bit 31 - enable power down digital core in sleep

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Methods from Deref<Target = W<DIG_PWC_SPEC>>§

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

source§

impl Deref for W

§

type Target = W<DIG_PWC_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for W

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl From<W<DIG_PWC_SPEC>> for W

source§

fn from(writer: W<DIG_PWC_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.