Struct kernel::Pins

source · []
pub struct Pins {
Show 36 fields pub a00: P0_04<Disconnected>, pub a01: P0_05<Disconnected>, pub a02: P0_30<Disconnected>, pub a03: P0_28<Disconnected>, pub a04: P0_02<Disconnected>, pub a05: P0_03<Disconnected>, pub aref: P0_31<Disconnected>, pub vdiv: P0_29<Disconnected>, pub d02: P0_10<Disconnected>, pub d05: P1_08<Disconnected>, pub d06: P0_07<Disconnected>, pub d09: P0_26<Disconnected>, pub d10: P0_27<Disconnected>, pub d11: P0_06<Disconnected>, pub d12: P0_08<Disconnected>, pub d13: P1_09<Disconnected>, pub scl: P0_11<Disconnected>, pub sda: P0_12<Disconnected>, pub rxd: P0_24<Disconnected>, pub txd: P0_25<Disconnected>, pub sclk: P0_14<Disconnected>, pub mosi: P0_13<Disconnected>, pub miso: P0_15<Disconnected>, pub qspi_d0: P0_17<Disconnected>, pub qspi_d1: P0_22<Disconnected>, pub qspi_d2: P0_23<Disconnected>, pub qspi_d3: P0_21<Disconnected>, pub qspi_sck: P0_19<Disconnected>, pub qspi_csn: P0_20<Disconnected>, pub led1: P1_15<Disconnected>, pub led2: P1_10<Disconnected>, pub neopix: P0_16<Disconnected>, pub reset: P0_18<Disconnected>, pub switch: P1_02<Disconnected>, pub swo: P1_00<Disconnected>, pub tp1: P0_09<Disconnected>,
}

Fields

a00: P0_04<Disconnected>

HS

a01: P0_05<Disconnected>

HS

a02: P0_30<Disconnected>

LS

a03: P0_28<Disconnected>

LS

a04: P0_02<Disconnected>

LS

a05: P0_03<Disconnected>

LS

aref: P0_31<Disconnected>

LS NOTE: 0.1uF cap to ground

vdiv: P0_29<Disconnected>

Connected to VDIV, 100K/100K (50%) Resistor divider from the ‘VBAT’ line

d02: P0_10<Disconnected>d05: P1_08<Disconnected>

HS

d06: P0_07<Disconnected>

HS

d09: P0_26<Disconnected>

HS

d10: P0_27<Disconnected>

HS

d11: P0_06<Disconnected>

HS

d12: P0_08<Disconnected>

HS

d13: P1_09<Disconnected>

HS

scl: P0_11<Disconnected>

HS

sda: P0_12<Disconnected>

HS

rxd: P0_24<Disconnected>

HS

txd: P0_25<Disconnected>

HS

sclk: P0_14<Disconnected>

HS

mosi: P0_13<Disconnected>

HS

miso: P0_15<Disconnected>

HS

qspi_d0: P0_17<Disconnected>qspi_d1: P0_22<Disconnected>qspi_d2: P0_23<Disconnected>qspi_d3: P0_21<Disconnected>qspi_sck: P0_19<Disconnected>qspi_csn: P0_20<Disconnected>led1: P1_15<Disconnected>

Red, Active High

led2: P1_10<Disconnected>

Blue, Active High

neopix: P0_16<Disconnected>

neopixel

reset: P0_18<Disconnected>

active low, needs internal pullup (if used by sw)

switch: P1_02<Disconnected>

active low, needs internal pullup

swo: P1_00<Disconnected>

gpio - on debug connector

tp1: P0_09<Disconnected>

gpio - NFC pin, limited functionality

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Performs the conversion.

Performs the conversion.

Casts the value.

OverflowingCasts the value.

Should always be Self

Casts the value.

Casts the value.

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.

Casts the value.

UnwrappedCasts the value.

Casts the value.

WrappingCasts the value.