pht 2.0.0.0
PHT Registers Settings

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

Macros

#define PHT_RH_CMD_RESET   0xFE
 PHT Command for relative humidity.
 
#define PHT_RH_CMD_WRITE_USER_REG   0xE6
 
#define PHT_RH_CMD_READ_USER_REG   0xE7
 
#define PHT_RH_MEASURE_RH_HOLD   0xE5
 
#define PHT_RH_MEASURE_RH_NO_HOLD   0xF5
 
#define PHT_PT_CMD_RESET   0x1E
 PHT Command for pressure and temperature.
 
#define PHT_PT_CMD_ADC_READ   0x00
 
#define PHT_PT_CMD_PROM_READ_P_T_START   0xA0
 
#define PHT_PT_CMD_PROM_READ_P_T_END   0xAE
 
#define PHT_PT_CMD_RATIO_256   0x00
 
#define PHT_PT_CMD_RATIO_512   0x01
 
#define PHT_PT_CMD_RATIO_1024   0x02
 
#define PHT_PT_CMD_RATIO_2048   0x03
 
#define PHT_PT_CMD_RATIO_4096   0x04
 
#define PHT_PT_CMD_RATIO_8192   0x05
 
#define PHT_PT_MANUFACTURER_RESERVED   0x00
 PHT coefficient for pressure and temperature.
 
#define PHT_PT_C1_SENS   0x01
 
#define PHT_PT_C2_OFF   0x02
 
#define PHT_PT_C3_TCS   0x03
 
#define PHT_PT_C4_TCO   0x04
 
#define PHT_PT_C5_TREF   0x05
 
#define PHT_PT_C6_TEMPSENS   0x06
 
#define PHT_PT_CRC   0x07
 
#define PHT_SENSOR_TYPE_RH   0x00
 PHT Select output data.
 
#define PHT_SENSOR_TYPE_PT   0x01
 
#define PHT_I2C_SLAVE_ADDR_RH   0x40
 PHT device address setting.
 
#define PHT_I2C_SLAVE_ADDR_P_AND_T   0x76
 

Detailed Description

Settings for registers of PHT Click driver.

Macro Definition Documentation

◆ PHT_I2C_SLAVE_ADDR_P_AND_T

#define PHT_I2C_SLAVE_ADDR_P_AND_T   0x76

◆ PHT_I2C_SLAVE_ADDR_RH

#define PHT_I2C_SLAVE_ADDR_RH   0x40

PHT device address setting.

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

◆ PHT_PT_C1_SENS

#define PHT_PT_C1_SENS   0x01

◆ PHT_PT_C2_OFF

#define PHT_PT_C2_OFF   0x02

◆ PHT_PT_C3_TCS

#define PHT_PT_C3_TCS   0x03

◆ PHT_PT_C4_TCO

#define PHT_PT_C4_TCO   0x04

◆ PHT_PT_C5_TREF

#define PHT_PT_C5_TREF   0x05

◆ PHT_PT_C6_TEMPSENS

#define PHT_PT_C6_TEMPSENS   0x06

◆ PHT_PT_CMD_ADC_READ

#define PHT_PT_CMD_ADC_READ   0x00

◆ PHT_PT_CMD_PROM_READ_P_T_END

#define PHT_PT_CMD_PROM_READ_P_T_END   0xAE

◆ PHT_PT_CMD_PROM_READ_P_T_START

#define PHT_PT_CMD_PROM_READ_P_T_START   0xA0

◆ PHT_PT_CMD_RATIO_1024

#define PHT_PT_CMD_RATIO_1024   0x02

◆ PHT_PT_CMD_RATIO_2048

#define PHT_PT_CMD_RATIO_2048   0x03

◆ PHT_PT_CMD_RATIO_256

#define PHT_PT_CMD_RATIO_256   0x00

◆ PHT_PT_CMD_RATIO_4096

#define PHT_PT_CMD_RATIO_4096   0x04

◆ PHT_PT_CMD_RATIO_512

#define PHT_PT_CMD_RATIO_512   0x01

◆ PHT_PT_CMD_RATIO_8192

#define PHT_PT_CMD_RATIO_8192   0x05

◆ PHT_PT_CMD_RESET

#define PHT_PT_CMD_RESET   0x1E

PHT Command for pressure and temperature.

Specified commands for pressure and temperature of PHT Click driver.

◆ PHT_PT_CRC

#define PHT_PT_CRC   0x07

◆ PHT_PT_MANUFACTURER_RESERVED

#define PHT_PT_MANUFACTURER_RESERVED   0x00

PHT coefficient for pressure and temperature.

Specified coefficient for calculation pressure and temperature of PHT Click driver.

◆ PHT_RH_CMD_READ_USER_REG

#define PHT_RH_CMD_READ_USER_REG   0xE7

◆ PHT_RH_CMD_RESET

#define PHT_RH_CMD_RESET   0xFE

PHT Command for relative humidity.

Specified commands for relative humidity of PHT Click driver.

◆ PHT_RH_CMD_WRITE_USER_REG

#define PHT_RH_CMD_WRITE_USER_REG   0xE6

◆ PHT_RH_MEASURE_RH_HOLD

#define PHT_RH_MEASURE_RH_HOLD   0xE5

◆ PHT_RH_MEASURE_RH_NO_HOLD

#define PHT_RH_MEASURE_RH_NO_HOLD   0xF5

◆ PHT_SENSOR_TYPE_PT

#define PHT_SENSOR_TYPE_PT   0x01

◆ PHT_SENSOR_TYPE_RH

#define PHT_SENSOR_TYPE_RH   0x00

PHT Select output data.

Select output data of PHT Click driver.