TEMPSENS_Temp_TypeDef Struct ReferenceKit Drivers > TempSensor

Structure used to fetch temperature using integer numbers.

Definition at line 61 of file tempsens.h .

#include < tempsens.h >

Data Fields

int16_t f
int16_t i

Field Documentation

int16_t TEMPSENS_Temp_TypeDef::f

Fractional part of temperature in 1/10000 parts, including sign. Ie 0.5 will be stored as 5000 and -0.5 as -5000.

Definition at line 69 of file tempsens.h .

Referenced by TEMPSENS_Celsius2Fahrenheit() , and TEMPSENS_TemperatureGet() .

int16_t TEMPSENS_Temp_TypeDef::i

Integer part of temperature, including sign

Definition at line 63 of file tempsens.h .

Referenced by TEMPSENS_Celsius2Fahrenheit() , and TEMPSENS_TemperatureGet() .


The documentation for this struct was generated from the following file:
  • C:/cygwin/home/caamunds/work/super/hardware/kit/common/drivers/ tempsens.h