inclinometer4
2.1.0.0
|
Settings for registers of Inclinometer 4 Click driver. More...
Settings for registers of Inclinometer 4 Click driver.
#define INCLINOMETER4_DEVICE_ADDRESS_0 0x18 |
Inclinometer 4 device address setting.
Specified setting for device slave address selection of Inclinometer 4 Click driver.
#define INCLINOMETER4_DEVICE_ADDRESS_1 0x19 |
#define INCLINOMETER4_FSR_16G 3 |
#define INCLINOMETER4_FSR_2G 0 |
Inclinometer 4 FSR setting.
Specified setting for FSR of Inclinometer 4 Click driver.
#define INCLINOMETER4_FSR_4G 1 |
#define INCLINOMETER4_FSR_8G 2 |
#define INCLINOMETER4_INT_EN_ASLP 0x04 |
#define INCLINOMETER4_INT_EN_BOOT_DIS 0x02 |
#define INCLINOMETER4_INT_EN_BUF 0x40 |
#define INCLINOMETER4_INT_EN_DRDY 0x80 |
Inclinometer 4 INT_EN register setting.
Specified setting for INT_EN register of Inclinometer 4 Click driver.
#define INCLINOMETER4_INT_EN_ORIENT 0x08 |
#define INCLINOMETER4_INT_EN_SDCD_OT 0x20 |
#define INCLINOMETER4_INT_EN_SDCD_WT 0x10 |
#define INCLINOMETER4_INT_EN_WAKE_OUT 0x01 |
#define INCLINOMETER4_INT_PIN_SEL_ASLP_INT2 0x04 |
#define INCLINOMETER4_INT_PIN_SEL_BOOT_INT2 0x02 |
#define INCLINOMETER4_INT_PIN_SEL_BUF_INT2 0x40 |
#define INCLINOMETER4_INT_PIN_SEL_DRDY_INT2 0x80 |
Inclinometer 4 INT_PIN_SEL register setting.
Specified setting for INT_PIN_SEL register of Inclinometer 4 Click driver.
#define INCLINOMETER4_INT_PIN_SEL_ORIENT_INT2 0x08 |
#define INCLINOMETER4_INT_PIN_SEL_SDCD_OT_INT2 0x20 |
#define INCLINOMETER4_INT_PIN_SEL_SDCD_WT_INT2 0x10 |
#define INCLINOMETER4_INT_PIN_SEL_WAKE_OUT_INT2 0x01 |
#define INCLINOMETER4_INT_STATUS_SRC_ASLP 0x02 |
#define INCLINOMETER4_INT_STATUS_SRC_BOOT 0x01 |
#define INCLINOMETER4_INT_STATUS_SRC_BUF 0x20 |
#define INCLINOMETER4_INT_STATUS_SRC_DRDY 0x80 |
Inclinometer 4 INT_STATUS register setting.
Specified setting for INT_STATUS register of Inclinometer 4 Click driver.
#define INCLINOMETER4_INT_STATUS_SRC_ORIENT 0x04 |
#define INCLINOMETER4_INT_STATUS_SRC_OVF 0x40 |
#define INCLINOMETER4_INT_STATUS_SRC_SDCD_OT 0x10 |
#define INCLINOMETER4_INT_STATUS_SRC_SDCD_WT 0x08 |
#define INCLINOMETER4_LSB_PER_G_FSR_16G 128 |
#define INCLINOMETER4_LSB_PER_G_FSR_2G 1024 |
Inclinometer 4 LSB/g setting.
Specified setting for LSB/g of Inclinometer 4 Click driver.
#define INCLINOMETER4_LSB_PER_G_FSR_4G 512 |
#define INCLINOMETER4_LSB_PER_G_FSR_8G 256 |
#define INCLINOMETER4_MODE_ACTIVE 1 |
#define INCLINOMETER4_MODE_STANDBY 0 |
Inclinometer 4 operating mode setting.
Specified setting for operating mode of Inclinometer 4 Click driver.
#define INCLINOMETER4_ODR_0_781_HZ 12 |
#define INCLINOMETER4_ODR_100_HZ 5 |
#define INCLINOMETER4_ODR_12_5_HZ 8 |
#define INCLINOMETER4_ODR_1600_HZ 1 |
#define INCLINOMETER4_ODR_1_563_HZ 11 |
#define INCLINOMETER4_ODR_200_HZ 4 |
#define INCLINOMETER4_ODR_25_HZ 7 |
#define INCLINOMETER4_ODR_3200_HZ 0 |
Inclinometer 4 ODR setting.
Specified setting for ODR of Inclinometer 4 Click driver.
#define INCLINOMETER4_ODR_3_125_HZ 10 |
#define INCLINOMETER4_ODR_400_HZ 3 |
#define INCLINOMETER4_ODR_50_HZ 6 |
#define INCLINOMETER4_ODR_6_25_HZ 9 |
#define INCLINOMETER4_ODR_800_HZ 2 |
#define INCLINOMETER4_SENS_CONFIG1_FSR_16G 0x06 |
#define INCLINOMETER4_SENS_CONFIG1_FSR_2G 0x00 |
#define INCLINOMETER4_SENS_CONFIG1_FSR_4G 0x02 |
#define INCLINOMETER4_SENS_CONFIG1_FSR_8G 0x04 |
#define INCLINOMETER4_SENS_CONFIG1_FSR_MASK 0x06 |
#define INCLINOMETER4_SENS_CONFIG1_MODE_ACTIVE 0x01 |
#define INCLINOMETER4_SENS_CONFIG1_MODE_MASK 0x01 |
#define INCLINOMETER4_SENS_CONFIG1_MODE_STANDBY 0x00 |
#define INCLINOMETER4_SENS_CONFIG1_RST 0x80 |
Inclinometer 4 SENS_CONFIG1 register setting.
Specified setting for SENS_CONFIG1 register of Inclinometer 4 Click driver.
#define INCLINOMETER4_SENS_CONFIG1_SPI_M_3_WIRE 0x08 |
#define INCLINOMETER4_SENS_CONFIG1_SPI_M_4_WIRE 0x00 |
#define INCLINOMETER4_SENS_CONFIG1_SPI_M_MASK 0x08 |
#define INCLINOMETER4_SENS_CONFIG1_ST_AXIS_SEL_DIS 0x00 |
#define INCLINOMETER4_SENS_CONFIG1_ST_AXIS_SEL_MASK 0x60 |
#define INCLINOMETER4_SENS_CONFIG1_ST_AXIS_SEL_X 0x20 |
#define INCLINOMETER4_SENS_CONFIG1_ST_AXIS_SEL_Y 0x40 |
#define INCLINOMETER4_SENS_CONFIG1_ST_AXIS_SEL_Z 0x60 |
#define INCLINOMETER4_SENS_CONFIG1_ST_POL 0x10 |
#define INCLINOMETER4_SENS_CONFIG3_SLEEP_ODR_MASK 0x0F |
#define INCLINOMETER4_SENS_CONFIG3_WAKE_ODR_MASK 0xF0 |
Inclinometer 4 SENS_CONFIG3 register setting.
Specified setting for SENS_CONFIG3 register of Inclinometer 4 Click driver.
#define INCLINOMETER4_SENS_CONFIG4_DRDY_PUL 0x08 |
#define INCLINOMETER4_SENS_CONFIG4_EXT_TRIG_M 0x80 |
Inclinometer 4 SENS_CONFIG4 register setting.
Specified setting for SENS_CONFIG4 register of Inclinometer 4 Click driver.
#define INCLINOMETER4_SENS_CONFIG4_INT2_FUNC 0x04 |
#define INCLINOMETER4_SENS_CONFIG4_INT_POL 0x01 |
#define INCLINOMETER4_SENS_CONFIG4_INT_PP_OD 0x02 |
#define INCLINOMETER4_SENS_CONFIG4_WAKE_ORIENT 0x10 |
#define INCLINOMETER4_SENS_CONFIG4_WAKE_SDCD_OT 0x20 |
#define INCLINOMETER4_SENS_CONFIG4_WAKE_SDCD_WT 0x40 |
#define INCLINOMETER4_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define INCLINOMETER4_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define INCLINOMETER4_TEMP_OFFSET 25 |
Inclinometer 4 temperature offset setting.
Specified setting for temperature offset of Inclinometer 4 Click driver.
#define INCLINOMETER4_WHO_AM_I 0x83 |
Inclinometer 4 WHO_AM_I register setting.
Specified setting for WHO_AM_I register of Inclinometer 4 Click driver.