Settings for registers of Barometer 8 Click driver.
More...
Settings for registers of Barometer 8 Click driver.
◆ BAROMETER8_AVG_128
#define BAROMETER8_AVG_128 0x05 |
◆ BAROMETER8_AVG_16
#define BAROMETER8_AVG_16 0x02 |
◆ BAROMETER8_AVG_32
#define BAROMETER8_AVG_32 0x03 |
◆ BAROMETER8_AVG_4
#define BAROMETER8_AVG_4 0x00 |
◆ BAROMETER8_AVG_512
#define BAROMETER8_AVG_512 0x07 |
◆ BAROMETER8_AVG_64
#define BAROMETER8_AVG_64 0x04 |
◆ BAROMETER8_AVG_8
#define BAROMETER8_AVG_8 0x01 |
◆ BAROMETER8_AVG_BIT_MASK
#define BAROMETER8_AVG_BIT_MASK 0x07 |
◆ BAROMETER8_BDU_CONTINUOUS
#define BAROMETER8_BDU_CONTINUOUS 0x00 |
◆ BAROMETER8_BDU_MSB_LSB_READ
#define BAROMETER8_BDU_MSB_LSB_READ 0x08 |
◆ BAROMETER8_BOOT_NORMAL
#define BAROMETER8_BOOT_NORMAL 0x00 |
Barometer 8 CTRL_REG2 register settings.
Specified settings for CTRL_REG2 register of Barometer 8 Click driver.
◆ BAROMETER8_CS_PULL_UP_DISC
#define BAROMETER8_CS_PULL_UP_DISC 0x02 |
◆ BAROMETER8_DISABLE_I2C_AND_I3C
#define BAROMETER8_DISABLE_I2C_AND_I3C 0x40 |
Barometer 8 IF_CTRL register settings.
Specified settings for IF_CTRL register of Barometer 8 Click driver.
◆ BAROMETER8_DISABLE_LPFP
#define BAROMETER8_DISABLE_LPFP 0x00 |
◆ BAROMETER8_ENABLE_LPFP
#define BAROMETER8_ENABLE_LPFP 0x10 |
◆ BAROMETER8_ENABLE_SPI_READ
#define BAROMETER8_ENABLE_SPI_READ 0x20 |
◆ BAROMETER8_FS_MODE_1
#define BAROMETER8_FS_MODE_1 0x00 |
◆ BAROMETER8_FS_MODE_2
#define BAROMETER8_FS_MODE_2 0x40 |
◆ BAROMETER8_LFPF_CFG_ODR_4
#define BAROMETER8_LFPF_CFG_ODR_4 0x00 |
◆ BAROMETER8_LFPF_CFG_ODR_9
#define BAROMETER8_LFPF_CFG_ODR_9 0x20 |
◆ BAROMETER8_ODR_100HZ
#define BAROMETER8_ODR_100HZ 0x38 |
◆ BAROMETER8_ODR_10HZ
#define BAROMETER8_ODR_10HZ 0x18 |
◆ BAROMETER8_ODR_1HZ
#define BAROMETER8_ODR_1HZ 0x08 |
◆ BAROMETER8_ODR_200HZ
#define BAROMETER8_ODR_200HZ 0x40 |
◆ BAROMETER8_ODR_25HZ
#define BAROMETER8_ODR_25HZ 0x20 |
◆ BAROMETER8_ODR_4HZ
#define BAROMETER8_ODR_4HZ 0x10 |
◆ BAROMETER8_ODR_50HZ
#define BAROMETER8_ODR_50HZ 0x28 |
◆ BAROMETER8_ODR_75HZ
#define BAROMETER8_ODR_75HZ 0x30 |
◆ BAROMETER8_ODR_BIT_MASK
#define BAROMETER8_ODR_BIT_MASK 0x78 |
◆ BAROMETER8_ODR_PD_OR_ONE_SHOT
#define BAROMETER8_ODR_PD_OR_ONE_SHOT 0x00 |
Barometer 8 CTRL_REG1 register settings.
Specified settings for CTRL_REG1 register of Barometer 8 Click driver.
◆ BAROMETER8_ONESHOT_IDLE
#define BAROMETER8_ONESHOT_IDLE 0x00 |
◆ BAROMETER8_ONESHOT_NEW_DATA
#define BAROMETER8_ONESHOT_NEW_DATA 0x01 |
◆ BAROMETER8_PRESSURE_FS_MODE_1_RES
#define BAROMETER8_PRESSURE_FS_MODE_1_RES 4096.0 |
Barometer 8 calculation values.
Specified calculation values of Barometer 8 Click driver.
◆ BAROMETER8_PRESSURE_FS_MODE_2_RES
#define BAROMETER8_PRESSURE_FS_MODE_2_RES 2048.0 |
◆ BAROMETER8_REBOOT_MEMORY
#define BAROMETER8_REBOOT_MEMORY 0x80 |
◆ BAROMETER8_SDA_PULL_UP
#define BAROMETER8_SDA_PULL_UP 0x10 |
◆ BAROMETER8_SET_DATA_SAMPLE_EDGE
Data sample selection.
This macro sets data samples for SPI modules.
- Note
- Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with barometer8_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ BAROMETER8_SET_DATA_SAMPLE_MIDDLE
◆ BAROMETER8_SET_DEVICE_ADDRESS
#define BAROMETER8_SET_DEVICE_ADDRESS 0x5C |
Barometer 8 device address setting.
Specified setting for device slave address selection of Barometer 8 Click driver.
◆ BAROMETER8_STATUS_P_DA
#define BAROMETER8_STATUS_P_DA 0x01 |
◆ BAROMETER8_STATUS_P_OR
#define BAROMETER8_STATUS_P_OR 0x10 |
◆ BAROMETER8_STATUS_T_DA
#define BAROMETER8_STATUS_T_DA 0x02 |
◆ BAROMETER8_STATUS_T_OR
#define BAROMETER8_STATUS_T_OR 0x20 |
Barometer 8 STATUS register settings.
Specified settings for STATUS register of Barometer 8 Click driver.
◆ BAROMETER8_SWRESET
#define BAROMETER8_SWRESET 0x04 |
◆ BAROMETER8_TEMPERATURE_RES
#define BAROMETER8_TEMPERATURE_RES 0.01 |
◆ BAROMETER8_WHO_AM_I
#define BAROMETER8_WHO_AM_I 0xB4 |
Barometer 8 WHO_AM_I register value.
Specified value of WHO_AM_I register of Barometer 8 Click driver.