pub enum BusError {
Stuff,
Form,
Acknowledge,
BitRecessive,
BitDominant,
Crc,
Software,
}Expand description
Bus error
Variants§
Stuff
Bit stuffing error - more than 5 equal bits
Form
Form error - A fixed format part of a received message has wrong format
Acknowledge
The message transmitted by the FDCAN was not acknowledged by another node.
BitRecessive
Bit0Error: During the transmission of a message the device wanted to send a dominant level but the monitored bus value was recessive.
BitDominant
Bit1Error: During the transmission of a message the device wanted to send a recessive level but the monitored bus value was dominant.
Crc
The CRC check sum of a received message was incorrect. The CRC of an incoming message does not match with the CRC calculated from the received data.
Software
A software error occured. Exclusive to BXCAN.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BusError
impl RefUnwindSafe for BusError
impl Send for BusError
impl Sync for BusError
impl Unpin for BusError
impl UnwindSafe for BusError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more