diffpress4 2.1.0.0
Diff Press 4 Registers Settings

Settings for registers of Diff Press 4 Click driver. More...

Macros

#define DIFFPRESS4_P_MIN   -250.0f
 Diff Press 4 calculation data values.
 
#define DIFFPRESS4_P_MAX   250.0f
 
#define DIFFPRESS4_OUT_MIN   -26215.0f
 
#define DIFFPRESS4_OUT_MAX   26214.0f
 
#define DIFFPRESS4_B_0   -16881.0f
 
#define DIFFPRESS4_B_1   397.2f
 
#define DIFFPRESS4_STATUS_IDLE_CHIP_BUSY   0x00
 Diff Press 4 status data values.
 
#define DIFFPRESS4_STATUS_IDLE_CHIP_IDLE   0x01
 
#define DIFFPRESS4_STATUS_DSP_S_CLEARED   0x00
 
#define DIFFPRESS4_STATUS_DSP_S_UPDATED   0x01
 
#define DIFFPRESS4_STATUS_DSP_T_CLEARED   0x00
 
#define DIFFPRESS4_STATUS_DSP_T_UPDATED   0x01
 
#define DIFFPRESS4_STATUS_BS_FAIL_NO_FAILURE   0x00
 
#define DIFFPRESS4_STATUS_BS_FAIL_OCCURRED   0x01
 
#define DIFFPRESS4_STATUS_BC_FAIL_NO_FAILURE   0x00
 
#define DIFFPRESS4_STATUS_BC_FAIL_OCCURRED   0x01
 
#define DIFFPRESS4_STATUS_DSP_SAT_NORMAL   0x00
 
#define DIFFPRESS4_STATUS_DSP_SAT_OVERFLOW   0x01
 
#define DIFFPRESS4_STATUS_COM_CRC_OK   0x00
 
#define DIFFPRESS4_STATUS_COM_CRC_ERROR   0x01
 
#define DIFFPRESS4_STATUS_DSP_S_MISSED   0x00
 
#define DIFFPRESS4_STATUS_DSP_S_M_UPDATED   0x01
 
#define DIFFPRESS4_STATUS_DSP_T_MISSED   0x00
 
#define DIFFPRESS4_STATUS_DSP_T_M_UPDATED   0x01
 
#define DIFFPRESS4_SET_CMD_SLEEP_MODE   0x32, 0x6C
 Diff Press 4 command register data sequence.
 
#define DIFFPRESS4_SET_CMD_RESET   0x69, 0xB1
 
#define DIFFPRESS4_DEVICE_ADDRESS_UNPROTECTED   0x6C
 Diff Press 4 device address setting.
 
#define DIFFPRESS4_DEVICE_ADDRESS_CRC_PROTECTED   0x6D
 

Detailed Description

Settings for registers of Diff Press 4 Click driver.

Macro Definition Documentation

◆ DIFFPRESS4_B_0

#define DIFFPRESS4_B_0   -16881.0f

◆ DIFFPRESS4_B_1

#define DIFFPRESS4_B_1   397.2f

◆ DIFFPRESS4_DEVICE_ADDRESS_CRC_PROTECTED

#define DIFFPRESS4_DEVICE_ADDRESS_CRC_PROTECTED   0x6D

◆ DIFFPRESS4_DEVICE_ADDRESS_UNPROTECTED

#define DIFFPRESS4_DEVICE_ADDRESS_UNPROTECTED   0x6C

Diff Press 4 device address setting.

Specified setting for device slave address selection of Diff Press 4 Click driver.

◆ DIFFPRESS4_OUT_MAX

#define DIFFPRESS4_OUT_MAX   26214.0f

◆ DIFFPRESS4_OUT_MIN

#define DIFFPRESS4_OUT_MIN   -26215.0f

◆ DIFFPRESS4_P_MAX

#define DIFFPRESS4_P_MAX   250.0f

◆ DIFFPRESS4_P_MIN

#define DIFFPRESS4_P_MIN   -250.0f

Diff Press 4 calculation data values.

Specified calculation data values of Diff Press 4 Click driver.

◆ DIFFPRESS4_SET_CMD_RESET

#define DIFFPRESS4_SET_CMD_RESET   0x69, 0xB1

◆ DIFFPRESS4_SET_CMD_SLEEP_MODE

#define DIFFPRESS4_SET_CMD_SLEEP_MODE   0x32, 0x6C

Diff Press 4 command register data sequence.

Specified command register data sequence of Diff Press 4 Click driver.

◆ DIFFPRESS4_STATUS_BC_FAIL_NO_FAILURE

#define DIFFPRESS4_STATUS_BC_FAIL_NO_FAILURE   0x00

◆ DIFFPRESS4_STATUS_BC_FAIL_OCCURRED

#define DIFFPRESS4_STATUS_BC_FAIL_OCCURRED   0x01

◆ DIFFPRESS4_STATUS_BS_FAIL_NO_FAILURE

#define DIFFPRESS4_STATUS_BS_FAIL_NO_FAILURE   0x00

◆ DIFFPRESS4_STATUS_BS_FAIL_OCCURRED

#define DIFFPRESS4_STATUS_BS_FAIL_OCCURRED   0x01

◆ DIFFPRESS4_STATUS_COM_CRC_ERROR

#define DIFFPRESS4_STATUS_COM_CRC_ERROR   0x01

◆ DIFFPRESS4_STATUS_COM_CRC_OK

#define DIFFPRESS4_STATUS_COM_CRC_OK   0x00

◆ DIFFPRESS4_STATUS_DSP_S_CLEARED

#define DIFFPRESS4_STATUS_DSP_S_CLEARED   0x00

◆ DIFFPRESS4_STATUS_DSP_S_M_UPDATED

#define DIFFPRESS4_STATUS_DSP_S_M_UPDATED   0x01

◆ DIFFPRESS4_STATUS_DSP_S_MISSED

#define DIFFPRESS4_STATUS_DSP_S_MISSED   0x00

◆ DIFFPRESS4_STATUS_DSP_S_UPDATED

#define DIFFPRESS4_STATUS_DSP_S_UPDATED   0x01

◆ DIFFPRESS4_STATUS_DSP_SAT_NORMAL

#define DIFFPRESS4_STATUS_DSP_SAT_NORMAL   0x00

◆ DIFFPRESS4_STATUS_DSP_SAT_OVERFLOW

#define DIFFPRESS4_STATUS_DSP_SAT_OVERFLOW   0x01

◆ DIFFPRESS4_STATUS_DSP_T_CLEARED

#define DIFFPRESS4_STATUS_DSP_T_CLEARED   0x00

◆ DIFFPRESS4_STATUS_DSP_T_M_UPDATED

#define DIFFPRESS4_STATUS_DSP_T_M_UPDATED   0x01

◆ DIFFPRESS4_STATUS_DSP_T_MISSED

#define DIFFPRESS4_STATUS_DSP_T_MISSED   0x00

◆ DIFFPRESS4_STATUS_DSP_T_UPDATED

#define DIFFPRESS4_STATUS_DSP_T_UPDATED   0x01

◆ DIFFPRESS4_STATUS_IDLE_CHIP_BUSY

#define DIFFPRESS4_STATUS_IDLE_CHIP_BUSY   0x00

Diff Press 4 status data values.

Specified status data values of Diff Press 4 Click driver.

◆ DIFFPRESS4_STATUS_IDLE_CHIP_IDLE

#define DIFFPRESS4_STATUS_IDLE_CHIP_IDLE   0x01