|
#define | SMARTDOF2_DEVICE_ID 0x70 |
| Smart DOF 2 SMARTDOF2_REG_WHO_AM_I register value.
|
|
#define | SMARTDOF2_IF_INC_DISABLE 0x00 |
| Smart DOF 2 SMARTDOF2_REG_CTRL3 register value.
|
|
#define | SMARTDOF2_IF_INC_ENABLE 0x04 |
|
#define | SMARTDOF2_IF_INC_BIT_MASK 0xFB |
|
#define | SMARTDOF2_BDU_DISABLE 0x00 |
|
#define | SMARTDOF2_BDU_ENABLE 0x40 |
|
#define | SMARTDOF2_BDU_BIT_MASK 0xBF |
|
#define | SMARTDOF2_FIFO_MODE_BYPASS 0x00 |
| Smart DOF 2 SMARTDOF2_REG_FIFO_CTRL4 register value.
|
|
#define | SMARTDOF2_FIFO_MODE_FIFO 0x01 |
|
#define | SMARTDOF2_FIFO_MODE_STREAM_WTM_TO_FULL 0x02 |
|
#define | SMARTDOF2_FIFO_MODE_STREAM_TO_FIFO 0x03 |
|
#define | SMARTDOF2_FIFO_MODE_BYPASS_TO_STREAM 0x04 |
|
#define | SMARTDOF2_FIFO_MODE_STREAM 0x06 |
|
#define | SMARTDOF2_FIFO_MODE_BYPASS_TO_FIFO 0x07 |
|
#define | SMARTDOF2_FIFO_MODE_BIT_MASK 0xF8 |
|
#define | SMARTDOF2_ODR_OFF 0x00 |
| Smart DOF 2 SMARTDOF2_REG_CTRL1 register value.
|
|
#define | SMARTDOF2_ODR_AT_1Hz875 0x01 |
|
#define | SMARTDOF2_ODR_AT_7Hz5 0x02 |
|
#define | SMARTDOF2_ODR_AT_15Hz 0x03 |
|
#define | SMARTDOF2_ODR_AT_30Hz 0x04 |
|
#define | SMARTDOF2_ODR_AT_60Hz 0x05 |
|
#define | SMARTDOF2_ODR_AT_120Hz 0x06 |
|
#define | SMARTDOF2_ODR_AT_240Hz 0x07 |
|
#define | SMARTDOF2_ODR_AT_480Hz 0x08 |
|
#define | SMARTDOF2_ODR_AT_960Hz 0x09 |
|
#define | SMARTDOF2_ODR_AT_1920Hz 0x0A |
|
#define | SMARTDOF2_ODR_AT_3840Hz 0x0B |
|
#define | SMARTDOF2_ODR_AT_7680Hz 0x0C |
|
#define | SMARTDOF2_ODR_BIT_MASK 0xF0 |
|
#define | SMARTDOF2_XL_FULL_SCALE_2g 0x00 |
| Smart DOF 2 SMARTDOF2_REG_CTRL2/8 register value.
|
|
#define | SMARTDOF2_XL_FULL_SCALE_4g 0x01 |
|
#define | SMARTDOF2_XL_FULL_SCALE_8g 0x02 |
|
#define | SMARTDOF2_XL_FULL_SCALE_16g 0x03 |
|
#define | SMARTDOF2_XL_FULL_SCALE_BIT_MASK 0xF8 |
|
#define | SMARTDOF2_GY_FULL_SCALE_125dps 0x00 |
| Smart DOF 2 SMARTDOF2_REG_CTRL6 register value.
|
|
#define | SMARTDOF2_GY_FULL_SCALE_250dps 0x01 |
|
#define | SMARTDOF2_GY_FULL_SCALE_500dps 0x02 |
|
#define | SMARTDOF2_GY_FULL_SCALE_1000dps 0x03 |
|
#define | SMARTDOF2_GY_FULL_SCALE_2000dps 0x04 |
|
#define | SMARTDOF2_GY_FULL_SCALE_4000dps 0x0C |
|
#define | SMARTDOF2_GY_FULL_SCALE_BIT_MASK 0xF0 |
|
#define | SMARTDOF2_ACC_SENSITIVITY_FS_2g 0.061 |
| Smart DOF 2 accel sensitivity data value.
|
|
#define | SMARTDOF2_ACC_SENSITIVITY_FS_4g 0.122 |
|
#define | SMARTDOF2_ACC_SENSITIVITY_FS_8g 0.244 |
|
#define | SMARTDOF2_ACC_SENSITIVITY_FS_16g 0.488 |
|
#define | SMARTDOF2_GYRO_SENSITIVITY_FS_125dps 4.375 |
| Smart DOF 2 gyro sensitivity data value.
|
|
#define | SMARTDOF2_GYRO_SENSITIVITY_FS_250dps 8.750 |
|
#define | SMARTDOF2_GYRO_SENSITIVITY_FS_500dps 17.500 |
|
#define | SMARTDOF2_GYRO_SENSITIVITY_FS_1000dps 35.000 |
|
#define | SMARTDOF2_GYRO_SENSITIVITY_FS_2000dps 70.000 |
|
#define | SMARTDOF2_GYRO_SENSITIVITY_FS_4000dps 140.000 |
|
#define | SMARTDOF2_DEVICE_ADDRESS_GND 0x6A |
| Smart DOF 2 device address setting.
|
|
#define | SMARTDOF2_DEVICE_ADDRESS_VCC 0x6B |
|
#define | SMARTDOF2_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
| Data sample selection.
|
|
#define | SMARTDOF2_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
|