[−][src]Struct edgebadge::sercom::UART1Padout
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<(Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>, Sercom1Pad2<PIN2>, Sercom1Pad3<PIN3>)> for UART1Padout<Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>, Sercom1Pad2<PIN2>, Sercom1Pad3<PIN3>>
[src]
Convert from a tuple of (RX, TX, RTS, CTS) to UARTXPadout
fn from(
pads: (Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>, Sercom1Pad2<PIN2>, Sercom1Pad3<PIN3>)
) -> UART1Padout<Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>, Sercom1Pad2<PIN2>, Sercom1Pad3<PIN3>>
[src]
pads: (Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>, Sercom1Pad2<PIN2>, Sercom1Pad3<PIN3>)
) -> UART1Padout<Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>, Sercom1Pad2<PIN2>, Sercom1Pad3<PIN3>>
impl<PIN0, PIN1> From<(Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>)> for UART1Padout<Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>, (), ()>
[src]
Convert from a tuple of (RX, TX) to UARTXPadout
fn from(
pads: (Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>)
) -> UART1Padout<Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>, (), ()>
[src]
pads: (Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>)
) -> UART1Padout<Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>, (), ()>
impl<PIN0, PIN1> From<(Sercom1Pad2<PIN0>, Sercom1Pad0<PIN1>)> for UART1Padout<Sercom1Pad2<PIN0>, Sercom1Pad0<PIN1>, (), ()>
[src]
Convert from a tuple of (RX, TX) to UARTXPadout
fn from(
pads: (Sercom1Pad2<PIN0>, Sercom1Pad0<PIN1>)
) -> UART1Padout<Sercom1Pad2<PIN0>, Sercom1Pad0<PIN1>, (), ()>
[src]
pads: (Sercom1Pad2<PIN0>, Sercom1Pad0<PIN1>)
) -> UART1Padout<Sercom1Pad2<PIN0>, Sercom1Pad0<PIN1>, (), ()>
impl<PIN0, PIN1> From<(Sercom1Pad3<PIN0>, Sercom1Pad0<PIN1>)> for UART1Padout<Sercom1Pad3<PIN0>, Sercom1Pad0<PIN1>, (), ()>
[src]
Convert from a tuple of (RX, TX) to UARTXPadout
fn from(
pads: (Sercom1Pad3<PIN0>, Sercom1Pad0<PIN1>)
) -> UART1Padout<Sercom1Pad3<PIN0>, Sercom1Pad0<PIN1>, (), ()>
[src]
pads: (Sercom1Pad3<PIN0>, Sercom1Pad0<PIN1>)
) -> UART1Padout<Sercom1Pad3<PIN0>, Sercom1Pad0<PIN1>, (), ()>
impl<PIN0, PIN1, PIN2, PIN3> RxpoTxpo for UART1Padout<Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>, Sercom1Pad2<PIN2>, Sercom1Pad3<PIN3>>
[src]
impl<PIN0, PIN1> RxpoTxpo for UART1Padout<Sercom1Pad3<PIN0>, Sercom1Pad0<PIN1>, (), ()>
[src]
impl<PIN0, PIN1> RxpoTxpo for UART1Padout<Sercom1Pad1<PIN0>, Sercom1Pad0<PIN1>, (), ()>
[src]
impl<PIN0, PIN1> RxpoTxpo for UART1Padout<Sercom1Pad2<PIN0>, Sercom1Pad0<PIN1>, (), ()>
[src]
Auto Trait Implementations
impl<RX, TX, RTS, CTS> Send for UART1Padout<RX, TX, RTS, CTS> where
CTS: Send,
RTS: Send,
RX: Send,
TX: Send,
CTS: Send,
RTS: Send,
RX: Send,
TX: Send,
impl<RX, TX, RTS, CTS> Sync for UART1Padout<RX, TX, RTS, CTS> where
CTS: Sync,
RTS: Sync,
RX: Sync,
TX: Sync,
CTS: Sync,
RTS: Sync,
RX: Sync,
TX: Sync,
impl<RX, TX, RTS, CTS> Unpin for UART1Padout<RX, TX, RTS, CTS> where
CTS: Unpin,
RTS: Unpin,
RX: Unpin,
TX: Unpin,
CTS: Unpin,
RTS: Unpin,
RX: Unpin,
TX: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,