Loading...
Searching...
No Matches
adcxx1c_regs.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2017 OTA keys S.A.
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
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
29#define ADCXX1C_CONV_RES_ADDR (0)
30#define ADCXX1C_ALERT_STATUS_ADDR (1)
31#define ADCXX1C_CONF_ADDR (2)
32#define ADCXX1C_LOW_LIMIT_ADDR (3)
33#define ADCXX1C_HIGH_LIMIT_ADDR (4)
34#define ADCXX1C_HYSTERESIS_ADDR (5)
35#define ADCXX1C_LOWEST_CONV_ADDR (6)
36#define ADCXX1C_HIGHEST_CONV_ADDR (7)
38
43#define ADCXX1C_CONF_ALERT_PIN_EN (1 << 2)
44#define ADCXX1C_CONF_ALERT_FLAG_EN (1 << 3)
46
47#ifdef __cplusplus
48}
49#endif
50