66 #ifndef TMP_007_SENSOR_H_ 67 #define TMP_007_SENSOR_H_ 70 #include "lib/sensors.h" 74 #if BOARD_SENSORS_ENABLE 75 #if (TI_I2C_CONF_ENABLE == 0) || (TI_I2C_CONF_I2C0_ENABLE == 0) 76 #error "The BMP280 requires the I2C driver to be enabled (TI_I2C_CONF_ENABLE = 1)" 81 TMP_007_TYPE_OBJECT = (1 << 0),
82 TMP_007_TYPE_AMBIENT = (1 << 1),
84 TMP_007_TYPE_ALL = (TMP_007_TYPE_OBJECT |
85 TMP_007_TYPE_AMBIENT),
89 TMP_007_STATUS_DISABLED,
90 TMP_007_STATUS_INITIALIZED,
91 TMP_007_STATUS_NOT_READY,
93 TMP_007_STATUS_I2C_ERROR,
96 #define TMP_007_READING_ERROR -1 98 extern const struct sensors_sensor tmp_007_sensor;
Header file with definitions related to the sensors on the Sensortags.