Enum stm32l0xx_hal::serial::Event
source · [−]pub enum Event {
Rxne,
Txe,
Idle,
}
Expand description
Interrupt event
Variants
Rxne
New data has been received.
This event is cleared by reading a character from the UART.
Txe
New data can be sent.
This event is cleared by writing a character to the UART.
Note that this event does not mean that the character in the TX buffer is fully transmitted. It only means that the TX buffer is ready to take another character to be transmitted.
Idle
Idle line state detected.
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more