shtc1_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 SHTC1_REGS_H
21 #define SHTC1_REGS_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
31 #define SHTC1_CRC (0x31)
32 #define SHTC1_MEASURE_CLOCK_STRETCHING_TEMP_HIGH (0x7C)
33 #define SHTC1_MEASURE_CLOCK_STRETCHING_TEMP_LOW (0xA2)
34 #define SHTC1_COMMAND_RESET_HIGH (0x80)
35 #define SHTC1_COMMAND_RESET_LOW (0x5D)
36 #define SHTC1_COMMAND_ID_HIGH (0xEF)
37 #define SHTC1_COMMAND_ID_LOW (0xC8)
43 #define SHTC1_ID (0x07) /* ID Mask */
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 #endif /* SHTC1_REGS_H */
49