pub type BusError = OpenError;
Why the SPI device or a GPIO line could not be opened.
pub enum BusError { I2c(LinuxI2CError), Spi(SPIError), Gpio(Error), SpiMode(u8), }
The I2C adapter could not be opened.
The SPI device could not be opened or configured.
The GPIO chip or line could not be opened or requested.
The SPI mode was not 0, 1, 2, or 3.