[][src]Struct trellis_m4::sercom::UART2Padout

pub struct UART2Padout<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<(Sercom2Pad1<PIN0>, Sercom2Pad0<PIN1>, Sercom2Pad2<PIN2>, Sercom2Pad3<PIN3>)> for UART2Padout<Sercom2Pad1<PIN0>, Sercom2Pad0<PIN1>, Sercom2Pad2<PIN2>, Sercom2Pad3<PIN3>>[src]

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

impl<PIN0, PIN1> From<(Sercom2Pad1<PIN0>, Sercom2Pad2<PIN1>)> for UART2Padout<Sercom2Pad1<PIN0>, Sercom2Pad2<PIN1>, (), ()>[src]

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

impl<PIN0, PIN1> From<(Sercom2Pad3<PIN0>, Sercom2Pad0<PIN1>)> for UART2Padout<Sercom2Pad3<PIN0>, Sercom2Pad0<PIN1>, (), ()>[src]

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

impl<PIN0, PIN1> From<(Sercom2Pad2<PIN0>, Sercom2Pad0<PIN1>)> for UART2Padout<Sercom2Pad2<PIN0>, Sercom2Pad0<PIN1>, (), ()>[src]

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

impl<PIN0, PIN1> From<(Sercom2Pad0<PIN0>, Sercom2Pad2<PIN1>)> for UART2Padout<Sercom2Pad0<PIN0>, Sercom2Pad2<PIN1>, (), ()>[src]

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

impl<PIN0, PIN1> From<(Sercom2Pad3<PIN0>, Sercom2Pad2<PIN1>)> for UART2Padout<Sercom2Pad3<PIN0>, Sercom2Pad2<PIN1>, (), ()>[src]

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

impl<PIN0, PIN1> From<(Sercom2Pad1<PIN0>, Sercom2Pad0<PIN1>)> for UART2Padout<Sercom2Pad1<PIN0>, Sercom2Pad0<PIN1>, (), ()>[src]

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

impl<PIN0, PIN1> RxpoTxpo for UART2Padout<Sercom2Pad1<PIN0>, Sercom2Pad0<PIN1>, (), ()>[src]

impl<PIN0, PIN1> RxpoTxpo for UART2Padout<Sercom2Pad1<PIN0>, Sercom2Pad2<PIN1>, (), ()>[src]

impl<PIN0, PIN1> RxpoTxpo for UART2Padout<Sercom2Pad3<PIN0>, Sercom2Pad0<PIN1>, (), ()>[src]

impl<PIN0, PIN1> RxpoTxpo for UART2Padout<Sercom2Pad0<PIN0>, Sercom2Pad2<PIN1>, (), ()>[src]

impl<PIN0, PIN1> RxpoTxpo for UART2Padout<Sercom2Pad2<PIN0>, Sercom2Pad0<PIN1>, (), ()>[src]

impl<PIN0, PIN1> RxpoTxpo for UART2Padout<Sercom2Pad3<PIN0>, Sercom2Pad2<PIN1>, (), ()>[src]

impl<PIN0, PIN1, PIN2, PIN3> RxpoTxpo for UART2Padout<Sercom2Pad1<PIN0>, Sercom2Pad0<PIN1>, Sercom2Pad2<PIN2>, Sercom2Pad3<PIN3>>[src]

Auto Trait Implementations

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

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

impl<RX, TX, RTS, CTS> Send for UART2Padout<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