[][src]Struct trellis_m4::sercom::UART3Padout

pub struct UART3Padout<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<(Pad<Sercom3, Pad1, PIN0>, Pad<Sercom3, Pad0, PIN1>, Pad<Sercom3, Pad2, PIN2>, Pad<Sercom3, Pad3, PIN3>)> for UART3Padout<Pad<Sercom3, Pad1, PIN0>, Pad<Sercom3, Pad0, PIN1>, Pad<Sercom3, Pad2, PIN2>, Pad<Sercom3, Pad3, PIN3>> where
    PIN0: Map<Sercom3, Pad1>,
    PIN1: Map<Sercom3, Pad0>,
    PIN2: Map<Sercom3, Pad2>,
    PIN3: Map<Sercom3, Pad3>, 
[src]

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

impl<PIN0, PIN1> From<(Pad<Sercom3, Pad1, PIN0>, Pad<Sercom3, Pad0, PIN1>)> for UART3Padout<Pad<Sercom3, Pad1, PIN0>, Pad<Sercom3, Pad0, PIN1>, (), ()> where
    PIN0: Map<Sercom3, Pad1>,
    PIN1: Map<Sercom3, Pad0>, 
[src]

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

impl<PIN0, PIN1> From<(Pad<Sercom3, Pad2, PIN0>, Pad<Sercom3, Pad0, PIN1>)> for UART3Padout<Pad<Sercom3, Pad2, PIN0>, Pad<Sercom3, Pad0, PIN1>, (), ()> where
    PIN0: Map<Sercom3, Pad2>,
    PIN1: Map<Sercom3, Pad0>, 
[src]

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

impl<PIN0, PIN1> From<(Pad<Sercom3, Pad3, PIN0>, Pad<Sercom3, Pad0, PIN1>)> for UART3Padout<Pad<Sercom3, Pad3, PIN0>, Pad<Sercom3, Pad0, PIN1>, (), ()> where
    PIN0: Map<Sercom3, Pad3>,
    PIN1: Map<Sercom3, Pad0>, 
[src]

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

impl<PIN0, PIN1> RxpoTxpo for UART3Padout<Pad<Sercom3, Pad1, PIN0>, Pad<Sercom3, Pad0, PIN1>, (), ()> where
    PIN0: Map<Sercom3, Pad1>,
    PIN1: Map<Sercom3, Pad0>, 
[src]

impl<PIN0, PIN1> RxpoTxpo for UART3Padout<Pad<Sercom3, Pad2, PIN0>, Pad<Sercom3, Pad0, PIN1>, (), ()> where
    PIN0: Map<Sercom3, Pad2>,
    PIN1: Map<Sercom3, Pad0>, 
[src]

impl<PIN0, PIN1, PIN2, PIN3> RxpoTxpo for UART3Padout<Pad<Sercom3, Pad1, PIN0>, Pad<Sercom3, Pad0, PIN1>, Pad<Sercom3, Pad2, PIN2>, Pad<Sercom3, Pad3, PIN3>> where
    PIN0: Map<Sercom3, Pad1>,
    PIN1: Map<Sercom3, Pad0>,
    PIN2: Map<Sercom3, Pad2>,
    PIN3: Map<Sercom3, Pad3>, 
[src]

impl<PIN0, PIN1> RxpoTxpo for UART3Padout<Pad<Sercom3, Pad3, PIN0>, Pad<Sercom3, Pad0, PIN1>, (), ()> where
    PIN0: Map<Sercom3, Pad3>,
    PIN1: Map<Sercom3, Pad0>, 
[src]

Auto Trait Implementations

impl<RX, TX, RTS, CTS> Send for UART3Padout<RX, TX, RTS, CTS> where
    CTS: Send,
    RTS: Send,
    RX: Send,
    TX: Send
[src]

impl<RX, TX, RTS, CTS> Sync for UART3Padout<RX, TX, RTS, CTS> where
    CTS: Sync,
    RTS: Sync,
    RX: Sync,
    TX: Sync
[src]

impl<RX, TX, RTS, CTS> Unpin for UART3Padout<RX, TX, RTS, CTS> where
    CTS: Unpin,
    RTS: Unpin,
    RX: Unpin,
    TX: Unpin
[src]

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.