66 #ifndef TMP_007_SENSOR_H_ 67 #define TMP_007_SENSOR_H_ 73 #if BOARD_SENSORS_ENABLE 74 #if (TI_I2C_CONF_ENABLE == 0) || (TI_I2C_CONF_I2C0_ENABLE == 0) 75 #error "The BMP280 requires the I2C driver to be enabled (TI_I2C_CONF_ENABLE = 1)" 80 TMP_007_TYPE_OBJECT = (1 << 0),
81 TMP_007_TYPE_AMBIENT = (1 << 1),
83 TMP_007_TYPE_ALL = (TMP_007_TYPE_OBJECT |
84 TMP_007_TYPE_AMBIENT),
88 TMP_007_STATUS_DISABLED,
89 TMP_007_STATUS_INITIALIZED,
90 TMP_007_STATUS_NOT_READY,
92 TMP_007_STATUS_I2C_ERROR,
95 #define TMP_007_READING_ERROR -1 97 extern const struct sensors_sensor tmp_007_sensor;
Header file with definitions related to the sensors on the Sensortags.