XDK API  3.6.0
Documentation
Macros | Functions
AxisRemap.c File Reference
#include "BCDS_SensorUtils.h"
#include "BCDS_AxisRemap.h"
#include "SensorUtilsAxisRemap.h"
+ Include dependency graph for AxisRemap.c:

Macros

#define BCDS_MODULE_ID   BCDS_SENSORUTILS_ID_AXISREMAP
 
#define MAP_X_TO_Y   UINT32_C(0x01) /* Condition check for mapping X to Y */
 
#define MAP_X_TO_Z   UINT32_C(0x01) /* Condition check for mapping X to Z */
 
#define MAP_Y_TO_X   UINT32_C(0x01) /* Condition check for mapping Y to X */
 
#define MAP_Y_TO_Z   UINT32_C(0x02) /* Condition check for mapping Y to Z */
 
#define MAP_Z_TO_X   UINT32_C(0x02) /* Condition check for mapping Z to X */
 
#define MAP_Z_TO_Y   UINT32_C(0x02) /* Condition check for mapping Z to Y */
 
#define MASK_TWO_LEAST_SIGNIFICANT_BITS   UINT32_C(0x03) /* Masking condition for all axis config variable */
 
#define X_AXIS_SIGN_MASK_VAL   UINT32_C(0x01) /* Masking value for sign of X axis */
 
#define Y_AXIS_CONFIG_SHIFT_VAL   UINT32_C(0x02) /* shift config variable for Y axis */
 
#define Y_AXIS_SIGN_MASK_VAL   UINT32_C(0x02) /* Masking value for sign of Y axis */
 
#define Z_AXIS_CONFIG_SHIFT_VAL   UINT32_C(0x04) /* shift config variable for Z axis */
 
#define Z_AXIS_SIGN_MASK_VAL   UINT32_C(0x04) /* Masking value for sign of Z axis */
 

Functions

Retcode_T AxisRemap_remapSensorData (AxisRemap_Data_T actualSensorDataXyz, AxisRemap_Config_T remapConfigData, AxisRemap_Data_T *remapSensorDataXyz_p)
 

Macro Definition Documentation

#define BCDS_MODULE_ID   BCDS_SENSORUTILS_ID_AXISREMAP
#define MAP_X_TO_Y   UINT32_C(0x01) /* Condition check for mapping X to Y */
#define MAP_X_TO_Z   UINT32_C(0x01) /* Condition check for mapping X to Z */
#define MAP_Y_TO_X   UINT32_C(0x01) /* Condition check for mapping Y to X */
#define MAP_Y_TO_Z   UINT32_C(0x02) /* Condition check for mapping Y to Z */
#define MAP_Z_TO_X   UINT32_C(0x02) /* Condition check for mapping Z to X */
#define MAP_Z_TO_Y   UINT32_C(0x02) /* Condition check for mapping Z to Y */
#define MASK_TWO_LEAST_SIGNIFICANT_BITS   UINT32_C(0x03) /* Masking condition for all axis config variable */
#define X_AXIS_SIGN_MASK_VAL   UINT32_C(0x01) /* Masking value for sign of X axis */
#define Y_AXIS_CONFIG_SHIFT_VAL   UINT32_C(0x02) /* shift config variable for Y axis */
#define Y_AXIS_SIGN_MASK_VAL   UINT32_C(0x02) /* Masking value for sign of Y axis */
#define Z_AXIS_CONFIG_SHIFT_VAL   UINT32_C(0x04) /* shift config variable for Z axis */
#define Z_AXIS_SIGN_MASK_VAL   UINT32_C(0x04) /* Masking value for sign of Z axis */

Function Documentation

Retcode_T AxisRemap_remapSensorData ( AxisRemap_Data_T  actualSensorDataXyz,
AxisRemap_Config_T  remapConfigData,
AxisRemap_Data_T remapSensorDataXyz_p 
)

+ Here is the caller graph for this function:


All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:49 by doxygen 1.8.8