Struct esp32c3::rtc_cntl::gpio_wakeup::R

source ·
pub struct R(_);
Expand description

Register GPIO_WAKEUP reader

Implementations

Bits 0:5 - rtc gpio wakeup flag

Bit 6 - clear rtc gpio wakeup flag

Bit 7 - enable rtc io clk gate

Bits 8:10 - configure gpio wakeup type

Bits 11:13 - configure gpio wakeup type

Bits 14:16 - configure gpio wakeup type

Bits 17:19 - configure gpio wakeup type

Bits 20:22 - configure gpio wakeup type

Bits 23:25 - configure gpio wakeup type

Bit 26 - enable wakeup from rtc gpio5

Bit 27 - enable wakeup from rtc gpio4

Bit 28 - enable wakeup from rtc gpio3

Bit 29 - enable wakeup from rtc gpio2

Bit 30 - enable wakeup from rtc gpio1

Bit 31 - enable wakeup from rtc gpio0

Methods from Deref<Target = R<GPIO_WAKEUP_SPEC>>

Reads raw bits from register.

Trait Implementations

The resulting type after dereferencing.
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.