pub struct R(_);
Expand description

Register LOW_POWER_ST reader

Implementations§

source§

impl R

source

pub fn xpd_rom0(&self) -> XPD_ROM0_R

Bit 0 - rom0 power down

source

pub fn xpd_dig_dcdc(&self) -> XPD_DIG_DCDC_R

Bit 2 - External DCDC power down

source

pub fn peri_iso(&self) -> PERI_ISO_R

Bit 3 - rtc peripheral iso

source

pub fn xpd_rtc_peri(&self) -> XPD_RTC_PERI_R

Bit 4 - rtc peripheral power down

source

pub fn wifi_iso(&self) -> WIFI_ISO_R

Bit 5 - wifi iso

source

pub fn xpd_wifi(&self) -> XPD_WIFI_R

Bit 6 - wifi wrap power down

source

pub fn dig_iso(&self) -> DIG_ISO_R

Bit 7 - digital wrap iso

source

pub fn xpd_dig(&self) -> XPD_DIG_R

Bit 8 - digital wrap power down

source

pub fn touch_state_start(&self) -> TOUCH_STATE_START_R

Bit 9 - touch should start to work

source

pub fn touch_state_switch(&self) -> TOUCH_STATE_SWITCH_R

Bit 10 - touch is about to working. Switch rtc main state

source

pub fn touch_state_slp(&self) -> TOUCH_STATE_SLP_R

Bit 11 - touch is in sleep state

source

pub fn touch_state_done(&self) -> TOUCH_STATE_DONE_R

Bit 12 - touch is done

source

pub fn cocpu_state_start(&self) -> COCPU_STATE_START_R

Bit 13 - ulp/cocpu should start to work

source

pub fn cocpu_state_switch(&self) -> COCPU_STATE_SWITCH_R

Bit 14 - ulp/cocpu is about to working. Switch rtc main state

source

pub fn cocpu_state_slp(&self) -> COCPU_STATE_SLP_R

Bit 15 - ulp/cocpu is in sleep state

source

pub fn cocpu_state_done(&self) -> COCPU_STATE_DONE_R

Bit 16 - ulp/cocpu is done

source

pub fn main_state_xtal_iso(&self) -> MAIN_STATE_XTAL_ISO_R

Bit 17 - no use any more

source

pub fn main_state_pll_on(&self) -> MAIN_STATE_PLL_ON_R

Bit 18 - rtc main state machine is in states that pll should be running

source

pub fn rdy_for_wakeup(&self) -> RDY_FOR_WAKEUP_R

Bit 19 - rtc is ready to receive wake up trigger from wake up source

source

pub fn main_state_wait_end(&self) -> MAIN_STATE_WAIT_END_R

Bit 20 - rtc main state machine has been waited for some cycles

source

pub fn in_wakeup_state(&self) -> IN_WAKEUP_STATE_R

Bit 21 - rtc main state machine is in the states of wakeup process

source

pub fn in_low_power_state(&self) -> IN_LOW_POWER_STATE_R

Bit 22 - rtc main state machine is in the states of low power

source

pub fn main_state_in_wait_8m(&self) -> MAIN_STATE_IN_WAIT_8M_R

Bit 23 - rtc main state machine is in wait 8m state

source

pub fn main_state_in_wait_pll(&self) -> MAIN_STATE_IN_WAIT_PLL_R

Bit 24 - rtc main state machine is in wait pll state

source

pub fn main_state_in_wait_xtl(&self) -> MAIN_STATE_IN_WAIT_XTL_R

Bit 25 - rtc main state machine is in wait xtal state

source

pub fn main_state_in_slp(&self) -> MAIN_STATE_IN_SLP_R

Bit 26 - rtc main state machine is in sleep state

source

pub fn main_state_in_idle(&self) -> MAIN_STATE_IN_IDLE_R

Bit 27 - rtc main state machine is in idle state

source

pub fn main_state(&self) -> MAIN_STATE_R

Bits 28:31 - rtc main state machine status

Methods from Deref<Target = R<LOW_POWER_ST_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<LOW_POWER_ST_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<LOW_POWER_ST_SPEC>> for R

source§

fn from(reader: R<LOW_POWER_ST_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

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.