Loading...
Searching...
No Matches
sgp30_constants.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021 Inria
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "timex.h"
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
27#define SGP30_I2C_ADDRESS (0x58)
28
32#define SGP30_REQUIRED_FEATURE_SET (0x0020)
33
37#define SGP30_SERIAL_ID_LEN (6U)
38
42#define SGP30_AIR_QUALITY_INIT_DELAY_US (15 * US_PER_SEC)
43
47#define SGP30_RECOMMENDED_SAMPLING_PERIOD (1 * US_PER_SEC)
48
49#ifdef __cplusplus
50}
51#endif
52
Utility library for comparing and computing timestamps.