TEMPSENS_Temp_TypeDef Struct Reference
[TempSensor]

Structure used to fetch temperature using integer numbers. More...

#include <tempsens.h>

Collaboration diagram for TEMPSENS_Temp_TypeDef:
Collaboration graph
[legend]

Data Fields

int16_t i
 Integer part of temperature, including sign.
int16_t f
 Fractional part of temperature in 1/10000 parts, including sign.

Detailed Description

Structure used to fetch temperature using integer numbers.

Definition at line 82 of file tempsens.h.


Field Documentation

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 91 of file tempsens.h.

Referenced by TEMPSENS_Celsius2Fahrenheit(), and TEMPSENS_TemperatureGet().

Integer part of temperature, including sign.

Definition at line 85 of file tempsens.h.

Referenced by TEMPSENS_Celsius2Fahrenheit(), and TEMPSENS_TemperatureGet().


The documentation for this struct was generated from the following file: