c6dofimu20 2.1.0.0
|
Settings for registers of 6 DOF IMU 20 Click driver. More...
Settings for registers of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_ACC_CONF_ACC_AVG_NUM_0 0x0000 |
#define C6DOFIMU20_ACC_CONF_ACC_AVG_NUM_16 0x0400 |
#define C6DOFIMU20_ACC_CONF_ACC_AVG_NUM_2 0x0100 |
#define C6DOFIMU20_ACC_CONF_ACC_AVG_NUM_32 0x0500 |
#define C6DOFIMU20_ACC_CONF_ACC_AVG_NUM_4 0x0200 |
#define C6DOFIMU20_ACC_CONF_ACC_AVG_NUM_64 0x0600 |
#define C6DOFIMU20_ACC_CONF_ACC_AVG_NUM_8 0x0300 |
#define C6DOFIMU20_ACC_CONF_ACC_BW_DIV_2 0x0000 |
#define C6DOFIMU20_ACC_CONF_ACC_BW_DIV_4 0x0080 |
#define C6DOFIMU20_ACC_CONF_ACC_MODE_CONSTANT_OPERATION 0x4000 |
#define C6DOFIMU20_ACC_CONF_ACC_MODE_DIS 0x0000 |
#define C6DOFIMU20_ACC_CONF_ACC_MODE_DUTY_CYCLING 0x3000 |
#define C6DOFIMU20_ACC_CONF_ACC_MODE_HIGH_PERFORMANCE 0x7000 |
#define C6DOFIMU20_ACC_CONF_ACC_RANGE_16G 0x0030 |
#define C6DOFIMU20_ACC_CONF_ACC_RANGE_2G 0x0000 |
#define C6DOFIMU20_ACC_CONF_ACC_RANGE_4G 0x0010 |
#define C6DOFIMU20_ACC_CONF_ACC_RANGE_8G 0x0020 |
#define C6DOFIMU20_ACC_CONF_ODR_0POINT78125_Hz 0x0001 |
6 DOF IMU 20 ACC_CONF register setting.
Specified ACC_CONF register setting of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_ACC_CONF_ODR_100_Hz 0x0008 |
#define C6DOFIMU20_ACC_CONF_ODR_12POINT5_Hz 0x0005 |
#define C6DOFIMU20_ACC_CONF_ODR_1POINT5625_Hz 0x0002 |
#define C6DOFIMU20_ACC_CONF_ODR_1POINT6_kHz 0x000C |
#define C6DOFIMU20_ACC_CONF_ODR_200_Hz 0x0009 |
#define C6DOFIMU20_ACC_CONF_ODR_25_Hz 0x0006 |
#define C6DOFIMU20_ACC_CONF_ODR_3POINT125_Hz 0x0003 |
#define C6DOFIMU20_ACC_CONF_ODR_3POINT2_kHz 0x000D |
#define C6DOFIMU20_ACC_CONF_ODR_400_Hz 0x000A |
#define C6DOFIMU20_ACC_CONF_ODR_50_Hz 0x0007 |
#define C6DOFIMU20_ACC_CONF_ODR_6POINT25_Hz 0x0004 |
#define C6DOFIMU20_ACC_CONF_ODR_6POINT4_kHz 0x000E |
#define C6DOFIMU20_ACC_CONF_ODR_800_Hz 0x000B |
#define C6DOFIMU20_CHIP_ID 0x43 |
6 DOF IMU 20 Chip ID.
Specified setting for chip id of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_DEVICE_ADDRESS_GND 0x68 |
6 DOF IMU 20 device address setting.
Specified setting for device slave address selection of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_DEVICE_ADDRESS_VCC 0x69 |
#define C6DOFIMU20_GYR_CONF_GYR_AVG_NUM_0 0x0000 |
#define C6DOFIMU20_GYR_CONF_GYR_AVG_NUM_16 0x0400 |
#define C6DOFIMU20_GYR_CONF_GYR_AVG_NUM_2 0x0100 |
#define C6DOFIMU20_GYR_CONF_GYR_AVG_NUM_32 0x0500 |
#define C6DOFIMU20_GYR_CONF_GYR_AVG_NUM_4 0x0200 |
#define C6DOFIMU20_GYR_CONF_GYR_AVG_NUM_64 0x0600 |
#define C6DOFIMU20_GYR_CONF_GYR_AVG_NUM_8 0x0300 |
#define C6DOFIMU20_GYR_CONF_GYR_BW_DIV_2 0x0000 |
#define C6DOFIMU20_GYR_CONF_GYR_BW_DIV_4 0x0080 |
#define C6DOFIMU20_GYR_CONF_GYR_MODE_CONSTANT_OPERATION 0x4000 |
#define C6DOFIMU20_GYR_CONF_GYR_MODE_DIS 0x0000 |
#define C6DOFIMU20_GYR_CONF_GYR_MODE_DUTY_CYCLING 0x3000 |
#define C6DOFIMU20_GYR_CONF_GYR_MODE_HIGH_PERFORMANCE 0x7000 |
#define C6DOFIMU20_GYR_CONF_GYR_RANGE_16G 0x0030 |
#define C6DOFIMU20_GYR_CONF_GYR_RANGE_2G 0x0000 |
#define C6DOFIMU20_GYR_CONF_GYR_RANGE_4G 0x0010 |
#define C6DOFIMU20_GYR_CONF_GYR_RANGE_8G 0x0020 |
#define C6DOFIMU20_GYR_CONF_ODR_0POINT78125_Hz 0x0001 |
6 DOF IMU 20 GYR_CONF register setting.
Specified GYR_CONF register setting of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_GYR_CONF_ODR_100_Hz 0x0008 |
#define C6DOFIMU20_GYR_CONF_ODR_12POINT5_Hz 0x0005 |
#define C6DOFIMU20_GYR_CONF_ODR_1POINT5625_Hz 0x0002 |
#define C6DOFIMU20_GYR_CONF_ODR_1POINT6_kHz 0x000C |
#define C6DOFIMU20_GYR_CONF_ODR_200_Hz 0x0009 |
#define C6DOFIMU20_GYR_CONF_ODR_25_Hz 0x0006 |
#define C6DOFIMU20_GYR_CONF_ODR_3POINT125_Hz 0x0003 |
#define C6DOFIMU20_GYR_CONF_ODR_3POINT2_kHz 0x000D |
#define C6DOFIMU20_GYR_CONF_ODR_400_Hz 0x000A |
#define C6DOFIMU20_GYR_CONF_ODR_50_Hz 0x0007 |
#define C6DOFIMU20_GYR_CONF_ODR_6POINT25_Hz 0x0004 |
#define C6DOFIMU20_GYR_CONF_ODR_6POINT4_kHz 0x000E |
#define C6DOFIMU20_GYR_CONF_ODR_800_Hz 0x000B |
#define C6DOFIMU20_INT_CONF_INT_LATCH_DIS 0x0000 |
#define C6DOFIMU20_INT_CONF_INT_LATCH_EN 0x0001 |
6 DOF IMU 20 INT_CONF register setting.
Specified INT_CONF register setting of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_INT_MAP1_ANY_MOTION_OUT_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP1_ANY_MOTION_OUT_INT1 0x0004 |
#define C6DOFIMU20_INT_MAP1_ANY_MOTION_OUT_INT2 0x0008 |
#define C6DOFIMU20_INT_MAP1_FLAT_OUT_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP1_FLAT_OUT_INT1 0x0010 |
#define C6DOFIMU20_INT_MAP1_FLAT_OUT_INT2 0x0020 |
#define C6DOFIMU20_INT_MAP1_NO_MOTION_OUT_DIS 0x0000 |
6 DOF IMU 20 INT_MAP1 register setting.
Specified INT_MAP1 register setting of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_INT_MAP1_NO_MOTION_OUT_INT1 0x0001 |
#define C6DOFIMU20_INT_MAP1_NO_MOTION_OUT_INT2 0x0002 |
#define C6DOFIMU20_INT_MAP1_ORIENTATION_OUT_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP1_ORIENTATION_OUT_INT1 0x0040 |
#define C6DOFIMU20_INT_MAP1_ORIENTATION_OUT_INT2 0x0080 |
#define C6DOFIMU20_INT_MAP1_SIG_MOTION_OUT_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP1_SIG_MOTION_OUT_INT1 0x1000 |
#define C6DOFIMU20_INT_MAP1_SIG_MOTION_OUT_INT2 0x2000 |
#define C6DOFIMU20_INT_MAP1_STEP_COUNTER_OUT_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP1_STEP_COUNTER_OUT_INT1 0x0400 |
#define C6DOFIMU20_INT_MAP1_STEP_COUNTER_OUT_INT2 0x0800 |
#define C6DOFIMU20_INT_MAP1_STEP_DETECTOR_OUT_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP1_STEP_DETECTOR_OUT_INT1 0x0100 |
#define C6DOFIMU20_INT_MAP1_STEP_DETECTOR_OUT_INT2 0x0200 |
#define C6DOFIMU20_INT_MAP1_TILT_OUT_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP1_TILT_OUT_INT1 0x4000 |
#define C6DOFIMU20_INT_MAP1_TILT_OUT_INT2 0x8000 |
#define C6DOFIMU20_INT_MAP2_ACC_DRDY_INT_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP2_ACC_DRDY_INT_INT1 0x0400 |
#define C6DOFIMU20_INT_MAP2_ACC_DRDY_INT_INT2 0x0800 |
#define C6DOFIMU20_INT_MAP2_ERR_STATUS_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP2_ERR_STATUS_INT1 0x0010 |
#define C6DOFIMU20_INT_MAP2_ERR_STATUS_INT2 0x0020 |
#define C6DOFIMU20_INT_MAP2_FIFO_FULL_INT_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP2_FIFO_FULL_INT_INT1 0x4000 |
#define C6DOFIMU20_INT_MAP2_FIFO_FULL_INT_INT2 0x8000 |
#define C6DOFIMU20_INT_MAP2_FIFO_WATERMARK_INT_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP2_FIFO_WATERMARK_INT_INT1 0x1000 |
#define C6DOFIMU20_INT_MAP2_FIFO_WATERMARK_INT_INT2 0x2000 |
#define C6DOFIMU20_INT_MAP2_GYR_DRDY_INT_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP2_GYR_DRDY_INT_INT1 0x0100 |
#define C6DOFIMU20_INT_MAP2_GYR_DRDY_INT_INT2 0x0200 |
#define C6DOFIMU20_INT_MAP2_TAP_OUT_OUT_DIS 0x0000 |
6 DOF IMU 20 INT_MAP2 register setting.
Specified INT_MAP2 register setting of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_INT_MAP2_TAP_OUT_OUT_INT1 0x0001 |
#define C6DOFIMU20_INT_MAP2_TAP_OUT_OUT_INT2 0x0002 |
#define C6DOFIMU20_INT_MAP2_TEMP_DRDY_INT_DIS 0x0000 |
#define C6DOFIMU20_INT_MAP2_TEMP_DRDY_INT_INT1 0x0040 |
#define C6DOFIMU20_INT_MAP2_TEMP_DRDY_INT_INT2 0x0080 |
#define C6DOFIMU20_INT_STATUS_INT1_ACC_DRDY 0x2000 |
#define C6DOFIMU20_INT_STATUS_INT1_ANY_MOTION 0x0002 |
#define C6DOFIMU20_INT_STATUS_INT1_ERR_STATUS 0x0400 |
#define C6DOFIMU20_INT_STATUS_INT1_FFULL 0x8000 |
#define C6DOFIMU20_INT_STATUS_INT1_FLAT 0x0004 |
#define C6DOFIMU20_INT_STATUS_INT1_FWM 0x4000 |
#define C6DOFIMU20_INT_STATUS_INT1_GYR_DRDY 0x1000 |
#define C6DOFIMU20_INT_STATUS_INT1_NO_MOTION 0x0001 |
6 DOF IMU 20 INT_STATUS_INT1 register setting.
Specified INT_STATUS_INT1 register setting of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_INT_STATUS_INT1_ORIENTATION 0x0008 |
#define C6DOFIMU20_INT_STATUS_INT1_SIG_MOTION 0x0040 |
#define C6DOFIMU20_INT_STATUS_INT1_STEP_COUNTER 0x0020 |
#define C6DOFIMU20_INT_STATUS_INT1_STEP_DETECTOR 0x0010 |
#define C6DOFIMU20_INT_STATUS_INT1_TAP 0x0100 |
#define C6DOFIMU20_INT_STATUS_INT1_TEMP_DRDY 0x0800 |
#define C6DOFIMU20_INT_STATUS_INT1_TILT 0x0080 |
#define C6DOFIMU20_INT_STATUS_INT2_ACC_DRDY 0x2000 |
#define C6DOFIMU20_INT_STATUS_INT2_ANY_MOTION 0x0002 |
#define C6DOFIMU20_INT_STATUS_INT2_ERR_STATUS 0x0400 |
#define C6DOFIMU20_INT_STATUS_INT2_FFULL 0x8000 |
#define C6DOFIMU20_INT_STATUS_INT2_FLAT 0x0004 |
#define C6DOFIMU20_INT_STATUS_INT2_FWM 0x4000 |
#define C6DOFIMU20_INT_STATUS_INT2_GYR_DRDY 0x1000 |
#define C6DOFIMU20_INT_STATUS_INT2_NO_MOTION 0x0001 |
6 DOF IMU 20 INT_STATUS_INT2 register setting.
Specified INT_STATUS_INT2 register setting of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_INT_STATUS_INT2_ORIENTATION 0x0008 |
#define C6DOFIMU20_INT_STATUS_INT2_SIG_MOTION 0x0040 |
#define C6DOFIMU20_INT_STATUS_INT2_STEP_COUNTER 0x0020 |
#define C6DOFIMU20_INT_STATUS_INT2_STEP_DETECTOR 0x0010 |
#define C6DOFIMU20_INT_STATUS_INT2_TAP 0x0100 |
#define C6DOFIMU20_INT_STATUS_INT2_TEMP_DRDY 0x0800 |
#define C6DOFIMU20_INT_STATUS_INT2_TILT 0x0080 |
#define C6DOFIMU20_IO_INT_CTRL_INT1_LVL_ACTIVE_HIGH 0x0001 |
6 DOF IMU 20 IO_INT_CTRL register setting.
Specified IO_INT_CTRL register setting of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_IO_INT_CTRL_INT1_LVL_ACTIVE_LOW 0x0000 |
#define C6DOFIMU20_IO_INT_CTRL_INT1_OUTPUT_EN 0x0004 |
#define C6DOFIMU20_IO_INT_CTRL_INT1_OUTPUT_OPEN_DRAIN 0x0002 |
#define C6DOFIMU20_IO_INT_CTRL_INT1_OUTPUT_PUSH_PULL 0x0000 |
#define C6DOFIMU20_IO_INT_CTRL_INT2_LVL_ACTIVE_HIGH 0x0100 |
#define C6DOFIMU20_IO_INT_CTRL_INT2_LVL_ACTIVE_LOW 0x0000 |
#define C6DOFIMU20_IO_INT_CTRL_INT2_OUTPUT_EN 0x0400 |
#define C6DOFIMU20_IO_INT_CTRL_INT2_OUTPUT_OPEN_DRAIN 0x0200 |
#define C6DOFIMU20_IO_INT_CTRL_INT2_OUTPUT_PUSH_PULL 0x0000 |
#define C6DOFIMU20_REG_ERR_ACC_CONF_ERR_FLAG 0x0020 |
#define C6DOFIMU20_REG_ERR_FATAL_ERR_FLAG 0x0001 |
6 DOF IMU 20 ERR register setting.
Specified ERR register setting of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_REG_ERR_FEAT_ENG_OVRLD_FLAG 0x0004 |
#define C6DOFIMU20_REG_ERR_GYR_CONF_ERR_FLAG 0x0040 |
#define C6DOFIMU20_SAT_FLAGS_SATF_ACC_X_FLAG 0x0001 |
6 DOF IMU 20 SAT_FLAGS register setting.
Specified SAT_FLAGS register setting of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_SAT_FLAGS_SATF_ACC_Y_FLAG 0x0002 |
#define C6DOFIMU20_SAT_FLAGS_SATF_ACC_Z_FLAG 0x0004 |
#define C6DOFIMU20_SAT_FLAGS_SATF_GYR_X_FLAG 0x0008 |
#define C6DOFIMU20_SAT_FLAGS_SATF_GYR_Y_FLAG 0x0010 |
#define C6DOFIMU20_SAT_FLAGS_SATF_GYR_Z_FLAG 0x0020 |
#define C6DOFIMU20_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define C6DOFIMU20_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define C6DOFIMU20_STATUS_DRDY_ACC_FLAG 0x0080 |
#define C6DOFIMU20_STATUS_DRDY_GYR_FLAG 0x0040 |
#define C6DOFIMU20_STATUS_DRDY_TEMP_FLAG 0x0020 |
#define C6DOFIMU20_STATUS_POR_DETECTED_FLAG 0x0001 |
6 DOF IMU 20 STATUS register setting.
Specified STATUS register setting of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_SW_RESET_CMD 0xDEAF |
6 DOF IMU 20 description setting.
Specified setting for description of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_TEMP_CALC_DIVIDER 512 |
6 DOF IMU 20 temperature calculation setting.
Specified setting for temperature calculation of 6 DOF IMU 20 Click driver.
#define C6DOFIMU20_TEMP_CALC_VALUE 23 |