Trait rp2040_hal::uart::ValidUartPinout

source ·
pub trait ValidUartPinout<U: UartDevice>: Sealed {
    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>,

§

type Rx = OptionTSome<Rx>

§

type Tx = OptionTSome<Tx>

§

type Cts = OptionTSome<Cts>

§

type Rts = OptionTSome<Rts>

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>,

§

type Rx = Rx

§

type Tx = Tx

§

type Cts = Cts

§

type Rts = Rts