Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
19
#ifndef ADCXX1C_REGS_H
20
#define ADCXX1C_REGS_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
30
#define ADCXX1C_CONV_RES_ADDR (0)
31
#define ADCXX1C_ALERT_STATUS_ADDR (1)
32
#define ADCXX1C_CONF_ADDR (2)
33
#define ADCXX1C_LOW_LIMIT_ADDR (3)
34
#define ADCXX1C_HIGH_LIMIT_ADDR (4)
35
#define ADCXX1C_HYSTERESIS_ADDR (5)
36
#define ADCXX1C_LOWEST_CONV_ADDR (6)
37
#define ADCXX1C_HIGHEST_CONV_ADDR (7)
44
#define ADCXX1C_CONF_ALERT_PIN_EN (1 << 2)
45
#define ADCXX1C_CONF_ALERT_FLAG_EN (1 << 3)
48
#ifdef __cplusplus
49
}
50
#endif
51
52
#endif
/* ADCXX1C_REGS_H */
Generated on Wed Nov 27 2024 02:41:42 by
1.9.8