#ifndef APP_TSENSOR_LL_H
#define APP_TSENSOR_LL_H
   #include "app/thermo/tsensor_common.h"   

   typedef struct
   {
       bool ( * Init)();
       bool ( * GetTemp)( tTSensorTemp * temp );       
       void ( * DeInit)();
   }
   sI2CTempSensorHandle_t;
   
   // THERMO_SENSOR_POWERCONTROL_HW
   // Use hardware power control: enable and disable the sensor power delivery
   #define  THERMO_SENSOR_POWERCONTROL_HW               0

   // THERMO_SENSOR_POWERCONTROL_HW_KEEPPOWERED
   // Hardware power control: keep the sensor powered even the sensor is deinitialized
   #define  THERMO_SENSOR_POWERCONTROL_HW_KEEPPOWERED   1

   // THERMO_SENSOR_POWERCONTROL_HW_LAZYCONFIG
   // Hardware power control: do not reconfigure sensor if the power kept
   // Depends on: THERMO_SENSOR_POWERCONTROL_HW=1
   #define  THERMO_SENSOR_POWERCONTROL_HW_LAZYCONFIG    0


   // THERMO_SENSOR_ADDRESS
   // 8-bit I2C-bus address (the bit-0 will be ignored)
   #define  THERMO_SENSOR_8bit_ADDRESS                  (0x92)
 
   // THERMO_SENSOR_MODEL
   #define  THERMO_SENSOR_MODEL                         AD7414
   extern const sI2CTempSensorHandle_t I2CTempSensor;
#endif