[][src]Struct rmicrobit::gpio::EdgeConnectorPins

pub struct EdgeConnectorPins {
    pub pin1: PIN1<Input<Floating>>,
    pub pin2: PIN2<Input<Floating>>,
    pub pin3: PIN3<Input<Floating>>,
    pub pin16: PIN16<Input<Floating>>,
    pub pin18: PIN18<Input<Floating>>,
    pub pin20: PIN20<Input<Floating>>,
    pub pin21: PIN21<Input<Floating>>,
    pub pin22: PIN22<Input<Floating>>,
    pub pin23: PIN23<Input<Floating>>,
}

The GPIO pins available on the edge connector and not otherwise connected.

The edge-connector pins included in DisplayPins and I2cPins are excluded from this struct.

Fields

pin1: PIN1<Input<Floating>>

The GPIO pin connected to edge connector ring 2

pin2: PIN2<Input<Floating>>

The GPIO pin connected to edge connector ring 1

pin3: PIN3<Input<Floating>>

The GPIO pin connected to edge connector ring 0

pin16: PIN16<Input<Floating>>

The GPIO pin connected to edge connector strip 16

pin18: PIN18<Input<Floating>>

The GPIO pin connected to edge connector strip 8

pin20: PIN20<Input<Floating>>

The GPIO pin connected to edge connector strip 12

pin21: PIN21<Input<Floating>>

The GPIO pin connected to edge connector strip 15

Conventionally used for SPI MOSI.

pin22: PIN22<Input<Floating>>

The GPIO pin connected to edge connector strip 14

Conventionally used for SPI MISO.

pin23: PIN23<Input<Floating>>

The GPIO pin connected to edge connector strip 13

Conventionally used for SPI SCK.

Auto Trait Implementations

impl Unpin for EdgeConnectorPins

impl Send for EdgeConnectorPins

impl Sync for EdgeConnectorPins

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self