We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 445ac95 commit bf595abCopy full SHA for bf595ab
src/serial.rs
@@ -52,11 +52,19 @@ pub enum Error {
52
53
/// Interrupt event
54
pub enum Event {
55
- /// New data has been received
+ /// New data has been received.
56
+ ///
57
+ /// This event is cleared by reading a character from the UART.
58
Rxne,
- /// New data can be sent
59
+ /// New data can be sent.
60
61
+ /// This event is cleared by writing a character to the UART.
62
63
+ /// Note that this event does not mean that the character in the TX buffer
64
+ /// is fully transmitted. It only means that the TX buffer is ready to take
65
+ /// another character to be transmitted.
66
Txe,
- /// Idle line state detected
67
+ /// Idle line state detected.
68
Idle,
69
}
70
0 commit comments