Loading...
Searching...
No Matches

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.
 
#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.
 
#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

◆ TMP006_REGS_MANUFACTURER_ID

#define TMP006_REGS_MANUFACTURER_ID   0xFE

Manufacturer ID Register.

Definition at line 81 of file tmp00x_regs.h.

◆ TMP007_REGS_A0_COEFFCIENT

#define TMP007_REGS_A0_COEFFCIENT   0x0B

A0 coefficient register.

Definition at line 96 of file tmp00x_regs.h.

◆ TMP007_REGS_A1_COEFFCIENT

#define TMP007_REGS_A1_COEFFCIENT   0x0C

A1 coefficient register.

Definition at line 97 of file tmp00x_regs.h.

◆ TMP007_REGS_B0_COEFFCIENT

#define TMP007_REGS_B0_COEFFCIENT   0x0D

B0 coefficient register.

Definition at line 98 of file tmp00x_regs.h.

◆ TMP007_REGS_B1_COEFFCIENT

#define TMP007_REGS_B1_COEFFCIENT   0x0E

B1 coefficient register.

Definition at line 99 of file tmp00x_regs.h.

◆ TMP007_REGS_B2_COEFFCIENT

#define TMP007_REGS_B2_COEFFCIENT   0x0F

B2 coefficient register.

Definition at line 100 of file tmp00x_regs.h.

◆ TMP007_REGS_C_COEFFCIENT

#define TMP007_REGS_C_COEFFCIENT   0x10

C coefficient register.

Definition at line 101 of file tmp00x_regs.h.

◆ TMP007_REGS_LOCAL_HIGH_LIMIT_TEMP

#define TMP007_REGS_LOCAL_HIGH_LIMIT_TEMP   0x08

TDIE temperature high limit register.

Definition at line 93 of file tmp00x_regs.h.

◆ TMP007_REGS_LOCAL_LOW_LIMIT_TEMP

#define TMP007_REGS_LOCAL_LOW_LIMIT_TEMP   0x09

TDIE temperature low limit register.

Definition at line 94 of file tmp00x_regs.h.

◆ TMP007_REGS_MEM_ACCES

#define TMP007_REGS_MEM_ACCES   0x2A

Memory access register.

Definition at line 104 of file tmp00x_regs.h.

◆ TMP007_REGS_OBJ_HIGH_LIMIT_TEMP

#define TMP007_REGS_OBJ_HIGH_LIMIT_TEMP   0x06

Object temperature high limit register.

Definition at line 91 of file tmp00x_regs.h.

◆ TMP007_REGS_OBJ_LOW_LIMIT_TEMP

#define TMP007_REGS_OBJ_LOW_LIMIT_TEMP   0x07

Object temperature low limit register.

Definition at line 92 of file tmp00x_regs.h.

◆ TMP007_REGS_OBJ_TEMP

#define TMP007_REGS_OBJ_TEMP   0x03

Object temperature result register.

Definition at line 88 of file tmp00x_regs.h.

◆ TMP007_REGS_S0_COEFFCIENT

#define TMP007_REGS_S0_COEFFCIENT   0x0A

S0 coefficient register.

Definition at line 95 of file tmp00x_regs.h.

◆ TMP007_REGS_STAT_MASK_EN

#define TMP007_REGS_STAT_MASK_EN   0x05

Mask and enable register.

Definition at line 90 of file tmp00x_regs.h.

◆ TMP007_REGS_STATUS

#define TMP007_REGS_STATUS   0x04

Status Register.

Definition at line 89 of file tmp00x_regs.h.

◆ TMP007_REGS_TC0_COEFFCIENT

#define TMP007_REGS_TC0_COEFFCIENT   0x11

TC0 coefficient register.

Definition at line 102 of file tmp00x_regs.h.

◆ TMP007_REGS_TC1_COEFFCIENT

#define TMP007_REGS_TC1_COEFFCIENT   0x12

TC1 coefficient register.

Definition at line 103 of file tmp00x_regs.h.

◆ TMP00X_CONFIG_CR

#define TMP00X_CONFIG_CR (   x)
Value:
(((uint16_t)(((uint16_t)(x)) \
#define TMP00X_CONFIG_CR_MASK
ADC conversion rate mask.
Definition tmp00x_regs.h:48
#define TMP00X_CONFIG_CR_SHIFT
ADC conversion rate shift.
Definition tmp00x_regs.h:47

ADC conversion rate.

Definition at line 53 of file tmp00x_regs.h.

◆ TMP00X_CONFIG_CR_MASK

#define TMP00X_CONFIG_CR_MASK   (0x0E00)

ADC conversion rate mask.

Definition at line 48 of file tmp00x_regs.h.

◆ TMP00X_CONFIG_CR_SHIFT

#define TMP00X_CONFIG_CR_SHIFT   (9U)

ADC conversion rate shift.

Definition at line 47 of file tmp00x_regs.h.

◆ TMP00X_CONFIG_MOD

#define TMP00X_CONFIG_MOD (   x)
Value:
(((uint16_t)(((uint16_t)(x)) \
#define TMP00X_CONFIG_MOD_SHIFT
Mode of operation shift.
Definition tmp00x_regs.h:37
#define TMP00X_CONFIG_MOD_MASK
Mode of operation mask.
Definition tmp00x_regs.h:38

Mode of operation.

Definition at line 43 of file tmp00x_regs.h.

◆ TMP00X_CONFIG_MOD_CC

#define TMP00X_CONFIG_MOD_CC   (0x07)

Sensor and ambient continuous conversion.

Definition at line 44 of file tmp00x_regs.h.

◆ TMP00X_CONFIG_MOD_MASK

#define TMP00X_CONFIG_MOD_MASK   (0x7000)

Mode of operation mask.

Definition at line 38 of file tmp00x_regs.h.

◆ TMP00X_CONFIG_MOD_OFF

#define TMP00X_CONFIG_MOD_OFF   (0x00)

Power-down.

Definition at line 45 of file tmp00x_regs.h.

◆ TMP00X_CONFIG_MOD_SHIFT

#define TMP00X_CONFIG_MOD_SHIFT   (12U)

Mode of operation shift.

Definition at line 37 of file tmp00x_regs.h.

◆ TMP00X_CONFIG_RST

#define TMP00X_CONFIG_RST   (1 << 15)

Reset register.

Definition at line 35 of file tmp00x_regs.h.

◆ TMP00X_DRDY_PIN_EN

#define TMP00X_DRDY_PIN_EN   (1 << 8)

EN: DRDY enable bit.

Definition at line 55 of file tmp00x_regs.h.

◆ TMP00X_REGS_CONFIG

#define TMP00X_REGS_CONFIG   0x02

Configuration Register.

Definition at line 33 of file tmp00x_regs.h.

◆ TMP00X_REGS_T_AMBIENT

#define TMP00X_REGS_T_AMBIENT   0x01

Ambient Temperature Register.

Definition at line 32 of file tmp00x_regs.h.

◆ TMP00X_REGS_V_OBJECT

#define TMP00X_REGS_V_OBJECT   0x00

Sensor Voltage Register.

Definition at line 31 of file tmp00x_regs.h.