1
2
3
4
5
6
7
8
9
10
11
12
13
14
use snafu::Snafu;
use defmt::Format;

#[derive(Debug, Snafu, Format)]
#[snafu(visibility = "pub(crate)")]
pub enum Error {
    IncorrectDeviceId,
    ReadingDeviceAddressOverI2C,
    WriteConfig,
    WriteControlMeas,
    WriteRegister,
    ReadRegister,
    NormalModeNeedsMeasStandbyTime,
}