tsensor.h 399 B

12345678910111213141516171819
  1. #ifndef TSENSOR_H
  2. #define TSENSOR_H
  3. #include <stdint.h>
  4. #include "app/thermo/tsensor_common.h"
  5. typedef struct
  6. {
  7. bool ( * GetReady)();
  8. void ( * ResetTempAVG)();
  9. bool ( * ServeSensor)();
  10. tTSensorTemp ( * GetTempAVG)();
  11. void ( * SetSensorInterval)(uint32_t ms);
  12. }
  13. sThermoSensorHandle_t;
  14. extern const sThermoSensorHandle_t ThermoSensor;
  15. #endif