[][src]Enum ccs811_rs::ErrorIdCodes

#[repr(u8)]
pub enum ErrorIdCodes {
    WriteRegInvalid,
    ReadRegInvalid,
    MeasModeInvalid,
    MaxResistance,
    HeaterFault,
    HeaterSupply,
}

ErrorId Codes

Variants

WriteRegInvalid

WRITE_REG_INVALID

"The CCS811 received an I2C write request addressed to this station but with invalid register address ID"

ReadRegInvalid

READ_REG_INVALID

"The CCS811 received an I2C read request to a mailbox ID that is invalid"

MeasModeInvalid

MEASMODE_INVALID

"The CCS811 received an I2C request to write an unsupported mode to MEAS_MODE"

MaxResistance

MAX_RESISTANCE

"The sensor resistance measurement has reached or exceeded the maximum range"

HeaterFault

HEATER_FAULT

"The Heater current in the CCS811 is not in range"

HeaterSupply

HEATER_SUPPLY

"The Heater voltage is not being applied correctly"

Trait Implementations

impl Clone for ErrorIdCodes[src]

impl Copy for ErrorIdCodes[src]

impl Debug for ErrorIdCodes[src]

impl PartialEq<ErrorIdCodes> for ErrorIdCodes[src]

impl StructuralPartialEq for ErrorIdCodes[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.