smartdof5
2.1.0.0
|
Settings for registers of Smart DOF 5 Click driver. More...
Settings for registers of Smart DOF 5 Click driver.
#define SMARTDOF5_ACCEL_FS_16G 1 |
#define SMARTDOF5_ACCEL_FS_2G 0 |
Smart DOF 5 accel full scale setting.
Specified setting for accel full scale of Smart DOF 5 Click driver.
#define SMARTDOF5_ACCEL_FS_4G 2 |
#define SMARTDOF5_ACCEL_FS_8G 3 |
#define SMARTDOF5_ACCEL_ODR_104_HZ 4 |
#define SMARTDOF5_ACCEL_ODR_12_5_HZ 1 |
#define SMARTDOF5_ACCEL_ODR_1667_HZ 8 |
#define SMARTDOF5_ACCEL_ODR_1_6_HZ 11 |
#define SMARTDOF5_ACCEL_ODR_208_HZ 5 |
#define SMARTDOF5_ACCEL_ODR_26_HZ 2 |
#define SMARTDOF5_ACCEL_ODR_3333_HZ 9 |
#define SMARTDOF5_ACCEL_ODR_417_HZ 6 |
#define SMARTDOF5_ACCEL_ODR_52_HZ 3 |
#define SMARTDOF5_ACCEL_ODR_6667_HZ 10 |
#define SMARTDOF5_ACCEL_ODR_833_HZ 7 |
#define SMARTDOF5_ACCEL_ODR_OFF 0 |
Smart DOF 5 accel output data rate setting.
Specified setting for accel output data rate of Smart DOF 5 Click driver.
#define SMARTDOF5_ACCEL_SENS_G_PER_LSB 0.000061 |
Smart DOF 5 sensitivity setting.
Specified setting for sensitivity of Smart DOF 5 Click driver.
#define SMARTDOF5_CTRL1_XL_FS_MASK 0x0C |
#define SMARTDOF5_CTRL1_XL_LPF2_EN_MASK 0x02 |
#define SMARTDOF5_CTRL1_XL_ODR_MASK 0xF0 |
Smart DOF 5 CTRL1_XL register setting.
Specified setting for CTRL1_XL register of Smart DOF 5 Click driver.
#define SMARTDOF5_CTRL2_G_FS_125_MASK 0x02 |
#define SMARTDOF5_CTRL2_G_FS_4000_MASK 0x01 |
#define SMARTDOF5_CTRL2_G_FS_MASK 0x0C |
#define SMARTDOF5_CTRL2_G_ODR_MASK 0xF0 |
Smart DOF 5 CTRL2_G register setting.
Specified setting for CTRL2_G register of Smart DOF 5 Click driver.
#define SMARTDOF5_CTRL3_C_BDU 0x40 |
#define SMARTDOF5_CTRL3_C_BOOT 0x80 |
Smart DOF 5 CTRL3_C register setting.
Specified setting for CTRL3_C register of Smart DOF 5 Click driver.
#define SMARTDOF5_CTRL3_C_H_LACTIVE 0x20 |
#define SMARTDOF5_CTRL3_C_IF_INC 0x04 |
#define SMARTDOF5_CTRL3_C_PP_OD 0x10 |
#define SMARTDOF5_CTRL3_C_SIM 0x08 |
#define SMARTDOF5_CTRL3_C_SW_RESET 0x01 |
#define SMARTDOF5_CTRL9_XL_DEN_LH 0x04 |
#define SMARTDOF5_CTRL9_XL_DEN_X 0x80 |
Smart DOF 5 CTRL9_XL register setting.
Specified setting for CTRL9_XL register of Smart DOF 5 Click driver.
#define SMARTDOF5_CTRL9_XL_DEN_XL_EN 0x08 |
#define SMARTDOF5_CTRL9_XL_DEN_XL_G 0x10 |
#define SMARTDOF5_CTRL9_XL_DEN_Y 0x40 |
#define SMARTDOF5_CTRL9_XL_DEN_Z 0x20 |
#define SMARTDOF5_CTRL9_XL_I3C_DISABLE 0x02 |
#define SMARTDOF5_DEVICE_ADDRESS_0 0x6A |
Smart DOF 5 device address setting.
Specified setting for device slave address selection of Smart DOF 5 Click driver.
#define SMARTDOF5_DEVICE_ADDRESS_1 0x6B |
#define SMARTDOF5_FUNC_CFG_ACCESS_MASK 0xC0 |
Smart DOF 5 FUNC_CFG_ACCESS register setting.
Specified setting for FUNC_CFG_ACCESS register of Smart DOF 5 Click driver.
#define SMARTDOF5_GYRO_FS_1000DPS 2 |
#define SMARTDOF5_GYRO_FS_125DPS 5 |
#define SMARTDOF5_GYRO_FS_2000DPS 3 |
#define SMARTDOF5_GYRO_FS_250DPS 0 |
Smart DOF 5 gyro full scale setting.
Specified setting for gyro full scale of Smart DOF 5 Click driver.
#define SMARTDOF5_GYRO_FS_4000DPS 4 |
#define SMARTDOF5_GYRO_FS_500DPS 1 |
#define SMARTDOF5_GYRO_ODR_104_HZ 4 |
#define SMARTDOF5_GYRO_ODR_12_5_HZ 1 |
#define SMARTDOF5_GYRO_ODR_1667_HZ 8 |
#define SMARTDOF5_GYRO_ODR_208_HZ 5 |
#define SMARTDOF5_GYRO_ODR_26_HZ 2 |
#define SMARTDOF5_GYRO_ODR_3333_HZ 9 |
#define SMARTDOF5_GYRO_ODR_417_HZ 6 |
#define SMARTDOF5_GYRO_ODR_52_HZ 3 |
#define SMARTDOF5_GYRO_ODR_6667_HZ 10 |
#define SMARTDOF5_GYRO_ODR_833_HZ 7 |
#define SMARTDOF5_GYRO_ODR_OFF 0 |
Smart DOF 5 gyro output data rate setting.
Specified setting for gyro output data rate of Smart DOF 5 Click driver.
#define SMARTDOF5_GYRO_SENS_DPS_PER_LSB 0.004375 |
#define SMARTDOF5_INT1_CTRL_BOOT 0x04 |
#define SMARTDOF5_INT1_CTRL_CNT_BDR 0x40 |
#define SMARTDOF5_INT1_CTRL_DEN_DRDY 0x80 |
Smart DOF 5 WHO_AM_I register setting.
Specified setting for WHO_AM_I register of Smart DOF 5 Click driver.
#define SMARTDOF5_INT1_CTRL_DRDY_G 0x02 |
#define SMARTDOF5_INT1_CTRL_DRDY_XL 0x01 |
#define SMARTDOF5_INT1_CTRL_FIFO_FULL 0x20 |
#define SMARTDOF5_INT1_CTRL_FIFO_OVR 0x10 |
#define SMARTDOF5_INT1_CTRL_FIFO_TH 0x08 |
#define SMARTDOF5_MEM_BANK_EMBEDDED_FUNC 2 |
#define SMARTDOF5_MEM_BANK_SENSOR_HUB 1 |
#define SMARTDOF5_MEM_BANK_USER 0 |
Smart DOF 5 memory bank setting.
Specified setting for memory bank of Smart DOF 5 Click driver.
#define SMARTDOF5_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define SMARTDOF5_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define SMARTDOF5_STATUS_GDA 0x02 |
#define SMARTDOF5_STATUS_TDA 0x04 |
Smart DOF 5 STATUS register setting.
Specified setting for STATUS register of Smart DOF 5 Click driver.
#define SMARTDOF5_STATUS_XLDA 0x01 |
#define SMARTDOF5_TEMP_OFFSET 25.0 |
#define SMARTDOF5_TEMP_SENS_LSB_PER_C 256.0 |
#define SMARTDOF5_WHO_AM_I 0x6B |
Smart DOF 5 WHO_AM_I register setting.
Specified setting for WHO_AM_I register of Smart DOF 5 Click driver.