Contiki-NG

Header file for the RE-Mote Sensor IAQ. More...

#include <stdio.h>
#include "lib/sensors.h"
#include "dev/zoul-sensors.h"
#include "iaq.h"
#include "i2c.h"
#include "sys/timer.h"
#include "sys/rtimer.h"

Go to the source code of this file.

Macros

IAQ address and definition
#define IAQ_ADDR   0x5A
 
#define IAQ_SENSOR   "iAQ"
 
IAQ error values and definitions
#define IAQ_ACTIVE   SENSORS_ACTIVE
 
#define IAQ_INIT_STATE   SENSORS_HW_INIT
 
#define IAQ_ERROR   (-1)
 
#define IAQ_SUCCESS   0x00
 
#define IAQ_FRAME_SIZE   0x09
 
#define IAQ_INTERNAL_SUCCESS   0x00
 
#define IAQ_INTERNAL_RUNIN   0x10
 
#define IAQ_INTERNAL_BUSY   0x01
 
#define IAQ_INTERNAL_ERROR   0x80
 
#define IAQ_CO2_VALUE   0x00
 
#define IAQ_VOC_VALUE   0x01
 
#define IAQ_STATUS   0x02
 
#define IAQ_DRIVER_STATUS   0x03
 
#define IAQ_POLLING_TIME   (CLOCK_SECOND)
 

Typedefs

Readable IAQ-Core interface result conversion implementation as

datasheet specification.

typedef struct iaq_struct_simple_td_reg simple_iaq_data
 

Enumerations

IAQ enumeration and options
enum  
 

Variables

IAQ sensor types in iAQ-Core module
const struct sensors_sensor iaq
 

Detailed Description

Header file for the RE-Mote Sensor IAQ.

Definition in file iaq.h.