ValidUartPinout

Trait ValidUartPinout 

Source
pub trait ValidUartPinout<U>: Sealed
where U: UartDevice,
{ type Rx: ValidOptionRx<U>; type Tx: ValidOptionTx<U>; type Cts: ValidOptionCts<U>; type Rts: ValidOptionRts<U>; }
Expand description

Declares a valid UART pinout.

Required Associated Types§

Implementations on Foreign Types§

Source§

impl<Uart, Tx, Rx> ValidUartPinout<Uart> for (Tx, Rx)
where Uart: UartDevice, Tx: ValidPinTx<Uart>, Rx: ValidPinRx<Uart>,

Source§

impl<Uart, Tx, Rx, Cts, Rts> ValidUartPinout<Uart> for (Tx, Rx, Cts, Rts)
where Uart: UartDevice, Tx: ValidPinTx<Uart>, Rx: ValidPinRx<Uart>, Cts: ValidPinCts<Uart>, Rts: ValidPinRts<Uart>,

Implementors§

Source§

impl<Uart, Tx, Rx, Cts, Rts> ValidUartPinout<Uart> for Pins<Tx, Rx, Cts, Rts>
where Uart: UartDevice, Tx: ValidOptionTx<Uart>, Rx: ValidOptionRx<Uart>, Cts: ValidOptionCts<Uart>, Rts: ValidOptionRts<Uart>,

Source§

type Rx = Rx

Source§

type Tx = Tx

Source§

type Cts = Cts

Source§

type Rts = Rts