pub trait RxISR {
    // Required methods
    fn is_idle(&self) -> bool;
    fn is_rx_not_empty(&self) -> bool;
    fn clear_idle_interrupt(&self);
}
Expand description

Trait for Rx interrupt handling.

Required Methods§

source

fn is_idle(&self) -> bool

Return true if the line idle status is set

source

fn is_rx_not_empty(&self) -> bool

Return true if the rx register is not empty (and can be read)

source

fn clear_idle_interrupt(&self)

Clear idle line interrupt flag

Implementors§

source§

impl<STREAM, const CHANNEL: u8, PERIPHERAL, BUF> RxISR for Transfer<STREAM, CHANNEL, PERIPHERAL, PeripheralToMemory, BUF>
where STREAM: Stream, PERIPHERAL: PeriAddress + DMASet<STREAM, CHANNEL, PeripheralToMemory> + RxISR,

source§

impl<UART: Instance, WORD> RxISR for Rx<UART, WORD>
where <UART as Instance>::RegisterBlock: RegisterBlockImpl,

source§

impl<UART: Instance, WORD> RxISR for Serial<UART, WORD>
where Rx<UART, WORD>: RxISR,