pressure23 2.1.0.0
|
Settings for registers of Pressure 23 Click driver. More...
Settings for registers of Pressure 23 Click driver.
#define PRESSURE23_CNV_ADC_BIT_MASK 0x01 |
#define PRESSURE23_CNV_ADC_REG_BIT_MASK 0x04 |
#define PRESSURE23_CNV_ADC_SEL_PRESS 0x00 |
Pressure 23 description of conversion selection and ADC selection data.
Specified conversion selection and ADC selection data of Pressure 23 Click driver.
#define PRESSURE23_CNV_ADC_SEL_TEMP 0x01 |
#define PRESSURE23_COEF_OFF_SENS_DIV 512.0f |
#define PRESSURE23_COEF_PRESS_DIV 4194304.0f |
#define PRESSURE23_COEF_TEMP_C2_DIV 64.0f |
#define PRESSURE23_COEF_TEMP_D1_DIV 34359738368.0f |
#define PRESSURE23_COEF_TEMP_D2_DIV 536870912.0f |
Pressure 23 calculation coefficients.
Specified calculation coefficients of Pressure 23 Click driver.
#define PRESSURE23_DEVICE_ADDRESS_GND 0x77 |
Pressure 23 device address setting.
Specified setting for device slave address selection of Pressure 23 Click driver.
#define PRESSURE23_DEVICE_ADDRESS_VCC 0x76 |
#define PRESSURE23_LIM_REG_LIM_BIT_MASK 0x01 |
#define PRESSURE23_LIM_REG_LIM_HIGH 0x01 |
#define PRESSURE23_LIM_REG_LIM_LOW 0x00 |
#define PRESSURE23_LIM_REG_SEL_BIT_MASK 0x01 |
#define PRESSURE23_LIM_REG_SEL_PRESS 0x01 |
#define PRESSURE23_LIM_REG_SEL_TEMP 0x00 |
Pressure 23 description of limit register data.
Specified limit register data of Pressure 23 Click driver.
#define PRESSURE23_OP_REG_DELAY_100_MS 0x05 |
#define PRESSURE23_OP_REG_DELAY_10_MS 0x02 |
#define PRESSURE23_OP_REG_DELAY_10_SEC 0x0B |
#define PRESSURE23_OP_REG_DELAY_1_SEC 0x08 |
#define PRESSURE23_OP_REG_DELAY_200_MS 0x06 |
#define PRESSURE23_OP_REG_DELAY_20_MS 0x03 |
#define PRESSURE23_OP_REG_DELAY_20_SEC 0x0C |
#define PRESSURE23_OP_REG_DELAY_2_SEC 0x09 |
#define PRESSURE23_OP_REG_DELAY_500_MS 0x07 |
#define PRESSURE23_OP_REG_DELAY_50_MS 0x04 |
#define PRESSURE23_OP_REG_DELAY_5_MS 0x01 |
#define PRESSURE23_OP_REG_DELAY_5_SEC 0x0A |
#define PRESSURE23_OP_REG_DELAY_60_SEC 0x0D |
#define PRESSURE23_OP_REG_DELAY_BIT_MASK 0x0F |
#define PRESSURE23_OP_REG_DELAY_OFF 0x00 |
#define PRESSURE23_OP_REG_FIFO_INT_TH_BIT_MASK 0x1F |
#define PRESSURE23_OP_REG_FIFO_INT_TH_OFF 0x00 |
Pressure 23 description of operation register data.
Specified operation register data of Pressure 23 Click driver.
#define PRESSURE23_OP_REG_FIFO_MODE_BIT_MASK 0x03 |
#define PRESSURE23_OP_REG_FIFO_MODE_OFF 0x00 |
#define PRESSURE23_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define PRESSURE23_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define PRESSURE23_SNSR_CFG_FILTER_16 0x04 |
#define PRESSURE23_SNSR_CFG_FILTER_2 0x01 |
#define PRESSURE23_SNSR_CFG_FILTER_32 0x05 |
#define PRESSURE23_SNSR_CFG_FILTER_4 0x02 |
#define PRESSURE23_SNSR_CFG_FILTER_8 0x03 |
#define PRESSURE23_SNSR_CFG_FILTER_BIT_MASK 0x07 |
#define PRESSURE23_SNSR_CFG_FILTER_OFF 0x00 |
#define PRESSURE23_SNSR_CFG_OSR_0 0x00 |
#define PRESSURE23_SNSR_CFG_OSR_1 0x01 |
#define PRESSURE23_SNSR_CFG_OSR_2 0x02 |
#define PRESSURE23_SNSR_CFG_OSR_3 0x03 |
#define PRESSURE23_SNSR_CFG_OSR_4 0x04 |
#define PRESSURE23_SNSR_CFG_OSR_5 0x05 |
#define PRESSURE23_SNSR_CFG_OSR_6 0x06 |
#define PRESSURE23_SNSR_CFG_OSR_BIT_MASK 0x07 |
#define PRESSURE23_SNSR_CFG_RATIO_1 0x01 |
#define PRESSURE23_SNSR_CFG_RATIO_16 0x05 |
#define PRESSURE23_SNSR_CFG_RATIO_2 0x02 |
#define PRESSURE23_SNSR_CFG_RATIO_32 0x06 |
#define PRESSURE23_SNSR_CFG_RATIO_4 0x03 |
#define PRESSURE23_SNSR_CFG_RATIO_8 0x04 |
#define PRESSURE23_SNSR_CFG_RATIO_BIT_MASK 0x07 |
#define PRESSURE23_SNSR_CFG_RATIO_OFF 0x00 |
#define PRESSURE23_SNSR_CFG_RES_16_BIT 0x01 |
#define PRESSURE23_SNSR_CFG_RES_24_BIT 0x00 |
#define PRESSURE23_SNSR_CFG_RES_8_BIT 0x02 |
#define PRESSURE23_SNSR_CFG_RES_BIT_MASK 0x03 |
#define PRESSURE23_SNSR_CFG_SEL_BIT_MASK 0x01 |
#define PRESSURE23_SNSR_CFG_SEL_PRESS 0x00 |
Pressure 23 description of sensor configuration data.
Specified sensor configuration data of Pressure 23 Click driver.
#define PRESSURE23_SNSR_CFG_SEL_TEMP 0x01 |