pub enum Error {
Bus,
Arbitration,
Nack,
Timeout,
Crc,
Overrun,
ZeroLengthTransfer,
BufferTooLong,
InvalidAddress,
}Expand description
I2C error.
Variants§
Bus
Bus error. (BERR)
Arbitration
Arbitration lost (ARLO)
Nack
ACK not received (either to the address or to a data byte) (AF)
Timeout
Timeout
Crc
CRC error
Overrun
Overrun error (OVR)
ZeroLengthTransfer
Zero-length transfers are not allowed.
BufferTooLong
DMA buffer exceeds the hardware transfer counter.
InvalidAddress
Address is invalid for the selected addressing mode, or the second address cannot be combined with the primary one.