TEMPSENS_Temp_TypeDef Struct Reference

Structure used to fetch temperature using integer numbers.

Definition at line 74 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 82 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 76 of file tempsens.h.

Referenced by TEMPSENS_Celsius2Fahrenheit(), and TEMPSENS_TemperatureGet().


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