shtcx_regs.h
Go to the documentation of this file.
1 /*
2  * Copyright 2017, RWTH Aachen. All rights reserved.
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef SHTCX_REGS_H
21 #define SHTCX_REGS_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
31 #define SHTCX_CRC (0x31)
32 #define SHTCX_MEASURE_CLOCK_STRETCHING_TEMP_HIGH (0x7C)
33 #define SHTCX_MEASURE_CLOCK_STRETCHING_TEMP_LOW (0xA2)
34 #define SHTCX_COMMAND_RESET_HIGH (0x80)
35 #define SHTCX_COMMAND_RESET_LOW (0x5D)
36 #define SHTCX_COMMAND_ID_HIGH (0xEF)
37 #define SHTCX_COMMAND_ID_LOW (0xC8)
43 #define SHTCX_ID (0x07) /* ID Mask */
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 #endif /* SHTCX_REGS_H */