Zephyr API Documentation 4.3.0-rc1
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_AD4170_ADC_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_AD4170_ADC_H_
9
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
22#define AD4170_ADC_TEMP_SENSOR 17
23#define AD4130_ADC_AVDD_AVSS_DIV5 18
24#define AD4130_ADC_IOVDD_DGND_DIV5 19
25#define AD4170_ADC_ALDO 21
26#define AD4170_ADC_DLDO 22
27#define AD4170_ADC_AVSS 23
28#define AD4170_ADC_DGND 24
29#define AD4170_ADC_REFIN1_PLUS 25
30#define AD4170_ADC_REFIN1_MINUS 26
31#define AD4170_ADC_REFIN2_PLUS 27
32#define AD4170_ADC_REFIN2_MINUS 28
33#define AD4170_ADC_REFOUT 29
34
35/* AD4170 ADC Operating Mode */
36#define AD4170_CONTINUOUS_MODE 0
37#define AD4170_SINGLE_MODE 4
38#define AD4170_STANDBY_MODE 5
39#define AD4170_POWER_DOWN_MODE 6
40#define AD4170_IDLE_MODE 7
41
42/* AD4170 Clock Select */
43#define AD4170_CLKSEL_INT 0
44#define AD4170_CLKSEL_INT_OUT 1
45#define AD4170_CLKSEL_EXT 2
46#define AD4170_CLKSEL_EXT_XTAL 3
47
48/* AD4170 Filter Type */
49#define AD4170_SINC5_AVG 0
50#define AD4170_SINC5 1
51#define AD4170_SINC3 2
52
53#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_AD4170_ADC_H_ */