[][src]Struct trellis_m4::sercom::UART4Padout

pub struct UART4Padout<RX, TX, RTS, CTS> { /* fields omitted */ }

A pad mapping configuration for the SERCOM in UART mode.

This type can only be constructed using the From implementations in this module, which are restricted to valid configurations.

Defines which sercom pad is mapped to which UART function.

Trait Implementations

impl<PIN0, PIN1, PIN2, PIN3> From<(Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, Sercom4Pad2<PIN2>, Sercom4Pad3<PIN3>)> for UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, Sercom4Pad2<PIN2>, Sercom4Pad3<PIN3>>[src]

Convert from a tuple of (RX, TX, RTS, CTS) to UARTXPadout

impl<PIN0, PIN1> From<(Sercom4Pad1<PIN0>, Sercom4Pad2<PIN1>)> for UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad2<PIN1>, (), ()>[src]

Convert from a tuple of (RX, TX) to UARTXPadout

impl<PIN0, PIN1> From<(Sercom4Pad3<PIN0>, Sercom4Pad2<PIN1>)> for UART4Padout<Sercom4Pad3<PIN0>, Sercom4Pad2<PIN1>, (), ()>[src]

Convert from a tuple of (RX, TX) to UARTXPadout

impl<PIN0, PIN1> From<(Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>)> for UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, (), ()>[src]

Convert from a tuple of (RX, TX) to UARTXPadout

impl<PIN0, PIN1> From<(Sercom4Pad2<PIN0>, Sercom4Pad0<PIN1>)> for UART4Padout<Sercom4Pad2<PIN0>, Sercom4Pad0<PIN1>, (), ()>[src]

Convert from a tuple of (RX, TX) to UARTXPadout

impl<PIN0, PIN1> From<(Sercom4Pad3<PIN0>, Sercom4Pad0<PIN1>)> for UART4Padout<Sercom4Pad3<PIN0>, Sercom4Pad0<PIN1>, (), ()>[src]

Convert from a tuple of (RX, TX) to UARTXPadout

impl<PIN0, PIN1> From<(Sercom4Pad0<PIN0>, Sercom4Pad2<PIN1>)> for UART4Padout<Sercom4Pad0<PIN0>, Sercom4Pad2<PIN1>, (), ()>[src]

Convert from a tuple of (RX, TX) to UARTXPadout

impl<PIN0, PIN1> RxpoTxpo for UART4Padout<Sercom4Pad3<PIN0>, Sercom4Pad2<PIN1>, (), ()>[src]

impl<PIN0, PIN1> RxpoTxpo for UART4Padout<Sercom4Pad0<PIN0>, Sercom4Pad2<PIN1>, (), ()>[src]

impl<PIN0, PIN1> RxpoTxpo for UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad2<PIN1>, (), ()>[src]

impl<PIN0, PIN1> RxpoTxpo for UART4Padout<Sercom4Pad2<PIN0>, Sercom4Pad0<PIN1>, (), ()>[src]

impl<PIN0, PIN1> RxpoTxpo for UART4Padout<Sercom4Pad3<PIN0>, Sercom4Pad0<PIN1>, (), ()>[src]

impl<PIN0, PIN1> RxpoTxpo for UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, (), ()>[src]

impl<PIN0, PIN1, PIN2, PIN3> RxpoTxpo for UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, Sercom4Pad2<PIN2>, Sercom4Pad3<PIN3>>[src]

Auto Trait Implementations

impl<RX, TX, RTS, CTS> Unpin for UART4Padout<RX, TX, RTS, CTS> where
    CTS: Unpin,
    RTS: Unpin,
    RX: Unpin,
    TX: Unpin

impl<RX, TX, RTS, CTS> Sync for UART4Padout<RX, TX, RTS, CTS> where
    CTS: Sync,
    RTS: Sync,
    RX: Sync,
    TX: Sync

impl<RX, TX, RTS, CTS> Send for UART4Padout<RX, TX, RTS, CTS> where
    CTS: Send,
    RTS: Send,
    RX: Send,
    TX: Send

Blanket Implementations

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> From<T> for 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