Registers for the lm75 and derived (lm75a and tmp1075) temperature sensors. More...
Registers for the lm75 and derived (lm75a and tmp1075) temperature sensors.
Definition in file lm75_regs.h.
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 | |
#define COMPARATOR_MODE 0 |
OS operation in comparator mode.
Definition at line 37 of file lm75_regs.h.
#define FAULT_1 0 |
OS/ALERT active after 1 fault.
Definition at line 45 of file lm75_regs.h.
#define FAULT_2 1 |
OS/ALERT active after 2 faults.
Definition at line 46 of file lm75_regs.h.
#define FAULT_3 2 |
ALERT active after 3 faults.
Definition at line 59 of file lm75_regs.h.
#define FAULT_4 2 |
OS active after 4 faults.
Definition at line 50 of file lm75_regs.h.
#define FAULT_4_TMP1075 3 |
ALERT active after 4 faults.
Definition at line 60 of file lm75_regs.h.
#define FAULT_6 3 |
OS active after 6 faults.
Definition at line 51 of file lm75_regs.h.
#define INTERRUPT_MODE 1 |
OS operation in interrupt mode.
Definition at line 38 of file lm75_regs.h.
#define LM75_CONF_REG (0x01) |
Configuration register pointer.
Definition at line 28 of file lm75_regs.h.
#define LM75_TEMP_REG (0x00) |
Temperature register pointer.
Definition at line 27 of file lm75_regs.h.
#define LM75_THYST_REG (0x02) |
Hysteresis register pointer.
Definition at line 29 of file lm75_regs.h.
#define LM75_TOS_REG (0x03) |
Overtemperature shutdown register pointer.
Definition at line 30 of file lm75_regs.h.
#define NORMAL_MODE 0 |
Continuous conversion mode.
Definition at line 33 of file lm75_regs.h.
#define OS_ACTIVE_HIGH 1 |
OS pin active on positive voltage.
Definition at line 42 of file lm75_regs.h.
#define OS_ACTIVE_LOW 0 |
OS pin active on Low voltage.
Definition at line 41 of file lm75_regs.h.
#define SHUTDOWN_MODE 1 |
Shutdown mode ON.
Definition at line 34 of file lm75_regs.h.
#define TMP1075_CONV_RATE_REG_110 2 |
110ms conversion rate
Definition at line 66 of file lm75_regs.h.
#define TMP1075_CONV_RATE_REG_220 3 |
220ms conversion rate
Definition at line 67 of file lm75_regs.h.
#define TMP1075_CONV_RATE_REG_27H 0 |
27.5ms conversion rate
Definition at line 64 of file lm75_regs.h.
#define TMP1075_CONV_RATE_REG_55 1 |
55ms conversion rate
Definition at line 65 of file lm75_regs.h.
#define TMP1075_DEVICE_ID_REG (0x0F) |
ID register pointer.
Definition at line 56 of file lm75_regs.h.