Struct esp32c2::rtc_cntl::state0::W

source ·
pub struct W(_);
Expand description

Register STATE0 writer

Implementations§

Bit 0 - rtc software interrupt to main cpu

Bit 1 - clear rtc sleep reject cause

Bit 22 - 1: APB to RTC using bridge

Bit 28 - SDIO active indication

Bit 29 - leep wakeup bit

Bit 30 - leep reject bit

Bit 31 - sleep enable bit

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.