Union T67XX::StatusRegister
ClassList > T67XX > StatusRegister
Each bit represents the status of a device function or error. More...
#include <T67XX.h>
Public Attributes
| Type | Name |
|---|---|
| uint16_t | CALIBRATION_ERROR Bit 2. |
| uint16_t | ERROR Bit 0. |
| uint16_t | FLASH_ERROR Bit 1. |
| uint16_t | REBOOT Bit 10. |
| uint16_t | SINGLE_POINT_CAL Bit 15. |
| uint16_t | WARMUP Bit 11. |
| uint16_t | __pad0__ Bits 3-9 (unused, ignored) |
| uint16_t | __pad1__ Bits 12-14 (unused) |
| struct T67XX::StatusRegister | bits Access to individual bits. |
| uint16_t | raw_value Access to the complete 16-bit status. |
Detailed Description
Allows verification of device status and the different errors that can occur.
Under error conditions, a "1" indicates an error; a "0" indicates no error. A Flash error is fatal (i.e., no recovery). Calibration errors can be cleared by running the calibration procedure again with correct results.
Under calibration conditions, a "1" indicates that the calibration cycle is in progress. No other calibration cycle can be started while one is in progress and the Modbus response will report an error to the new calibration request.
If the warmup bit (WARMUP) is active, the sensor is in a mode where internal registers and gas data (ppm) are being initialized and are not necessarily correct.
Public Attributes Documentation
variable CALIBRATION_ERROR
Bit 2.
variable ERROR
Bit 0.
variable FLASH_ERROR
Bit 1.
variable REBOOT
Bit 10.
variable SINGLE_POINT_CAL
Bit 15.
variable WARMUP
Bit 11.
variable __pad0__
Bits 3-9 (unused, ignored)
variable __pad1__
Bits 12-14 (unused)
variable bits
Access to individual bits.
variable raw_value
Access to the complete 16-bit status.
The documentation for this class was generated from the following file firmware/T67XX.h