Struct esp32s3::io_mux::gpio::R

source ·
pub struct R(_);
Expand description

Register GPIO%s reader

Implementations

Bit 0 - Output enable of the pad in sleep mode. 1: output enabled; 0: output disabled.

Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in pad mode.

Bit 2 - Pull-down enable of the pad in sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled.

Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled.

Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled.

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

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

Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled.

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

Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1; 1: Select Function 2; etc.

Bit 15 - Enable filter for pin input signals. 1: Filter enabled; 2: Filter disabled.

Methods from Deref<Target = R<GPIO_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.