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

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

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 | OVERSAMPLE_RATIO 8
#define | SENSORFS (uint32)((1000000.0F/((float)ORIENTATION_OUTPUT_PERIOD_USECS))* OVERSAMPLE_RATIO)
#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 | THISCOORDSYSTEM NED
#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_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) 2015, 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 37 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

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

Definition at line 39 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

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

Definition at line 41 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define ACCEL_HAL_X_INDEX Y

Definition at line 38 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define ACCEL_HAL_Y_INDEX X

Definition at line 40 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define ACCEL_HAL_Z_INDEX Z

Definition at line 42 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define ACCEL_OVERSAMPLE_RATIO 4

Definition at line 23 of file fusion_config.h.

#define ALGO_CHOICE Q9

Definition at line 27 of file fusion_config.h.

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

Definition at line 48 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

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

Definition at line 50 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

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

Definition at line 52 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define GYRO_HAL_X_INDEX Y

Definition at line 49 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define GYRO_HAL_Y_INDEX X

Definition at line 51 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define GYRO_HAL_Z_INDEX Z

Definition at line 53 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define GYRO_OVERSAMPLE_RATIO 16

Definition at line 25 of file fusion_config.h.

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

Definition at line 43 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

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

Definition at line 45 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define MAG_HAL_X_INDEX Y

Definition at line 44 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define MAG_HAL_Y_INDEX X

Definition at line 46 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define MAG_HAL_Z_INDEX Z

Definition at line 47 of file fusion_config.h.

Referenced by fsl_fusion_virt_3D_orient_PeriodicCallback().

#define MAG_OVERSAMPLE_RATIO 4

Definition at line 24 of file fusion_config.h.

#define ORIENTATION_OUTPUT_PERIOD_USECS 40000

Definition at line 20 of file fusion_config.h.

#define OVERSAMPLE_RATIO 8

Definition at line 21 of file fusion_config.h.

Referenced by fInit_1DOF_P_BASIC(), fInit_3DOF_B_BASIC(), fInit_3DOF_G_BASIC(), fInit_3DOF_Y_BASIC(), fInit_6DOF_GB_BASIC(), fInit_6DOF_GY_KALMAN(), fInit_9DOF_GBY_KALMAN(), fRun_3DOF_Y_BASIC(), fRun_6DOF_GY_KALMAN(), fRun_9DOF_GBY_KALMAN(), fRunMagCalibration(), and fsl_fusion_virt_3D_orient_PeriodicCallback().

#define PARALLELNOTSEQUENTIAL 1

Definition at line 17 of file fusion_config.h.

Referenced by Fusion_Run().

#define PRESSURE_OVERSAMPLE_RATIO 1

Definition at line 26 of file fusion_config.h.

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

Definition at line 22 of file fusion_config.h.

Referenced by fInit_1DOF_P_BASIC(), fInit_3DOF_B_BASIC(), fInit_3DOF_G_BASIC(), fInit_3DOF_Y_BASIC(), fInit_6DOF_GB_BASIC(), fInit_6DOF_GY_KALMAN(), fInit_9DOF_GBY_KALMAN(), and fRunMagCalibration().

#define THISCOORDSYSTEM NED

Definition at line 32 of file fusion_config.h.

Referenced by fInit_3DOF_B_BASIC(), fInit_3DOF_G_BASIC(), fInit_6DOF_GB_BASIC(), fInit_6DOF_GY_KALMAN(), fInit_9DOF_GBY_KALMAN(), fRun_3DOF_B_BASIC(), fRun_3DOF_G_BASIC(), fRun_3DOF_Y_BASIC(), fRun_6DOF_GB_BASIC(), fRun_6DOF_GY_KALMAN(), and fRun_9DOF_GBY_KALMAN().

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