thermo23 2.0.0.0
Thermo 23 Device Settings

Settings for registers of Thermo 23 Click driver. More...

Macros

#define THERMO23_CMD_SOFT_RESET   0xB4
 Thermo 23 control commands.
 
#define THERMO23_CMD_GLOBAL_INIT   0x8C
 
#define THERMO23_CMD_GLOBAL_ADDRESS_ASSIGN   0x90
 
#define THERMO23_CMD_GLOBAL_CLEAR_INT   0xA9
 
#define THERMO23_CMD_GLOBAL_WRITE_TEMP   0xF0
 
#define THERMO23_CMD_GLOBAL_WRITE_CONFIG   0xF2
 
#define THERMO23_CMD_GLOBAL_WRITE_TLOW   0xF4
 
#define THERMO23_CMD_GLOBAL_WRITE_THIGH   0xF6
 
#define THERMO23_CMD_GLOBAL_READ_TEMP   0xF1
 
#define THERMO23_CMD_GLOBAL_READ_CONFIG   0xF3
 
#define THERMO23_CMD_GLOBAL_READ_TLOW   0xF5
 
#define THERMO23_CMD_GLOBAL_READ_THIGH   0xF7
 
#define THERMO23_CMD_INDIVIDUAL_WRITE_BIT   0x00
 
#define THERMO23_CMD_INDIVIDUAL_READ_BIT   0x01
 
#define THERMO23_CALIBRATION_BYTE   0x55
 Thermo 23 calibration byte.
 
#define THERMO23_TIMEOUT   5000
 Thermo 23 timeout value in milliseconds.
 
#define THERMO23_CONFIG_INT_EN   0x8000
 Thermo 23 config register settings.
 
#define THERMO23_CONFIG_CR_0p25HZ   0x0000
 
#define THERMO23_CONFIG_CR_1HZ   0x2000
 
#define THERMO23_CONFIG_CR_4HZ   0x4000
 
#define THERMO23_CONFIG_CR_8HZ   0x6000
 
#define THERMO23_CONFIG_FH   0x1000
 
#define THERMO23_CONFIG_FL   0x0800
 
#define THERMO23_CONFIG_LC   0x0400
 
#define THERMO23_CONFIG_MODE_SHUTDOWN   0x0000
 
#define THERMO23_CONFIG_MODE_ONE_SHOT   0x0100
 
#define THERMO23_CONFIG_MODE_CONTINUOUS   0x0200
 
#define THERMO23_CONFIG_ETM   0x0080
 
#define THERMO23_CONFIG_RESERVED_BITS   0x007F
 
#define THERMO23_TEMP_RESOLUTION   0.0625
 Thermo 23 temperature resolution.
 
#define DRV_BUFFER_SIZE   200
 Thermo 23 driver buffer size.
 

Detailed Description

Settings for registers of Thermo 23 Click driver.

Macro Definition Documentation

◆ DRV_BUFFER_SIZE

#define DRV_BUFFER_SIZE   200

Thermo 23 driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.

◆ THERMO23_CALIBRATION_BYTE

#define THERMO23_CALIBRATION_BYTE   0x55

Thermo 23 calibration byte.

Specified calibration byte of Thermo 23 Click driver.

◆ THERMO23_CMD_GLOBAL_ADDRESS_ASSIGN

#define THERMO23_CMD_GLOBAL_ADDRESS_ASSIGN   0x90

◆ THERMO23_CMD_GLOBAL_CLEAR_INT

#define THERMO23_CMD_GLOBAL_CLEAR_INT   0xA9

◆ THERMO23_CMD_GLOBAL_INIT

#define THERMO23_CMD_GLOBAL_INIT   0x8C

◆ THERMO23_CMD_GLOBAL_READ_CONFIG

#define THERMO23_CMD_GLOBAL_READ_CONFIG   0xF3

◆ THERMO23_CMD_GLOBAL_READ_TEMP

#define THERMO23_CMD_GLOBAL_READ_TEMP   0xF1

◆ THERMO23_CMD_GLOBAL_READ_THIGH

#define THERMO23_CMD_GLOBAL_READ_THIGH   0xF7

◆ THERMO23_CMD_GLOBAL_READ_TLOW

#define THERMO23_CMD_GLOBAL_READ_TLOW   0xF5

◆ THERMO23_CMD_GLOBAL_WRITE_CONFIG

#define THERMO23_CMD_GLOBAL_WRITE_CONFIG   0xF2

◆ THERMO23_CMD_GLOBAL_WRITE_TEMP

#define THERMO23_CMD_GLOBAL_WRITE_TEMP   0xF0

◆ THERMO23_CMD_GLOBAL_WRITE_THIGH

#define THERMO23_CMD_GLOBAL_WRITE_THIGH   0xF6

◆ THERMO23_CMD_GLOBAL_WRITE_TLOW

#define THERMO23_CMD_GLOBAL_WRITE_TLOW   0xF4

◆ THERMO23_CMD_INDIVIDUAL_READ_BIT

#define THERMO23_CMD_INDIVIDUAL_READ_BIT   0x01

◆ THERMO23_CMD_INDIVIDUAL_WRITE_BIT

#define THERMO23_CMD_INDIVIDUAL_WRITE_BIT   0x00

◆ THERMO23_CMD_SOFT_RESET

#define THERMO23_CMD_SOFT_RESET   0xB4

Thermo 23 control commands.

Specified setting for control commands of Thermo 23 Click driver.

◆ THERMO23_CONFIG_CR_0p25HZ

#define THERMO23_CONFIG_CR_0p25HZ   0x0000

◆ THERMO23_CONFIG_CR_1HZ

#define THERMO23_CONFIG_CR_1HZ   0x2000

◆ THERMO23_CONFIG_CR_4HZ

#define THERMO23_CONFIG_CR_4HZ   0x4000

◆ THERMO23_CONFIG_CR_8HZ

#define THERMO23_CONFIG_CR_8HZ   0x6000

◆ THERMO23_CONFIG_ETM

#define THERMO23_CONFIG_ETM   0x0080

◆ THERMO23_CONFIG_FH

#define THERMO23_CONFIG_FH   0x1000

◆ THERMO23_CONFIG_FL

#define THERMO23_CONFIG_FL   0x0800

◆ THERMO23_CONFIG_INT_EN

#define THERMO23_CONFIG_INT_EN   0x8000

Thermo 23 config register settings.

Specified config register settings of Thermo 23 Click driver.

◆ THERMO23_CONFIG_LC

#define THERMO23_CONFIG_LC   0x0400

◆ THERMO23_CONFIG_MODE_CONTINUOUS

#define THERMO23_CONFIG_MODE_CONTINUOUS   0x0200

◆ THERMO23_CONFIG_MODE_ONE_SHOT

#define THERMO23_CONFIG_MODE_ONE_SHOT   0x0100

◆ THERMO23_CONFIG_MODE_SHUTDOWN

#define THERMO23_CONFIG_MODE_SHUTDOWN   0x0000

◆ THERMO23_CONFIG_RESERVED_BITS

#define THERMO23_CONFIG_RESERVED_BITS   0x007F

◆ THERMO23_TEMP_RESOLUTION

#define THERMO23_TEMP_RESOLUTION   0.0625

Thermo 23 temperature resolution.

Specified temperature resolution of Thermo 23 Click driver.

◆ THERMO23_TIMEOUT

#define THERMO23_TIMEOUT   5000

Thermo 23 timeout value in milliseconds.

Specified timeout value in milliseconds of Thermo 23 Click driver.