Loading...
Searching...
No Matches
adcxx1c_regs.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 OTA keys S.A.
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
26#define ADCXX1C_CONV_RES_ADDR (0)
27#define ADCXX1C_ALERT_STATUS_ADDR (1)
28#define ADCXX1C_CONF_ADDR (2)
29#define ADCXX1C_LOW_LIMIT_ADDR (3)
30#define ADCXX1C_HIGH_LIMIT_ADDR (4)
31#define ADCXX1C_HYSTERESIS_ADDR (5)
32#define ADCXX1C_LOWEST_CONV_ADDR (6)
33#define ADCXX1C_HIGHEST_CONV_ADDR (7)
35
40#define ADCXX1C_CONF_ALERT_PIN_EN (1 << 2)
41#define ADCXX1C_CONF_ALERT_FLAG_EN (1 << 3)
43
44#ifdef __cplusplus
45}
46#endif
47