Register definitions for TMP00X (TMP006 and TMP007) devices. More...

Detailed Description

Register definitions for TMP00X (TMP006 and TMP007) devices.

Author
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t
Jannes Volkens janne.nosp@m.s.vo.nosp@m.lkens.nosp@m.@haw.nosp@m.-hamb.nosp@m.urg..nosp@m.de

Definition in file tmp00x_regs.h.

Go to the source code of this file.

TMP00x registers

#define TMP00X_REGS_V_OBJECT   0x00
 Sensor Voltage Register.
 
#define TMP00X_REGS_T_AMBIENT   0x01
 Ambient Temperature Register.
 
#define TMP00X_REGS_CONFIG   0x02
 Configuration Register.
 
#define TMP00X_CONFIG_RST   (1 << 15)
 Reset register.
 
#define TMP00X_CONFIG_MOD_SHIFT   (12U)
 Mode of operation shift.
 
#define TMP00X_CONFIG_MOD_MASK   (0x7000)
 Mode of operation mask.
 
#define TMP00X_CONFIG_MOD(x)
 Mode of operation. More...
 
#define TMP00X_CONFIG_MOD_CC   (0x07)
 Sensor and ambient continuous conversion.
 
#define TMP00X_CONFIG_MOD_OFF   (0x00)
 Power-down.
 
#define TMP00X_CONFIG_CR_SHIFT   (9U)
 ADC conversion rate shift.
 
#define TMP00X_CONFIG_CR_MASK   (0x0E00)
 ADC conversion rate mask.
 
#define TMP00X_CONFIG_CR(x)
 ADC conversion rate. More...
 
#define TMP00X_DRDY_PIN_EN   (1 << 8)
 EN: DRDY enable bit.
 

TMP006 registers

#define TMP006_REGS_MANUFACTURER_ID   0xFE
 Manufacturer ID Register.
 

TMP007 registers

#define TMP007_REGS_OBJ_TEMP   0x03
 Object temperature result register.
 
#define TMP007_REGS_STATUS   0x04
 Status Register.
 
#define TMP007_REGS_STAT_MASK_EN   0x05
 Mask and enable register.
 
#define TMP007_REGS_OBJ_HIGH_LIMIT_TEMP   0x06
 Object temperature high limit register.
 
#define TMP007_REGS_OBJ_LOW_LIMIT_TEMP   0x07
 Object temperature low limit register.
 
#define TMP007_REGS_LOCAL_HIGH_LIMIT_TEMP   0x08
 TDIE temperature high limit register.
 
#define TMP007_REGS_LOCAL_LOW_LIMIT_TEMP   0x09
 TDIE temperature low limit register.
 
#define TMP007_REGS_S0_COEFFCIENT   0x0A
 S0 coefficient register.
 
#define TMP007_REGS_A0_COEFFCIENT   0x0B
 A0 coefficient register.
 
#define TMP007_REGS_A1_COEFFCIENT   0x0C
 A1 coefficient register.
 
#define TMP007_REGS_B0_COEFFCIENT   0x0D
 B0 coefficient register.
 
#define TMP007_REGS_B1_COEFFCIENT   0x0E
 B1 coefficient register.
 
#define TMP007_REGS_B2_COEFFCIENT   0x0F
 B2 coefficient register.
 
#define TMP007_REGS_C_COEFFCIENT   0x10
 C coefficient register.
 
#define TMP007_REGS_TC0_COEFFCIENT   0x11
 TC0 coefficient register.
 
#define TMP007_REGS_TC1_COEFFCIENT   0x12
 TC1 coefficient register.
 
#define TMP007_REGS_MEM_ACCES   0x2A
 Memory access register.
 

Macro Definition Documentation

◆ TMP00X_CONFIG_CR

#define TMP00X_CONFIG_CR (   x)
Value:
(((uint16_t)(((uint16_t)(x)) \

ADC conversion rate.

Definition at line 49 of file tmp00x_regs.h.

◆ TMP00X_CONFIG_MOD

#define TMP00X_CONFIG_MOD (   x)
Value:
(((uint16_t)(((uint16_t)(x)) \

Mode of operation.

Definition at line 39 of file tmp00x_regs.h.

TMP00X_CONFIG_CR_MASK
#define TMP00X_CONFIG_CR_MASK
ADC conversion rate mask.
Definition: tmp00x_regs.h:48
TMP00X_CONFIG_MOD_SHIFT
#define TMP00X_CONFIG_MOD_SHIFT
Mode of operation shift.
Definition: tmp00x_regs.h:37
TMP00X_CONFIG_CR_SHIFT
#define TMP00X_CONFIG_CR_SHIFT
ADC conversion rate shift.
Definition: tmp00x_regs.h:47
TMP00X_CONFIG_MOD_MASK
#define TMP00X_CONFIG_MOD_MASK
Mode of operation mask.
Definition: tmp00x_regs.h:38