aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios/os/hal/ports/SPC5/SPC56ELxx/spc5_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios/os/hal/ports/SPC5/SPC56ELxx/spc5_registry.h')
-rw-r--r--lib/chibios/os/hal/ports/SPC5/SPC56ELxx/spc5_registry.h433
1 files changed, 433 insertions, 0 deletions
diff --git a/lib/chibios/os/hal/ports/SPC5/SPC56ELxx/spc5_registry.h b/lib/chibios/os/hal/ports/SPC5/SPC56ELxx/spc5_registry.h
new file mode 100644
index 000000000..d9234357a
--- /dev/null
+++ b/lib/chibios/os/hal/ports/SPC5/SPC56ELxx/spc5_registry.h
@@ -0,0 +1,433 @@
1/*
2 SPC5 HAL - Copyright (C) 2013 STMicroelectronics
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15*/
16
17/**
18 * @file SPC56ELxx/spc5_registry.h
19 * @brief SPC56ELxx capabilities registry.
20 *
21 * @addtogroup HAL
22 * @{
23 */
24
25#ifndef SPC5_REGISTRY_H
26#define SPC5_REGISTRY_H
27
28/*===========================================================================*/
29/* Platform capabilities. */
30/*===========================================================================*/
31
32/**
33 * @name SPC56ELxx capabilities
34 * @{
35 */
36/* eDMA attributes.*/
37#define SPC5_HAS_EDMA TRUE
38#define SPC5_EDMA_NCHANNELS 16
39#define SPC5_EDMA_HAS_MUX TRUE
40
41/* DSPI attribures.*/
42#define SPC5_HAS_DSPI0 TRUE
43#define SPC5_HAS_DSPI1 TRUE
44#define SPC5_HAS_DSPI2 TRUE
45#define SPC5_HAS_DSPI3 FALSE
46#define SPC5_HAS_DSPI4 FALSE
47#define SPC5_HAS_DSPI5 FALSE
48#define SPC5_HAS_DSPI6 FALSE
49#define SPC5_HAS_DSPI7 FALSE
50#define SPC5_DSPI_FIFO_DEPTH 5
51#define SPC5_DSPI0_PCTL 4
52#define SPC5_DSPI1_PCTL 5
53#define SPC5_DSPI2_PCTL 6
54#define SPC5_DSPI0_TX1_DMA_DEV_ID 1
55#define SPC5_DSPI0_TX2_DMA_DEV_ID 0
56#define SPC5_DSPI0_RX_DMA_DEV_ID 2
57#define SPC5_DSPI1_TX1_DMA_DEV_ID 3
58#define SPC5_DSPI1_TX2_DMA_DEV_ID 0
59#define SPC5_DSPI1_RX_DMA_DEV_ID 4
60#define SPC5_DSPI2_TX1_DMA_DEV_ID 5
61#define SPC5_DSPI2_TX2_DMA_DEV_ID 0
62#define SPC5_DSPI2_RX_DMA_DEV_ID 6
63#define SPC5_DSPI0_TFFF_HANDLER vector76
64#define SPC5_DSPI0_TFFF_NUMBER 76
65#define SPC5_DSPI0_RFDF_HANDLER vector78
66#define SPC5_DSPI0_RFDF_NUMBER 78
67#define SPC5_DSPI1_TFFF_HANDLER vector96
68#define SPC5_DSPI1_TFFF_NUMBER 96
69#define SPC5_DSPI1_RFDF_HANDLER vector98
70#define SPC5_DSPI1_RFDF_NUMBER 98
71#define SPC5_DSPI2_TFFF_HANDLER vector116
72#define SPC5_DSPI2_TFFF_NUMBER 116
73#define SPC5_DSPI2_RFDF_HANDLER vector118
74#define SPC5_DSPI2_RFDF_NUMBER 118
75#define SPC5_DSPI0_ENABLE_CLOCK() \
76 halSPCSetPeripheralClockMode(SPC5_DSPI0_PCTL, SPC5_SPI_DSPI0_START_PCTL)
77#define SPC5_DSPI0_DISABLE_CLOCK() \
78 halSPCSetPeripheralClockMode(SPC5_DSPI0_PCTL, SPC5_SPI_DSPI0_STOP_PCTL)
79#define SPC5_DSPI1_ENABLE_CLOCK() \
80 halSPCSetPeripheralClockMode(SPC5_DSPI1_PCTL, SPC5_SPI_DSPI1_START_PCTL)
81#define SPC5_DSPI1_DISABLE_CLOCK() \
82 halSPCSetPeripheralClockMode(SPC5_DSPI1_PCTL, SPC5_SPI_DSPI1_STOP_PCTL)
83#define SPC5_DSPI2_ENABLE_CLOCK() \
84 halSPCSetPeripheralClockMode(SPC5_DSPI2_PCTL, SPC5_SPI_DSPI2_START_PCTL)
85#define SPC5_DSPI2_DISABLE_CLOCK() \
86 halSPCSetPeripheralClockMode(SPC5_DSPI2_PCTL, SPC5_SPI_DSPI2_STOP_PCTL)
87
88/* LINFlex attributes.*/
89#define SPC5_HAS_LINFLEX0 TRUE
90#define SPC5_LINFLEX0_PCTL 48
91#define SPC5_LINFLEX0_RXI_HANDLER vector79
92#define SPC5_LINFLEX0_TXI_HANDLER vector80
93#define SPC5_LINFLEX0_ERR_HANDLER vector81
94#define SPC5_LINFLEX0_RXI_NUMBER 79
95#define SPC5_LINFLEX0_TXI_NUMBER 80
96#define SPC5_LINFLEX0_ERR_NUMBER 81
97#define SPC5_LINFLEX0_CLK (halSPCGetSystemClock() / \
98 SPC5_SYSCLK_DIVIDER_VALUE)
99
100#define SPC5_HAS_LINFLEX1 TRUE
101#define SPC5_LINFLEX1_PCTL 49
102#define SPC5_LINFLEX1_RXI_HANDLER vector99
103#define SPC5_LINFLEX1_TXI_HANDLER vector100
104#define SPC5_LINFLEX1_ERR_HANDLER vector101
105#define SPC5_LINFLEX1_RXI_NUMBER 99
106#define SPC5_LINFLEX1_TXI_NUMBER 100
107#define SPC5_LINFLEX1_ERR_NUMBER 101
108#define SPC5_LINFLEX1_CLK (halSPCGetSystemClock() / \
109 SPC5_SYSCLK_DIVIDER_VALUE)
110
111#define SPC5_HAS_LINFLEX2 FALSE
112#define SPC5_HAS_LINFLEX3 FALSE
113#define SPC5_HAS_LINFLEX4 FALSE
114#define SPC5_HAS_LINFLEX5 FALSE
115#define SPC5_HAS_LINFLEX6 FALSE
116#define SPC5_HAS_LINFLEX7 FALSE
117#define SPC5_HAS_LINFLEX8 FALSE
118#define SPC5_HAS_LINFLEX9 FALSE
119
120/* SIUL attributes.*/
121#define SPC5_HAS_SIUL TRUE
122#define SPC5_SIUL_NUM_PORTS 8
123#define SPC5_SIUL_NUM_PCRS 133
124#define SPC5_SIUL_NUM_PADSELS 44
125/** @} */
126
127/* FlexPWM attributes.*/
128#define SPC5_HAS_FLEXPWM0 TRUE
129#define SPC5_FLEXPWM0_PCTL 41
130#define SPC5_FLEXPWM0_RF0_HANDLER vector179
131#define SPC5_FLEXPWM0_COF0_HANDLER vector180
132#define SPC5_FLEXPWM0_CAF0_HANDLER vector181
133#define SPC5_FLEXPWM0_RF1_HANDLER vector182
134#define SPC5_FLEXPWM0_COF1_HANDLER vector183
135#define SPC5_FLEXPWM0_CAF1_HANDLER vector184
136#define SPC5_FLEXPWM0_RF2_HANDLER vector185
137#define SPC5_FLEXPWM0_COF2_HANDLER vector186
138#define SPC5_FLEXPWM0_CAF2_HANDLER vector187
139#define SPC5_FLEXPWM0_RF3_HANDLER vector188
140#define SPC5_FLEXPWM0_COF3_HANDLER vector189
141#define SPC5_FLEXPWM0_CAF3_HANDLER vector190
142#define SPC5_FLEXPWM0_FFLAG_HANDLER vector191
143#define SPC5_FLEXPWM0_REF_HANDLER vector192
144#define SPC5_FLEXPWM0_RF0_NUMBER 179
145#define SPC5_FLEXPWM0_COF0_NUMBER 180
146#define SPC5_FLEXPWM0_CAF0_NUMBER 181
147#define SPC5_FLEXPWM0_RF1_NUMBER 182
148#define SPC5_FLEXPWM0_COF1_NUMBER 183
149#define SPC5_FLEXPWM0_CAF1_NUMBER 184
150#define SPC5_FLEXPWM0_RF2_NUMBER 185
151#define SPC5_FLEXPWM0_COF2_NUMBER 186
152#define SPC5_FLEXPWM0_CAF2_NUMBER 187
153#define SPC5_FLEXPWM0_RF3_NUMBER 188
154#define SPC5_FLEXPWM0_COF3_NUMBER 189
155#define SPC5_FLEXPWM0_CAF3_NUMBER 190
156#define SPC5_FLEXPWM0_FFLAG_NUMBER 191
157#define SPC5_FLEXPWM0_REF_NUMBER 192
158#define SPC5_FLEXPWM0_CLK SPC5_MCONTROL_CLK
159
160#define SPC5_HAS_FLEXPWM1 TRUE
161#define SPC5_FLEXPWM1_PCTL 42
162#define SPC5_FLEXPWM1_RF0_HANDLER vector233
163#define SPC5_FLEXPWM1_COF0_HANDLER vector234
164#define SPC5_FLEXPWM1_CAF0_HANDLER vector235
165#define SPC5_FLEXPWM1_RF1_HANDLER vector236
166#define SPC5_FLEXPWM1_COF1_HANDLER vector237
167#define SPC5_FLEXPWM1_CAF1_HANDLER vector238
168#define SPC5_FLEXPWM1_RF2_HANDLER vector239
169#define SPC5_FLEXPWM1_COF2_HANDLER vector240
170#define SPC5_FLEXPWM1_CAF2_HANDLER vector241
171#define SPC5_FLEXPWM1_RF3_HANDLER vector242
172#define SPC5_FLEXPWM1_COF3_HANDLER vector243
173#define SPC5_FLEXPWM1_CAF3_HANDLER vector244
174#define SPC5_FLEXPWM1_FFLAG_HANDLER vector245
175#define SPC5_FLEXPWM1_REF_HANDLER vector246
176#define SPC5_FLEXPWM1_RF0_NUMBER 233
177#define SPC5_FLEXPWM1_COF0_NUMBER 234
178#define SPC5_FLEXPWM1_CAF0_NUMBER 235
179#define SPC5_FLEXPWM1_RF1_NUMBER 236
180#define SPC5_FLEXPWM1_COF1_NUMBER 237
181#define SPC5_FLEXPWM1_CAF1_NUMBER 238
182#define SPC5_FLEXPWM1_RF2_NUMBER 239
183#define SPC5_FLEXPWM1_COF2_NUMBER 240
184#define SPC5_FLEXPWM1_CAF2_NUMBER 241
185#define SPC5_FLEXPWM1_RF3_NUMBER 242
186#define SPC5_FLEXPWM1_COF3_NUMBER 243
187#define SPC5_FLEXPWM1_CAF3_NUMBER 244
188#define SPC5_FLEXPWM1_FFLAG_NUMBER 245
189#define SPC5_FLEXPWM1_REF_NUMBER 246
190#define SPC5_FLEXPWM1_CLK SPC5_MCONTROL_CLK
191
192/* eTimer attributes.*/
193#define SPC5_HAS_ETIMER0 TRUE
194#define SPC5_ETIMER0_PCTL 38
195#define SPC5_ETIMER0_TC0IR_HANDLER vector157
196#define SPC5_ETIMER0_TC1IR_HANDLER vector158
197#define SPC5_ETIMER0_TC2IR_HANDLER vector159
198#define SPC5_ETIMER0_TC3IR_HANDLER vector160
199#define SPC5_ETIMER0_TC4IR_HANDLER vector161
200#define SPC5_ETIMER0_TC5IR_HANDLER vector162
201#define SPC5_ETIMER0_WTIF_HANDLER vector165
202#define SPC5_ETIMER0_RCF_HANDLER vector167
203#define SPC5_ETIMER0_TC0IR_NUMBER 157
204#define SPC5_ETIMER0_TC1IR_NUMBER 158
205#define SPC5_ETIMER0_TC2IR_NUMBER 159
206#define SPC5_ETIMER0_TC3IR_NUMBER 160
207#define SPC5_ETIMER0_TC4IR_NUMBER 161
208#define SPC5_ETIMER0_TC5IR_NUMBER 162
209#define SPC5_ETIMER0_WTIF_NUMBER 165
210#define SPC5_ETIMER0_RCF_NUMBER 167
211#define SPC5_ETIMER0_CLK SPC5_MCONTROL_CLK
212
213#define SPC5_HAS_ETIMER1 TRUE
214#define SPC5_ETIMER1_PCTL 39
215#define SPC5_ETIMER1_TC0IR_HANDLER vector168
216#define SPC5_ETIMER1_TC1IR_HANDLER vector169
217#define SPC5_ETIMER1_TC2IR_HANDLER vector170
218#define SPC5_ETIMER1_TC3IR_HANDLER vector171
219#define SPC5_ETIMER1_TC4IR_HANDLER vector172
220#define SPC5_ETIMER1_TC5IR_HANDLER vector173
221#define SPC5_ETIMER1_RCF_HANDLER vector178
222#define SPC5_ETIMER1_TC0IR_NUMBER 168
223#define SPC5_ETIMER1_TC1IR_NUMBER 169
224#define SPC5_ETIMER1_TC2IR_NUMBER 170
225#define SPC5_ETIMER1_TC3IR_NUMBER 171
226#define SPC5_ETIMER1_TC4IR_NUMBER 172
227#define SPC5_ETIMER1_TC5IR_NUMBER 173
228#define SPC5_ETIMER1_RCF_NUMBER 178
229#define SPC5_ETIMER1_CLK SPC5_MCONTROL_CLK
230
231#define SPC5_HAS_ETIMER2 TRUE
232#define SPC5_ETIMER2_PCTL 40
233#define SPC5_ETIMER2_TC0IR_HANDLER vector222
234#define SPC5_ETIMER2_TC1IR_HANDLER vector223
235#define SPC5_ETIMER2_TC2IR_HANDLER vector224
236#define SPC5_ETIMER2_TC3IR_HANDLER vector225
237#define SPC5_ETIMER2_TC4IR_HANDLER vector226
238#define SPC5_ETIMER2_TC5IR_HANDLER vector227
239#define SPC5_ETIMER2_RCF_HANDLER vector232
240#define SPC5_ETIMER2_TC0IR_NUMBER 222
241#define SPC5_ETIMER2_TC1IR_NUMBER 223
242#define SPC5_ETIMER2_TC2IR_NUMBER 224
243#define SPC5_ETIMER2_TC3IR_NUMBER 225
244#define SPC5_ETIMER2_TC4IR_NUMBER 226
245#define SPC5_ETIMER2_TC5IR_NUMBER 227
246#define SPC5_ETIMER2_RCF_NUMBER 232
247#define SPC5_ETIMER2_CLK SPC5_MCONTROL_CLK
248
249#define SPC5_HAS_ETIMER3 FALSE
250
251/* FlexCAN attributes.*/
252#define SPC5_HAS_FLEXCAN0 TRUE
253#define SPC5_FLEXCAN0_PCTL 16
254#define SPC5_FLEXCAN0_MB 32
255#define SPC5_FLEXCAN0_SHARED_IRQ TRUE
256#define SPC5_FLEXCAN0_FLEXCAN_ESR_ERR_INT_HANDLER vector65
257#define SPC5_FLEXCAN0_FLEXCAN_ESR_BOFF_HANDLER vector66
258#define SPC5_FLEXCAN0_FLEXCAN_ESR_WAK_HANDLER vector67
259#define SPC5_FLEXCAN0_FLEXCAN_BUF_00_03_HANDLER vector68
260#define SPC5_FLEXCAN0_FLEXCAN_BUF_04_07_HANDLER vector69
261#define SPC5_FLEXCAN0_FLEXCAN_BUF_08_11_HANDLER vector70
262#define SPC5_FLEXCAN0_FLEXCAN_BUF_12_15_HANDLER vector71
263#define SPC5_FLEXCAN0_FLEXCAN_BUF_16_31_HANDLER vector72
264#define SPC5_FLEXCAN0_FLEXCAN_ESR_ERR_INT_NUMBER 65
265#define SPC5_FLEXCAN0_FLEXCAN_ESR_BOFF_NUMBER 66
266#define SPC5_FLEXCAN0_FLEXCAN_ESR_WAK_NUMBER 67
267#define SPC5_FLEXCAN0_FLEXCAN_BUF_00_03_NUMBER 68
268#define SPC5_FLEXCAN0_FLEXCAN_BUF_04_07_NUMBER 69
269#define SPC5_FLEXCAN0_FLEXCAN_BUF_08_11_NUMBER 70
270#define SPC5_FLEXCAN0_FLEXCAN_BUF_12_15_NUMBER 71
271#define SPC5_FLEXCAN0_FLEXCAN_BUF_16_31_NUMBER 72
272#define SPC5_FLEXCAN0_ENABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN0_PCTL, SPC5_CAN_FLEXCAN0_START_PCTL);
273#define SPC5_FLEXCAN0_DISABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN0_PCTL, SPC5_CAN_FLEXCAN0_STOP_PCTL);
274
275#define SPC5_HAS_FLEXCAN1 TRUE
276#define SPC5_FLEXCAN1_PCTL 17
277#define SPC5_FLEXCAN1_MB 32
278#define SPC5_FLEXCAN1_SHARED_IRQ TRUE
279#define SPC5_FLEXCAN1_FLEXCAN_ESR_ERR_INT_HANDLER vector85
280#define SPC5_FLEXCAN1_FLEXCAN_ESR_BOFF_HANDLER vector86
281#define SPC5_FLEXCAN1_FLEXCAN_ESR_WAK_HANDLER vector87
282#define SPC5_FLEXCAN1_FLEXCAN_BUF_00_03_HANDLER vector88
283#define SPC5_FLEXCAN1_FLEXCAN_BUF_04_07_HANDLER vector89
284#define SPC5_FLEXCAN1_FLEXCAN_BUF_08_11_HANDLER vector90
285#define SPC5_FLEXCAN1_FLEXCAN_BUF_12_15_HANDLER vector91
286#define SPC5_FLEXCAN1_FLEXCAN_BUF_16_31_HANDLER vector92
287#define SPC5_FLEXCAN1_FLEXCAN_ESR_ERR_INT_NUMBER 85
288#define SPC5_FLEXCAN1_FLEXCAN_ESR_BOFF_NUMBER 86
289#define SPC5_FLEXCAN1_FLEXCAN_ESR_WAK_NUMBER 87
290#define SPC5_FLEXCAN1_FLEXCAN_BUF_00_03_NUMBER 88
291#define SPC5_FLEXCAN1_FLEXCAN_BUF_04_07_NUMBER 89
292#define SPC5_FLEXCAN1_FLEXCAN_BUF_08_11_NUMBER 90
293#define SPC5_FLEXCAN1_FLEXCAN_BUF_12_15_NUMBER 91
294#define SPC5_FLEXCAN1_FLEXCAN_BUF_16_31_NUMBER 92
295#define SPC5_FLEXCAN1_ENABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN1_PCTL, SPC5_CAN_FLEXCAN1_START_PCTL);
296#define SPC5_FLEXCAN1_DISABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN1_PCTL, SPC5_CAN_FLEXCAN1_STOP_PCTL);
297
298#if defined(_SPC56EL70L5_) || defined(_SPC564L70L5_) || defined(_SPC564L70L3_)
299#define SPC5_HAS_FLEXCAN2 TRUE
300#else
301#define SPC5_HAS_FLEXCAN2 FALSE
302#endif
303#define SPC5_FLEXCAN2_PCTL 18
304#define SPC5_FLEXCAN2_MB 32
305#define SPC5_FLEXCAN2_SHARED_IRQ TRUE
306#define SPC5_FLEXCAN2_FLEXCAN_ESR_ERR_INT_HANDLER vector105
307#define SPC5_FLEXCAN2_FLEXCAN_ESR_BOFF_HANDLER vector106
308#define SPC5_FLEXCAN2_FLEXCAN_ESR_WAK_HANDLER vector107
309#define SPC5_FLEXCAN2_FLEXCAN_BUF_00_03_HANDLER vector108
310#define SPC5_FLEXCAN2_FLEXCAN_BUF_04_07_HANDLER vector109
311#define SPC5_FLEXCAN2_FLEXCAN_BUF_08_11_HANDLER vector110
312#define SPC5_FLEXCAN2_FLEXCAN_BUF_12_15_HANDLER vector111
313#define SPC5_FLEXCAN2_FLEXCAN_BUF_16_31_HANDLER vector112
314#define SPC5_FLEXCAN2_FLEXCAN_ESR_ERR_INT_NUMBER 105
315#define SPC5_FLEXCAN2_FLEXCAN_ESR_BOFF_NUMBER 106
316#define SPC5_FLEXCAN2_FLEXCAN_ESR_WAK_NUMBER 107
317#define SPC5_FLEXCAN2_FLEXCAN_BUF_00_03_NUMBER 108
318#define SPC5_FLEXCAN2_FLEXCAN_BUF_04_07_NUMBER 109
319#define SPC5_FLEXCAN2_FLEXCAN_BUF_08_11_NUMBER 110
320#define SPC5_FLEXCAN2_FLEXCAN_BUF_12_15_NUMBER 111
321#define SPC5_FLEXCAN2_FLEXCAN_BUF_16_31_NUMBER 112
322#define SPC5_FLEXCAN2_ENABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN2_PCTL, SPC5_CAN_FLEXCAN2_START_PCTL);
323#define SPC5_FLEXCAN2_DISABLE_CLOCK() halSPCSetPeripheralClockMode(SPC5_FLEXCAN2_PCTL, SPC5_CAN_FLEXCAN2_STOP_PCTL);
324
325/* ADC attributes.*/
326#define SPC5_ADC_HAS_TRC FALSE
327
328#define SPC5_HAS_ADC0 TRUE
329#define SPC5_ADC_ADC0_HAS_CTR0 TRUE
330#define SPC5_ADC_ADC0_HAS_CTR1 TRUE
331#define SPC5_ADC_ADC0_HAS_CTR2 FALSE
332#define SPC5_ADC_ADC0_HAS_NCMR0 TRUE
333#define SPC5_ADC_ADC0_HAS_NCMR1 FALSE
334#define SPC5_ADC_ADC0_HAS_NCMR2 FALSE
335#define SPC5_ADC_ADC0_HAS_THRHLR0 TRUE
336#define SPC5_ADC_ADC0_HAS_THRHLR1 TRUE
337#define SPC5_ADC_ADC0_HAS_THRHLR2 TRUE
338#define SPC5_ADC_ADC0_HAS_THRHLR3 TRUE
339#define SPC5_ADC_ADC0_HAS_THRHLR4 TRUE
340#define SPC5_ADC_ADC0_HAS_THRHLR5 TRUE
341#define SPC5_ADC_ADC0_HAS_THRHLR6 TRUE
342#define SPC5_ADC_ADC0_HAS_THRHLR7 TRUE
343#define SPC5_ADC_ADC0_HAS_THRHLR8 TRUE
344#define SPC5_ADC_ADC0_HAS_THRHLR9 TRUE
345#define SPC5_ADC_ADC0_HAS_THRHLR10 TRUE
346#define SPC5_ADC_ADC0_HAS_THRHLR11 TRUE
347#define SPC5_ADC_ADC0_HAS_THRHLR12 TRUE
348#define SPC5_ADC_ADC0_HAS_THRHLR13 TRUE
349#define SPC5_ADC_ADC0_HAS_THRHLR14 TRUE
350#define SPC5_ADC_ADC0_HAS_THRHLR15 TRUE
351#define SPC5_ADC_ADC0_HAS_CWENR0 TRUE
352#define SPC5_ADC_ADC0_HAS_CWENR1 FALSE
353#define SPC5_ADC_ADC0_HAS_CWENR2 FALSE
354#define SPC5_ADC_ADC0_HAS_CWSEL0 TRUE
355#define SPC5_ADC_ADC0_HAS_CWSEL1 TRUE
356#define SPC5_ADC_ADC0_HAS_CWSEL2 FALSE
357#define SPC5_ADC_ADC0_HAS_CWSEL3 FALSE
358#define SPC5_ADC_ADC0_HAS_CWSEL4 FALSE
359#define SPC5_ADC_ADC0_HAS_CWSEL5 FALSE
360#define SPC5_ADC_ADC0_HAS_CWSEL6 FALSE
361#define SPC5_ADC_ADC0_HAS_CWSEL7 FALSE
362#define SPC5_ADC_ADC0_HAS_CWSEL8 FALSE
363#define SPC5_ADC_ADC0_HAS_CWSEL9 FALSE
364#define SPC5_ADC_ADC0_HAS_CWSEL10 FALSE
365#define SPC5_ADC_ADC0_HAS_CWSEL11 FALSE
366#define SPC5_ADC_ADC0_HAS_CIMR0 TRUE
367#define SPC5_ADC_ADC0_HAS_CIMR1 FALSE
368#define SPC5_ADC_ADC0_HAS_CIMR2 FALSE
369#define SPC5_ADC_ADC0_HAS_CEOCFR0 TRUE
370#define SPC5_ADC_ADC0_HAS_CEOCFR1 FALSE
371#define SPC5_ADC_ADC0_HAS_CEOCFR2 FALSE
372#define SPC5_ADC0_PCTL 32
373#define SPC5_ADC0_DMA_DEV_ID 20
374#define SPC5_ADC0_EOC_HANDLER vector62
375#define SPC5_ADC0_EOC_NUMBER 62
376#define SPC5_ADC0_WD_HANDLER vector64
377#define SPC5_ADC0_WD_NUMBER 64
378
379#define SPC5_HAS_ADC1 TRUE
380#define SPC5_ADC_ADC1_HAS_CTR0 TRUE
381#define SPC5_ADC_ADC1_HAS_CTR1 TRUE
382#define SPC5_ADC_ADC1_HAS_CTR2 FALSE
383#define SPC5_ADC_ADC1_HAS_NCMR0 TRUE
384#define SPC5_ADC_ADC1_HAS_NCMR1 FALSE
385#define SPC5_ADC_ADC1_HAS_NCMR2 FALSE
386#define SPC5_ADC_ADC1_HAS_THRHLR0 TRUE
387#define SPC5_ADC_ADC1_HAS_THRHLR1 TRUE
388#define SPC5_ADC_ADC1_HAS_THRHLR2 TRUE
389#define SPC5_ADC_ADC1_HAS_THRHLR3 TRUE
390#define SPC5_ADC_ADC1_HAS_THRHLR4 TRUE
391#define SPC5_ADC_ADC1_HAS_THRHLR5 TRUE
392#define SPC5_ADC_ADC1_HAS_THRHLR6 TRUE
393#define SPC5_ADC_ADC1_HAS_THRHLR7 TRUE
394#define SPC5_ADC_ADC1_HAS_THRHLR8 TRUE
395#define SPC5_ADC_ADC1_HAS_THRHLR9 TRUE
396#define SPC5_ADC_ADC1_HAS_THRHLR10 TRUE
397#define SPC5_ADC_ADC1_HAS_THRHLR11 TRUE
398#define SPC5_ADC_ADC1_HAS_THRHLR12 TRUE
399#define SPC5_ADC_ADC1_HAS_THRHLR13 TRUE
400#define SPC5_ADC_ADC1_HAS_THRHLR14 TRUE
401#define SPC5_ADC_ADC1_HAS_THRHLR15 TRUE
402#define SPC5_ADC_ADC1_HAS_CWENR0 TRUE
403#define SPC5_ADC_ADC1_HAS_CWENR1 FALSE
404#define SPC5_ADC_ADC1_HAS_CWENR2 FALSE
405#define SPC5_ADC_ADC1_HAS_CWSEL0 TRUE
406#define SPC5_ADC_ADC1_HAS_CWSEL1 TRUE
407#define SPC5_ADC_ADC1_HAS_CWSEL2 FALSE
408#define SPC5_ADC_ADC1_HAS_CWSEL3 FALSE
409#define SPC5_ADC_ADC1_HAS_CWSEL4 FALSE
410#define SPC5_ADC_ADC1_HAS_CWSEL5 FALSE
411#define SPC5_ADC_ADC1_HAS_CWSEL6 FALSE
412#define SPC5_ADC_ADC1_HAS_CWSEL7 FALSE
413#define SPC5_ADC_ADC1_HAS_CWSEL8 FALSE
414#define SPC5_ADC_ADC1_HAS_CWSEL9 FALSE
415#define SPC5_ADC_ADC1_HAS_CWSEL10 FALSE
416#define SPC5_ADC_ADC1_HAS_CWSEL11 FALSE
417#define SPC5_ADC_ADC1_HAS_CIMR0 TRUE
418#define SPC5_ADC_ADC1_HAS_CIMR1 FALSE
419#define SPC5_ADC_ADC1_HAS_CIMR2 FALSE
420#define SPC5_ADC_ADC1_HAS_CEOCFR0 TRUE
421#define SPC5_ADC_ADC1_HAS_CEOCFR1 FALSE
422#define SPC5_ADC_ADC1_HAS_CEOCFR2 FALSE
423#define SPC5_ADC1_PCTL 33
424#define SPC5_ADC1_DMA_DEV_ID 21
425#define SPC5_ADC1_EOC_HANDLER vector82
426#define SPC5_ADC1_EOC_NUMBER 82
427#define SPC5_ADC1_WD_HANDLER vector84
428#define SPC5_ADC1_WD_NUMBER 84
429/** @} */
430
431#endif /* SPC5_REGISTRY_H */
432
433/** @} */