61#ifndef OPT_3001_SENSOR_H_
62#define OPT_3001_SENSOR_H_
65#include "lib/sensors.h"
69#if BOARD_SENSORS_ENABLE
70#if (TI_I2C_CONF_ENABLE == 0) || (TI_I2C_CONF_I2C0_ENABLE == 0)
71#error "The OPT-3001 requires the I2C driver (TI_I2C_CONF_ENABLE = 1)"
75#define OPT_3001_READING_ERROR -1
78 OPT_3001_STATUS_DISABLED,
79 OPT_3001_STATUS_STANDBY,
80 OPT_3001_STATUS_BOOTING,
81 OPT_3001_STATUS_ACTIVE,
82 OPT_3001_STATUS_DATA_READY,
83 OPT_3001_STATUS_I2C_ERROR,
86extern const struct sensors_sensor opt_3001_sensor;
Header file with definitions related to SmartRF06 EB boards.