Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
ds75lx_internals.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019 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 DS75LX_INTERNALS_H
20
#define DS75LX_INTERNALS_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
29
#define DS75LX_ADDR (0x48)
30
35
#define DS75LX_REG_TEMPERATURE (0x00)
36
#define DS75LX_REG_CONFIGURATION (0x01)
37
#define DS75LX_REG_T_HYST (0x02)
38
#define DS75LX_REG_T_OS (0x03)
45
#define DS75LX_CONF_SD_POS (0)
46
#define DS75LX_CONF_TM_POS (1)
47
#define DS75LX_CONF_POL_POS (2)
48
#define DS75LX_CONF_F0_POS (3)
49
#define DS75LX_CONF_F0_MASK (0x18)
50
#define DS75LX_CONF_R0_POS (5)
51
#define DS75LX_CONF_R0_MASK (0x60)
57
#define DS75LX_MAX_CONVERSION_TIME (25U)
58
59
#ifdef __cplusplus
60
}
61
#endif
62
63
#endif
/* DS75LX_INTERNALS_H */
Generated on Fri Nov 15 2024 22:46:36 by
1.9.8