[−]Struct feather_m0::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. Can act as a true analog output as it has a DAC (which is not currently supported by this hal) as well as input.
a1: Pb8<Input<Floating>>
Analog Pin 1
a2: Pb9<Input<Floating>>
Analog Pin 2
a3: Pa4<Input<Floating>>
Analog Pin 3
a4: Pa5<Input<Floating>>
Analog Pin 4
a5: Pb2<Input<Floating>>
Analog Pin 5
d0: Pa11<Input<Floating>>
Pin 0, rx
d1: Pa10<Input<Floating>>
Pin 1, tx
d5: Pa15<Input<Floating>>
Pin 5, PWM capable
d6: Pa20<Input<Floating>>
Pin 6, PWM capable
d9: Pa7<Input<Floating>>
Pin 9, PWM capable. Also analog input (A7)
d10: Pa18<Input<Floating>>
Pin 10, PWM capable
d11: Pa16<Input<Floating>>
Pin 11, PWM capable
d12: Pa19<Input<Floating>>
Pin 12, PWM capable
d13: Pa17<Input<Floating>>
Pin 13, which is also attached to the red LED. PWM capable.
sda: Pa22<Input<Floating>>
The I2C data line
scl: Pa23<Input<Floating>>
The I2C clock line
sck: Pb11<Input<Floating>>
The SPI SCK
mosi: Pb10<Input<Floating>>
The SPI MOSI
miso: Pa12<Input<Floating>>
The SPI MISO
usb_dm: Pa24<Input<Floating>>
The USB D- pad
usb_dp: Pa25<Input<Floating>>
The USB D+ pad
Methods
impl Pins
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom 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> TryInto 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, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut 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,