EFM32 Zero Gecko Software Documentation  efm32zg-doc-5.1.2
TEMPSENS_Temp_TypeDef Struct Reference

Detailed Description

Structure used to fetch temperature using integer numbers.

Definition at line 64 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 73 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 67 of file tempsens.h.

Referenced by TEMPSENS_Celsius2Fahrenheit(), and TEMPSENS_TemperatureGet().


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