[−]Struct samd21_mini::Pins
Maps the pins to their arduino names and the numbers printed on the board.
Fields
port: PortOpaque port reference
tx: Pa10<Input<Floating>>rx: Pa11<Input<Floating>>aref: Pa3<Input<Floating>>d2: Pa14<Input<Floating>>d3: Pa9<Input<Floating>>d4: Pa8<Input<Floating>>d5: Pa15<Input<Floating>>d6: Pa20<Input<Floating>>d7: Pa21<Input<Floating>>d8: Pa6<Input<Floating>>d9: Pa7<Input<Floating>>d10: Pa18<Input<Floating>>d11: Pa16<Input<Floating>>d12: Pa19<Input<Floating>>a3: Pa4<Input<Floating>>a2: Pb9<Input<Floating>>a1: Pb8<Input<Floating>>a0: Pa2<Input<Floating>>led: Pa17<Input<Floating>>Digital pin number 13, which is also attached to the red LED. PWM capable.
tx_led: Pa27<Input<Floating>>rx_led: Pb3<Input<Floating>>dm: Pa24<Input<Floating>>dp: Pa25<Input<Floating>>Methods
impl Pins
pub fn new(port: PORT) -> Self
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