Trait stm32f4xx_hal::serial::TxISR

source ·
pub trait TxISR {
    // Required method
    fn is_tx_empty(&self) -> bool;
}
Expand description

Trait for Tx interrupt handling.

Required Methods§

source

fn is_tx_empty(&self) -> bool

Return true if the tx register is empty (and can accept data)

Implementors§

source§

impl<UART, WORD> TxISR for Tx<UART, WORD>
where UART: Deref<Target = <UART as Instance>::RegisterBlock> + Instance,

source§

impl<UART: Instance, WORD> TxISR for Serial<UART, WORD>
where Tx<UART, WORD>: TxISR,