pressure18 2.1.0.0
|
Settings for registers of Pressure 18 Click driver. More...
Settings for registers of Pressure 18 Click driver.
#define PRESSURE18_CHIP_ID 0x50 |
Pressure 18 chip id setting.
Specified setting for chip id of Pressure 18 Click driver.
#define PRESSURE18_CMD_EXTMODE_EN_MIDDLE 0x34 |
#define PRESSURE18_CMD_FIFO_FLUSH 0xB0 |
#define PRESSURE18_CMD_NOP 0x00 |
Pressure 18 CMD register settings.
Specified CMD register settings of Pressure 18 Click driver.
#define PRESSURE18_CMD_SOFT_RESET 0xB6 |
#define PRESSURE18_DEVICE_ADDRESS_0 0x76 |
Pressure 18 device address setting.
Specified setting for device slave address selection of Pressure 18 Click driver.
#define PRESSURE18_DEVICE_ADDRESS_1 0x77 |
#define PRESSURE18_ERR_CMD 0x02 |
#define PRESSURE18_ERR_CONF 0x04 |
#define PRESSURE18_ERR_FATAL 0x01 |
Pressure 18 ERR register settings.
Specified ERR register settings of Pressure 18 Click driver.
#define PRESSURE18_INT_CTRL_DRDY_DISABLED 0x00 |
#define PRESSURE18_INT_CTRL_DRDY_ENABLED 0x40 |
#define PRESSURE18_INT_CTRL_FFULL_DISABLED 0x00 |
#define PRESSURE18_INT_CTRL_FFULL_ENABLED 0x10 |
#define PRESSURE18_INT_CTRL_FWTM_DISABLED 0x00 |
#define PRESSURE18_INT_CTRL_FWTM_ENABLED 0x08 |
#define PRESSURE18_INT_CTRL_LATCH_DISABLED 0x00 |
#define PRESSURE18_INT_CTRL_LATCH_ENABLED 0x04 |
#define PRESSURE18_INT_CTRL_LEVEL_ACTIVE_HIGH 0x02 |
#define PRESSURE18_INT_CTRL_LEVEL_ACTIVE_LOW 0x00 |
#define PRESSURE18_INT_CTRL_OD_OPEN_DRAIN 0x01 |
#define PRESSURE18_INT_CTRL_OD_PUSH_PULL 0x00 |
Pressure 18 INT_CTRL register settings.
Specified INT_CTRL register settings of Pressure 18 Click driver.
#define PRESSURE18_ODR_10_MS 0x01 |
#define PRESSURE18_ODR_10p24_S 0x0B |
#define PRESSURE18_ODR_160_MS 0x05 |
#define PRESSURE18_ODR_163p84_S 0x0F |
#define PRESSURE18_ODR_1p280_S 0x08 |
#define PRESSURE18_ODR_20_MS 0x02 |
#define PRESSURE18_ODR_20p48_S 0x0C |
#define PRESSURE18_ODR_2p560_S 0x09 |
#define PRESSURE18_ODR_320_MS 0x06 |
#define PRESSURE18_ODR_327p68_S 0x10 |
#define PRESSURE18_ODR_40_MS 0x03 |
#define PRESSURE18_ODR_40p96_S 0x0D |
#define PRESSURE18_ODR_5_MS 0x00 |
Pressure 18 ODR register settings.
Specified ODR register settings of Pressure 18 Click driver.
#define PRESSURE18_ODR_5p120_S 0x0A |
#define PRESSURE18_ODR_640_MS 0x07 |
#define PRESSURE18_ODR_655p36_S 0x11 |
#define PRESSURE18_ODR_80_MS 0x04 |
#define PRESSURE18_ODR_81p92_S 0x0E |
#define PRESSURE18_OSR_P_X1 0x00 |
Pressure 18 OSR register settings.
Specified OSR register settings of Pressure 18 Click driver.
#define PRESSURE18_OSR_P_X16 0x04 |
#define PRESSURE18_OSR_P_X2 0x01 |
#define PRESSURE18_OSR_P_X32 0x05 |
#define PRESSURE18_OSR_P_X4 0x02 |
#define PRESSURE18_OSR_P_X8 0x03 |
#define PRESSURE18_OSR_T_X1 0x00 |
#define PRESSURE18_OSR_T_X16 0x20 |
#define PRESSURE18_OSR_T_X2 0x08 |
#define PRESSURE18_OSR_T_X32 0x28 |
#define PRESSURE18_OSR_T_X4 0x10 |
#define PRESSURE18_OSR_T_X8 0x18 |
#define PRESSURE18_PA_TO_MBAR 0.01 |
Pressure 18 Pascal to mBar conversion value.
Specified Pascal to mBar conversion value of Pressure 18 Click driver.
#define PRESSURE18_PWR_CTRL_MODE_FORCED 0x10 |
#define PRESSURE18_PWR_CTRL_MODE_NORMAL 0x30 |
#define PRESSURE18_PWR_CTRL_MODE_SLEEP 0x00 |
#define PRESSURE18_PWR_CTRL_PRESS_EN 0x01 |
Pressure 18 PWR_CTRL register settings.
Specified PWR_CTRL register settings of Pressure 18 Click driver.
#define PRESSURE18_PWR_CTRL_TEMP_EN 0x02 |
#define PRESSURE18_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define PRESSURE18_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define PRESSURE18_STATUS_CMD_RDY 0x10 |
Pressure 18 STATUS register settings.
Specified STATUS register settings of Pressure 18 Click driver.
#define PRESSURE18_STATUS_DRDY_PRESS 0x20 |
#define PRESSURE18_STATUS_DRDY_TEMP 0x40 |