[][src]Struct bl602_hal::serial::Serial

pub struct Serial<UART, PINS> { /* fields omitted */ }

Serial abstraction

Implementations

impl<PINS> Serial<UART, PINS> where
    PINS: Pins<UART>, 
[src]

pub fn uart0(uart: UART, config: Config, pins: PINS, clocks: Clocks) -> Self[src]

pub fn free(self) -> (UART, PINS)[src]

Trait Implementations

impl<PINS> Read<u8> for Serial<UART, PINS>[src]

type Error = Error

Read error

impl<PINS> Write<u8> for Serial<UART, PINS>[src]

type Error = Error

Write error

Auto Trait Implementations

impl<UART, PINS> Send for Serial<UART, PINS> where
    PINS: Send,
    UART: Send

impl<UART, PINS> Sync for Serial<UART, PINS> where
    PINS: Sync,
    UART: Sync

impl<UART, PINS> Unpin for Serial<UART, PINS> where
    PINS: Unpin,
    UART: Unpin

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> 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.