Zephyr Project API
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ad4170-adc.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Analog Devices, Inc.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_AD4170_ADC_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_AD4170_ADC_H_
9
10
#include <
zephyr/dt-bindings/dt-util.h
>
11
12
/* AD4170 Channel Map */
13
#define AD4170_ADC_AIN0 0
14
#define AD4170_ADC_AIN1 1
15
#define AD4170_ADC_AIN2 2
16
#define AD4170_ADC_AIN3 3
17
#define AD4170_ADC_AIN4 4
18
#define AD4170_ADC_AIN5 5
19
#define AD4170_ADC_AIN6 6
20
#define AD4170_ADC_AIN7 7
21
#define AD4170_ADC_AIN8 8
23
#define AD4170_ADC_AIN9 9
25
#define AD4170_ADC_AIN10 10
27
#define AD4170_ADC_AIN11 11
29
#define AD4170_ADC_AIN12 12
31
#define AD4170_ADC_AIN13 13
33
#define AD4170_ADC_AIN14 14
35
#define AD4170_ADC_AIN15 15
36
#define AD4170_ADC_TEMP_SENSOR 17
37
#define AD4130_ADC_AVDD_AVSS_DIV5 18
38
#define AD4130_ADC_IOVDD_DGND_DIV5 19
39
#define AD4170_ADC_ALDO 21
40
#define AD4170_ADC_DLDO 22
41
#define AD4170_ADC_AVSS 23
42
#define AD4170_ADC_DGND 24
43
#define AD4170_ADC_REFIN1_PLUS 25
44
#define AD4170_ADC_REFIN1_MINUS 26
45
#define AD4170_ADC_REFIN2_PLUS 27
46
#define AD4170_ADC_REFIN2_MINUS 28
47
#define AD4170_ADC_REFOUT 29
48
49
/* AD4170 ADC Operating Mode */
50
#define AD4170_CONTINUOUS_MODE 0
51
#define AD4170_SINGLE_MODE 4
52
#define AD4170_STANDBY_MODE 5
53
#define AD4170_POWER_DOWN_MODE 6
54
#define AD4170_IDLE_MODE 7
55
56
/* AD4170 Clock Select */
57
#define AD4170_CLKSEL_INT 0
58
#define AD4170_CLKSEL_INT_OUT 1
59
#define AD4170_CLKSEL_EXT 2
60
#define AD4170_CLKSEL_EXT_XTAL 3
61
62
/* AD4170 Filter Type */
63
#define AD4170_SINC5_AVG 0
64
#define AD4170_SINC5 1
65
#define AD4170_SINC3 2
66
67
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_ADC_AD4170_ADC_H_ */
dt-util.h
include
zephyr
dt-bindings
adc
ad4170-adc.h
Generated on
for Zephyr Project API by
1.16.1