[−][src]Struct arduino_mkrzero::sercom::UART4Padout
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> From<(Sercom4Pad2<PIN0>, Sercom4Pad0<PIN1>)> for UART4Padout<Sercom4Pad2<PIN0>, Sercom4Pad0<PIN1>, (), ()>
[src]
Convert from a tuple of (RX, TX) to UARTXPadout
fn from(
pads: (Sercom4Pad2<PIN0>, Sercom4Pad0<PIN1>)
) -> UART4Padout<Sercom4Pad2<PIN0>, Sercom4Pad0<PIN1>, (), ()>
[src]
pads: (Sercom4Pad2<PIN0>, Sercom4Pad0<PIN1>)
) -> UART4Padout<Sercom4Pad2<PIN0>, Sercom4Pad0<PIN1>, (), ()>
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
fn from(
pads: (Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, Sercom4Pad2<PIN2>, Sercom4Pad3<PIN3>)
) -> UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, Sercom4Pad2<PIN2>, Sercom4Pad3<PIN3>>
[src]
pads: (Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, Sercom4Pad2<PIN2>, Sercom4Pad3<PIN3>)
) -> UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, Sercom4Pad2<PIN2>, Sercom4Pad3<PIN3>>
impl<PIN0, PIN1> From<(Sercom4Pad1<PIN0>, Sercom4Pad2<PIN1>)> for UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad2<PIN1>, (), ()>
[src]
Convert from a tuple of (RX, TX) to UARTXPadout
fn from(
pads: (Sercom4Pad1<PIN0>, Sercom4Pad2<PIN1>)
) -> UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad2<PIN1>, (), ()>
[src]
pads: (Sercom4Pad1<PIN0>, Sercom4Pad2<PIN1>)
) -> UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad2<PIN1>, (), ()>
impl<PIN0, PIN1> From<(Sercom4Pad3<PIN0>, Sercom4Pad0<PIN1>)> for UART4Padout<Sercom4Pad3<PIN0>, Sercom4Pad0<PIN1>, (), ()>
[src]
Convert from a tuple of (RX, TX) to UARTXPadout
fn from(
pads: (Sercom4Pad3<PIN0>, Sercom4Pad0<PIN1>)
) -> UART4Padout<Sercom4Pad3<PIN0>, Sercom4Pad0<PIN1>, (), ()>
[src]
pads: (Sercom4Pad3<PIN0>, Sercom4Pad0<PIN1>)
) -> UART4Padout<Sercom4Pad3<PIN0>, Sercom4Pad0<PIN1>, (), ()>
impl<PIN0, PIN1> From<(Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>)> for UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, (), ()>
[src]
Convert from a tuple of (RX, TX) to UARTXPadout
fn from(
pads: (Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>)
) -> UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, (), ()>
[src]
pads: (Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>)
) -> UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, (), ()>
impl<PIN0, PIN1> From<(Sercom4Pad0<PIN0>, Sercom4Pad2<PIN1>)> for UART4Padout<Sercom4Pad0<PIN0>, Sercom4Pad2<PIN1>, (), ()>
[src]
Convert from a tuple of (RX, TX) to UARTXPadout
fn from(
pads: (Sercom4Pad0<PIN0>, Sercom4Pad2<PIN1>)
) -> UART4Padout<Sercom4Pad0<PIN0>, Sercom4Pad2<PIN1>, (), ()>
[src]
pads: (Sercom4Pad0<PIN0>, Sercom4Pad2<PIN1>)
) -> UART4Padout<Sercom4Pad0<PIN0>, Sercom4Pad2<PIN1>, (), ()>
impl<PIN0, PIN1> From<(Sercom4Pad3<PIN0>, Sercom4Pad2<PIN1>)> for UART4Padout<Sercom4Pad3<PIN0>, Sercom4Pad2<PIN1>, (), ()>
[src]
Convert from a tuple of (RX, TX) to UARTXPadout
fn from(
pads: (Sercom4Pad3<PIN0>, Sercom4Pad2<PIN1>)
) -> UART4Padout<Sercom4Pad3<PIN0>, Sercom4Pad2<PIN1>, (), ()>
[src]
pads: (Sercom4Pad3<PIN0>, Sercom4Pad2<PIN1>)
) -> UART4Padout<Sercom4Pad3<PIN0>, Sercom4Pad2<PIN1>, (), ()>
impl<PIN0, PIN1, PIN2, PIN3> RxpoTxpo for UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, Sercom4Pad2<PIN2>, Sercom4Pad3<PIN3>>
[src]
impl<PIN0, PIN1> RxpoTxpo for UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad0<PIN1>, (), ()>
[src]
impl<PIN0, PIN1> RxpoTxpo for UART4Padout<Sercom4Pad3<PIN0>, Sercom4Pad0<PIN1>, (), ()>
[src]
impl<PIN0, PIN1> RxpoTxpo for UART4Padout<Sercom4Pad1<PIN0>, Sercom4Pad2<PIN1>, (), ()>
[src]
impl<PIN0, PIN1> RxpoTxpo for UART4Padout<Sercom4Pad0<PIN0>, Sercom4Pad2<PIN1>, (), ()>
[src]
impl<PIN0, PIN1> RxpoTxpo for UART4Padout<Sercom4Pad2<PIN0>, Sercom4Pad0<PIN1>, (), ()>
[src]
impl<PIN0, PIN1> RxpoTxpo for UART4Padout<Sercom4Pad3<PIN0>, Sercom4Pad2<PIN1>, (), ()>
[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,
CTS: Unpin,
RTS: Unpin,
RX: Unpin,
TX: Unpin,
impl<RX, TX, RTS, CTS> Send for UART4Padout<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 UART4Padout<RX, TX, RTS, CTS> where
CTS: Sync,
RTS: Sync,
RX: Sync,
TX: Sync,
CTS: Sync,
RTS: Sync,
RX: Sync,
TX: Sync,
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self