Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
9
#pragma once
10
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
28
#define DS75LX_ADDR (0x48)
29
34
#define DS75LX_REG_TEMPERATURE (0x00)
35
#define DS75LX_REG_CONFIGURATION (0x01)
36
#define DS75LX_REG_T_HYST (0x02)
37
#define DS75LX_REG_T_OS (0x03)
44
#define DS75LX_CONF_SD_POS (0)
45
#define DS75LX_CONF_TM_POS (1)
46
#define DS75LX_CONF_POL_POS (2)
47
#define DS75LX_CONF_F0_POS (3)
48
#define DS75LX_CONF_F0_MASK (0x18)
49
#define DS75LX_CONF_R0_POS (5)
50
#define DS75LX_CONF_R0_MASK (0x60)
56
#define DS75LX_MAX_CONVERSION_TIME (25U)
57
58
#ifdef __cplusplus
59
}
60
#endif
61
Generated on Mon Jun 30 2025 18:46:45 by
1.9.1