Loading...
Searching...
No Matches

Registers for the lm75 and derived (lm75a and tmp1075) temperature sensors. More...

Detailed Description

Registers for the lm75 and derived (lm75a and tmp1075) temperature sensors.

Author
Vitor Batista vitor.nosp@m..bat.nosp@m.ista@.nosp@m.ml-p.nosp@m.a.com

Definition in file lm75_regs.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define LM75_TEMP_REG   (0x00)
 Temperature register pointer.
 
#define LM75_CONF_REG   (0x01)
 Configuration register pointer.
 
#define LM75_THYST_REG   (0x02)
 Hysteresis register pointer.
 
#define LM75_TOS_REG   (0x03)
 Overtemperature shutdown register pointer.
 
#define NORMAL_MODE   0
 Continuous conversion mode.
 
#define SHUTDOWN_MODE   1
 Shutdown mode ON.
 
#define COMPARATOR_MODE   0
 OS operation in comparator mode.
 
#define INTERRUPT_MODE   1
 OS operation in interrupt mode.
 
#define OS_ACTIVE_LOW   0
 OS pin active on Low voltage.
 
#define OS_ACTIVE_HIGH   1
 OS pin active on positive voltage.
 
#define FAULT_1   0
 OS/ALERT active after 1 fault.
 
#define FAULT_2   1
 OS/ALERT active after 2 faults.
 
#define FAULT_4   2
 OS active after 4 faults.
 
#define FAULT_6   3
 OS active after 6 faults.
 
#define TMP1075_DEVICE_ID_REG   (0x0F)
 ID register pointer.
 
#define FAULT_3   2
 ALERT active after 3 faults.
 
#define FAULT_4_TMP1075   3
 ALERT active after 4 faults.
 
#define TMP1075_CONV_RATE_REG_27H   0
 27.5ms conversion rate
 
#define TMP1075_CONV_RATE_REG_55   1
 55ms conversion rate
 
#define TMP1075_CONV_RATE_REG_110   2
 110ms conversion rate
 
#define TMP1075_CONV_RATE_REG_220   3
 220ms conversion rate
 

Macro Definition Documentation

◆ COMPARATOR_MODE

#define COMPARATOR_MODE   0

OS operation in comparator mode.

Definition at line 37 of file lm75_regs.h.

◆ FAULT_1

#define FAULT_1   0

OS/ALERT active after 1 fault.

Definition at line 45 of file lm75_regs.h.

◆ FAULT_2

#define FAULT_2   1

OS/ALERT active after 2 faults.

Definition at line 46 of file lm75_regs.h.

◆ FAULT_3

#define FAULT_3   2

ALERT active after 3 faults.

Definition at line 59 of file lm75_regs.h.

◆ FAULT_4

#define FAULT_4   2

OS active after 4 faults.

Definition at line 50 of file lm75_regs.h.

◆ FAULT_4_TMP1075

#define FAULT_4_TMP1075   3

ALERT active after 4 faults.

Definition at line 60 of file lm75_regs.h.

◆ FAULT_6

#define FAULT_6   3

OS active after 6 faults.

Definition at line 51 of file lm75_regs.h.

◆ INTERRUPT_MODE

#define INTERRUPT_MODE   1

OS operation in interrupt mode.

Definition at line 38 of file lm75_regs.h.

◆ LM75_CONF_REG

#define LM75_CONF_REG   (0x01)

Configuration register pointer.

Definition at line 28 of file lm75_regs.h.

◆ LM75_TEMP_REG

#define LM75_TEMP_REG   (0x00)

Temperature register pointer.

Definition at line 27 of file lm75_regs.h.

◆ LM75_THYST_REG

#define LM75_THYST_REG   (0x02)

Hysteresis register pointer.

Definition at line 29 of file lm75_regs.h.

◆ LM75_TOS_REG

#define LM75_TOS_REG   (0x03)

Overtemperature shutdown register pointer.

Definition at line 30 of file lm75_regs.h.

◆ NORMAL_MODE

#define NORMAL_MODE   0

Continuous conversion mode.

Definition at line 33 of file lm75_regs.h.

◆ OS_ACTIVE_HIGH

#define OS_ACTIVE_HIGH   1

OS pin active on positive voltage.

Definition at line 42 of file lm75_regs.h.

◆ OS_ACTIVE_LOW

#define OS_ACTIVE_LOW   0

OS pin active on Low voltage.

Definition at line 41 of file lm75_regs.h.

◆ SHUTDOWN_MODE

#define SHUTDOWN_MODE   1

Shutdown mode ON.

Definition at line 34 of file lm75_regs.h.

◆ TMP1075_CONV_RATE_REG_110

#define TMP1075_CONV_RATE_REG_110   2

110ms conversion rate

Definition at line 66 of file lm75_regs.h.

◆ TMP1075_CONV_RATE_REG_220

#define TMP1075_CONV_RATE_REG_220   3

220ms conversion rate

Definition at line 67 of file lm75_regs.h.

◆ TMP1075_CONV_RATE_REG_27H

#define TMP1075_CONV_RATE_REG_27H   0

27.5ms conversion rate

Definition at line 64 of file lm75_regs.h.

◆ TMP1075_CONV_RATE_REG_55

#define TMP1075_CONV_RATE_REG_55   1

55ms conversion rate

Definition at line 65 of file lm75_regs.h.

◆ TMP1075_DEVICE_ID_REG

#define TMP1075_DEVICE_ID_REG   (0x0F)

ID register pointer.

Definition at line 56 of file lm75_regs.h.