Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
sht1x_defines.h
Go to the documentation of this file.
1
/*
2
* Copyright 2009 Freie Universitaet Berlin (FUB)
3
* 2018 Otto-von-Guericke-Universität Magdeburg
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser
6
* General Public License v2.1. See the file LICENSE in the top level
7
* directory for more details.
8
*/
9
10
#pragma once
11
22
#include <stdint.h>
23
#include <
periph/gpio.h
>
24
#include <
mutex.h
>
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
35
#define SHT1X_NO_ACK (1)
36
#define SHT1X_ACK (0)
43
#define SHT1X_STATUS_REG_W (0x06)
44
#define SHT1X_STATUS_REG_R (0x07)
45
#define SHT1X_MEASURE_TEMP (0x03)
46
#define SHT1X_MEASURE_HUM (0x05)
47
#define SHT1X_RESET (0x1E)
54
#define SHT1X_HALF_CLOCK (1)
55
#define SHT1X_MEASURE_TIMEOUT (1000)
57
#define SHT1X_RESET_WAIT (11000)
60
#define SHT1X_CONF_MASK (0x07)
62
#define SHT1X_SAUL_RETRIES (3)
66
#ifdef __cplusplus
67
}
68
#endif
69
gpio.h
Low-level GPIO peripheral driver interface definitions.
mutex.h
Mutex for thread synchronization.
Generated on Mon Jun 30 2025 14:58:02 by
1.9.1