| ISF 2.1 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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) 2014, 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 /** @brief ISF sensors standard fixed point gyrometer type in degrees per second
43 */
44 typedef float isf_gyrometer_dps_float_t;
45
46 /** @brief Standard fixed type for single axis accelerometers */
47 typedef struct {
48 isf_timestamp_t timestamp;
49 isf_gyrometer_dps_float_t angularVelocity;
50 } isf_AngularVelocity1D__float_t;
51
52 /** @brief Standard fixed type for two axis accelerometers */
53 typedef struct {
54 isf_timestamp_t timestamp;
55 isf_gyrometer_dps_float_t angularVelocity[2];
56 } isf_AngularVelocity2D__float_t;
57
58 /** @brief Standard fixed type for three axis accelerometers */
59 typedef struct {
60 isf_timestamp_t timestamp;
61 isf_gyrometer_dps_float_t angularVelocity[3];
62 } isf_AngularVelocity3D__float_t;
63
64 #endif /* ISF_GYROMETER_TYPES_H_ */
isf_AngularVelocity3D__float_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:60
isf_AngularVelocity1D_EngFixed_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:26
isf_AngularVelocity3D_EngFixed_t
Standard fixed type for three axis accelerometers.
Definition: isf_gyrometer_types.h:37
isf_AngularVelocity1D__float_t::angularVelocity
isf_gyrometer_dps_float_t angularVelocity
Definition: isf_gyrometer_types.h:49
isf_AngularVelocity2D_EngFixed_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:32
isf_AngularVelocity1D__float_t::timestamp
isf_timestamp_t timestamp
Definition: isf_gyrometer_types.h:48
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_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 fixed type for two axis accelerometers.
Definition: isf_gyrometer_types.h:53
isf_AngularVelocity3D__float_t
Standard fixed type for three axis accelerometers.
Definition: isf_gyrometer_types.h:59
isf_AngularVelocity1D__float_t
Standard fixed type for single axis accelerometers.
Definition: isf_gyrometer_types.h:47
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:54
int32
long int32
This defines int32 as long.
Definition: isf_types.h:32
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:44
isf_AngularVelocity1D_EngFixed_t
Standard fixed type for single axis accelerometers.
Definition: isf_gyrometer_types.h:25
- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.