Struct esp32c3::gpio::func_in_sel_cfg::R

source ·
pub struct R(_);
Expand description

Register FUNC%s_IN_SEL_CFG reader

Implementations§

Bits 0:4 - set this value: s=0-53: connect GPIO[s] to this port. s=0x38: set this port always high level. s=0x3C: set this port always low level.

Bit 5 - set this bit to invert input signal. 1:invert. 0:not invert.

Bit 6 - set this bit to bypass GPIO. 1:do not bypass GPIO. 0:bypass GPIO.

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