[−][src]Struct trinket_m0::Pins
Maps the pins to their arduino names and the numbers printed on the board.
Fields
port: Port
Opaque port reference
d0: Pa8<Input<Floating>>
I2C SDA
d1: Pa2<Input<Floating>>
d2: Pa9<Input<Floating>>
I2C SCL
d3: Pa7<Input<Floating>>
UART RX
d4: Pa6<Input<Floating>>
UART TX
d13: Pa10<Input<Floating>>
Digital pin number 13, which is also attached to the red LED. PWM capable.
dotstar_ci: Pa1<Input<Floating>>
The DotStar clock
dotstar_di: Pa0<Input<Floating>>
The DotStar data line
dotstar_nc: Pa14<Input<Floating>>
Not connected, but usable as the MISO when addressing the dotstar over SPI.
swdio: Pa31<Input<Floating>>
swdclk: Pa30<Input<Floating>>
usb_host_enable: Pa28<Input<Floating>>
USB host enable pin
usb_sof: Pa23<Input<Floating>>
The USB SOF 1kHz pad
usb_dm: Pa24<Input<Floating>>
The USB D- pad
usb_dp: Pa25<Input<Floating>>
The USB D+ pad
Implementations
impl Pins
[src]
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>,