| 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
Macros
fusion_config.h File Reference

The fusion_config.h file contains additional static configuration for the Sensor Fusion based Virtual Orientation sensor adapter. More...

`#include "fusion_types.h"`
Include dependency graph for fusion_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | PARALLELNOTSEQUENTIAL 1
#define | ORIENTATION_OUTPUT_PERIOD_USECS 40000
#define | SENSORFS (uint32)(1000000.0F/((float)ORIENTATION_OUTPUT_PERIOD_USECS))
#define | ACCEL_OVERSAMPLE_RATIO 4
#define | MAG_OVERSAMPLE_RATIO 4
#define | GYRO_OVERSAMPLE_RATIO 16
#define | PRESSURE_OVERSAMPLE_RATIO 1
#define | ALGO_CHOICE Q9
#define | COMPUTE_3DOF_G_BASIC
#define | COMPUTE_3DOF_B_BASIC
#define | COMPUTE_3DOF_Y_BASIC
#define | COMPUTE_6DOF_GB_BASIC
#define | COMPUTE_6DOF_GY_KALMAN
#define | COMPUTE_9DOF_GBY_KALMAN
#define | THISCOORDSYSTEM NED
#define | USE_ACCELEROMETER
#define | USE_MAGNETOMETER
#define | USE_GYROMETER
#define | ACCEL_GET_HAL_X_VALUE(v) (v)
#define | ACCEL_HAL_X_INDEX Y
#define | ACCEL_GET_HAL_Y_VALUE(v) (v)
#define | ACCEL_HAL_Y_INDEX X
#define | ACCEL_GET_HAL_Z_VALUE(v) (v)
#define | ACCEL_HAL_Z_INDEX Z
#define | MAG_GET_HAL_X_VALUE(v) (-(v))
#define | MAG_HAL_X_INDEX Y
#define | MAG_GET_HAL_Y_VALUE(v) (-(v))
#define | MAG_HAL_Y_INDEX X
#define | MAG_GET_HAL_Z_VALUE(v) (v)
#define | MAG_HAL_Z_INDEX Z
#define | GYRO_GET_HAL_X_VALUE(v) (-(v))
#define | GYRO_HAL_X_INDEX Y
#define | GYRO_GET_HAL_Y_VALUE(v) (-(v))
#define | GYRO_HAL_Y_INDEX X
#define | GYRO_GET_HAL_Z_VALUE(v) (-(v))
#define | GYRO_HAL_Z_INDEX Z

## Detailed Description

The fusion_config.h file contains additional static configuration for the Sensor Fusion based Virtual Orientation sensor adapter.

Copyright
  Copyright (c) 2014, Freescale Semiconductor, Inc.

Version
  01.00

Definition in file fusion_config.h.

## Macro Definition Documentation

#define ACCEL_GET_HAL_X_VALUE | ( |  | v | ) | (v)

Definition at line 45 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define ACCEL_GET_HAL_Y_VALUE | ( |  | v | ) | (v)

Definition at line 47 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define ACCEL_GET_HAL_Z_VALUE | ( |  | v | ) | (v)

Definition at line 49 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define ACCEL_HAL_X_INDEX Y

Definition at line 46 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define ACCEL_HAL_Y_INDEX X

Definition at line 48 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define ACCEL_HAL_Z_INDEX Z

Definition at line 50 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define ACCEL_OVERSAMPLE_RATIO 4

Definition at line 22 of file fusion_config.h.

Referenced by fRun_3DOF_G_BASIC().

#define ALGO_CHOICE Q9

Definition at line 26 of file fusion_config.h.

#define COMPUTE_3DOF_B_BASIC

Definition at line 30 of file fusion_config.h.

#define COMPUTE_3DOF_G_BASIC

Definition at line 29 of file fusion_config.h.

#define COMPUTE_3DOF_Y_BASIC

Definition at line 31 of file fusion_config.h.

#define COMPUTE_6DOF_GB_BASIC

Definition at line 32 of file fusion_config.h.

#define COMPUTE_6DOF_GY_KALMAN

Definition at line 33 of file fusion_config.h.

#define COMPUTE_9DOF_GBY_KALMAN

Definition at line 34 of file fusion_config.h.

#define GYRO_GET_HAL_X_VALUE | ( |  | v | ) | (-(v))

Definition at line 57 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define GYRO_GET_HAL_Y_VALUE | ( |  | v | ) | (-(v))

Definition at line 59 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define GYRO_GET_HAL_Z_VALUE | ( |  | v | ) | (-(v))

Definition at line 61 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define GYRO_HAL_X_INDEX Y

Definition at line 58 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define GYRO_HAL_Y_INDEX X

Definition at line 60 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define GYRO_HAL_Z_INDEX Z

Definition at line 62 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define GYRO_OVERSAMPLE_RATIO 16

Definition at line 24 of file fusion_config.h.

Referenced by fRun_1DOF_P_BASIC(), fRun_3DOF_Y_BASIC(), fRun_6DOF_GB_BASIC(), fRun_6DOF_GY_KALMAN(), fRun_9DOF_GBY_KALMAN(), and Fusion_Run().

#define MAG_GET_HAL_X_VALUE | ( |  | v | ) | (-(v))

Definition at line 51 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define MAG_GET_HAL_Y_VALUE | ( |  | v | ) | (-(v))

Definition at line 53 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define MAG_GET_HAL_Z_VALUE | ( |  | v | ) | (v)

Definition at line 55 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define MAG_HAL_X_INDEX Y

Definition at line 52 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define MAG_HAL_Y_INDEX X

Definition at line 54 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define MAG_HAL_Z_INDEX Z

Definition at line 56 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define MAG_OVERSAMPLE_RATIO 4

Definition at line 23 of file fusion_config.h.

Referenced by fRun_3DOF_B_BASIC(), and fRunMagCalibration().

#define ORIENTATION_OUTPUT_PERIOD_USECS 40000

Definition at line 20 of file fusion_config.h.

#define PARALLELNOTSEQUENTIAL 1

Definition at line 17 of file fusion_config.h.

Referenced by Fusion_Run().

#define PRESSURE_OVERSAMPLE_RATIO 1

Definition at line 25 of file fusion_config.h.

#define SENSORFS (uint32)(1000000.0F/((float)ORIENTATION_OUTPUT_PERIOD_USECS))

Definition at line 21 of file fusion_config.h.

Referenced by fRun_1DOF_P_BASIC(), fRun_3DOF_B_BASIC(), fRun_3DOF_G_BASIC(), fRun_3DOF_Y_BASIC(), fRun_6DOF_GB_BASIC(), fRun_6DOF_GY_KALMAN(), fRun_9DOF_GBY_KALMAN(), and fRunMagCalibration().

#define THISCOORDSYSTEM NED

Definition at line 37 of file fusion_config.h.

Referenced by fRun_9DOF_GBY_KALMAN(), and Fusion_Run().

#define USE_ACCELEROMETER

Definition at line 39 of file fusion_config.h.

#define USE_GYROMETER

Definition at line 41 of file fusion_config.h.

#define USE_MAGNETOMETER

Definition at line 40 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_Shutdown().

- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.