Struct esp32s2::rtc_cntl::state0::W

source ·
pub struct W(_);
Expand description

Register STATE0 writer

Implementations

Bit 0 - Sends a SW RTC interrupt to CPU.

Bit 1 - Clears the RTC reject-to-sleep cause.

Bit 22 - 1: APB to RTC using bridge 0: APB to RTC using sync

Bit 29 - Sleep wakeup bit.

Bit 30 - Sleep reject bit.

Bit 31 - Sends the chip to sleep.

Writes raw bits to the register.

Methods from Deref<Target = W<STATE0_SPEC>>

Writes raw bits to the register.

Safety

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

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.