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
impl RefUnwindSafe for Pins
impl Send for Pins
impl Sync for Pins
impl Unpin for Pins
impl UnwindSafe for Pins
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedAs for T
impl<T> CheckedAs for T
sourcefn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> CheckedCastFrom<Src> for Dst where
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dst where
Src: CheckedCast<Dst>,
sourcefn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
sourceimpl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
sourcefn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
sourceimpl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
sourcefn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
sourceimpl<T> OverflowingAs for T
impl<T> OverflowingAs for T
sourcefn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> OverflowingCastFrom<Src> for Dst where
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dst where
Src: OverflowingCast<Dst>,
sourcefn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
OverflowingCasts the value.
sourceimpl<T> SaturatingAs for T
impl<T> SaturatingAs for T
sourcefn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> SaturatingCastFrom<Src> for Dst where
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dst where
Src: SaturatingCast<Dst>,
sourcefn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
sourceimpl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
sourcefn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> UnwrappedCastFrom<Src> for Dst where
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dst where
Src: UnwrappedCast<Dst>,
sourcefn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
UnwrappedCasts the value.
sourceimpl<T> WrappingAs for T
impl<T> WrappingAs for T
sourcefn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> WrappingCastFrom<Src> for Dst where
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dst where
Src: WrappingCast<Dst>,
sourcefn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
WrappingCasts the value.