[−]Struct trellis_m4::pins::Pins
Maps the pins to their arduino names and the numbers printed on the board.
Fields
port: Port
Opaque port reference
a0: Pa2<Input<Floating>>
Analog pin 0
a1: Pa5<Input<Floating>>
Analog pin 1
a2: Pa4<Input<Floating>>
INT pin
micout: Pa6<Input<Floating>>
Microphone out
micin: Pa7<Input<Floating>>
Microphone in
sda: Pb8<Input<Floating>>
SDA
scl: Pb9<Input<Floating>>
SCL
accel_sda: Pa12<Input<Floating>>
Accelerometer data signal (SDA)
accel_scl: Pa13<Input<Floating>>
Accelerometer clock signal (SCL)
col0: Pa14<Input<Floating>>
Keypad Column 0
col1: Pa15<Input<Floating>>
Keypad Column 1
col2: Pa16<Input<Floating>>
Keypad Column 2
col3: Pa17<Input<Floating>>
Keypad Column 3
col4: Pa20<Input<Floating>>
Keypad Column 4
col5: Pa21<Input<Floating>>
Keypad Column 5
col6: Pa22<Input<Floating>>
Keypad Column 6
col7: Pa23<Input<Floating>>
Keypad Column 7
row0: Pa18<Input<Floating>>
Keypad Row 0
row1: Pa19<Input<Floating>>
Keypad Row 1
row2: Pb22<Input<Floating>>
Keypad Row 2
row3: Pb23<Input<Floating>>
Keypad Row 3
neopixel: Pa27<Input<Floating>>
NeoPixels
dotstar_ci: Pb2<Input<Floating>>
APA102 (RGB LED control) SCK
dotstar_di: Pb3<Input<Floating>>
APA102 (RGB LED control) MOSI
Methods
impl Pins
pub fn new(port: PORT) -> Self
impl Pins
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self