press 2.1.0.0
PRESS Registers Settings

Settings for registers of PRESS Click driver. More...

Macros

#define PRESS_WHO_AM_I   0xB4
 PRESS device Who am I data value.
 
#define PRESS_ODR_PWR_DOWN_ONE_SHOT   0x00
 PRESS description of control register 1, output data rate and average selection.
 
#define PRESS_ODR_1HZ   0x08
 
#define PRESS_ODR_4HZ   0x10
 
#define PRESS_ODR_10HZ   0x18
 
#define PRESS_ODR_25HZ   0x20
 
#define PRESS_ODR_50HZ   0x28
 
#define PRESS_ODR_75HZ   0x30
 
#define PRESS_ODR_100HZ   0x38
 
#define PRESS_ODR_200HZ   0x40
 
#define PRESS_ODR_BIT_MASK   0x78
 
#define PRESS_AVG_4   0x00
 
#define PRESS_AVG_8   0x01
 
#define PRESS_AVG_16   0x02
 
#define PRESS_AVG_32   0x03
 
#define PRESS_AVG_64   0x04
 
#define PRESS_AVG_128   0x05
 
#define PRESS_AVG_512   0x07
 
#define PRESS_AVG_BIT_MASK   0x07
 
#define PRESS_BOOT_NORMAL_MODE   0x00
 PRESS description of control register 2 setting.
 
#define PRESS_REBOOT_MEMORY_CONTENT   0x80
 
#define PRESS_FS_MODE_1_1260HPA   0x00
 
#define PRESS_FS_MODE_2_4060HPA   0x40
 
#define PRESS_LFPF_CFG_ODR_4   0x00
 
#define PRESS_LFPF_CFG_ODR_9   0x20
 
#define PRESS_DISABLE_LPFP   0x00
 
#define PRESS_ENABLE_LPFP   0x10
 
#define PRESS_BDU_CONTINUOUS   0x00
 
#define PRESS_BDU_MSB_LSB_READ   0x08
 
#define PRESS_SW_RESET   0x04
 
#define PRESS_ONESHOT_IDLE   0x00
 
#define PRESS_ONESHOT_NEW_DATA   0x01
 
#define PRESS_REBOOT_AH_QVAR_EN   0x80
 PRESS description of control register 3, Qvar configuration and auto increment.
 
#define PRESS_REBOOT_AH_QVAR_DIS   0x00
 
#define PRESS_REBOOT_AH_QVAR_P_AUTO_EN   0x20
 
#define PRESS_REBOOT_AH_QVAR_P_AUTO_DIS   0x00
 
#define PRESS_REBOOT_IF_ADD_INC_EN   0x01
 
#define PRESS_REBOOT_IF_ADD_INC_DIS   0x00
 
#define PRESS_TRIG_F_MODE_BYPASS   0x00
 PRESS description of FIFO mode selection.
 
#define PRESS_TRIG_F_MODE_FIFO   0x01
 
#define PRESS_TRIG_F_MODE_CONT   0x02
 
#define PRESS_TRIG_F_MODE_BYPASS_FIFO   0x05
 
#define PRESS_TRIG_F_MODE_BYPASS_CONT   0x06
 
#define PRESS_TRIG_F_MODE_CONT_FIFO   0x07
 
#define PRESS_STATUS_TEMP_OVERRUN   0x20
 PRESS description of status register.
 
#define PRESS_STATUS_PRESS_OVERRUN   0x10
 
#define PRESS_STATUS_TEMP_AVAILABLE   0x02
 
#define PRESS_STATUS_PRESS_AVAILABLE   0x01
 
#define PRESS_AH_QVAR_DISABLE   0x00
 PRESS description AH and Qvar configuration.
 
#define PRESS_AH_QVAR_ENABLE   0x01
 
#define PRESS_LSB_HPA_FS_MODE_4096   4096.0f
 PRESS description of calculation values.
 
#define PRESS_LSB_HPA_FS_MODE_2048   2048.0f
 
#define PRESS_TEMP_SENS   100.0f
 
#define PRESS_QVAR_GAIN_LSB_MV   426000.0f
 
#define PRESS_DEVICE_ADDRESS   0x5C
 PRESS device address setting.
 

Detailed Description

Settings for registers of PRESS Click driver.

Macro Definition Documentation

◆ PRESS_AH_QVAR_DISABLE

#define PRESS_AH_QVAR_DISABLE   0x00

PRESS description AH and Qvar configuration.

Specified AH and Qvar configuration of PRESS Click driver.

◆ PRESS_AH_QVAR_ENABLE

#define PRESS_AH_QVAR_ENABLE   0x01

◆ PRESS_AVG_128

#define PRESS_AVG_128   0x05

◆ PRESS_AVG_16

#define PRESS_AVG_16   0x02

◆ PRESS_AVG_32

#define PRESS_AVG_32   0x03

◆ PRESS_AVG_4

#define PRESS_AVG_4   0x00

◆ PRESS_AVG_512

#define PRESS_AVG_512   0x07

◆ PRESS_AVG_64

#define PRESS_AVG_64   0x04

◆ PRESS_AVG_8

#define PRESS_AVG_8   0x01

◆ PRESS_AVG_BIT_MASK

#define PRESS_AVG_BIT_MASK   0x07

◆ PRESS_BDU_CONTINUOUS

#define PRESS_BDU_CONTINUOUS   0x00

◆ PRESS_BDU_MSB_LSB_READ

#define PRESS_BDU_MSB_LSB_READ   0x08

◆ PRESS_BOOT_NORMAL_MODE

#define PRESS_BOOT_NORMAL_MODE   0x00

PRESS description of control register 2 setting.

Specified setting for control register 2 of PRESS Click driver.

◆ PRESS_DEVICE_ADDRESS

#define PRESS_DEVICE_ADDRESS   0x5C

PRESS device address setting.

Specified setting for device slave address selection of PRESS Click driver.

◆ PRESS_DISABLE_LPFP

#define PRESS_DISABLE_LPFP   0x00

◆ PRESS_ENABLE_LPFP

#define PRESS_ENABLE_LPFP   0x10

◆ PRESS_FS_MODE_1_1260HPA

#define PRESS_FS_MODE_1_1260HPA   0x00

◆ PRESS_FS_MODE_2_4060HPA

#define PRESS_FS_MODE_2_4060HPA   0x40

◆ PRESS_LFPF_CFG_ODR_4

#define PRESS_LFPF_CFG_ODR_4   0x00

◆ PRESS_LFPF_CFG_ODR_9

#define PRESS_LFPF_CFG_ODR_9   0x20

◆ PRESS_LSB_HPA_FS_MODE_2048

#define PRESS_LSB_HPA_FS_MODE_2048   2048.0f

◆ PRESS_LSB_HPA_FS_MODE_4096

#define PRESS_LSB_HPA_FS_MODE_4096   4096.0f

PRESS description of calculation values.

Specified setting for status register of PRESS Click driver.

◆ PRESS_ODR_100HZ

#define PRESS_ODR_100HZ   0x38

◆ PRESS_ODR_10HZ

#define PRESS_ODR_10HZ   0x18

◆ PRESS_ODR_1HZ

#define PRESS_ODR_1HZ   0x08

◆ PRESS_ODR_200HZ

#define PRESS_ODR_200HZ   0x40

◆ PRESS_ODR_25HZ

#define PRESS_ODR_25HZ   0x20

◆ PRESS_ODR_4HZ

#define PRESS_ODR_4HZ   0x10

◆ PRESS_ODR_50HZ

#define PRESS_ODR_50HZ   0x28

◆ PRESS_ODR_75HZ

#define PRESS_ODR_75HZ   0x30

◆ PRESS_ODR_BIT_MASK

#define PRESS_ODR_BIT_MASK   0x78

◆ PRESS_ODR_PWR_DOWN_ONE_SHOT

#define PRESS_ODR_PWR_DOWN_ONE_SHOT   0x00

PRESS description of control register 1, output data rate and average selection.

Specified setting for control register 1 of PRESS Click driver.

◆ PRESS_ONESHOT_IDLE

#define PRESS_ONESHOT_IDLE   0x00

◆ PRESS_ONESHOT_NEW_DATA

#define PRESS_ONESHOT_NEW_DATA   0x01

◆ PRESS_QVAR_GAIN_LSB_MV

#define PRESS_QVAR_GAIN_LSB_MV   426000.0f

◆ PRESS_REBOOT_AH_QVAR_DIS

#define PRESS_REBOOT_AH_QVAR_DIS   0x00

◆ PRESS_REBOOT_AH_QVAR_EN

#define PRESS_REBOOT_AH_QVAR_EN   0x80

PRESS description of control register 3, Qvar configuration and auto increment.

Specified setting for Qvar configuration of PRESS Click driver.

◆ PRESS_REBOOT_AH_QVAR_P_AUTO_DIS

#define PRESS_REBOOT_AH_QVAR_P_AUTO_DIS   0x00

◆ PRESS_REBOOT_AH_QVAR_P_AUTO_EN

#define PRESS_REBOOT_AH_QVAR_P_AUTO_EN   0x20

◆ PRESS_REBOOT_IF_ADD_INC_DIS

#define PRESS_REBOOT_IF_ADD_INC_DIS   0x00

◆ PRESS_REBOOT_IF_ADD_INC_EN

#define PRESS_REBOOT_IF_ADD_INC_EN   0x01

◆ PRESS_REBOOT_MEMORY_CONTENT

#define PRESS_REBOOT_MEMORY_CONTENT   0x80

◆ PRESS_STATUS_PRESS_AVAILABLE

#define PRESS_STATUS_PRESS_AVAILABLE   0x01

◆ PRESS_STATUS_PRESS_OVERRUN

#define PRESS_STATUS_PRESS_OVERRUN   0x10

◆ PRESS_STATUS_TEMP_AVAILABLE

#define PRESS_STATUS_TEMP_AVAILABLE   0x02

◆ PRESS_STATUS_TEMP_OVERRUN

#define PRESS_STATUS_TEMP_OVERRUN   0x20

PRESS description of status register.

Specified setting for status register of PRESS Click driver.

◆ PRESS_SW_RESET

#define PRESS_SW_RESET   0x04

◆ PRESS_TEMP_SENS

#define PRESS_TEMP_SENS   100.0f

◆ PRESS_TRIG_F_MODE_BYPASS

#define PRESS_TRIG_F_MODE_BYPASS   0x00

PRESS description of FIFO mode selection.

Specified setting for FIFO mode selection of PRESS Click driver.

◆ PRESS_TRIG_F_MODE_BYPASS_CONT

#define PRESS_TRIG_F_MODE_BYPASS_CONT   0x06

◆ PRESS_TRIG_F_MODE_BYPASS_FIFO

#define PRESS_TRIG_F_MODE_BYPASS_FIFO   0x05

◆ PRESS_TRIG_F_MODE_CONT

#define PRESS_TRIG_F_MODE_CONT   0x02

◆ PRESS_TRIG_F_MODE_CONT_FIFO

#define PRESS_TRIG_F_MODE_CONT_FIFO   0x07

◆ PRESS_TRIG_F_MODE_FIFO

#define PRESS_TRIG_F_MODE_FIFO   0x01

◆ PRESS_WHO_AM_I

#define PRESS_WHO_AM_I   0xB4

PRESS device Who am I data value.

Specified device Who am I data value of PRESS Click driver.