Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
hdc1000_regs.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2014 PHYTEC Messtechnik GmbH
3
* SPDX-FileCopyrightText: 2017 Freie Universität Berlin
4
* SPDX-License-Identifier: LGPL-2.1-only
5
*/
6
7
#pragma once
8
19
20
#ifdef __cplusplus
21
extern
"C"
22
{
23
#endif
24
29
#define HDC1000_MID_VALUE 0x5449
30
#define HDC1000_DID_VALUE 0x1000
32
37
#define HDC1000_TEMPERATURE (0x00)
38
#define HDC1000_HUMIDITY (0x01)
39
#define HDC1000_CONFIG (0x02)
40
#define HDC1000_SID1 (0xFB)
41
#define HDC1000_SID2 (0xFC)
42
#define HDC1000_SID3 (0xFD)
43
#define HDC1000_MANUFACTURER_ID (0xFE)
44
#define HDC1000_DEVICE_ID (0xFF)
46
51
#define HDC1000_RST (1 << 15)
52
#define HDC1000_HEAT (1 << 13)
53
#define HDC1000_SEQ_MOD (1 << 12)
54
#define HDC1000_BTST_LOW (1 << 11)
55
#define HDC1000_TRES_MSK (1 << 10)
56
#define HDC1000_TRES11 (1 << 10)
57
#define HDC1000_TRES14 (0)
58
#define HDC1000_HRES_MSK (1 << 9 | 1 << 8)
59
#define HDC1000_HRES14 (0)
60
#define HDC1000_HRES11 (1 << 8)
61
#define HDC1000_HRES8 (1 << 9)
63
64
#ifdef __cplusplus
65
}
66
#endif
67
Generated on Wed Apr 15 2026 03:46:09 by
1.13.2