Uart2Trait

Trait Uart2Trait 

Source
pub trait Uart2Trait {
    // Required methods
    fn builder(self, tx: Uart2Tx, rx: Uart2Rx) -> Uart2Builder;
    fn tx_builder(self, tx: Uart2Tx) -> Uart2TxBuilder;
    fn rx_builder(self, rx: Uart2Rx) -> Uart2RxBuilder;
}
Expand description

uart2 trait

Required Methods§

Source

fn builder(self, tx: Uart2Tx, rx: Uart2Rx) -> Uart2Builder

create uart2 builder

Source

fn tx_builder(self, tx: Uart2Tx) -> Uart2TxBuilder

create uart2 tx builder

Source

fn rx_builder(self, rx: Uart2Rx) -> Uart2RxBuilder

create uart2 rx builder

Implementations on Foreign Types§

Source§

impl Uart2Trait for USART2

usart2 support uart2 trait

Implementors§