Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
scd30_internal.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2020 Puhang Ding
3
* SPDX-FileCopyrightText: 2020 Jan Schlichter
4
* SPDX-FileCopyrightText: 2020 Nishchay Agrawal
5
* SPDX-License-Identifier: LGPL-2.1-only
6
*/
7
8
#pragma once
9
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
29
#define SCD30_CRC_FUNC 0x31
31
#define SCD30_CRC_START_VAL 0xFF
34
39
#define SCD30_DEF_PRESSURE 0x03f5
41
42
#define SCD30_READ_WRITE_SLEEP_US (4 * US_PER_MS)
43
#define SCD30_RESET_SLEEP_US (25 * US_PER_MS)
44
#define SCD30_DATA_RDY_TIMEOUT (1 * US_PER_SEC)
45
46
#define SCD30_MIN_INTERVAL 2
47
#define SCD30_MAX_INTERVAL 1800
48
49
#define SCD30_MIN_PRESSURE_COMP 700
50
#define SCD30_MAX_PRESSURE_COMP 1400
52
53
#ifdef __cplusplus
54
}
55
#endif
56
Generated on Wed Apr 15 2026 03:46:10 by
1.13.2