tempalarm 2.1.0.0
Temp Alarm Registers Settings

Settings for registers of Temp Alarm Click driver. More...

Macros

#define TEMPALARM_THIGH_LA_ALERT_DIS_MASK   0x80
 Temp Alarm description setting.
 
#define TEMPALARM_THIGH_LA_ALERT_ENABLE_MASK   0x80
 
#define TEMPALARM_THIGH_RA_ALERT_DIS_MASK   0x10
 
#define TEMPALARM_THIGH_RA_ALERT_ENABLE_MASK   0x00
 
#define TEMPALARM_TLOW_RA_ALERT_DIS_MASK   0x08
 
#define TEMPALARM_TLOW_RA_ALERT_ENABLE_MASK   0x00
 
#define TEMPALARM_TCRIT_R_ALERT_DIS_MASK   0x02
 
#define TEMPALARM_TCRIT_R_ALERT_ENABLE_MASK   0x00
 
#define TEMPALARM_TCRIT_L_ALERT_DIS_MASK   0x01
 
#define TEMPALARM_TCRIT_L_ALERT_ENABLE_MASK   0x00
 
#define TEMPALARM_ADC_BUSY_MASK   0x80
 Temp Alarm flags setting.
 
#define TEMPALARM_THIGH_LA_MASK   0x40
 
#define TEMPALARM_THIGH_RA_MASK   0x10
 
#define TEMPALARM_TLOW_RA_MASK   0x08
 
#define TEMPALARM_REMOTE_DC_MASK   0x04
 
#define TEMPALARM_TCRIT_R_MASK   0x02
 
#define TEMPALARM_TCRIT_L_MASK   0x01
 
#define TEMPALARM_FILTER_LEVEL_0_MASK   0x00
 Temp Alarm filter level setting.
 
#define TEMPALARM_FILTER_LEVEL_4_MASK   0x02
 
#define TEMPALARM_FILTER_LEVEL_8_MASK   0x06
 
#define TEMPALARM_INTERRUPT_ALERT_MODE   0x00
 
#define TEMPALARM_COMPARATOR_MODE   0x01
 
#define TEMPALARM_ALERT_DISABLED   0x80
 Temp Alarm configuration setting.
 
#define TEMPALARM_SHUTDOWN_MODE   0x40
 
#define TEMPALARM_CONTINUOUS_MODE   0x00
 
#define TEMPALARM_REMOTE_EN   0x04
 
#define TEMPALARM_REMOTE_DIS   0x00
 
#define TEMPALARM_WTC_EN   0x02
 
#define TEMPALARM_WTC_DIS   0x00
 
#define TEMPALARM_FAULT_QUE_EN   0x01
 
#define TEMPALARM_FAULT_QUE_DIS   0x00
 
#define TEMPALARM_CONVERSION_PERIOD_16S   0x00
 Temp Alarm configuration setting.
 
#define TEMPALARM_CONVERSION_PERIOD_8S   0x01
 
#define TEMPALARM_CONVERSION_PERIOD_4S   0x02
 
#define TEMPALARM_CONVERSION_PERIOD_2S   0x03
 
#define TEMPALARM_CONVERSION_PERIOD_1S   0x04
 
#define TEMPALARM_CONVERSION_PERIOD_500MS   0x05
 
#define TEMPALARM_CONVERSION_PERIOD_250MS   0x06
 
#define TEMPALARM_CONVERSION_PERIOD_125MS   0x07
 
#define TEMPALARM_CONVERSION_PERIOD_62MS5   0x08
 
#define TEMPALARM_PIN_STATE_HIGH   0x01
 Temp Alarm pin state setting.
 
#define TEMPALARM_PIN_STATE_LOW   0x00
 
#define TEMPALARM_CHIP_ID   0x50
 Temp Alarm chip id setting.
 
#define TEMPALARM_VENDOR_ID   0x60
 
#define TEMPALARM_TEMP_CLC   0.125f
 Temp Alarm temperature calculation setting.
 
#define TEMPALARM_DEVICE_ADDRESS   0x4C
 Temp Alarm device address setting.
 

Detailed Description

Settings for registers of Temp Alarm Click driver.

Macro Definition Documentation

◆ TEMPALARM_ADC_BUSY_MASK

#define TEMPALARM_ADC_BUSY_MASK   0x80

Temp Alarm flags setting.

Specified setting for flags of Temp Alarm Click driver.

◆ TEMPALARM_ALERT_DISABLED

#define TEMPALARM_ALERT_DISABLED   0x80

Temp Alarm configuration setting.

Specified setting for configuration of Temp Alarm Click driver.

◆ TEMPALARM_CHIP_ID

#define TEMPALARM_CHIP_ID   0x50

Temp Alarm chip id setting.

Specified setting for chip id of Temp Alarm Click driver.

◆ TEMPALARM_COMPARATOR_MODE

#define TEMPALARM_COMPARATOR_MODE   0x01

◆ TEMPALARM_CONTINUOUS_MODE

#define TEMPALARM_CONTINUOUS_MODE   0x00

◆ TEMPALARM_CONVERSION_PERIOD_125MS

#define TEMPALARM_CONVERSION_PERIOD_125MS   0x07

◆ TEMPALARM_CONVERSION_PERIOD_16S

#define TEMPALARM_CONVERSION_PERIOD_16S   0x00

Temp Alarm configuration setting.

Specified setting for configuration of Temp Alarm Click driver.

◆ TEMPALARM_CONVERSION_PERIOD_1S

#define TEMPALARM_CONVERSION_PERIOD_1S   0x04

◆ TEMPALARM_CONVERSION_PERIOD_250MS

#define TEMPALARM_CONVERSION_PERIOD_250MS   0x06

◆ TEMPALARM_CONVERSION_PERIOD_2S

#define TEMPALARM_CONVERSION_PERIOD_2S   0x03

◆ TEMPALARM_CONVERSION_PERIOD_4S

#define TEMPALARM_CONVERSION_PERIOD_4S   0x02

◆ TEMPALARM_CONVERSION_PERIOD_500MS

#define TEMPALARM_CONVERSION_PERIOD_500MS   0x05

◆ TEMPALARM_CONVERSION_PERIOD_62MS5

#define TEMPALARM_CONVERSION_PERIOD_62MS5   0x08

◆ TEMPALARM_CONVERSION_PERIOD_8S

#define TEMPALARM_CONVERSION_PERIOD_8S   0x01

◆ TEMPALARM_DEVICE_ADDRESS

#define TEMPALARM_DEVICE_ADDRESS   0x4C

Temp Alarm device address setting.

Specified setting for device slave address selection of Temp Alarm Click driver.

◆ TEMPALARM_FAULT_QUE_DIS

#define TEMPALARM_FAULT_QUE_DIS   0x00

◆ TEMPALARM_FAULT_QUE_EN

#define TEMPALARM_FAULT_QUE_EN   0x01

◆ TEMPALARM_FILTER_LEVEL_0_MASK

#define TEMPALARM_FILTER_LEVEL_0_MASK   0x00

Temp Alarm filter level setting.

Specified setting for filter level of Temp Alarm Click driver.

◆ TEMPALARM_FILTER_LEVEL_4_MASK

#define TEMPALARM_FILTER_LEVEL_4_MASK   0x02

◆ TEMPALARM_FILTER_LEVEL_8_MASK

#define TEMPALARM_FILTER_LEVEL_8_MASK   0x06

◆ TEMPALARM_INTERRUPT_ALERT_MODE

#define TEMPALARM_INTERRUPT_ALERT_MODE   0x00

◆ TEMPALARM_PIN_STATE_HIGH

#define TEMPALARM_PIN_STATE_HIGH   0x01

Temp Alarm pin state setting.

Specified setting for pin state of Temp Alarm Click driver.

◆ TEMPALARM_PIN_STATE_LOW

#define TEMPALARM_PIN_STATE_LOW   0x00

◆ TEMPALARM_REMOTE_DC_MASK

#define TEMPALARM_REMOTE_DC_MASK   0x04

◆ TEMPALARM_REMOTE_DIS

#define TEMPALARM_REMOTE_DIS   0x00

◆ TEMPALARM_REMOTE_EN

#define TEMPALARM_REMOTE_EN   0x04

◆ TEMPALARM_SHUTDOWN_MODE

#define TEMPALARM_SHUTDOWN_MODE   0x40

◆ TEMPALARM_TCRIT_L_ALERT_DIS_MASK

#define TEMPALARM_TCRIT_L_ALERT_DIS_MASK   0x01

◆ TEMPALARM_TCRIT_L_ALERT_ENABLE_MASK

#define TEMPALARM_TCRIT_L_ALERT_ENABLE_MASK   0x00

◆ TEMPALARM_TCRIT_L_MASK

#define TEMPALARM_TCRIT_L_MASK   0x01

◆ TEMPALARM_TCRIT_R_ALERT_DIS_MASK

#define TEMPALARM_TCRIT_R_ALERT_DIS_MASK   0x02

◆ TEMPALARM_TCRIT_R_ALERT_ENABLE_MASK

#define TEMPALARM_TCRIT_R_ALERT_ENABLE_MASK   0x00

◆ TEMPALARM_TCRIT_R_MASK

#define TEMPALARM_TCRIT_R_MASK   0x02

◆ TEMPALARM_TEMP_CLC

#define TEMPALARM_TEMP_CLC   0.125f

Temp Alarm temperature calculation setting.

Specified setting for temperature calculation of Temp Alarm Click driver.

◆ TEMPALARM_THIGH_LA_ALERT_DIS_MASK

#define TEMPALARM_THIGH_LA_ALERT_DIS_MASK   0x80

Temp Alarm description setting.

Specified setting for description of Temp Alarm Click driver.

◆ TEMPALARM_THIGH_LA_ALERT_ENABLE_MASK

#define TEMPALARM_THIGH_LA_ALERT_ENABLE_MASK   0x80

◆ TEMPALARM_THIGH_LA_MASK

#define TEMPALARM_THIGH_LA_MASK   0x40

◆ TEMPALARM_THIGH_RA_ALERT_DIS_MASK

#define TEMPALARM_THIGH_RA_ALERT_DIS_MASK   0x10

◆ TEMPALARM_THIGH_RA_ALERT_ENABLE_MASK

#define TEMPALARM_THIGH_RA_ALERT_ENABLE_MASK   0x00

◆ TEMPALARM_THIGH_RA_MASK

#define TEMPALARM_THIGH_RA_MASK   0x10

◆ TEMPALARM_TLOW_RA_ALERT_DIS_MASK

#define TEMPALARM_TLOW_RA_ALERT_DIS_MASK   0x08

◆ TEMPALARM_TLOW_RA_ALERT_ENABLE_MASK

#define TEMPALARM_TLOW_RA_ALERT_ENABLE_MASK   0x00

◆ TEMPALARM_TLOW_RA_MASK

#define TEMPALARM_TLOW_RA_MASK   0x08

◆ TEMPALARM_VENDOR_ID

#define TEMPALARM_VENDOR_ID   0x60

◆ TEMPALARM_WTC_DIS

#define TEMPALARM_WTC_DIS   0x00

◆ TEMPALARM_WTC_EN

#define TEMPALARM_WTC_EN   0x02