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

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

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 */
22 typedef int32 isf_gyrometer_dps_fixed_32s1i16_t;
23
24 /** @brief Standard fixed type for single axis accelerometers */
25 typedef struct {
26 isf_timestamp_t timestamp;
27 isf_gyrometer_dps_fixed_32s1i16_t angularVelocity;
28 } isf_AngularVelocity1D_EngFixed_t;
29
30 /** @brief Standard fixed type for two axis accelerometers */
31 typedef struct {
32 isf_timestamp_t timestamp;
33 isf_gyrometer_dps_fixed_32s1i16_t angularVelocity[2];
34 } isf_AngularVelocity2D_EngFixed_t;
35
36 /** @brief Standard fixed type for three axis accelerometers */
37 typedef struct {
38 isf_timestamp_t timestamp;
39 isf_gyrometer_dps_fixed_32s1i16_t angularVelocity[3];
40 } isf_AngularVelocity3D_EngFixed_t;
41
42 typedef int16 isf_gyrometer_dps_raw_16count_t;
43 /** @brief Standard raw type for single axis accelerometers */
44 typedef struct {
45 isf_timestamp_t timestamp;
46 isf_gyrometer_dps_raw_16count_t angularVelocity;
47 } isf_AngularVelocity1D_RawCount_t;
48
49 /** @brief Standard raw type for two axes accelerometers */
50 typedef struct {
51 isf_timestamp_t timestamp;
52 isf_gyrometer_dps_raw_16count_t angularVelocity[2];
53 } isf_AngularVelocity2D_RawCount_t;
54 /** @brief Standard raw type for three axes accelerometers */
55 typedef struct {
56 isf_timestamp_t timestamp;
57 isf_gyrometer_dps_raw_16count_t angularVelocity[3];
58 } isf_AngularVelocity3D_RawCount_t;
59 /** @brief ISF sensors standard fixed point gyrometer type in degrees per second
60 */
61 typedef float isf_gyrometer_dps_float_t;
62
63 /** @brief Standard float type for single axis accelerometers */
64 typedef struct {
65 isf_timestamp_t timestamp;
66 isf_gyrometer_dps_float_t angularVelocity;
67 } isf_AngularVelocity1D__float_t;
68
69 /** @brief Standard float type for two axis accelerometers */
70 typedef struct {
71 isf_timestamp_t timestamp;
72 isf_gyrometer_dps_float_t angularVelocity[2];
73 } isf_AngularVelocity2D__float_t;
74
75 /** @brief Standard float type for three axis accelerometers */
76 typedef struct {
77 isf_timestamp_t timestamp;
78 isf_gyrometer_dps_float_t angularVelocity[3];
79 } isf_AngularVelocity3D__float_t;
80
81 #endif /* ISF_GYROMETER_TYPES_H_ */
isf_AngularVelocity3D__float_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:77
isf_AngularVelocity1D_EngFixed_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:26
isf_AngularVelocity1D_RawCount_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:45
isf_AngularVelocity1D_RawCount_t::angularVelocity
isf_gyrometer_dps_raw_16count_t angularVelocity
Definition: isf_gyrometer_types.h:46
isf_gyrometer_dps_raw_16count_t
int16 isf_gyrometer_dps_raw_16count_t
Definition: isf_gyrometer_types.h:42
isf_AngularVelocity3D_EngFixed_t
Standard fixed type for three axis accelerometers.
Definition: isf_gyrometer_types.h:37
isf_AngularVelocity3D_RawCount_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:56
isf_AngularVelocity1D__float_t::angularVelocity
isf_gyrometer_dps_float_t angularVelocity
Definition: isf_gyrometer_types.h:66
isf_AngularVelocity2D_EngFixed_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:32
isf_AngularVelocity2D_RawCount_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:51
isf_AngularVelocity1D__float_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:65
isf_AngularVelocity1D_EngFixed_t::angularVelocity
isf_gyrometer_dps_fixed_32s1i16_t angularVelocity
Definition: isf_gyrometer_types.h:27
isf_AngularVelocity3D_EngFixed_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:38
isf_gyrometer_dps_fixed_32s1i16_t
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.
Definition: isf_gyrometer_types.h:22
isf_AngularVelocity3D_RawCount_t
Standard raw type for three axes accelerometers.
Definition: isf_gyrometer_types.h:55
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_AngularVelocity2D__float_t
Standard float type for two axis accelerometers.
Definition: isf_gyrometer_types.h:70
isf_AngularVelocity3D__float_t
Standard float type for three axis accelerometers.
Definition: isf_gyrometer_types.h:76
isf_AngularVelocity1D__float_t
Standard float type for single axis accelerometers.
Definition: isf_gyrometer_types.h:64
int16
signed short int int16
Definition: isf_types.h:73
isf_timestamp_t
uint32 isf_timestamp_t
Standard timestamp.
Definition: isf_sensor_base_types.h:15
isf_AngularVelocity2D__float_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:71
int32
signed long int int32
Definition: isf_types.h:74
isf_AngularVelocity2D_RawCount_t
Standard raw type for two axes accelerometers.
Definition: isf_gyrometer_types.h:50
isf_AngularVelocity1D_RawCount_t
Standard raw type for single axis accelerometers.
Definition: isf_gyrometer_types.h:44
isf_AngularVelocity2D_EngFixed_t
Standard fixed type for two axis accelerometers.
Definition: isf_gyrometer_types.h:31
isf_gyrometer_dps_float_t
float isf_gyrometer_dps_float_t
ISF sensors standard fixed point gyrometer type in degrees per second.
Definition: isf_gyrometer_types.h:61
isf_AngularVelocity1D_EngFixed_t
Standard fixed type for single axis accelerometers.
Definition: isf_gyrometer_types.h:25
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.