Struct esp32s2::rtcio::rtc_pad19::W

source ·
pub struct W(_);
Expand description

Register RTC_PAD19 writer

Implementations§

Bit 13 - Input enable in normal execution.

Bit 14 - Output enable in sleep mode.

Bit 15 - Input enable in sleep mode.

Bit 16 - 1: enable sleep mode. 0: no sleep mode

Bits 17:18 - Function selection.

Bit 19 - 1: use RTC GPIO. 0: use digital GPIO.

Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled.

Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled.

Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA.

Writes raw bits to the register.

Methods from Deref<Target = W<RTC_PAD19_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.