48 #include "lib/sensors.h"
60 #define IAQ_SENSOR "iAQ"
66 extern const struct sensors_sensor iaq;
72 #define IAQ_ACTIVE SENSORS_ACTIVE
73 #define IAQ_INIT_STATE SENSORS_HW_INIT
74 #define IAQ_ERROR (-1)
75 #define IAQ_SUCCESS 0x00
76 #define IAQ_FRAME_SIZE 0x09
79 #define IAQ_INTERNAL_SUCCESS 0x00
80 #define IAQ_INTERNAL_RUNIN 0x10
81 #define IAQ_INTERNAL_BUSY 0x01
82 #define IAQ_INTERNAL_ERROR 0x80
85 #define IAQ_CO2_VALUE 0x00
86 #define IAQ_VOC_VALUE 0x01
87 #define IAQ_STATUS 0x02
88 #define IAQ_DRIVER_STATUS 0x03
92 #define IAQ_POLLING_TIME (CLOCK_SECOND * 11)
94 #define IAQ_POLLING_TIME (CLOCK_SECOND)
112 typedef struct iaq_struct_simple_td_reg {
Header file for the real-time timer module.
#define __attribute__(nothing)
Define attribute to nothing since it isn't handled by IAR.
Timer library header file.
Header file for the RE-Mote Sensor IAQ.
Implementation of a generic module controlling Zoul sensors.