accelpressure 2.1.0.0
|
Settings for registers of AccelPressure Click driver. More...
Settings for registers of AccelPressure Click driver.
#define ACCELPRESSURE_ACC_DEVICE_ID_VAL 0x86 |
AccelPressure accelerometer device ID data values.
Device ID data values of AccelPressure Click driver.
#define ACCELPRESSURE_ACC_FSR_SEL_16G 0x03 |
#define ACCELPRESSURE_ACC_FSR_SEL_2G 0x00 |
AccelPressure accelerometer full-scale measurement range (FSR) selection.
Full-scale measurement range (FSR) selection of AccelPressure Click driver.
#define ACCELPRESSURE_ACC_FSR_SEL_4G 0x01 |
#define ACCELPRESSURE_ACC_FSR_SEL_8G 0x02 |
#define ACCELPRESSURE_ACC_FSR_SEL_BIT_MASK 0xF9 |
#define ACCELPRESSURE_ACC_FSR_SENS_VAL_16G 7.81f |
#define ACCELPRESSURE_ACC_FSR_SENS_VAL_2G 0.98f |
AccelPressure accelerometer nominal sensitivity data values.
Nominal sensitivity data values of AccelPressure Click driver.
#define ACCELPRESSURE_ACC_FSR_SENS_VAL_4G 1.95f |
#define ACCELPRESSURE_ACC_FSR_SENS_VAL_8G 3.91f |
#define ACCELPRESSURE_ACC_INT_EN_DRDY_DIS 0x00 |
AccelPressure accelerometer data-ready interrupt output enable data values.
Data-ready interrupt output enable data values of AccelPressure Click driver.
#define ACCELPRESSURE_ACC_INT_EN_DRDY_EN 0x80 |
#define ACCELPRESSURE_ACC_OP_MODE_ACTIVE 0x01 |
#define ACCELPRESSURE_ACC_OP_MODE_BIT_MASK 0xFE |
#define ACCELPRESSURE_ACC_OP_MODE_STANDBY 0x00 |
AccelPressure accelerometer operating mode data values.
Operating mode data values of AccelPressure Click driver.
#define ACCELPRESSURE_ACC_SRC_BOOT_COMPLETED 0x01 |
AccelPressure accelerometer nominal sensitivity data values.
Nominal sensitivity data values of AccelPressure Click driver.
#define ACCELPRESSURE_ACC_SW_RESET_BIT_MASK 0x80 |
AccelPressure accelerometer SW reset bit mask data values.
SW reset bit mask data values of AccelPressure Click driver.
#define ACCELPRESSURE_DEVICE_ADDRESS_ACCEL 0x18 |
AccelPressure device address setting.
Specified setting for device slave address selection of AccelPressure Click driver.
#define ACCELPRESSURE_DEVICE_ADDRESS_PRESS 0x60 |
#define ACCELPRESSURE_PRESS_CONVERT_PA_TO_MBAR 100.0f |
#define ACCELPRESSURE_PRESS_CTRL1_ALT 0x80 |
#define ACCELPRESSURE_PRESS_CTRL1_ALT_ALTI 0x80 |
#define ACCELPRESSURE_PRESS_CTRL1_ALT_BARO 0x00 |
AccelPressure pressure control register 1 bit mask.
Control register 1 bit mask of AccelPressure Click driver.
#define ACCELPRESSURE_PRESS_CTRL1_ALT_BITMASK 0x7F |
#define ACCELPRESSURE_PRESS_CTRL1_BAR 0x00 |
#define ACCELPRESSURE_PRESS_CTRL1_CLR 0x03 |
#define ACCELPRESSURE_PRESS_CTRL1_OS128_512MS 0x38 |
#define ACCELPRESSURE_PRESS_CTRL1_OS16_66MS 0x20 |
#define ACCELPRESSURE_PRESS_CTRL1_OS1_6MS 0x00 |
#define ACCELPRESSURE_PRESS_CTRL1_OS2_10MS 0x08 |
#define ACCELPRESSURE_PRESS_CTRL1_OS32_130MS 0x28 |
#define ACCELPRESSURE_PRESS_CTRL1_OS4_18MS 0x10 |
#define ACCELPRESSURE_PRESS_CTRL1_OS64_258MS 0x30 |
#define ACCELPRESSURE_PRESS_CTRL1_OS8_34MS 0x18 |
#define ACCELPRESSURE_PRESS_CTRL1_OST 0x02 |
#define ACCELPRESSURE_PRESS_CTRL1_RAW 0x40 |
#define ACCELPRESSURE_PRESS_CTRL1_RST 0x04 |
#define ACCELPRESSURE_PRESS_CTRL1_SBYB 0x01 |
#define ACCELPRESSURE_PRESS_CTRL3_INT1_OD 0x10 |
#define ACCELPRESSURE_PRESS_CTRL3_INT1_POL_HIGH 0x20 |
AccelPressure pressure control register 3 bit mask.
Control register 3 bit mask of AccelPressure Click driver.
#define ACCELPRESSURE_PRESS_CTRL3_INT1_POL_LOW 0x00 |
#define ACCELPRESSURE_PRESS_CTRL3_INT2_OD 0x01 |
#define ACCELPRESSURE_PRESS_CTRL3_INT2_POL_HIGH 0x02 |
#define ACCELPRESSURE_PRESS_CTRL3_INT2_POL_LOW 0x00 |
#define ACCELPRESSURE_PRESS_CTRL4_INT_DIS_ALL 0x00 |
#define ACCELPRESSURE_PRESS_CTRL4_INT_EN_DRDY 0x80 |
AccelPressure pressure control register 4 bit mask.
Control register 4 bit mask of AccelPressure Click driver.
#define ACCELPRESSURE_PRESS_CTRL4_INT_EN_FIFO 0x40 |
#define ACCELPRESSURE_PRESS_CTRL4_INT_EN_PCHG 0x02 |
#define ACCELPRESSURE_PRESS_CTRL4_INT_EN_PTH 0x08 |
#define ACCELPRESSURE_PRESS_CTRL4_INT_EN_PW 0x20 |
#define ACCELPRESSURE_PRESS_CTRL4_INT_EN_TCHG 0x01 |
#define ACCELPRESSURE_PRESS_CTRL4_INT_EN_TTH 0x04 |
#define ACCELPRESSURE_PRESS_CTRL4_INT_EN_TW 0x10 |
#define ACCELPRESSURE_PRESS_CTRL5_INT1_DRDY 0x80 |
AccelPressure pressure control register 5 bit mask.
Control register 5 bit mask of AccelPressure Click driver.
#define ACCELPRESSURE_PRESS_CTRL5_INT1_FIFO 0x40 |
#define ACCELPRESSURE_PRESS_CTRL5_INT1_PCHG 0x02 |
#define ACCELPRESSURE_PRESS_CTRL5_INT1_PTH 0x08 |
#define ACCELPRESSURE_PRESS_CTRL5_INT1_PW 0x20 |
#define ACCELPRESSURE_PRESS_CTRL5_INT1_TCHG 0x01 |
#define ACCELPRESSURE_PRESS_CTRL5_INT1_TTH 0x04 |
#define ACCELPRESSURE_PRESS_CTRL5_INT1_TW 0x10 |
#define ACCELPRESSURE_PRESS_CTRL5_INT2_DRDY 0x00 |
#define ACCELPRESSURE_PRESS_CTRL5_INT2_FIFO 0x00 |
#define ACCELPRESSURE_PRESS_CTRL5_INT2_PCHG 0x00 |
#define ACCELPRESSURE_PRESS_CTRL5_INT2_PTH 0x00 |
#define ACCELPRESSURE_PRESS_CTRL5_INT2_PW 0x00 |
#define ACCELPRESSURE_PRESS_CTRL5_INT2_TCHG 0x00 |
#define ACCELPRESSURE_PRESS_CTRL5_INT2_TTH 0x00 |
#define ACCELPRESSURE_PRESS_CTRL5_INT2_TW 0x00 |
#define ACCELPRESSURE_PRESS_F_SETUP_FIFO_CIR_BUFF 0x40 |
#define ACCELPRESSURE_PRESS_F_SETUP_FIFO_DISABLE 0x00 |
AccelPressure pressure FIFO setup register bit mask.
FIFO setup register bit mask of AccelPressure Click driver.
#define ACCELPRESSURE_PRESS_F_SETUP_FIFO_STOP_MODE 0x80 |
#define ACCELPRESSURE_PRESS_INT_SOURCE_FLAG_DRDY 0x80 |
AccelPressure pressure interrupt source flag data values.
Interrupt source flag data values of AccelPressure Click driver.
#define ACCELPRESSURE_PRESS_INT_SOURCE_FLAG_FIFO 0x40 |
#define ACCELPRESSURE_PRESS_INT_SOURCE_FLAG_PCHG 0x02 |
#define ACCELPRESSURE_PRESS_INT_SOURCE_FLAG_PTH 0x08 |
#define ACCELPRESSURE_PRESS_INT_SOURCE_FLAG_PW 0x20 |
#define ACCELPRESSURE_PRESS_INT_SOURCE_FLAG_TCHG 0x01 |
#define ACCELPRESSURE_PRESS_INT_SOURCE_FLAG_TTH 0x04 |
#define ACCELPRESSURE_PRESS_INT_SOURCE_FLAG_TW 0x10 |
#define ACCELPRESSURE_PRESS_MODE_ALTIMETER 0x01 |
#define ACCELPRESSURE_PRESS_MODE_BAROMETER 0x00 |
AccelPressure pressure operating mode data values.
Operating mode data values of AccelPressure Click driver.
#define ACCELPRESSURE_PRESS_PRESSURE_SENS 0.25f |
AccelPressure pressure and temperature calculation data values.
Sensor data register bit mask of AccelPressure Click driver.
#define ACCELPRESSURE_PRESS_PT_DATA_ALL_EVENTS_DIS 0x00 |
#define ACCELPRESSURE_PRESS_PT_DATA_DR_EVENT_EN 0x04 |
AccelPressure pressure sensor data register bit mask.
Sensor data register bit mask of AccelPressure Click driver.
#define ACCELPRESSURE_PRESS_PT_DATA_PD_EVENT_EN 0x02 |
#define ACCELPRESSURE_PRESS_PT_DATA_TD_EVENT_EN 0x01 |
#define ACCELPRESSURE_PRESS_STATUS_FLAG_PDR 0x04 |
#define ACCELPRESSURE_PRESS_STATUS_FLAG_POW 0x40 |
#define ACCELPRESSURE_PRESS_STATUS_FLAG_PTDR 0x08 |
#define ACCELPRESSURE_PRESS_STATUS_FLAG_PTOW 0x80 |
#define ACCELPRESSURE_PRESS_STATUS_FLAG_TDR 0x02 |
AccelPressure pressure status data values.
Status data values of AccelPressure Click driver.
#define ACCELPRESSURE_PRESS_STATUS_FLAG_TOW 0x20 |
#define ACCELPRESSURE_PRESS_TEMP_SENS 0.0625f |