temphum21 2.0.0.0
TempHum 21 Registers Settings

Settings for registers of TempHum 21 Click driver. More...

Macros

#define TEMPHUM21_STATUS_NORMAL_OP   0x00
 TempHum 21 status/diagnostic/response bits.
 
#define TEMPHUM21_STATUS_STALE_DATA   0x40
 
#define TEMPHUM21_STATUS_COMMAND_MODE   0x80
 
#define TEMPHUM21_STATUS_BIT_MASK   0xC0
 
#define TEMPHUM21_DIAGNOSTIC_CORR_EP_ERR   0x04
 
#define TEMPHUM21_DIAGNOSTIC_UNCORR_EP_ERR   0x08
 
#define TEMPHUM21_DIAGNOSTIC_RAM_PAR_ERR   0x10
 
#define TEMPHUM21_DIAGNOSTIC_CONFIG_ERR   0x20
 
#define TEMPHUM21_DIAGNOSTIC_BIT_MASK   0x3C
 
#define TEMPHUM21_RESPONSE_BUSY   0x00
 
#define TEMPHUM21_RESPONSE_ACK   0x01
 
#define TEMPHUM21_RESPONSE_NACK   0x02
 
#define TEMPHUM21_RESPONSE_BIT_MASK   0x03
 
#define TEMPHUM21_DATA_RES   0x3FFF
 TempHum 21 measurement calculation values.
 
#define TEMPHUM21_TEMP_RES   165.0
 
#define TEMPHUM21_TEMP_OFFSET   40.0
 
#define TEMPHUM21_HUM_RES   100.0
 
#define TEMPHUM21_ALARM_HIGH_ON_80PCT   0x3333
 TempHum 21 alarm configuration values.
 
#define TEMPHUM21_ALARM_HIGH_OFF_75PCT   0x3000
 
#define TEMPHUM21_ALARM_LOW_ON_20PCT   0x0CCD
 
#define TEMPHUM21_ALARM_LOW_OFF_25PCT   0x1000
 
#define TEMPHUM21_SET_DEV_ADDR   0x27
 TempHum 21 device address setting.
 

Detailed Description

Settings for registers of TempHum 21 Click driver.

Macro Definition Documentation

◆ TEMPHUM21_ALARM_HIGH_OFF_75PCT

#define TEMPHUM21_ALARM_HIGH_OFF_75PCT   0x3000

◆ TEMPHUM21_ALARM_HIGH_ON_80PCT

#define TEMPHUM21_ALARM_HIGH_ON_80PCT   0x3333

TempHum 21 alarm configuration values.

Specified alarm configuration values of TempHum 21 Click driver.

◆ TEMPHUM21_ALARM_LOW_OFF_25PCT

#define TEMPHUM21_ALARM_LOW_OFF_25PCT   0x1000

◆ TEMPHUM21_ALARM_LOW_ON_20PCT

#define TEMPHUM21_ALARM_LOW_ON_20PCT   0x0CCD

◆ TEMPHUM21_DATA_RES

#define TEMPHUM21_DATA_RES   0x3FFF

TempHum 21 measurement calculation values.

Specified measurement calculation values of TempHum 21 Click driver.

◆ TEMPHUM21_DIAGNOSTIC_BIT_MASK

#define TEMPHUM21_DIAGNOSTIC_BIT_MASK   0x3C

◆ TEMPHUM21_DIAGNOSTIC_CONFIG_ERR

#define TEMPHUM21_DIAGNOSTIC_CONFIG_ERR   0x20

◆ TEMPHUM21_DIAGNOSTIC_CORR_EP_ERR

#define TEMPHUM21_DIAGNOSTIC_CORR_EP_ERR   0x04

◆ TEMPHUM21_DIAGNOSTIC_RAM_PAR_ERR

#define TEMPHUM21_DIAGNOSTIC_RAM_PAR_ERR   0x10

◆ TEMPHUM21_DIAGNOSTIC_UNCORR_EP_ERR

#define TEMPHUM21_DIAGNOSTIC_UNCORR_EP_ERR   0x08

◆ TEMPHUM21_HUM_RES

#define TEMPHUM21_HUM_RES   100.0

◆ TEMPHUM21_RESPONSE_ACK

#define TEMPHUM21_RESPONSE_ACK   0x01

◆ TEMPHUM21_RESPONSE_BIT_MASK

#define TEMPHUM21_RESPONSE_BIT_MASK   0x03

◆ TEMPHUM21_RESPONSE_BUSY

#define TEMPHUM21_RESPONSE_BUSY   0x00

◆ TEMPHUM21_RESPONSE_NACK

#define TEMPHUM21_RESPONSE_NACK   0x02

◆ TEMPHUM21_SET_DEV_ADDR

#define TEMPHUM21_SET_DEV_ADDR   0x27

TempHum 21 device address setting.

Specified setting for device slave address selection of TempHum 21 Click driver.

◆ TEMPHUM21_STATUS_BIT_MASK

#define TEMPHUM21_STATUS_BIT_MASK   0xC0

◆ TEMPHUM21_STATUS_COMMAND_MODE

#define TEMPHUM21_STATUS_COMMAND_MODE   0x80

◆ TEMPHUM21_STATUS_NORMAL_OP

#define TEMPHUM21_STATUS_NORMAL_OP   0x00

TempHum 21 status/diagnostic/response bits.

Specified status/diagnostic/response bits description of TempHum 21 Click driver.

◆ TEMPHUM21_STATUS_STALE_DATA

#define TEMPHUM21_STATUS_STALE_DATA   0x40

◆ TEMPHUM21_TEMP_OFFSET

#define TEMPHUM21_TEMP_OFFSET   40.0

◆ TEMPHUM21_TEMP_RES

#define TEMPHUM21_TEMP_RES   165.0