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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.