Struct alt_stm32f30x_hal::serial::Serial[][src]

pub struct Serial<USART, PINS> { /* fields omitted */ }

Serial abstraction

Methods

impl<TX, RX> Serial<USART1, (TX, RX)>
[src]

Configures a USART peripheral to provide serial communication

Starts listening for an interrupt event

Starts listening for an interrupt event

Splits the Serial abstraction into a transmitter and a receiver half

Releases the USART peripheral and associated pins

impl<TX, RX> Serial<USART2, (TX, RX)>
[src]

Configures a USART peripheral to provide serial communication

Starts listening for an interrupt event

Starts listening for an interrupt event

Splits the Serial abstraction into a transmitter and a receiver half

Releases the USART peripheral and associated pins

impl<TX, RX> Serial<USART3, (TX, RX)>
[src]

Configures a USART peripheral to provide serial communication

Starts listening for an interrupt event

Starts listening for an interrupt event

Splits the Serial abstraction into a transmitter and a receiver half

Releases the USART peripheral and associated pins

Auto Trait Implementations

impl<USART, PINS> Send for Serial<USART, PINS> where
    PINS: Send,
    USART: Send

impl<USART, PINS> Sync for Serial<USART, PINS> where
    PINS: Sync,
    USART: Sync