1 /*
2  * SPDX-License-Identifier: Apache-2.0
3  *
4  * Copyright (c) 2022 Nordic Semiconductor ASA
5  */
6 
7 #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_NRF_ADC_H_
8 #define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_NRF_ADC_H_
9 
10 #include <zephyr/dt-bindings/dt-util.h>
11 
12 #define NRF_ADC_AIN0 BIT(0)
13 #define NRF_ADC_AIN1 BIT(1)
14 #define NRF_ADC_AIN2 BIT(2)
15 #define NRF_ADC_AIN3 BIT(3)
16 #define NRF_ADC_AIN4 BIT(4)
17 #define NRF_ADC_AIN5 BIT(5)
18 #define NRF_ADC_AIN6 BIT(6)
19 #define NRF_ADC_AIN7 BIT(7)
20 
21 #define NRF_SAADC_AIN0     1
22 #define NRF_SAADC_AIN1     2
23 #define NRF_SAADC_AIN2     3
24 #define NRF_SAADC_AIN3     4
25 #define NRF_SAADC_AIN4     5
26 #define NRF_SAADC_AIN5     6
27 #define NRF_SAADC_AIN6     7
28 #define NRF_SAADC_AIN7     8
29 #define NRF_SAADC_VDD      9
30 #define NRF_SAADC_VDDHDIV5 13
31 
32 #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ADC_NRF_ADC_H_ */
33