pub trait SerialExt: Sized + Instance {
    fn serial<TX, RX, WORD>(
        self,
        pins: (TX, RX),
        config: impl Into<Config>,
        clocks: &Clocks
    ) -> Result<Serial<Self, (TX, RX), WORD>, InvalidConfig>
    where
        (TX, RX): Pins<Self>
; fn tx<TX, WORD>(
        self,
        tx_pin: TX,
        config: impl Into<Config>,
        clocks: &Clocks
    ) -> Result<Tx<Self, WORD>, InvalidConfig>
    where
        (TX, NoPin): Pins<Self>
; fn rx<RX, WORD>(
        self,
        rx_pin: RX,
        config: impl Into<Config>,
        clocks: &Clocks
    ) -> Result<Rx<Self, WORD>, InvalidConfig>
    where
        (NoPin, RX): Pins<Self>
; }

Required Methods

Implementors