[][src]Struct imxrt1062_hal::uart::Uninit

pub struct Uninit<M: Module> { /* fields omitted */ }

An uninitialized UART peripheral

Call init() to initialize the peripheral

Methods

impl<M> Uninit<M> where
    M: Module
[src]

pub fn init<TX, RX>(
    self,
    tx: TX,
    rx: RX,
    baud: u32
) -> Result<UART<M>, TimingsError> where
    TX: Pin<Direction = TX, Module = M>,
    RX: Pin<Direction = RX, Module = M>, 
[src]

Initializes a UART on the tx and rx pins. Specify the initial baud rate of the bus with baud. Returns the configured UART peripheral, or an error that indicates we could not configure the baud rate.

Auto Trait Implementations

impl<M> Send for Uninit<M> where
    M: Send,
    <M as Module>::Reg: Send

impl<M> Sync for Uninit<M> where
    M: Sync,
    <M as Module>::Reg: Sync

impl<M> Unpin for Uninit<M> where
    M: Unpin,
    <M as Module>::Reg: 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> Same<T> for T

type Output = T

Should always be Self

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.