[−][src]Struct serpente::Pins
Maps the pins to their arduino names and the numbers printed on the board.
Fields
port: Port
Opaque port reference
d0: Pa4<Input<Floating>>
SPI MOSI UART TX2
d1: Pa5<Input<Floating>>
SPI SCK, UART RX2
d2: Pa6<Input<Floating>>
SPI MISO
d3: Pa7<Input<Floating>>
Digital/Analog
d4: Pa8<Input<Floating>>
I2C SDA, UART TX
d5: Pa9<Input<Floating>>
I2C SCL, UART RX
led_g: Pa19<Input<Floating>>
RGB LED, PWM capable
led_r: Pa22<Input<Floating>>
led_b: Pa23<Input<Floating>>
flash_mosi: Pa16<Input<Floating>>
SPI Flash
flash_miso: Pa18<Input<Floating>>
flash_sck: Pa17<Input<Floating>>
flash_cs: Pa15<Input<Floating>>
Implementations
impl Pins
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,