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)