templog7 2.1.0.0
Temp-Log 7 Settings

Settings of Temp-Log 7 Click driver. More...

Macros

#define TEMPLOG7_TEMP_RES_16BIT   0.0078125f
 Temp-Log 7 temperature calculation values.
 
#define TEMPLOG7_TEMP_RES_12BIT   0.0625f
 
#define TEMPLOG7_STATUS_ALERT_HIGH   0x80
 Temp-Log 7 status register settings.
 
#define TEMPLOG7_STATUS_ALERT_LOW   0x40
 
#define TEMPLOG7_STATUS_RESERVED   0x30
 
#define TEMPLOG7_STATUS_DATA_VALID   0x08
 
#define TEMPLOG7_STATUS_POWER_MODE   0x04
 
#define TEMPLOG7_STATUS_ARB_DONE   0x02
 
#define TEMPLOG7_STATUS_LOCK_STATUS   0x01
 
#define TEMPLOG7_CFG1_TEMP_FMT_12_BIT   0x00
 Temp-Log 7 config 1 register settings.
 
#define TEMPLOG7_CFG1_TEMP_FMT_16_BIT   0x80
 
#define TEMPLOG7_CFG1_TEMP_FMT_MASK   0x80
 
#define TEMPLOG7_CFG1_RESERVED   0x40
 
#define TEMPLOG7_CFG1_CONV_TIME_SEL_3MS   0x00
 
#define TEMPLOG7_CFG1_CONV_TIME_SEL_5p5MS   0x20
 
#define TEMPLOG7_CFG1_CONV_TIME_SEL_MASK   0x20
 
#define TEMPLOG7_CFG1_ALERT_MODE_ALERT   0x00
 
#define TEMPLOG7_CFG1_ALERT_MODE_COMPARATOR   0x10
 
#define TEMPLOG7_CFG1_ALERT_MODE_MASK   0x10
 
#define TEMPLOG7_CFG1_AVG_SEL_NO_AVG   0x00
 
#define TEMPLOG7_CFG1_AVG_SEL_8_B2B_CONV   0x08
 
#define TEMPLOG7_CFG1_AVG_SEL_MASK   0x08
 
#define TEMPLOG7_CFG1_CONV_MODE_SEL_ONE_SHOT   0x00
 
#define TEMPLOG7_CFG1_CONV_MODE_SEL_STACKED   0x01
 
#define TEMPLOG7_CFG1_CONV_MODE_SEL_AUTO   0x02
 
#define TEMPLOG7_CFG1_CONV_MODE_SEL_MASK   0x07
 
#define TEMPLOG7_CFG2_OD_DIS   0x00
 Temp-Log 7 config 2 register settings.
 
#define TEMPLOG7_CFG2_OD_EN   0x80
 
#define TEMPLOG7_CFG2_OD_MASK   0x80
 
#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_HOST   0x00
 
#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_IO   0x20
 
#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_RES   0x40
 
#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_IO_RES   0x60
 
#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_MASK   0x60
 
#define TEMPLOG7_CFG2_ARB_MODE_DIS   0x00
 
#define TEMPLOG7_CFG2_ARB_MODE_SOFT_EN   0x10
 
#define TEMPLOG7_CFG2_ARB_MODE_FAST_EN   0x18
 
#define TEMPLOG7_CFG2_ARB_MODE_MASK   0x18
 
#define TEMPLOG7_CFG2_HYSTERESIS_5_C   0x00
 
#define TEMPLOG7_CFG2_HYSTERESIS_10_C   0x02
 
#define TEMPLOG7_CFG2_HYSTERESIS_15_C   0x04
 
#define TEMPLOG7_CFG2_HYSTERESIS_20_C   0x06
 
#define TEMPLOG7_CFG2_HYSTERESIS_MASK   0x06
 
#define TEMPLOG7_CFG2_LOCK_DIS   0x00
 
#define TEMPLOG7_CFG2_LOCK_EN   0x01
 
#define TEMPLOG7_CFG2_LOCK_MASK   0x01
 
#define TEMPLOG7_TEMP_ALERT_LOW   5.0f
 Temp-Log 7 default temperature alert and offset values.
 
#define TEMPLOG7_TEMP_ALERT_HIGH   40.0f
 
#define TEMPLOG7_TEMP_OFFSET   0.0f
 
#define TEMPLOG7_IO_READ_NIO3_STATE   0x80
 Temp-Log 7 IO read register settings.
 
#define TEMPLOG7_IO_READ_NIO2_STATE   0x40
 
#define TEMPLOG7_IO_READ_NIO1_STATE   0x20
 
#define TEMPLOG7_IO_READ_NIO0_STATE   0x10
 
#define TEMPLOG7_IO_READ_IO3_STATE   0x08
 
#define TEMPLOG7_IO_READ_IO2_STATE   0x04
 
#define TEMPLOG7_IO_READ_IO1_STATE   0x02
 
#define TEMPLOG7_IO_READ_IO0_STATE   0x01
 
#define TEMPLOG7_IO_CFG_IO3_SEL_INPUT   0x00
 Temp-Log 7 IO config register settings.
 
#define TEMPLOG7_IO_CFG_IO3_SEL_OUTPUT_LOW   0x80
 
#define TEMPLOG7_IO_CFG_IO3_SEL_OUTPUT_HIGH   0xC0
 
#define TEMPLOG7_IO_CFG_IO3_SEL_MASK   0xC0
 
#define TEMPLOG7_IO_CFG_IO2_SEL_INPUT   0x00
 
#define TEMPLOG7_IO_CFG_IO2_SEL_ALERT   0x10
 
#define TEMPLOG7_IO_CFG_IO2_SEL_OUTPUT_LOW   0x20
 
#define TEMPLOG7_IO_CFG_IO2_SEL_OUTPUT_HIGH   0x30
 
#define TEMPLOG7_IO_CFG_IO2_SEL_MASK   0x30
 
#define TEMPLOG7_IO_CFG_IO1_SEL_INPUT   0x00
 
#define TEMPLOG7_IO_CFG_IO1_SEL_OUTPUT_LOW   0x08
 
#define TEMPLOG7_IO_CFG_IO1_SEL_OUTPUT_HIGH   0x0C
 
#define TEMPLOG7_IO_CFG_IO1_SEL_MASK   0x0C
 
#define TEMPLOG7_IO_CFG_IO0_SEL_INPUT   0x00
 
#define TEMPLOG7_IO_CFG_IO0_SEL_OUTPUT_LOW   0x02
 
#define TEMPLOG7_IO_CFG_IO0_SEL_OUTPUT_HIGH   0x03
 
#define TEMPLOG7_IO_CFG_IO0_SEL_MASK   0x03
 
#define TEMPLOG7_IO_CHECK_CODE_OK   0xAA
 
#define TEMPLOG7_EEPROM_ADDR_MIN   0x00
 Temp-Log 7 EEPROM settings.
 
#define TEMPLOG7_EEPROM_ADDR_MAX   0xFF
 
#define TEMPLOG7_EEPROM_ADDR_BLOCK   8
 
#define TEMPLOG7_EEPROM_ADDR_MASK   0xFFF8u
 
#define TEMPLOG7_COPY_SCRATCHPAD_2_QUALIFIER   0xA5
 Temp-Log 7 scratchpad 2 settings.
 
#define TEMPLOG7_FAMILY_CODE   0x26
 Temp-Log 7 family code value.
 
#define TEMPLOG7_ADDRESS_0   0x00
 Temp-Log 7 address selection macros.
 
#define TEMPLOG7_ADDRESS_ALL   0xFF
 

Detailed Description

Settings of Temp-Log 7 Click driver.

Macro Definition Documentation

◆ TEMPLOG7_ADDRESS_0

#define TEMPLOG7_ADDRESS_0   0x00

Temp-Log 7 address selection macros.

Specified address selection macros of Temp-Log 7 Click driver.

◆ TEMPLOG7_ADDRESS_ALL

#define TEMPLOG7_ADDRESS_ALL   0xFF

◆ TEMPLOG7_CFG1_ALERT_MODE_ALERT

#define TEMPLOG7_CFG1_ALERT_MODE_ALERT   0x00

◆ TEMPLOG7_CFG1_ALERT_MODE_COMPARATOR

#define TEMPLOG7_CFG1_ALERT_MODE_COMPARATOR   0x10

◆ TEMPLOG7_CFG1_ALERT_MODE_MASK

#define TEMPLOG7_CFG1_ALERT_MODE_MASK   0x10

◆ TEMPLOG7_CFG1_AVG_SEL_8_B2B_CONV

#define TEMPLOG7_CFG1_AVG_SEL_8_B2B_CONV   0x08

◆ TEMPLOG7_CFG1_AVG_SEL_MASK

#define TEMPLOG7_CFG1_AVG_SEL_MASK   0x08

◆ TEMPLOG7_CFG1_AVG_SEL_NO_AVG

#define TEMPLOG7_CFG1_AVG_SEL_NO_AVG   0x00

◆ TEMPLOG7_CFG1_CONV_MODE_SEL_AUTO

#define TEMPLOG7_CFG1_CONV_MODE_SEL_AUTO   0x02

◆ TEMPLOG7_CFG1_CONV_MODE_SEL_MASK

#define TEMPLOG7_CFG1_CONV_MODE_SEL_MASK   0x07

◆ TEMPLOG7_CFG1_CONV_MODE_SEL_ONE_SHOT

#define TEMPLOG7_CFG1_CONV_MODE_SEL_ONE_SHOT   0x00

◆ TEMPLOG7_CFG1_CONV_MODE_SEL_STACKED

#define TEMPLOG7_CFG1_CONV_MODE_SEL_STACKED   0x01

◆ TEMPLOG7_CFG1_CONV_TIME_SEL_3MS

#define TEMPLOG7_CFG1_CONV_TIME_SEL_3MS   0x00

◆ TEMPLOG7_CFG1_CONV_TIME_SEL_5p5MS

#define TEMPLOG7_CFG1_CONV_TIME_SEL_5p5MS   0x20

◆ TEMPLOG7_CFG1_CONV_TIME_SEL_MASK

#define TEMPLOG7_CFG1_CONV_TIME_SEL_MASK   0x20

◆ TEMPLOG7_CFG1_RESERVED

#define TEMPLOG7_CFG1_RESERVED   0x40

◆ TEMPLOG7_CFG1_TEMP_FMT_12_BIT

#define TEMPLOG7_CFG1_TEMP_FMT_12_BIT   0x00

Temp-Log 7 config 1 register settings.

Specified config 1 register settings of Temp-Log 7 Click driver.

◆ TEMPLOG7_CFG1_TEMP_FMT_16_BIT

#define TEMPLOG7_CFG1_TEMP_FMT_16_BIT   0x80

◆ TEMPLOG7_CFG1_TEMP_FMT_MASK

#define TEMPLOG7_CFG1_TEMP_FMT_MASK   0x80

◆ TEMPLOG7_CFG2_ARB_MODE_DIS

#define TEMPLOG7_CFG2_ARB_MODE_DIS   0x00

◆ TEMPLOG7_CFG2_ARB_MODE_FAST_EN

#define TEMPLOG7_CFG2_ARB_MODE_FAST_EN   0x18

◆ TEMPLOG7_CFG2_ARB_MODE_MASK

#define TEMPLOG7_CFG2_ARB_MODE_MASK   0x18

◆ TEMPLOG7_CFG2_ARB_MODE_SOFT_EN

#define TEMPLOG7_CFG2_ARB_MODE_SOFT_EN   0x10

◆ TEMPLOG7_CFG2_FLEX_ADDR_MODE_HOST

#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_HOST   0x00

◆ TEMPLOG7_CFG2_FLEX_ADDR_MODE_IO

#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_IO   0x20

◆ TEMPLOG7_CFG2_FLEX_ADDR_MODE_IO_RES

#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_IO_RES   0x60

◆ TEMPLOG7_CFG2_FLEX_ADDR_MODE_MASK

#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_MASK   0x60

◆ TEMPLOG7_CFG2_FLEX_ADDR_MODE_RES

#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_RES   0x40

◆ TEMPLOG7_CFG2_HYSTERESIS_10_C

#define TEMPLOG7_CFG2_HYSTERESIS_10_C   0x02

◆ TEMPLOG7_CFG2_HYSTERESIS_15_C

#define TEMPLOG7_CFG2_HYSTERESIS_15_C   0x04

◆ TEMPLOG7_CFG2_HYSTERESIS_20_C

#define TEMPLOG7_CFG2_HYSTERESIS_20_C   0x06

◆ TEMPLOG7_CFG2_HYSTERESIS_5_C

#define TEMPLOG7_CFG2_HYSTERESIS_5_C   0x00

◆ TEMPLOG7_CFG2_HYSTERESIS_MASK

#define TEMPLOG7_CFG2_HYSTERESIS_MASK   0x06

◆ TEMPLOG7_CFG2_LOCK_DIS

#define TEMPLOG7_CFG2_LOCK_DIS   0x00

◆ TEMPLOG7_CFG2_LOCK_EN

#define TEMPLOG7_CFG2_LOCK_EN   0x01

◆ TEMPLOG7_CFG2_LOCK_MASK

#define TEMPLOG7_CFG2_LOCK_MASK   0x01

◆ TEMPLOG7_CFG2_OD_DIS

#define TEMPLOG7_CFG2_OD_DIS   0x00

Temp-Log 7 config 2 register settings.

Specified config 2 register settings of Temp-Log 7 Click driver.

◆ TEMPLOG7_CFG2_OD_EN

#define TEMPLOG7_CFG2_OD_EN   0x80

◆ TEMPLOG7_CFG2_OD_MASK

#define TEMPLOG7_CFG2_OD_MASK   0x80

◆ TEMPLOG7_COPY_SCRATCHPAD_2_QUALIFIER

#define TEMPLOG7_COPY_SCRATCHPAD_2_QUALIFIER   0xA5

Temp-Log 7 scratchpad 2 settings.

Specified scratchpad 2 settings of Temp-Log 7 Click driver.

◆ TEMPLOG7_EEPROM_ADDR_BLOCK

#define TEMPLOG7_EEPROM_ADDR_BLOCK   8

◆ TEMPLOG7_EEPROM_ADDR_MASK

#define TEMPLOG7_EEPROM_ADDR_MASK   0xFFF8u

◆ TEMPLOG7_EEPROM_ADDR_MAX

#define TEMPLOG7_EEPROM_ADDR_MAX   0xFF

◆ TEMPLOG7_EEPROM_ADDR_MIN

#define TEMPLOG7_EEPROM_ADDR_MIN   0x00

Temp-Log 7 EEPROM settings.

Specified EEPROM settings of Temp-Log 7 Click driver.

◆ TEMPLOG7_FAMILY_CODE

#define TEMPLOG7_FAMILY_CODE   0x26

Temp-Log 7 family code value.

Specified family code value of Temp-Log 7 Click driver.

◆ TEMPLOG7_IO_CFG_IO0_SEL_INPUT

#define TEMPLOG7_IO_CFG_IO0_SEL_INPUT   0x00

◆ TEMPLOG7_IO_CFG_IO0_SEL_MASK

#define TEMPLOG7_IO_CFG_IO0_SEL_MASK   0x03

◆ TEMPLOG7_IO_CFG_IO0_SEL_OUTPUT_HIGH

#define TEMPLOG7_IO_CFG_IO0_SEL_OUTPUT_HIGH   0x03

◆ TEMPLOG7_IO_CFG_IO0_SEL_OUTPUT_LOW

#define TEMPLOG7_IO_CFG_IO0_SEL_OUTPUT_LOW   0x02

◆ TEMPLOG7_IO_CFG_IO1_SEL_INPUT

#define TEMPLOG7_IO_CFG_IO1_SEL_INPUT   0x00

◆ TEMPLOG7_IO_CFG_IO1_SEL_MASK

#define TEMPLOG7_IO_CFG_IO1_SEL_MASK   0x0C

◆ TEMPLOG7_IO_CFG_IO1_SEL_OUTPUT_HIGH

#define TEMPLOG7_IO_CFG_IO1_SEL_OUTPUT_HIGH   0x0C

◆ TEMPLOG7_IO_CFG_IO1_SEL_OUTPUT_LOW

#define TEMPLOG7_IO_CFG_IO1_SEL_OUTPUT_LOW   0x08

◆ TEMPLOG7_IO_CFG_IO2_SEL_ALERT

#define TEMPLOG7_IO_CFG_IO2_SEL_ALERT   0x10

◆ TEMPLOG7_IO_CFG_IO2_SEL_INPUT

#define TEMPLOG7_IO_CFG_IO2_SEL_INPUT   0x00

◆ TEMPLOG7_IO_CFG_IO2_SEL_MASK

#define TEMPLOG7_IO_CFG_IO2_SEL_MASK   0x30

◆ TEMPLOG7_IO_CFG_IO2_SEL_OUTPUT_HIGH

#define TEMPLOG7_IO_CFG_IO2_SEL_OUTPUT_HIGH   0x30

◆ TEMPLOG7_IO_CFG_IO2_SEL_OUTPUT_LOW

#define TEMPLOG7_IO_CFG_IO2_SEL_OUTPUT_LOW   0x20

◆ TEMPLOG7_IO_CFG_IO3_SEL_INPUT

#define TEMPLOG7_IO_CFG_IO3_SEL_INPUT   0x00

Temp-Log 7 IO config register settings.

Specified IO config register settings of Temp-Log 7 Click driver.

◆ TEMPLOG7_IO_CFG_IO3_SEL_MASK

#define TEMPLOG7_IO_CFG_IO3_SEL_MASK   0xC0

◆ TEMPLOG7_IO_CFG_IO3_SEL_OUTPUT_HIGH

#define TEMPLOG7_IO_CFG_IO3_SEL_OUTPUT_HIGH   0xC0

◆ TEMPLOG7_IO_CFG_IO3_SEL_OUTPUT_LOW

#define TEMPLOG7_IO_CFG_IO3_SEL_OUTPUT_LOW   0x80

◆ TEMPLOG7_IO_CHECK_CODE_OK

#define TEMPLOG7_IO_CHECK_CODE_OK   0xAA

◆ TEMPLOG7_IO_READ_IO0_STATE

#define TEMPLOG7_IO_READ_IO0_STATE   0x01

◆ TEMPLOG7_IO_READ_IO1_STATE

#define TEMPLOG7_IO_READ_IO1_STATE   0x02

◆ TEMPLOG7_IO_READ_IO2_STATE

#define TEMPLOG7_IO_READ_IO2_STATE   0x04

◆ TEMPLOG7_IO_READ_IO3_STATE

#define TEMPLOG7_IO_READ_IO3_STATE   0x08

◆ TEMPLOG7_IO_READ_NIO0_STATE

#define TEMPLOG7_IO_READ_NIO0_STATE   0x10

◆ TEMPLOG7_IO_READ_NIO1_STATE

#define TEMPLOG7_IO_READ_NIO1_STATE   0x20

◆ TEMPLOG7_IO_READ_NIO2_STATE

#define TEMPLOG7_IO_READ_NIO2_STATE   0x40

◆ TEMPLOG7_IO_READ_NIO3_STATE

#define TEMPLOG7_IO_READ_NIO3_STATE   0x80

Temp-Log 7 IO read register settings.

Specified IO read register settings of Temp-Log 7 Click driver.

◆ TEMPLOG7_STATUS_ALERT_HIGH

#define TEMPLOG7_STATUS_ALERT_HIGH   0x80

Temp-Log 7 status register settings.

Specified status register settings of Temp-Log 7 Click driver.

◆ TEMPLOG7_STATUS_ALERT_LOW

#define TEMPLOG7_STATUS_ALERT_LOW   0x40

◆ TEMPLOG7_STATUS_ARB_DONE

#define TEMPLOG7_STATUS_ARB_DONE   0x02

◆ TEMPLOG7_STATUS_DATA_VALID

#define TEMPLOG7_STATUS_DATA_VALID   0x08

◆ TEMPLOG7_STATUS_LOCK_STATUS

#define TEMPLOG7_STATUS_LOCK_STATUS   0x01

◆ TEMPLOG7_STATUS_POWER_MODE

#define TEMPLOG7_STATUS_POWER_MODE   0x04

◆ TEMPLOG7_STATUS_RESERVED

#define TEMPLOG7_STATUS_RESERVED   0x30

◆ TEMPLOG7_TEMP_ALERT_HIGH

#define TEMPLOG7_TEMP_ALERT_HIGH   40.0f

◆ TEMPLOG7_TEMP_ALERT_LOW

#define TEMPLOG7_TEMP_ALERT_LOW   5.0f

Temp-Log 7 default temperature alert and offset values.

Specified default temperature alert and offset values of Temp-Log 7 Click driver.

◆ TEMPLOG7_TEMP_OFFSET

#define TEMPLOG7_TEMP_OFFSET   0.0f

◆ TEMPLOG7_TEMP_RES_12BIT

#define TEMPLOG7_TEMP_RES_12BIT   0.0625f

◆ TEMPLOG7_TEMP_RES_16BIT

#define TEMPLOG7_TEMP_RES_16BIT   0.0078125f

Temp-Log 7 temperature calculation values.

Specified temperature calculation values of Temp-Log 7 Click driver.