pressure20 2.0.0.0
|
Settings for registers of Pressure 20 Click driver. More...
Settings for registers of Pressure 20 Click driver.
#define PRESSURE20_BOOT_UP_STATUS 0x01 |
Pressure 20 OTP_STATUS2 register settings.
Specified OTP_STATUS2 register settings of Pressure 20 Click driver.
#define PRESSURE20_BUSY 0x01 |
Pressure 20 OTP_STATUS register settings.
Specified OTP_STATUS register settings of Pressure 20 Click driver.
#define PRESSURE20_DEVICE_ADDRESS_0 0x63 |
Pressure 20 device address setting.
Specified setting for device slave address selection of Pressure 20 Click driver.
#define PRESSURE20_DEVICE_ADDRESS_1 0x64 |
#define PRESSURE20_DEVICE_ID 0x63 |
Pressure 20 Device ID value.
Specified Device ID value of Pressure 20 Click driver.
#define PRESSURE20_FIFO_EMPTY 0x40 |
#define PRESSURE20_FIFO_FLUSH 0x80 |
Pressure 20 FIFO_FILL register settings.
Specified FIFO_FILL register settings of Pressure 20 Click driver.
#define PRESSURE20_FIFO_FULL 0x20 |
#define PRESSURE20_FIFO_LEVEL_1 0x01 |
#define PRESSURE20_FIFO_LEVEL_10 0x0A |
#define PRESSURE20_FIFO_LEVEL_11 0x0B |
#define PRESSURE20_FIFO_LEVEL_12 0x0C |
#define PRESSURE20_FIFO_LEVEL_13 0x0D |
#define PRESSURE20_FIFO_LEVEL_14 0x0E |
#define PRESSURE20_FIFO_LEVEL_15 0x0F |
#define PRESSURE20_FIFO_LEVEL_2 0x02 |
#define PRESSURE20_FIFO_LEVEL_3 0x03 |
#define PRESSURE20_FIFO_LEVEL_4 0x04 |
#define PRESSURE20_FIFO_LEVEL_5 0x05 |
#define PRESSURE20_FIFO_LEVEL_6 0x06 |
#define PRESSURE20_FIFO_LEVEL_7 0x07 |
#define PRESSURE20_FIFO_LEVEL_8 0x08 |
#define PRESSURE20_FIFO_LEVEL_9 0x09 |
#define PRESSURE20_FIFO_LEVEL_EMPTY 0x00 |
#define PRESSURE20_FIFO_LEVEL_FULL 0x10 |
#define PRESSURE20_FIFO_READOUT_MODE_PRESS_1ST 0x00 |
#define PRESSURE20_FIFO_READOUT_MODE_PRESS_ONLY 0x03 |
#define PRESSURE20_FIFO_READOUT_MODE_TEMP_1ST 0x02 |
#define PRESSURE20_FIFO_READOUT_MODE_TEMP_ONLY 0x01 |
#define PRESSURE20_FORCED_MEAS_TRIGGER 0x10 |
#define PRESSURE20_INT_MASK_ALL 0xFF |
#define PRESSURE20_INT_MASK_FIFO_OVERFLOW 0x01 |
#define PRESSURE20_INT_MASK_FIFO_UNDERFLOW 0x02 |
#define PRESSURE20_INT_MASK_FIFO_WMK_HIGH 0x04 |
#define PRESSURE20_INT_MASK_FIFO_WMK_LOW 0x08 |
#define PRESSURE20_INT_MASK_PRESS_ABS 0x20 |
#define PRESSURE20_INT_MASK_PRESS_DELTA 0x40 |
#define PRESSURE20_INT_MASK_RESERVED 0x80 |
Pressure 20 INTERRUPT_MASK register settings.
Specified INTERRUPT_MASK register settings of Pressure 20 Click driver.
#define PRESSURE20_INT_STAT_FIFO_OVERFLOW 0x01 |
#define PRESSURE20_INT_STAT_FIFO_UNDERFLOW 0x02 |
#define PRESSURE20_INT_STAT_FIFO_WMK_HIGH 0x04 |
#define PRESSURE20_INT_STAT_FIFO_WMK_LOW 0x08 |
#define PRESSURE20_INT_STAT_PRESS_ABS 0x20 |
#define PRESSURE20_INT_STAT_PRESS_DELTA 0x40 |
Pressure 20 INTERRUPT_STATUS register settings.
Specified INTERRUPT_STATUS register settings of Pressure 20 Click driver.
#define PRESSURE20_MASTER_LOCK 0x00 |
Pressure 20 MASTER_LOCK register settings.
Specified MASTER_LOCK register settings of Pressure 20 Click driver.
#define PRESSURE20_MASTER_UNLOCK 0x1F |
#define PRESSURE20_MEAS_CONFIG_MODE0_ODR_25HZ 0x00 |
Pressure 20 MODE_SELECT register settings.
Specified MODE_SELECT register settings of Pressure 20 Click driver.
#define PRESSURE20_MEAS_CONFIG_MODE1_ODR_120HZ 0x20 |
#define PRESSURE20_MEAS_CONFIG_MODE2_ODR_40HZ 0x40 |
#define PRESSURE20_MEAS_CONFIG_MODE3_ODR_2HZ 0x60 |
#define PRESSURE20_MEAS_CONFIG_MODE4 0x80 |
#define PRESSURE20_MEAS_MODE_CONTINUOUS 0x08 |
#define PRESSURE20_MEAS_MODE_TRIGGER 0x00 |
#define PRESSURE20_MODE_SYNC_STATUS 0x01 |
Pressure 20 DEVICE_STATUS register settings.
Specified DEVICE_STATUS register settings of Pressure 20 Click driver.
#define PRESSURE20_OTP_ADDRESS_GAIN 0xF9 |
#define PRESSURE20_OTP_ADDRESS_HFOSC 0xFA |
#define PRESSURE20_OTP_ADDRESS_OFFSET 0xF8 |
Pressure 20 OTP address and command settings.
Specified OTP address and command settings of Pressure 20 Click driver.
#define PRESSURE20_OTP_COMMAND_READ_ACTION 0x10 |
#define PRESSURE20_OTP_DISABLE 0x00 |
#define PRESSURE20_OTP_ENABLE 0x01 |
#define PRESSURE20_OTP_MR_LSB 0x10 |
#define PRESSURE20_OTP_MR_MSB 0x80 |
#define PRESSURE20_OTP_MRA_LSB 0x04 |
Pressure 20 OTP settings.
Specified OTP settings of Pressure 20 Click driver.
#define PRESSURE20_OTP_MRA_MSB 0x04 |
#define PRESSURE20_OTP_MRB_LSB 0x21 |
#define PRESSURE20_OTP_MRB_MSB 0x20 |
#define PRESSURE20_OTP_RESET_CLEAR 0x00 |
#define PRESSURE20_OTP_RESET_SET 0x80 |
Pressure 20 OTP_DBG2 register settings.
Specified OTP_DBG2 register settings of Pressure 20 Click driver.
#define PRESSURE20_OTP_WRITE_SWITCH 0x02 |
Pressure 20 OTP_CONFIG1 register settings.
Specified OTP_CONFIG1 register settings of Pressure 20 Click driver.
#define PRESSURE20_POWER_MODE_ACTIVE 0x04 |
#define PRESSURE20_POWER_MODE_NORMAL 0x00 |
#define PRESSURE20_PRESSURE_OFFSET_MBAR 700 |
#define PRESSURE20_PRESSURE_RES_MBAR 400 |
#define PRESSURE20_PRESSURE_RES_RAW 0x020000ul |
Pressure 20 pressure and temperature calculation values.
Specified pressure and temperature calculation values of Pressure 20 Click driver.
#define PRESSURE20_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define PRESSURE20_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define PRESSURE20_SPI_READ_REG 0x3C |
Pressure 20 SPI Read/Write command.
Specified SPI Read/Write command of Pressure 20 Click driver.
#define PRESSURE20_SPI_WRITE_REG 0x33 |
#define PRESSURE20_TEMPERATURE_OFFSET_C 25 |
#define PRESSURE20_TEMPERATURE_RES_C 65 |
#define PRESSURE20_TEMPERATURE_RES_RAW 0x040000ul |
#define PRESSURE20_TRIM1_MSB_PEFE_OFFSET_MASK 0x3F |
Pressure 20 TRIM settings.
Specified TRIM settings of Pressure 20 Click driver.
#define PRESSURE20_TRIM2_LSB_HFOSC_MASK 0x7F |
#define PRESSURE20_TRIM2_MSB_BG_PTAT_MASK 0x0F |
#define PRESSURE20_TRIM2_MSB_PEFE_GAIN_MASK 0x70 |