Pins

Trait Pins 

Source
pub trait Pins<USART> {
    const FLOWCTL: bool;
    const DEM: bool;
    const HALF_DUPLEX: bool;
}
Expand description

Pins trait for detecting hardware flow control or RS485 mode.

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<Instance, Tx> Pins<Instance> for (Tx,)
where Tx: TxHalfDuplexPin<Instance>,

Source§

const FLOWCTL: bool = false

Source§

const DEM: bool = false

Source§

const HALF_DUPLEX: bool = true

Source§

impl<Instance, Tx, Rx> Pins<Instance> for (Tx, Rx)
where Tx: TxPin<Instance>, Rx: RxPin<Instance>,

Source§

const FLOWCTL: bool = false

Source§

const DEM: bool = false

Source§

const HALF_DUPLEX: bool = false

Source§

impl<Instance, Tx, Rx, De> Pins<Instance> for (Tx, Rx, De)
where Tx: TxPin<Instance>, Rx: RxPin<Instance>, De: RtsDePin<Instance>,

Source§

const FLOWCTL: bool = false

Source§

const DEM: bool = true

Source§

const HALF_DUPLEX: bool = false

Source§

impl<Instance, Tx, Rx, Rts, Cts> Pins<Instance> for (Tx, Rx, Rts, Cts)
where Tx: TxPin<Instance>, Rx: RxPin<Instance>, Rts: RtsDePin<Instance>, Cts: CtsPin<Instance>,

Source§

const FLOWCTL: bool = true

Source§

const DEM: bool = false

Source§

const HALF_DUPLEX: bool = false

Implementors§