Loading...
Searching...
No Matches
sgp30_constants.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021 Inria
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
19#ifndef SGP30_CONSTANTS_H
20#define SGP30_CONSTANTS_H
21
22#include "timex.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
31#define SGP30_I2C_ADDRESS (0x58)
32
36#define SGP30_REQUIRED_FEATURE_SET (0x0020)
37
41#define SGP30_SERIAL_ID_LEN (6U)
42
46#define SGP30_AIR_QUALITY_INIT_DELAY_US (15 * US_PER_SEC)
47
51#define SGP30_RECOMMENDED_SAMPLING_PERIOD (1 * US_PER_SEC)
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif /* SGP30_CONSTANTS_H */
Utility library for comparing and computing timestamps.