[−]Struct arduino_mkrzero::Pins
Maps the pins to their arduino names and the numbers printed on the board. Information from: https://github.com/arduino/ArduinoCore-samd/blob/master/variants/mkrzero/variant.cpp
Fields
port: Port
Opaque port reference
d0: Pa22<Input<Floating>>
Digital 0: PWM, TC
d1: Pa23<Input<Floating>>
Digital 1: PWM, TC
d2: Pa10<Input<Floating>>
Digital 2: PWM, TCC, ADC
d3: Pa11<Input<Floating>>
Digital 3: PWM, TCC, ADC
d4: Pb10<Input<Floating>>
Digital 4: PWM, TC
d5: Pb11<Input<Floating>>
Digital 5: PWM, TC
d6: Pa20<Input<Floating>>
Digital 6: PWM, TCC
d7: Pa21<Input<Floating>>
Digital 7: PWM, TCC
mosi: Pa16<Input<Floating>>
SPI MOSI: PWM, TCC
sck: Pa17<Input<Floating>>
SPI SCK
miso: Pa19<Input<Floating>>
SPI MISO: PWM, TC
sda: Pa8<Input<Floating>>
SDA
scl: Pa9<Input<Floating>>
SCL
rx: Pb23<Input<Floating>>
RX
tx: Pb22<Input<Floating>>
TX
a0: Pa2<Input<Floating>>
Analog 0: DAC
a1: Pb2<Input<Floating>>
Analog 1
a2: Pb3<Input<Floating>>
Analog 2
a3: Pa4<Input<Floating>>
Analog 3: PWM, TCC
a4: Pa5<Input<Floating>>
Analog 4: PWM, TCC
a5: Pa6<Input<Floating>>
Analog 5
a6: Pa7<Input<Floating>>
Analog 6
usb_n: Pa24<Input<Floating>>
usb_p: Pa25<Input<Floating>>
usb_id: Pa18<Input<Floating>>
aref: Pa3<Input<Floating>>
sd_sck: Pa12<Input<Floating>>
sd_mosi: Pa13<Input<Floating>>
sd_ss: Pa14<Input<Floating>>
sd_miso: Pa15<Input<Floating>>
sd_cd: Pa27<Input<Floating>>
led_builtin: Pb8<Input<Floating>>
LED built into the board
bottom_pad: Pa28<Input<Floating>>
adc_battery: Pb9<Input<Floating>>
xin32: Pa0<Input<Floating>>
xout32: Pa1<Input<Floating>>
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,