Line data Source code
1 0 : /*
2 : * Copyright (c) 2025 Silicon Laboratories Inc.
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : *
6 : * This file was generated by the script gen_adc.py in the hal_silabs module.
7 : * Do not manually edit.
8 : */
9 :
10 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_SILABS_ADC_H_
11 : #define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_SILABS_ADC_H_
12 :
13 0 : #define IADC_INPUT_GND 0x0
14 0 : #define IADC_INPUT_AVDD 0x10
15 0 : #define IADC_INPUT_IOVDD 0x11
16 0 : #define IADC_INPUT_VBAT 0x12
17 0 : #define IADC_INPUT_DVDD 0x14
18 0 : #define IADC_INPUT_DECOUPLE 0x17
19 0 : #define IADC_INPUT_DAC0 0x20
20 0 : #define IADC_INPUT_DAC1 0x20
21 0 : #define IADC_INPUT_AIN0 0x40
22 0 : #define IADC_INPUT_AIN1 0x40
23 0 : #define IADC_INPUT_AIN2 0x50
24 0 : #define IADC_INPUT_AIN3 0x50
25 0 : #define IADC_INPUT_PA0 0x80
26 0 : #define IADC_INPUT_PA1 0x81
27 0 : #define IADC_INPUT_PA2 0x82
28 0 : #define IADC_INPUT_PA3 0x83
29 0 : #define IADC_INPUT_PA4 0x84
30 0 : #define IADC_INPUT_PA5 0x85
31 0 : #define IADC_INPUT_PA6 0x86
32 0 : #define IADC_INPUT_PA7 0x87
33 0 : #define IADC_INPUT_PA8 0x88
34 0 : #define IADC_INPUT_PA9 0x89
35 0 : #define IADC_INPUT_PA10 0x8a
36 0 : #define IADC_INPUT_PA11 0x8b
37 0 : #define IADC_INPUT_PA12 0x8c
38 0 : #define IADC_INPUT_PA13 0x8d
39 0 : #define IADC_INPUT_PA14 0x8e
40 0 : #define IADC_INPUT_PA15 0x8f
41 0 : #define IADC_INPUT_PB0 0x90
42 0 : #define IADC_INPUT_PB1 0x91
43 0 : #define IADC_INPUT_PB2 0x92
44 0 : #define IADC_INPUT_PB3 0x93
45 0 : #define IADC_INPUT_PB4 0x94
46 0 : #define IADC_INPUT_PB5 0x95
47 0 : #define IADC_INPUT_PB6 0x96
48 0 : #define IADC_INPUT_PB7 0x97
49 0 : #define IADC_INPUT_PB8 0x98
50 0 : #define IADC_INPUT_PB9 0x99
51 0 : #define IADC_INPUT_PB10 0x9a
52 0 : #define IADC_INPUT_PB11 0x9b
53 0 : #define IADC_INPUT_PB12 0x9c
54 0 : #define IADC_INPUT_PB13 0x9d
55 0 : #define IADC_INPUT_PB14 0x9e
56 0 : #define IADC_INPUT_PB15 0x9f
57 0 : #define IADC_INPUT_PC0 0xa0
58 0 : #define IADC_INPUT_PC1 0xa1
59 0 : #define IADC_INPUT_PC2 0xa2
60 0 : #define IADC_INPUT_PC3 0xa3
61 0 : #define IADC_INPUT_PC4 0xa4
62 0 : #define IADC_INPUT_PC5 0xa5
63 0 : #define IADC_INPUT_PC6 0xa6
64 0 : #define IADC_INPUT_PC7 0xa7
65 0 : #define IADC_INPUT_PC8 0xa8
66 0 : #define IADC_INPUT_PC9 0xa9
67 0 : #define IADC_INPUT_PC10 0xaa
68 0 : #define IADC_INPUT_PC11 0xab
69 0 : #define IADC_INPUT_PC12 0xac
70 0 : #define IADC_INPUT_PC13 0xad
71 0 : #define IADC_INPUT_PC14 0xae
72 0 : #define IADC_INPUT_PC15 0xaf
73 0 : #define IADC_INPUT_PD0 0xb0
74 0 : #define IADC_INPUT_PD1 0xb1
75 0 : #define IADC_INPUT_PD2 0xb2
76 0 : #define IADC_INPUT_PD3 0xb3
77 0 : #define IADC_INPUT_PD4 0xb4
78 0 : #define IADC_INPUT_PD5 0xb5
79 0 : #define IADC_INPUT_PD6 0xb6
80 0 : #define IADC_INPUT_PD7 0xb7
81 0 : #define IADC_INPUT_PD8 0xb8
82 0 : #define IADC_INPUT_PD9 0xb9
83 0 : #define IADC_INPUT_PD10 0xba
84 0 : #define IADC_INPUT_PD11 0xbb
85 0 : #define IADC_INPUT_PD12 0xbc
86 0 : #define IADC_INPUT_PD13 0xbd
87 0 : #define IADC_INPUT_PD14 0xbe
88 0 : #define IADC_INPUT_PD15 0xbf
89 :
90 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ADC_SILABS_ADC_H_ */
|