templog7 2.1.0.0
|
Settings of Temp-Log 7 Click driver. More...
Settings of Temp-Log 7 Click driver.
#define TEMPLOG7_ADDRESS_0 0x00 |
Temp-Log 7 address selection macros.
Specified address selection macros of Temp-Log 7 Click driver.
#define TEMPLOG7_ADDRESS_ALL 0xFF |
#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_8_B2B_CONV 0x08 |
#define TEMPLOG7_CFG1_AVG_SEL_MASK 0x08 |
#define TEMPLOG7_CFG1_AVG_SEL_NO_AVG 0x00 |
#define TEMPLOG7_CFG1_CONV_MODE_SEL_AUTO 0x02 |
#define TEMPLOG7_CFG1_CONV_MODE_SEL_MASK 0x07 |
#define TEMPLOG7_CFG1_CONV_MODE_SEL_ONE_SHOT 0x00 |
#define TEMPLOG7_CFG1_CONV_MODE_SEL_STACKED 0x01 |
#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_RESERVED 0x40 |
#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.
#define TEMPLOG7_CFG1_TEMP_FMT_16_BIT 0x80 |
#define TEMPLOG7_CFG1_TEMP_FMT_MASK 0x80 |
#define TEMPLOG7_CFG2_ARB_MODE_DIS 0x00 |
#define TEMPLOG7_CFG2_ARB_MODE_FAST_EN 0x18 |
#define TEMPLOG7_CFG2_ARB_MODE_MASK 0x18 |
#define TEMPLOG7_CFG2_ARB_MODE_SOFT_EN 0x10 |
#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_HOST 0x00 |
#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_IO 0x20 |
#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_IO_RES 0x60 |
#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_MASK 0x60 |
#define TEMPLOG7_CFG2_FLEX_ADDR_MODE_RES 0x40 |
#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_5_C 0x00 |
#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_CFG2_OD_DIS 0x00 |
Temp-Log 7 config 2 register settings.
Specified config 2 register settings of Temp-Log 7 Click driver.
#define TEMPLOG7_CFG2_OD_EN 0x80 |
#define TEMPLOG7_CFG2_OD_MASK 0x80 |
#define TEMPLOG7_COPY_SCRATCHPAD_2_QUALIFIER 0xA5 |
Temp-Log 7 scratchpad 2 settings.
Specified scratchpad 2 settings of Temp-Log 7 Click driver.
#define TEMPLOG7_EEPROM_ADDR_BLOCK 8 |
#define TEMPLOG7_EEPROM_ADDR_MASK 0xFFF8u |
#define TEMPLOG7_EEPROM_ADDR_MAX 0xFF |
#define TEMPLOG7_EEPROM_ADDR_MIN 0x00 |
Temp-Log 7 EEPROM settings.
Specified EEPROM settings of Temp-Log 7 Click driver.
#define TEMPLOG7_FAMILY_CODE 0x26 |
Temp-Log 7 family code value.
Specified family code value of Temp-Log 7 Click driver.
#define TEMPLOG7_IO_CFG_IO0_SEL_INPUT 0x00 |
#define TEMPLOG7_IO_CFG_IO0_SEL_MASK 0x03 |
#define TEMPLOG7_IO_CFG_IO0_SEL_OUTPUT_HIGH 0x03 |
#define TEMPLOG7_IO_CFG_IO0_SEL_OUTPUT_LOW 0x02 |
#define TEMPLOG7_IO_CFG_IO1_SEL_INPUT 0x00 |
#define TEMPLOG7_IO_CFG_IO1_SEL_MASK 0x0C |
#define TEMPLOG7_IO_CFG_IO1_SEL_OUTPUT_HIGH 0x0C |
#define TEMPLOG7_IO_CFG_IO1_SEL_OUTPUT_LOW 0x08 |
#define TEMPLOG7_IO_CFG_IO2_SEL_ALERT 0x10 |
#define TEMPLOG7_IO_CFG_IO2_SEL_INPUT 0x00 |
#define TEMPLOG7_IO_CFG_IO2_SEL_MASK 0x30 |
#define TEMPLOG7_IO_CFG_IO2_SEL_OUTPUT_HIGH 0x30 |
#define TEMPLOG7_IO_CFG_IO2_SEL_OUTPUT_LOW 0x20 |
#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.
#define TEMPLOG7_IO_CFG_IO3_SEL_MASK 0xC0 |
#define TEMPLOG7_IO_CFG_IO3_SEL_OUTPUT_HIGH 0xC0 |
#define TEMPLOG7_IO_CFG_IO3_SEL_OUTPUT_LOW 0x80 |
#define TEMPLOG7_IO_CHECK_CODE_OK 0xAA |
#define TEMPLOG7_IO_READ_IO0_STATE 0x01 |
#define TEMPLOG7_IO_READ_IO1_STATE 0x02 |
#define TEMPLOG7_IO_READ_IO2_STATE 0x04 |
#define TEMPLOG7_IO_READ_IO3_STATE 0x08 |
#define TEMPLOG7_IO_READ_NIO0_STATE 0x10 |
#define TEMPLOG7_IO_READ_NIO1_STATE 0x20 |
#define TEMPLOG7_IO_READ_NIO2_STATE 0x40 |
#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.
#define TEMPLOG7_STATUS_ALERT_HIGH 0x80 |
Temp-Log 7 status register settings.
Specified status register settings of Temp-Log 7 Click driver.
#define TEMPLOG7_STATUS_ALERT_LOW 0x40 |
#define TEMPLOG7_STATUS_ARB_DONE 0x02 |
#define TEMPLOG7_STATUS_DATA_VALID 0x08 |
#define TEMPLOG7_STATUS_LOCK_STATUS 0x01 |
#define TEMPLOG7_STATUS_POWER_MODE 0x04 |
#define TEMPLOG7_STATUS_RESERVED 0x30 |
#define TEMPLOG7_TEMP_ALERT_HIGH 40.0f |
#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.
#define TEMPLOG7_TEMP_OFFSET 0.0f |
#define TEMPLOG7_TEMP_RES_12BIT 0.0625f |
#define TEMPLOG7_TEMP_RES_16BIT 0.0078125f |
Temp-Log 7 temperature calculation values.
Specified temperature calculation values of Temp-Log 7 Click driver.