Classes | |
struct | pasco2::MeasStatus_t |
struct | pasco2::Diag_t |
Error codes | |
enum | pasco2::Error_t { pasco2::OK = 0, pasco2::INTF_ERROR = -1, pasco2::RESET_ERROR = -2, pasco2::CONFIG_ERROR = -3, pasco2::IC_ERROR = -14, pasco2::IC_POWERON_ERROR = -15, pasco2::IC_POWER12V_ERROR = -16, pasco2::IC_TEMP_ERROR = -17, pasco2::IC_COMM_ERROR = -18 } |
Power status flags | |
enum | pasco2::StatusFlags_t { pasco2::POWER3V3 = 0x02, pasco2::POWER12V = 0x04 } |
Sensor status | |
enum | pasco2::Status_t { pasco2::UNINITED = 0x00, pasco2::INITED = 0x01, pasco2::LOGIC_ONLY_ON = INITED | POWER3V3, pasco2::IR_ONLY_ON = INITED | POWER12V, pasco2::ON = LOGIC_ONLY_ON | IR_ONLY_ON } |
Operation modes | |
enum | pasco2::OpMode_t { pasco2::MODE_IDLE = 0, pasco2::MODE_SINGLE_SHOT = 1, pasco2::MODE_CONTINUOUS_MEAS = 2 } |
PWM modes | |
enum | pasco2::PWMMode_t { pasco2::PWM_SINGLE_PULSE = 0, pasco2::PWM_TRAIN_PULSE = 1 } |
Automatic baseline compensation modes | |
enum | pasco2::ABOC_t { pasco2::ABOC_DISABLED = 0, pasco2::ABOC_ENABLED_PERIODIC = 1, pasco2::ABOC_ENABLED_FORCED = 2 } |
Sensor interfaces | |
enum | pasco2::Intf_t { pasco2::INTF_PWM, pasco2::INTF_UART, pasco2::INTF_I2C } |
Interrupt modes | |
enum | pasco2::Int_t { pasco2::INT_DISABLED = 0, pasco2::INT_ALARM_ACTIVE = 1, pasco2::INT_DATA_READY = 2, pasco2::INT_SERIAL_BUS_BUSY = 3, pasco2::INT_EARLY_MEAS = 4 } |
Interrupt output configuration | |
enum | pasco2::IntIOConf_t { pasco2::INT_IO_PUSH_PULL_ACTIVE_LOW = 0, pasco2::INT_IO_PUSH_PULL_ACTIVE_HIGH = 1 } |
Alarm threshold modes | |
enum | pasco2::Alarm_t { pasco2::ALARM_TH_CROSS_DOWN = 0, pasco2::ALARM_TH_CROSS_UP = 1 } |
enum pasco2::Error_t |
enum pasco2::Status_t |
enum pasco2::OpMode_t |
enum pasco2::PWMMode_t |
enum pasco2::ABOC_t |
enum pasco2::Intf_t |
enum pasco2::Int_t |
enum pasco2::IntIOConf_t |
enum pasco2::Alarm_t |