#[non_exhaustive]pub enum RxError {
FifoOverflowed,
GlitchOccurred,
FrameFormatViolated,
ParityMismatch,
}Expand description
UART RX Error
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
FifoOverflowed
An RX FIFO overflow happened.
This error occurs when RX FIFO is full and a new byte is received. The RX FIFO is then automatically reset by the driver.
GlitchOccurred
A glitch was detected on the RX line.
This error occurs when an unexpected or erroneous signal (glitch) is detected on the UART RX line, which could lead to incorrect data reception.
FrameFormatViolated
A framing error was detected on the RX line.
This error occurs when the received data does not conform to the expected UART frame format.
ParityMismatch
A parity error was detected on the RX line.
This error occurs when the parity bit in the received data does not match the expected parity configuration.
Trait Implementations§
Source§impl Error for RxError
impl Error for RxError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl Error for RxError
Available on crate feature unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
impl Error for RxError
unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Source§impl Error for RxError
Available on crate feature unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
impl Error for RxError
unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Source§impl From<RxError> for IoError
Available on crate feature unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
impl From<RxError> for IoError
unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.