thermo2 2.0.0.0
Thermo 2 Settings

Settings of Thermo 2 Click driver. More...

Macros

#define THERMO2_CONFIG_ADDRESS_0   0x00
 Thermo 2 config register settings.
 
#define THERMO2_CONFIG_ADDRESS_1   0x01
 
#define THERMO2_CONFIG_ADDRESS_2   0x02
 
#define THERMO2_CONFIG_ADDRESS_3   0x03
 
#define THERMO2_CONFIG_ADDRESS_4   0x04
 
#define THERMO2_CONFIG_ADDRESS_5   0x05
 
#define THERMO2_CONFIG_ADDRESS_6   0x06
 
#define THERMO2_CONFIG_ADDRESS_7   0x07
 
#define THERMO2_CONFIG_ADDRESS_8   0x08
 
#define THERMO2_CONFIG_ADDRESS_9   0x09
 
#define THERMO2_CONFIG_ADDRESS_10   0x0A
 
#define THERMO2_CONFIG_ADDRESS_11   0x0B
 
#define THERMO2_CONFIG_ADDRESS_12   0x0C
 
#define THERMO2_CONFIG_ADDRESS_13   0x0D
 
#define THERMO2_CONFIG_ADDRESS_14   0x0E
 
#define THERMO2_CONFIG_ADDRESS_15   0x0F
 
#define THERMO2_CONFIG_ADDRESS_ALL   0x10
 
#define THERMO2_CONFIG_ADDRESS_BIT_MASK   0x1F
 
#define THERMO2_CONFIG_RESOLUTION_9BIT   0x00
 
#define THERMO2_CONFIG_RESOLUTION_10BIT   0x20
 
#define THERMO2_CONFIG_RESOLUTION_11BIT   0x40
 
#define THERMO2_CONFIG_RESOLUTION_12BIT   0x60
 
#define THERMO2_CONFIG_RESOLUTION_BIT_MASK   0x60
 
#define THERMO2_CONFIG_RESERVED_BITS   0x10
 
#define THERMO2_DATA_RESOLUTION   0.0625
 Thermo 2 temperature calculation values.
 
#define THERMO2_FAMILY_CODE   0x3B
 Thermo 2 family code value.
 
#define THERMO2_DEFAULT_ADDRESS   THERMO2_CONFIG_ADDRESS_ALL
 Thermo 2 default config values.
 
#define THERMO2_DEFAULT_RESOLUTION   THERMO2_CONFIG_RESOLUTION_12BIT
 
#define THERMO2_DEFAULT_TEMP_HIGH_ALARM   0xFF
 
#define THERMO2_DEFAULT_TEMP_LOW_ALARM   0x00
 

Detailed Description

Settings of Thermo 2 Click driver.

Macro Definition Documentation

◆ THERMO2_CONFIG_ADDRESS_0

#define THERMO2_CONFIG_ADDRESS_0   0x00

Thermo 2 config register settings.

Specified config register settings of Thermo 2 Click driver.

◆ THERMO2_CONFIG_ADDRESS_1

#define THERMO2_CONFIG_ADDRESS_1   0x01

◆ THERMO2_CONFIG_ADDRESS_10

#define THERMO2_CONFIG_ADDRESS_10   0x0A

◆ THERMO2_CONFIG_ADDRESS_11

#define THERMO2_CONFIG_ADDRESS_11   0x0B

◆ THERMO2_CONFIG_ADDRESS_12

#define THERMO2_CONFIG_ADDRESS_12   0x0C

◆ THERMO2_CONFIG_ADDRESS_13

#define THERMO2_CONFIG_ADDRESS_13   0x0D

◆ THERMO2_CONFIG_ADDRESS_14

#define THERMO2_CONFIG_ADDRESS_14   0x0E

◆ THERMO2_CONFIG_ADDRESS_15

#define THERMO2_CONFIG_ADDRESS_15   0x0F

◆ THERMO2_CONFIG_ADDRESS_2

#define THERMO2_CONFIG_ADDRESS_2   0x02

◆ THERMO2_CONFIG_ADDRESS_3

#define THERMO2_CONFIG_ADDRESS_3   0x03

◆ THERMO2_CONFIG_ADDRESS_4

#define THERMO2_CONFIG_ADDRESS_4   0x04

◆ THERMO2_CONFIG_ADDRESS_5

#define THERMO2_CONFIG_ADDRESS_5   0x05

◆ THERMO2_CONFIG_ADDRESS_6

#define THERMO2_CONFIG_ADDRESS_6   0x06

◆ THERMO2_CONFIG_ADDRESS_7

#define THERMO2_CONFIG_ADDRESS_7   0x07

◆ THERMO2_CONFIG_ADDRESS_8

#define THERMO2_CONFIG_ADDRESS_8   0x08

◆ THERMO2_CONFIG_ADDRESS_9

#define THERMO2_CONFIG_ADDRESS_9   0x09

◆ THERMO2_CONFIG_ADDRESS_ALL

#define THERMO2_CONFIG_ADDRESS_ALL   0x10

◆ THERMO2_CONFIG_ADDRESS_BIT_MASK

#define THERMO2_CONFIG_ADDRESS_BIT_MASK   0x1F

◆ THERMO2_CONFIG_RESERVED_BITS

#define THERMO2_CONFIG_RESERVED_BITS   0x10

◆ THERMO2_CONFIG_RESOLUTION_10BIT

#define THERMO2_CONFIG_RESOLUTION_10BIT   0x20

◆ THERMO2_CONFIG_RESOLUTION_11BIT

#define THERMO2_CONFIG_RESOLUTION_11BIT   0x40

◆ THERMO2_CONFIG_RESOLUTION_12BIT

#define THERMO2_CONFIG_RESOLUTION_12BIT   0x60

◆ THERMO2_CONFIG_RESOLUTION_9BIT

#define THERMO2_CONFIG_RESOLUTION_9BIT   0x00

◆ THERMO2_CONFIG_RESOLUTION_BIT_MASK

#define THERMO2_CONFIG_RESOLUTION_BIT_MASK   0x60

◆ THERMO2_DATA_RESOLUTION

#define THERMO2_DATA_RESOLUTION   0.0625

Thermo 2 temperature calculation values.

Specified temperature calculation values of Thermo 2 Click driver.

◆ THERMO2_DEFAULT_ADDRESS

#define THERMO2_DEFAULT_ADDRESS   THERMO2_CONFIG_ADDRESS_ALL

Thermo 2 default config values.

Specified default config values of Thermo 2 Click driver.

◆ THERMO2_DEFAULT_RESOLUTION

#define THERMO2_DEFAULT_RESOLUTION   THERMO2_CONFIG_RESOLUTION_12BIT

◆ THERMO2_DEFAULT_TEMP_HIGH_ALARM

#define THERMO2_DEFAULT_TEMP_HIGH_ALARM   0xFF

◆ THERMO2_DEFAULT_TEMP_LOW_ALARM

#define THERMO2_DEFAULT_TEMP_LOW_ALARM   0x00

◆ THERMO2_FAMILY_CODE

#define THERMO2_FAMILY_CODE   0x3B

Thermo 2 family code value.

Specified family code value of Thermo 2 Click driver.