thermostat2 2.0.0.0
Thermostat 2 Settings

Settings of Thermostat 2 Click driver. More...

Macros

#define THERMOSTAT2_CONFIG_RESOLUTION_9BIT   0x00
 Thermostat 2 default config values.
 
#define THERMOSTAT2_CONFIG_RESOLUTION_10BIT   0x20
 
#define THERMOSTAT2_CONFIG_RESOLUTION_11BIT   0x40
 
#define THERMOSTAT2_CONFIG_RESOLUTION_12BIT   0x60
 
#define THERMOSTAT2_CONFIG_RESOLUTION_BIT_MASK   0x60
 
#define THERMOSTAT2_CONFIG_RESERVED_BITS   0x1F
 
#define THERMOSTAT2_FAMILY_CODE   0x10
 Thermostat 2 family code value.
 
#define THERMOSTAT2_RESOLUTION_9BIT   0.5
 Thermostat 2 temperature calculation values.
 
#define THERMOSTAT2_RESOLUTION_10BIT   0.25
 
#define THERMOSTAT2_RESOLUTION_11BIT   0.125
 
#define THERMOSTAT2_RESOLUTION_12BIT   0.0625
 
#define THERMOSTAT2_DEFAULT_RESOLUTION   THERMOSTAT2_CONFIG_RESOLUTION_9BIT
 Thermostat 2 default config values.
 
#define THERMOSTAT2_DEFAULT_TEMP_HIGH_ALARM   0xFF
 
#define THERMOSTAT2_DEFAULT_TEMP_LOW_ALARM   0x00
 
#define THERMOSTAT2_RELAY_ON   0x01
 Thermostat 2 temperature values and relay states.
 
#define THERMOSTAT2_RELAY_OFF   0x00
 
#define THERMOSTAT2_TEMPERATURE_LIMIT   28.0
 

Detailed Description

Settings of Thermostat 2 Click driver.

Macro Definition Documentation

◆ THERMOSTAT2_CONFIG_RESERVED_BITS

#define THERMOSTAT2_CONFIG_RESERVED_BITS   0x1F

◆ THERMOSTAT2_CONFIG_RESOLUTION_10BIT

#define THERMOSTAT2_CONFIG_RESOLUTION_10BIT   0x20

◆ THERMOSTAT2_CONFIG_RESOLUTION_11BIT

#define THERMOSTAT2_CONFIG_RESOLUTION_11BIT   0x40

◆ THERMOSTAT2_CONFIG_RESOLUTION_12BIT

#define THERMOSTAT2_CONFIG_RESOLUTION_12BIT   0x60

◆ THERMOSTAT2_CONFIG_RESOLUTION_9BIT

#define THERMOSTAT2_CONFIG_RESOLUTION_9BIT   0x00

Thermostat 2 default config values.

Specified default config values of Thermostat 2 Click driver.

◆ THERMOSTAT2_CONFIG_RESOLUTION_BIT_MASK

#define THERMOSTAT2_CONFIG_RESOLUTION_BIT_MASK   0x60

◆ THERMOSTAT2_DEFAULT_RESOLUTION

#define THERMOSTAT2_DEFAULT_RESOLUTION   THERMOSTAT2_CONFIG_RESOLUTION_9BIT

Thermostat 2 default config values.

Specified default config values of Thermostat 2 Click driver.

◆ THERMOSTAT2_DEFAULT_TEMP_HIGH_ALARM

#define THERMOSTAT2_DEFAULT_TEMP_HIGH_ALARM   0xFF

◆ THERMOSTAT2_DEFAULT_TEMP_LOW_ALARM

#define THERMOSTAT2_DEFAULT_TEMP_LOW_ALARM   0x00

◆ THERMOSTAT2_FAMILY_CODE

#define THERMOSTAT2_FAMILY_CODE   0x10

Thermostat 2 family code value.

Specified family code value of Thermostat 2 Click driver.

◆ THERMOSTAT2_RELAY_OFF

#define THERMOSTAT2_RELAY_OFF   0x00

◆ THERMOSTAT2_RELAY_ON

#define THERMOSTAT2_RELAY_ON   0x01

Thermostat 2 temperature values and relay states.

Specified temperature values and relay states of Thermostat 2 Click driver.

◆ THERMOSTAT2_RESOLUTION_10BIT

#define THERMOSTAT2_RESOLUTION_10BIT   0.25

◆ THERMOSTAT2_RESOLUTION_11BIT

#define THERMOSTAT2_RESOLUTION_11BIT   0.125

◆ THERMOSTAT2_RESOLUTION_12BIT

#define THERMOSTAT2_RESOLUTION_12BIT   0.0625

◆ THERMOSTAT2_RESOLUTION_9BIT

#define THERMOSTAT2_RESOLUTION_9BIT   0.5

Thermostat 2 temperature calculation values.

Specified temperature calculation values of Thermostat 2 Click driver.

◆ THERMOSTAT2_TEMPERATURE_LIMIT

#define THERMOSTAT2_TEMPERATURE_LIMIT   28.0