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
* Copyright (C) 2020 Puhang Ding
3
* 2020 Jan Schlichter
4
* 2020 Nishchay Agrawal
5
*
6
* This file is subject to the terms and conditions of the GNU Lesser
7
* General Public License v2.1. See the file LICENSE in the top level
8
* directory for more details.
9
*/
10
22
#ifndef SCD30_INTERNAL_H
23
#define SCD30_INTERNAL_H
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
33
#define SCD30_CRC_FUNC 0x31
35
#define SCD30_CRC_START_VAL 0xFF
43
#define SCD30_DEF_PRESSURE 0x03f5
46
#define SCD30_READ_WRITE_SLEEP_US (4 * US_PER_MS)
47
#define SCD30_RESET_SLEEP_US (25 * US_PER_MS)
48
#define SCD30_DATA_RDY_TIMEOUT (1 * US_PER_SEC)
49
50
#define SCD30_MIN_INTERVAL 2
51
#define SCD30_MAX_INTERVAL 1800
52
53
#define SCD30_MIN_PRESSURE_COMP 700
54
#define SCD30_MAX_PRESSURE_COMP 1400
57
#ifdef __cplusplus
58
}
59
#endif
60
61
#endif
/* SCD30_INTERNAL_H */
Generated on Fri Nov 15 2024 22:46:37 by
1.9.8