pub struct Pins {
pub port: Port,
pub d0: Pa4<Input<Floating>>,
pub d1: Pa2<Input<Floating>>,
pub d2: Pa5<Input<Floating>>,
pub d13: Pa23<Input<Floating>>,
pub mosi: Pa0<Input<Floating>>,
pub sck: Pa1<Input<Floating>>,
}
Expand description
Maps the pins to their arduino names and the numbers printed on the board.
Fields
port: Port
Opaque port reference
d0: Pa4<Input<Floating>>
I2C SDA, UART TX, SPI MOSI
d1: Pa2<Input<Floating>>
ADC, DAC
d2: Pa5<Input<Floating>>
I2C SCL, UART RX, SPI CLK
d13: Pa23<Input<Floating>>
Digital pin number 13, which is also attached to the red LED. PWM capable.
mosi: Pa0<Input<Floating>>
sck: Pa1<Input<Floating>>