[][src]Struct rmicrobit::gpio::SerialPins

pub struct SerialPins {
    pub pin24: PIN24<Input<Floating>>,
    pub pin25: PIN25<Input<Floating>>,
}

The GPIO pins connected to the micro:bit's USB serial port.

These pins are directly connected to the on-board Kinetis interface MCU, which then makes the serial connection available over USB.

Fields

pin24: PIN24<Input<Floating>>

The 'tx' GPIO pin (micro:bit to USB)

pin25: PIN25<Input<Floating>>

The 'rx' GPIO pin (USB to micro:bit)

Auto Trait Implementations

impl Unpin for SerialPins

impl Send for SerialPins

impl Sync for SerialPins

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self