Loading...
Searching...
No Matches
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
9#pragma once
10
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
30#define SHTCX_CRC (0x31)
31#define SHTCX_MEASURE_CLOCK_STRETCHING_TEMP_HIGH (0x7C)
32#define SHTCX_MEASURE_CLOCK_STRETCHING_TEMP_LOW (0xA2)
33#define SHTCX_COMMAND_RESET_HIGH (0x80)
34#define SHTCX_COMMAND_RESET_LOW (0x5D)
35#define SHTCX_COMMAND_ID_HIGH (0xEF)
36#define SHTCX_COMMAND_ID_LOW (0xC8)
38
42#define SHTCX_ID (0x07) /* ID Mask */
43
44#ifdef __cplusplus
45}
46#endif