ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
isf_gyrometer_types.h
Go to the documentation of this file.
1 /**
2  * @file isf_gyrometer_types.h
3  *
4  * @brief The \b isf_gyrometer_types.h file contains the ISF data type definitions for use with the
5  * ISF generic gyrometer fixed and floating point interface
6  *
7  * @copyright Copyright (c) 2015, Freescale Semiconductor, Inc.
8  */
9 #ifndef ISF_GYROMETER_TYPES_H_
10 #define ISF_GYROMETER_TYPES_H_
11 
12 #include <isf_sensor_base_types.h>
13 
14 /** @brief ISF sensors standard fixed point gyrometer type in degrees per second
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 dps.
19  * The type can contain accelerations in the
20  * +/- 32768 dps range.
21  */
23 
24 /** @brief Standard fixed type for single axis accelerometers */
25 typedef struct {
29 
30 /** @brief Standard fixed type for two axis accelerometers */
31 typedef struct {
35 
36 /** @brief Standard fixed type for three axis accelerometers */
37 typedef struct {
41 
43 /** @brief Standard raw type for single axis accelerometers */
44 typedef struct {
48 
49 /** @brief Standard raw type for two axes accelerometers */
50 typedef struct {
52  isf_gyrometer_dps_raw_16count_t angularVelocity[2];
54 /** @brief Standard raw type for three axes accelerometers */
55 typedef struct {
57  isf_gyrometer_dps_raw_16count_t angularVelocity[3];
59 /** @brief ISF sensors standard fixed point gyrometer type in degrees per second
60  */
62 
63 /** @brief Standard float type for single axis accelerometers */
64 typedef struct {
68 
69 /** @brief Standard float type for two axis accelerometers */
70 typedef struct {
72  isf_gyrometer_dps_float_t angularVelocity[2];
74 
75 /** @brief Standard float type for three axis accelerometers */
76 typedef struct {
78  isf_gyrometer_dps_float_t angularVelocity[3];
80 
81 #endif /* ISF_GYROMETER_TYPES_H_ */
isf_gyrometer_dps_raw_16count_t angularVelocity
int16 isf_gyrometer_dps_raw_16count_t
Standard fixed type for three axis accelerometers.
isf_gyrometer_dps_float_t angularVelocity
isf_gyrometer_dps_fixed_32s1i16_t angularVelocity
int32 isf_gyrometer_dps_fixed_32s1i16_t
ISF sensors standard fixed point gyrometer type in degrees per second 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 dps. The type can contain accelerations in the +/- 32768 dps range.
Standard raw type for three axes accelerometers.
The isf_sensor_base_types.h file contains declarations for the general base types used in the isf sen...
Standard float type for two axis accelerometers.
Standard float type for three axis accelerometers.
Standard float type for single axis accelerometers.
signed short int int16
Definition: isf_types.h:73
uint32 isf_timestamp_t
Standard timestamp.
signed long int int32
Definition: isf_types.h:74
Standard raw type for two axes accelerometers.
Standard raw type for single axis accelerometers.
Standard fixed type for two axis accelerometers.
float isf_gyrometer_dps_float_t
ISF sensors standard fixed point gyrometer type in degrees per second.
Standard fixed type for single axis accelerometers.