pub trait RxISR {
    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

Return true if the line idle status is set

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

Clear idle line interrupt flag

Implementors