Loading...
Searching...
No Matches

Register definitions for HDC1000 devices. More...

Detailed Description

Register definitions for HDC1000 devices.

Author
Johann Fischer j.fis.nosp@m.cher.nosp@m.@phyt.nosp@m.ec.d.nosp@m.e
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file hdc1000_regs.h.

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

Go to the source code of this file.

Manufacturer and Device IDs

#define HDC1000_MID_VALUE   0x5449
 
#define HDC1000_DID_VALUE   0x1000
 

Register Map

#define HDC1000_TEMPERATURE   (0x00)
 
#define HDC1000_HUMIDITY   (0x01)
 
#define HDC1000_CONFIG   (0x02)
 
#define HDC1000_SID1   (0xFB)
 
#define HDC1000_SID2   (0xFC)
 
#define HDC1000_SID3   (0xFD)
 
#define HDC1000_MANUFACTURER_ID   (0xFE)
 
#define HDC1000_DEVICE_ID   (0xFF)
 

Configuration register bitmap

#define HDC1000_RST   (1 << 15)
 
#define HDC1000_HEAT   (1 << 13)
 
#define HDC1000_SEQ_MOD   (1 << 12)
 
#define HDC1000_BTST_LOW   (1 << 11)
 
#define HDC1000_TRES_MSK   (1 << 10)
 
#define HDC1000_TRES11   (1 << 10)
 
#define HDC1000_TRES14   (0)
 
#define HDC1000_HRES_MSK   (1 << 9 | 1 << 8)
 
#define HDC1000_HRES14   (0)
 
#define HDC1000_HRES11   (1 << 8)
 
#define HDC1000_HRES8   (1 << 9)
 

Macro Definition Documentation

◆ HDC1000_BTST_LOW

#define HDC1000_BTST_LOW   (1 << 11)

Definition at line 58 of file hdc1000_regs.h.

◆ HDC1000_CONFIG

#define HDC1000_CONFIG   (0x02)

Definition at line 43 of file hdc1000_regs.h.

◆ HDC1000_DEVICE_ID

#define HDC1000_DEVICE_ID   (0xFF)

Definition at line 48 of file hdc1000_regs.h.

◆ HDC1000_DID_VALUE

#define HDC1000_DID_VALUE   0x1000

Definition at line 34 of file hdc1000_regs.h.

◆ HDC1000_HEAT

#define HDC1000_HEAT   (1 << 13)

Definition at line 56 of file hdc1000_regs.h.

◆ HDC1000_HRES11

#define HDC1000_HRES11   (1 << 8)

Definition at line 64 of file hdc1000_regs.h.

◆ HDC1000_HRES14

#define HDC1000_HRES14   (0)

Definition at line 63 of file hdc1000_regs.h.

◆ HDC1000_HRES8

#define HDC1000_HRES8   (1 << 9)

Definition at line 65 of file hdc1000_regs.h.

◆ HDC1000_HRES_MSK

#define HDC1000_HRES_MSK   (1 << 9 | 1 << 8)

Definition at line 62 of file hdc1000_regs.h.

◆ HDC1000_HUMIDITY

#define HDC1000_HUMIDITY   (0x01)

Definition at line 42 of file hdc1000_regs.h.

◆ HDC1000_MANUFACTURER_ID

#define HDC1000_MANUFACTURER_ID   (0xFE)

Definition at line 47 of file hdc1000_regs.h.

◆ HDC1000_MID_VALUE

#define HDC1000_MID_VALUE   0x5449

Definition at line 33 of file hdc1000_regs.h.

◆ HDC1000_RST

#define HDC1000_RST   (1 << 15)

Definition at line 55 of file hdc1000_regs.h.

◆ HDC1000_SEQ_MOD

#define HDC1000_SEQ_MOD   (1 << 12)

Definition at line 57 of file hdc1000_regs.h.

◆ HDC1000_SID1

#define HDC1000_SID1   (0xFB)

Definition at line 44 of file hdc1000_regs.h.

◆ HDC1000_SID2

#define HDC1000_SID2   (0xFC)

Definition at line 45 of file hdc1000_regs.h.

◆ HDC1000_SID3

#define HDC1000_SID3   (0xFD)

Definition at line 46 of file hdc1000_regs.h.

◆ HDC1000_TEMPERATURE

#define HDC1000_TEMPERATURE   (0x00)

Definition at line 41 of file hdc1000_regs.h.

◆ HDC1000_TRES11

#define HDC1000_TRES11   (1 << 10)

Definition at line 60 of file hdc1000_regs.h.

◆ HDC1000_TRES14

#define HDC1000_TRES14   (0)

Definition at line 61 of file hdc1000_regs.h.

◆ HDC1000_TRES_MSK

#define HDC1000_TRES_MSK   (1 << 10)

Definition at line 59 of file hdc1000_regs.h.