Loading...
Searching...
No Matches
ds75lx_internals.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Inria
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
25#define DS75LX_ADDR (0x48)
26
31#define DS75LX_REG_TEMPERATURE (0x00)
32#define DS75LX_REG_CONFIGURATION (0x01)
33#define DS75LX_REG_T_HYST (0x02)
34#define DS75LX_REG_T_OS (0x03)
36
41#define DS75LX_CONF_SD_POS (0)
42#define DS75LX_CONF_TM_POS (1)
43#define DS75LX_CONF_POL_POS (2)
44#define DS75LX_CONF_F0_POS (3)
45#define DS75LX_CONF_F0_MASK (0x18)
46#define DS75LX_CONF_R0_POS (5)
47#define DS75LX_CONF_R0_MASK (0x60)
49
53#define DS75LX_MAX_CONVERSION_TIME (25U)
54
55#ifdef __cplusplus
56}
57#endif
58