pub struct W(_);
Expand description
Register STATE0
writer
Implementations
sourceimpl W
impl W
sourcepub fn sw_cpu_int(&mut self) -> SW_CPU_INT_W<'_, 0>
pub fn sw_cpu_int(&mut self) -> SW_CPU_INT_W<'_, 0>
Bit 0 - Sends a SW RTC interrupt to CPU.
sourcepub fn slp_reject_cause_clr(&mut self) -> SLP_REJECT_CAUSE_CLR_W<'_, 1>
pub fn slp_reject_cause_clr(&mut self) -> SLP_REJECT_CAUSE_CLR_W<'_, 1>
Bit 1 - Clears the RTC reject-to-sleep cause.
sourcepub fn apb2rtc_bridge_sel(&mut self) -> APB2RTC_BRIDGE_SEL_W<'_, 22>
pub fn apb2rtc_bridge_sel(&mut self) -> APB2RTC_BRIDGE_SEL_W<'_, 22>
Bit 22 - 1: APB to RTC using bridge 0: APB to RTC using sync
sourcepub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W<'_, 29>
pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W<'_, 29>
Bit 29 - Sleep wakeup bit.
sourcepub fn slp_reject(&mut self) -> SLP_REJECT_W<'_, 30>
pub fn slp_reject(&mut self) -> SLP_REJECT_W<'_, 30>
Bit 30 - Sleep reject bit.
sourcepub fn sleep_en(&mut self) -> SLEEP_EN_W<'_, 31>
pub fn sleep_en(&mut self) -> SLEEP_EN_W<'_, 31>
Bit 31 - Sends the chip to sleep.
Methods from Deref<Target = W<STATE0_SPEC>>
Trait Implementations
sourceimpl From<W<STATE0_SPEC>> for W
impl From<W<STATE0_SPEC>> for W
sourcefn from(writer: W<STATE0_SPEC>) -> Self
fn from(writer: W<STATE0_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more