Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
20
#ifndef SHT1X_DEFINES_H
21
#define SHT1X_DEFINES_H
22
23
#include <stdint.h>
24
#include <
periph/gpio.h
>
25
#include <
mutex.h
>
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
36
#define SHT1X_NO_ACK (1)
37
#define SHT1X_ACK (0)
44
#define SHT1X_STATUS_REG_W (0x06)
45
#define SHT1X_STATUS_REG_R (0x07)
46
#define SHT1X_MEASURE_TEMP (0x03)
47
#define SHT1X_MEASURE_HUM (0x05)
48
#define SHT1X_RESET (0x1E)
55
#define SHT1X_HALF_CLOCK (1)
56
#define SHT1X_MEASURE_TIMEOUT (1000)
58
#define SHT1X_RESET_WAIT (11000)
61
#define SHT1X_CONF_MASK (0x07)
63
#define SHT1X_SAUL_RETRIES (3)
67
#ifdef __cplusplus
68
}
69
#endif
70
71
#endif
/* SHT1X_DEFINES_H */
gpio.h
Low-level GPIO peripheral driver interface definitions.
mutex.h
Mutex for thread synchronization.
Generated on Sat Dec 21 2024 20:58:03 by
1.9.8