| ISF 2.2 rev 5 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

isf_temperature_types.h
Go to the documentation of this file.
1 /**
2 * @file isf_temperature_types.h
3 *
4 * @brief The \b isf_temperature_fixed_t.h file contains the ISF data type definitions for use with the
5 * ISF generic temperature fixed and floating point interface
6 *
7 * @copyright Copyright (c) 2015, Freescale Semiconductor, Inc.
8 */
9 #ifndef ISF_TEMPERATURE_TYPES_H_
10 #define ISF_TEMPERATURE_TYPES_H_
11
12 #include <isf_sensor_base_types.h>
13
14 /** @brief ISF sensors standard fixed point temperature in degrees Celsius
15 * using AC_Fixed(32,16,1) notation
16 * This means of 32 total bits, 16 are used to represent
17 * the fractional portion and the MSB is used as a sign bit.
18 * the LSB is therefore ~1.5259E-05 degC.
19 * The type can contain pressures in the
20 * +/- 32768 degC range.
21 */
22 typedef int32 isf_temperature_degC_fixed_32s1i16_t;
23
24 /** @brief Standard fixed type for single axis pressure sensor */
25 typedef struct {
26 isf_timestamp_t timestamp;
27 isf_temperature_degC_fixed_32s1i16_t temperature;
28 } isf_DegreesCelsius1D_EngFixed_t;
29
30 /** @brief ISF sensors standard floating point temperature in degC
31 */
32 typedef float isf_temperature_degC_float_t;
33
34 /** @brief Standard floating point type for single axis temperature sensor */
35 typedef struct {
36 isf_timestamp_t timestamp;
37 isf_temperature_degC_float_t temperature;
38 } isf_DegreesCelsius1D_float_t;
39
40 #endif /* ISF_TEMPERATURE_TYPES_H_ */
41
42
43
isf_DegreesCelsius1D_float_t::temperature
isf_temperature_degC_float_t temperature
Definition: isf_temperature_types.h:37
isf_temperature_degC_fixed_32s1i16_t
int32 isf_temperature_degC_fixed_32s1i16_t
ISF sensors standard fixed point temperature in degrees Celsius using AC_Fixed(32,16,1) notation This means of 32 total bits, 16 are used to represent the fractional portion and the MSB is used as a sign bit. the LSB is therefore ~1.5259E-05 degC. The type can contain pressures in the +/- 32768 degC range.
Definition: isf_temperature_types.h:22
isf_DegreesCelsius1D_float_t
Standard floating point type for single axis temperature sensor.
Definition: isf_temperature_types.h:35
isf_DegreesCelsius1D_EngFixed_t::temperature
isf_temperature_degC_fixed_32s1i16_t temperature
Definition: isf_temperature_types.h:27
isf_sensor_base_types.h
The isf_sensor_base_types.h file contains declarations for the general base types used in the isf sen...
isf_DegreesCelsius1D_EngFixed_t::timestamp
isf_timestamp_t timestamp
Definition: isf_temperature_types.h:26
isf_timestamp_t
uint32 isf_timestamp_t
Standard timestamp.
Definition: isf_sensor_base_types.h:15
int32
signed long int int32
Definition: isf_types.h:74
isf_DegreesCelsius1D_EngFixed_t
Standard fixed type for single axis pressure sensor.
Definition: isf_temperature_types.h:25
isf_DegreesCelsius1D_float_t::timestamp
isf_timestamp_t timestamp
Definition: isf_temperature_types.h:36
isf_temperature_degC_float_t
float isf_temperature_degC_float_t
ISF sensors standard floating point temperature in degC.
Definition: isf_temperature_types.h:32
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.