Skip to main content

Error

Type Alias Error 

Source
pub type Error = Error<I2cDeviceError<Error>>;
Expand description

IMU errors.

Aliased Type§

pub enum Error {
    I2c(I2cDeviceError<Error>),
    WrongChip(u8),
    InitFailed(u8),
}

Variants§

§

I2c(I2cDeviceError<Error>)

Bus error.

§

WrongChip(u8)

CHIP_ID was not [CHIP_ID].

§

InitFailed(u8)

The chip did not accept the config file; holds INTERNAL_STATUS.