[−][src]Enum ccs811_rs::AppRegister
Application mode Register addresses Taken from the CCS811 data sheet (Figure 14, p.17)
Variants
Status (RO)
"Status register"
Measurement Mode (RW)
"Measurement mode and conditions register"
ALG_RESULT_DATA (RO)
"Algorithm result. The most significant 2 bytes contain a ppm estimate of the equivalent CO 2 (eCO 2 ) level, and the next two bytes contain a ppb estimate of the total VOC level."
RAW_DATA (RO)
"Raw ADC data values for resistance and current source used."
ENV_DATA (WO)
"Temperature and humidity data can be written to enable compensation"
THRESHOLDS (WO)
"Thresholds for operation when interrupts are only generated when eCO 2 ppm crosses a threshold"
BASELINE (R/W)
"The encoded current baseline value can be read. A previously saved encoded baseline can be written."
HW_ID (RO)
"Hardware ID. The value is 0x81"
HW Version (RO)
"Hardware Version. The value is 0x1X"
FW_Boot_Version (RO)
"Firmware Boot Version. The first 2 bytes contain the firmware version number for the boot code."
FW_App_Version (RO)
"Firmware Application Version. The first 2 bytes contain the firmware version number for the application code"
Internal_State (RO)
"Internal Status register"
Error Id
"Error ID. When the status register reports an error its source is located in this register"
SW_RESET
"If the correct 4 bytes (0x11 0xE5 0x72 0x8A) are written to this register in a single sequence the device will reset and return to BOOT mode."
Trait Implementations
impl Clone for AppRegister
[src]
fn clone(&self) -> AppRegister
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AppRegister
[src]
impl Debug for AppRegister
[src]
impl Eq for AppRegister
[src]
impl PartialEq<AppRegister> for AppRegister
[src]
fn eq(&self, other: &AppRegister) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for AppRegister
[src]
impl StructuralPartialEq for AppRegister
[src]
Auto Trait Implementations
impl RefUnwindSafe for AppRegister
impl Send for AppRegister
impl Sync for AppRegister
impl Unpin for AppRegister
impl UnwindSafe for AppRegister
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,