| 12345678910111213141516171819202122 |
- #ifndef NTCTSENSOR_H
- #define NTCTSENSOR_H
- #include <stdint.h>
- #include "app/thermo/tsensor_common.h"
- typedef int32_t tNTCSensorTemp;
- typedef struct
- {
- bool ( * Init )();
- bool ( * GetReady)();
- void ( * ResetTempAVG)();
- bool ( * ServeSensor)();
- tNTCSensorTemp ( * GetTempAVG)();
- void ( * SetSensorInterval)(uint32_t ms);
- void ( * UpdateCurrentTempCoeff)(uint16_t temp_coeff);
- }
- sNtcThermoSensorHandle_t;
- extern const sNtcThermoSensorHandle_t NtcThermoSensor;
- #endif
|