64#ifndef HDC_1000_SENSOR_H
65#define HDC_1000_SENSOR_H
68#include "lib/sensors.h"
72#if BOARD_SENSORS_ENABLE
73#if (TI_I2C_CONF_ENABLE == 0) || (TI_I2C_CONF_I2C0_ENABLE == 0)
74#error "The HDC-1000 requires the I2C driver (TI_I2C_CONF_ENABLE = 1)"
79 HDC_1000_SENSOR_TYPE_TEMP,
80 HDC_1000_SENSOR_TYPE_HUMID
81} HDC_1000_SENSOR_TYPE;
96#define HDC_1000_READING_ERROR -1
98extern const struct sensors_sensor hdc_1000_sensor;
@ HDC_1000_SENSOR_STATUS_I2C_ERROR
I2C transaction failed.
@ HDC_1000_SENSOR_STATUS_INITIALISED
Initialised but idle.
@ HDC_1000_SENSOR_STATUS_TAKING_READINGS
Readings in progress.
@ HDC_1000_SENSOR_STATUS_READINGS_READY
Both readings ready.
@ HDC_1000_SENSOR_STATUS_DISABLED
Not initialised.
Header file with definitions related to the sensors on the Sensortags.