Macros
Gyroscope.h File Reference
+ This graph shows which files directly or indirectly include this file:

Macros

#define BCDS_BMG160_10MS_AUTO_SLEEP_DURN_U8X   UINT8_C(4)
 
#define BCDS_BMG160_15MS_AUTO_SLEEP_DURN_U8X   UINT8_C(5)
 
#define BCDS_BMG160_20MS_AUTO_SLEEP_DURN_U8X   UINT8_C(6)
 
#define BCDS_BMG160_40MS_AUTO_SLEEP_DURN_U8X   UINT8_C(7)
 
#define BCDS_BMG160_4MS_AUTO_SLEEP_DURN_U8X   UINT8_C(1)
 
#define BCDS_BMG160_5MS_AUTO_SLEEP_DURN_U8X   UINT8_C(2)
 
#define BCDS_BMG160_8MS_AUTO_SLEEP_DURN_U8X   UINT8_C(3)
 
#define BCDS_BMG160_NO_AUTO_SLEEP_DURN_U8X   UINT8_C(0)
 
#define BCDS_BMI160_GYRO_MODE_FASTSTARTUP   UINT8_C(0x03)
 
#define BCDS_BMI160_GYRO_MODE_NORMAL   UINT8_C(0x01)
 
#define BCDS_BMI160_GYRO_MODE_SUSPEND   UINT8_C(0x00)
 
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_100HZ   UINT8_C(0x08)
 
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_1600HZ   UINT8_C(0x0C)
 
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_200HZ   UINT8_C(0x09 )
 
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_25HZ   UINT8_C(0x06)
 
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_3200HZ   UINT8_C(0x0D )
 
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_400HZ   UINT8_C(0x0A )
 
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_50HZ   UINT8_C(0x07 )
 
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_800HZ   UINT8_C(0x0B )
 
#define BCDS_BMI160_GYRO_RANGE_1000_DEG_SEC   UINT8_C(0x01)
 
#define BCDS_BMI160_GYRO_RANGE_125_DEG_SEC   UINT8_C(0x04)
 
#define BCDS_BMI160_GYRO_RANGE_2000_DEG_SEC   UINT8_C(0x00)
 
#define BCDS_BMI160_GYRO_RANGE_250_DEG_SEC   UINT8_C(0x03)
 
#define BCDS_BMI160_GYRO_RANGE_500_DEG_SEC   UINT8_C(0x02)
 
#define BMG160MODE_NORMAL   UINT8_C(0)
 
#define BMG160MODE_SUSPEND   UINT8_C(2)
 
#define BMG160S_GYRO_MILLIDEGREE   INT32_C(1000)
 
#define BMG160S_GYRO_RESOLUTION   INT32_C(65536)
 
#define BMG160SUPPORT_1000S_RANGE   UINT16_C(1000)
 
#define BMG160SUPPORT_125S_RANGE   UINT16_C(125)
 
#define BMG160SUPPORT_2000S_RANGE   UINT16_C(2000)
 
#define BMG160SUPPORT_250S_RANGE   UINT16_C(250)
 
#define BMG160SUPPORT_500S_RANGE   UINT16_C(500)
 
#define BMG160SUPPORT_BSTLIB_1000S_RANGE   UINT8_C(0x01)
 
#define BMG160SUPPORT_BSTLIB_125S_RANGE   UINT8_C(0x04)
 
#define BMG160SUPPORT_BSTLIB_2000S_RANGE   UINT8_C(0x00)
 
#define BMG160SUPPORT_BSTLIB_250S_RANGE   UINT8_C(0x03)
 
#define BMG160SUPPORT_BSTLIB_500S_RANGE   UINT8_C(0x02)
 
#define BMI160S_GYRO_MILLIDEGREE   INT32_C(1000)
 
#define BMI160S_GYRO_RESOLUTION   INT32_C(65536)
 
#define BMI160SUPPORT_1000S_RANGE   UINT16_C(1000)
 
#define BMI160SUPPORT_125S_RANGE   UINT16_C(125)
 
#define BMI160SUPPORT_2000S_RANGE   UINT16_C(2000)
 
#define BMI160SUPPORT_250S_RANGE   UINT16_C(250)
 
#define BMI160SUPPORT_500S_RANGE   UINT16_C(500)
 
#define C_BMG160_10MS_SLEEP_DURN_U8X   UINT8_C(4)
 
#define C_BMG160_15MS_SLEEP_DURN_U8X   UINT8_C(5)
 
#define C_BMG160_20MS_SLEEP_DURN_U8X   UINT8_C(6)
 
#define C_BMG160_4MS_SLEEP_DURN_U8X   UINT8_C(1)
 
#define C_BMG160_5MS_SLEEP_DURN_U8X   UINT8_C(2)
 
#define C_BMG160_8MS_SLEEP_DURN_U8X   UINT8_C(3)
 
#define C_BMG160_NO_SLEEP_DURN_U8X   UINT8_C(0)
 
#define FILTERED_LOW_BANDWIDTH   UINT8_C(0) /*< used to set low bandwidth*/
 
#define GET_MAPPING_ERROR   INT8_C(-2)
 
#define INIT_DONE   UINT8_C(1)
 
#define INIT_NOT_DONE   UINT8_C(0)
 
#define PACKAGE_ID_DEFAULT   UINT32_C(0)
 

Detailed Description

This module Defines the Macros which were used in the Gyroscope.c

Macro Definition Documentation

#define BCDS_BMG160_10MS_AUTO_SLEEP_DURN_U8X   UINT8_C(4)
#define BCDS_BMG160_15MS_AUTO_SLEEP_DURN_U8X   UINT8_C(5)
#define BCDS_BMG160_20MS_AUTO_SLEEP_DURN_U8X   UINT8_C(6)
#define BCDS_BMG160_40MS_AUTO_SLEEP_DURN_U8X   UINT8_C(7)
#define BCDS_BMG160_4MS_AUTO_SLEEP_DURN_U8X   UINT8_C(1)
#define BCDS_BMG160_5MS_AUTO_SLEEP_DURN_U8X   UINT8_C(2)
#define BCDS_BMG160_8MS_AUTO_SLEEP_DURN_U8X   UINT8_C(3)
#define BCDS_BMG160_NO_AUTO_SLEEP_DURN_U8X   UINT8_C(0)
#define BCDS_BMI160_GYRO_MODE_FASTSTARTUP   UINT8_C(0x03)
#define BCDS_BMI160_GYRO_MODE_NORMAL   UINT8_C(0x01)
#define BCDS_BMI160_GYRO_MODE_SUSPEND   UINT8_C(0x00)
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_100HZ   UINT8_C(0x08)
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_1600HZ   UINT8_C(0x0C)
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_200HZ   UINT8_C(0x09 )
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_25HZ   UINT8_C(0x06)

macros used for output data rate ranges for the Gyroscope

#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_3200HZ   UINT8_C(0x0D )
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_400HZ   UINT8_C(0x0A )
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_50HZ   UINT8_C(0x07 )
#define BCDS_BMI160_GYRO_OUTPUT_DATA_RATE_800HZ   UINT8_C(0x0B )
#define BCDS_BMI160_GYRO_RANGE_1000_DEG_SEC   UINT8_C(0x01)
#define BCDS_BMI160_GYRO_RANGE_125_DEG_SEC   UINT8_C(0x04)
#define BCDS_BMI160_GYRO_RANGE_2000_DEG_SEC   UINT8_C(0x00)
#define BCDS_BMI160_GYRO_RANGE_250_DEG_SEC   UINT8_C(0x03)
#define BCDS_BMI160_GYRO_RANGE_500_DEG_SEC   UINT8_C(0x02)
#define BMG160MODE_NORMAL   UINT8_C(0)

macros used for settings the ranges for the power mode

#define BMG160MODE_SUSPEND   UINT8_C(2)
#define BMG160S_GYRO_MILLIDEGREE   INT32_C(1000)
#define BMG160S_GYRO_RESOLUTION   INT32_C(65536)
#define BMG160SUPPORT_1000S_RANGE   UINT16_C(1000)
#define BMG160SUPPORT_125S_RANGE   UINT16_C(125)

macros used for settings the ranges for the Gyroscope BMG160

#define BMG160SUPPORT_2000S_RANGE   UINT16_C(2000)
#define BMG160SUPPORT_250S_RANGE   UINT16_C(250)
#define BMG160SUPPORT_500S_RANGE   UINT16_C(500)
#define BMG160SUPPORT_BSTLIB_1000S_RANGE   UINT8_C(0x01)
#define BMG160SUPPORT_BSTLIB_125S_RANGE   UINT8_C(0x04)
#define BMG160SUPPORT_BSTLIB_2000S_RANGE   UINT8_C(0x00)
#define BMG160SUPPORT_BSTLIB_250S_RANGE   UINT8_C(0x03)
#define BMG160SUPPORT_BSTLIB_500S_RANGE   UINT8_C(0x02)
#define BMI160S_GYRO_MILLIDEGREE   INT32_C(1000)
#define BMI160S_GYRO_RESOLUTION   INT32_C(65536)

macros used for getting one bit resolution on a 16 bit gyro data

#define BMI160SUPPORT_1000S_RANGE   UINT16_C(1000)
#define BMI160SUPPORT_125S_RANGE   UINT16_C(125)

macros used for settings the ranges for the Gyroscope BMI160

#define BMI160SUPPORT_2000S_RANGE   UINT16_C(2000)
#define BMI160SUPPORT_250S_RANGE   UINT16_C(250)
#define BMI160SUPPORT_500S_RANGE   UINT16_C(500)
#define C_BMG160_10MS_SLEEP_DURN_U8X   UINT8_C(4)
#define C_BMG160_15MS_SLEEP_DURN_U8X   UINT8_C(5)
#define C_BMG160_20MS_SLEEP_DURN_U8X   UINT8_C(6)
#define C_BMG160_4MS_SLEEP_DURN_U8X   UINT8_C(1)
#define C_BMG160_5MS_SLEEP_DURN_U8X   UINT8_C(2)
#define C_BMG160_8MS_SLEEP_DURN_U8X   UINT8_C(3)
#define C_BMG160_NO_SLEEP_DURN_U8X   UINT8_C(0)

macros used for settings the auto sleep duration ranges for the Gyroscope

#define FILTERED_LOW_BANDWIDTH   UINT8_C(0) /*< used to set low bandwidth*/
#define GET_MAPPING_ERROR   INT8_C(-2)
#define INIT_DONE   UINT8_C(1)
#define INIT_NOT_DONE   UINT8_C(0)
#define PACKAGE_ID_DEFAULT   UINT32_C(0)

default package ID


This documentation file has been automatically generated on Fri Oct 4 2019 03:47:29 by doxygen 1.8.8