Zephyr Project API
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
silabs-adc.h
Go to the documentation of this file.
1
/*
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
#define ADC_INPUT_GND 0x0
14
#define ADC_INPUT_AVDD 0x10
15
#define ADC_INPUT_IOVDD 0x11
16
#define ADC_INPUT_DVDD 0x12
17
#define ADC_INPUT_DECOUPLE 0x13
18
#define ADC_INPUT_PA0 0x80
19
#define ADC_INPUT_PA1 0x81
20
#define ADC_INPUT_PA2 0x82
21
#define ADC_INPUT_PA3 0x83
22
#define ADC_INPUT_PA4 0x84
23
#define ADC_INPUT_PA5 0x85
24
#define ADC_INPUT_PA6 0x86
25
#define ADC_INPUT_PA7 0x87
26
#define ADC_INPUT_PA8 0x88
27
#define ADC_INPUT_PA9 0x89
28
#define ADC_INPUT_PA10 0x8a
29
#define ADC_INPUT_PA11 0x8b
30
#define ADC_INPUT_PA12 0x8c
31
#define ADC_INPUT_PA13 0x8d
32
#define ADC_INPUT_PA14 0x8e
33
#define ADC_INPUT_PA15 0x8f
34
#define ADC_INPUT_PB0 0x90
35
#define ADC_INPUT_PB1 0x91
36
#define ADC_INPUT_PB2 0x92
37
#define ADC_INPUT_PB3 0x93
38
#define ADC_INPUT_PB4 0x94
39
#define ADC_INPUT_PB5 0x95
40
#define ADC_INPUT_PB6 0x96
41
#define ADC_INPUT_PB7 0x97
42
#define ADC_INPUT_PB8 0x98
43
#define ADC_INPUT_PB9 0x99
44
#define ADC_INPUT_PB10 0x9a
45
#define ADC_INPUT_PB11 0x9b
46
#define ADC_INPUT_PB12 0x9c
47
#define ADC_INPUT_PB13 0x9d
48
#define ADC_INPUT_PB14 0x9e
49
#define ADC_INPUT_PB15 0x9f
50
#define ADC_INPUT_PC0 0xa0
51
#define ADC_INPUT_PC1 0xa1
52
#define ADC_INPUT_PC2 0xa2
53
#define ADC_INPUT_PC3 0xa3
54
#define ADC_INPUT_PC4 0xa4
55
#define ADC_INPUT_PC5 0xa5
56
#define ADC_INPUT_PC6 0xa6
57
#define ADC_INPUT_PC7 0xa7
58
#define ADC_INPUT_PC8 0xa8
59
#define ADC_INPUT_PC9 0xa9
60
#define ADC_INPUT_PC10 0xaa
61
#define ADC_INPUT_PC11 0xab
62
#define ADC_INPUT_PC12 0xac
63
#define ADC_INPUT_PC13 0xad
64
#define ADC_INPUT_PC14 0xae
65
#define ADC_INPUT_PC15 0xaf
66
#define ADC_INPUT_PD0 0xb0
67
#define ADC_INPUT_PD1 0xb1
68
#define ADC_INPUT_PD2 0xb2
69
#define ADC_INPUT_PD3 0xb3
70
#define ADC_INPUT_PD4 0xb4
71
#define ADC_INPUT_PD5 0xb5
72
#define ADC_INPUT_PD6 0xb6
73
#define ADC_INPUT_PD7 0xb7
74
#define ADC_INPUT_PD8 0xb8
75
#define ADC_INPUT_PD9 0xb9
76
#define ADC_INPUT_PD10 0xba
77
#define ADC_INPUT_PD11 0xbb
78
#define ADC_INPUT_PD12 0xbc
79
#define ADC_INPUT_PD13 0xbd
80
#define ADC_INPUT_PD14 0xbe
81
#define ADC_INPUT_PD15 0xbf
82
83
#define IADC_INPUT_GND 0x0
84
#define IADC_INPUT_AVDD 0x10
85
#define IADC_INPUT_IOVDD 0x11
86
#define IADC_INPUT_VBAT 0x12
87
#define IADC_INPUT_DVDD 0x14
88
#define IADC_INPUT_DECOUPLE 0x17
89
#define IADC_INPUT_DAC0 0x20
90
#define IADC_INPUT_DAC1 0x20
91
#define IADC_INPUT_AIN0 0x40
92
#define IADC_INPUT_AIN1 0x40
93
#define IADC_INPUT_AIN2 0x50
94
#define IADC_INPUT_AIN3 0x50
95
#define IADC_INPUT_PA0 0x80
96
#define IADC_INPUT_PA1 0x81
97
#define IADC_INPUT_PA2 0x82
98
#define IADC_INPUT_PA3 0x83
99
#define IADC_INPUT_PA4 0x84
100
#define IADC_INPUT_PA5 0x85
101
#define IADC_INPUT_PA6 0x86
102
#define IADC_INPUT_PA7 0x87
103
#define IADC_INPUT_PA8 0x88
104
#define IADC_INPUT_PA9 0x89
105
#define IADC_INPUT_PA10 0x8a
106
#define IADC_INPUT_PA11 0x8b
107
#define IADC_INPUT_PA12 0x8c
108
#define IADC_INPUT_PA13 0x8d
109
#define IADC_INPUT_PA14 0x8e
110
#define IADC_INPUT_PA15 0x8f
111
#define IADC_INPUT_PB0 0x90
112
#define IADC_INPUT_PB1 0x91
113
#define IADC_INPUT_PB2 0x92
114
#define IADC_INPUT_PB3 0x93
115
#define IADC_INPUT_PB4 0x94
116
#define IADC_INPUT_PB5 0x95
117
#define IADC_INPUT_PB6 0x96
118
#define IADC_INPUT_PB7 0x97
119
#define IADC_INPUT_PB8 0x98
120
#define IADC_INPUT_PB9 0x99
121
#define IADC_INPUT_PB10 0x9a
122
#define IADC_INPUT_PB11 0x9b
123
#define IADC_INPUT_PB12 0x9c
124
#define IADC_INPUT_PB13 0x9d
125
#define IADC_INPUT_PB14 0x9e
126
#define IADC_INPUT_PB15 0x9f
127
#define IADC_INPUT_PC0 0xa0
128
#define IADC_INPUT_PC1 0xa1
129
#define IADC_INPUT_PC2 0xa2
130
#define IADC_INPUT_PC3 0xa3
131
#define IADC_INPUT_PC4 0xa4
132
#define IADC_INPUT_PC5 0xa5
133
#define IADC_INPUT_PC6 0xa6
134
#define IADC_INPUT_PC7 0xa7
135
#define IADC_INPUT_PC8 0xa8
136
#define IADC_INPUT_PC9 0xa9
137
#define IADC_INPUT_PC10 0xaa
138
#define IADC_INPUT_PC11 0xab
139
#define IADC_INPUT_PC12 0xac
140
#define IADC_INPUT_PC13 0xad
141
#define IADC_INPUT_PC14 0xae
142
#define IADC_INPUT_PC15 0xaf
143
#define IADC_INPUT_PD0 0xb0
144
#define IADC_INPUT_PD1 0xb1
145
#define IADC_INPUT_PD2 0xb2
146
#define IADC_INPUT_PD3 0xb3
147
#define IADC_INPUT_PD4 0xb4
148
#define IADC_INPUT_PD5 0xb5
149
#define IADC_INPUT_PD6 0xb6
150
#define IADC_INPUT_PD7 0xb7
151
#define IADC_INPUT_PD8 0xb8
152
#define IADC_INPUT_PD9 0xb9
153
#define IADC_INPUT_PD10 0xba
154
#define IADC_INPUT_PD11 0xbb
155
#define IADC_INPUT_PD12 0xbc
156
#define IADC_INPUT_PD13 0xbd
157
#define IADC_INPUT_PD14 0xbe
158
#define IADC_INPUT_PD15 0xbf
159
160
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_ADC_SILABS_ADC_H_ */
include
zephyr
dt-bindings
adc
silabs-adc.h
Generated on
for Zephyr Project API by
1.16.1