pub type BusError = OpenError;Expand description
Why the SPI device or a GPIO line could not be opened.
Aliased Type§
pub enum BusError {
I2c(LinuxI2CError),
Spi(SPIError),
Gpio(Error),
SpiMode(u8),
Serial(Error),
}Variants§
I2c(LinuxI2CError)
The I2C adapter could not be opened.
Spi(SPIError)
The SPI device could not be opened or configured.
Gpio(Error)
The GPIO chip or line could not be opened or requested.
SpiMode(u8)
The SPI mode was not 0, 1, 2, or 3.
Serial(Error)
A serial port could not be opened, or could not be set up as a raw byte pipe.