Trait stm32f4xx_hal::serial::RxISR
source · 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§
sourcefn is_rx_not_empty(&self) -> bool
fn is_rx_not_empty(&self) -> bool
Return true if the rx register is not empty (and can be read)
sourcefn clear_idle_interrupt(&self)
fn clear_idle_interrupt(&self)
Clear idle line interrupt flag