pub struct R(_);
Expand description

Register CTRL3[%s] reader

Implementations

Bits 0:1 - These bits are used to enable an internal pull-up or pull-down resistor.

Bits 2:3 - The GPIO pin will be tristated when the selected power well is off.

Bits 4:6 - Determines the interrupt capability of the GPIO input.

Bit 7 - Determines the interrupt capability of the GPIO input.

Bit 8 - 0 = Push-Pull, 1 = Open Drain

Bit 9 - Buffer direction when GPIO selected by pin mux 0 = Input, 1 = Output

Bit 10 - GPIO outputs registe select.0=GPIO ALTERNATE_GPIO_DATA 1=GPIO Output Register.

Bit 11 - 1=Inverted; 0=Non-inverted

Bits 12:14 - 00 = GPIO Function, 01 = Function 1, 10 = Function 2, 11 = Function 3.

Bit 15 - GPIO input disable

Bit 16 - GPIO Alternate Data Register.

Bit 24 - GPIO input from pin, independent of the Mux selection for the pin or the Direction.

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