1 /**
2  * @file xmc1_usic_map.h
3  * @date 2019-07-30
4  *
5  * @cond
6  *********************************************************************************************************************
7  * XMClib v2.1.24 - XMC Peripheral Driver Library
8  *
9  * Copyright (c) 2015-2019, Infineon Technologies AG
10  * All rights reserved.
11  *
12  * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the
13  * following conditions are met:
14  *
15  * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
16  * disclaimer.
17  *
18  * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
19  * disclaimer in the documentation and/or other materials provided with the distribution.
20  *
21  * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote
22  * products derived from this software without specific prior written permission.
23  *
24  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
25  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE  FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
29  * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32  * To improve the quality of the software, users are encouraged to share modifications, enhancements or bug fixes with
33  * Infineon Technologies AG dave@infineon.com).
34  *********************************************************************************************************************
35  *
36  * Change History
37  * --------------
38  *
39  * 2015-02-20:
40  *     - Initial version
41  *
42  * 2015-08-25:
43  *     - Added XMC1400
44  *
45  * 2016-06-17:
46  *     - Added support for XMC1201 TSSOP28, XMC1302 TSSOP28, XMC1402 TSSOP38, XMC1403 VQFN40
47  *
48  * 2016-08-22:
49  *     - Added USIC1_C0_DX1_P3_4 for XMC14xx 64 pins package
50  *
51  * 2019-07-30:
52  *     - Added support for XMC1404-Q040
53  *
54  * @endcond
55  *
56  */
57 
58 #ifndef XMC1_USIC_MAP_H
59 #define XMC1_USIC_MAP_H
60 
61 /**********************************************************************************************************************
62  * MACROS
63  *********************************************************************************************************************/
64 
65 #define USIC_INPUT_ALWAYS_1     7
66 
67 #if (UC_DEVICE == XMC1100) && (UC_PACKAGE == VQFN24)
68 #define USIC0_C0_DX0_DX3INS 	6
69 #define USIC0_C0_DX0_P0_14  	0
70 #define USIC0_C0_DX0_P0_15  	1
71 #define USIC0_C0_DX0_P1_0   	2
72 #define USIC0_C0_DX0_P1_1   	3
73 #define USIC0_C0_DX0_P2_0   	4
74 #define USIC0_C0_DX0_P2_1   	5
75 #define USIC0_C0_DX1_DX0INS 	5
76 #define USIC0_C0_DX1_DX4INS 	6
77 #define USIC0_C0_DX1_P0_14  	0
78 #define USIC0_C0_DX1_P0_7   	2
79 #define USIC0_C0_DX1_P0_8   	1
80 #define USIC0_C0_DX1_P1_1   	3
81 #define USIC0_C0_DX1_P2_0   	4
82 #define USIC0_C0_DX2_DX5INS 	6
83 #define USIC0_C0_DX2_P0_0   	0
84 #define USIC0_C0_DX2_P0_12  	4
85 #define USIC0_C0_DX2_P0_13  	5
86 #define USIC0_C0_DX2_P0_9   	1
87 #define USIC0_C0_DX3_DOUT0  	6
88 #define USIC0_C0_DX3_DX5INS 	5
89 #define USIC0_C0_DX3_P2_10  	2
90 #define USIC0_C0_DX3_P2_2   	0
91 #define USIC0_C0_DX3_P2_6   	4
92 #define USIC0_C0_DX3_P2_8   	3
93 #define USIC0_C0_DX4_DX5INS 	5
94 #define USIC0_C0_DX4_P2_10  	2
95 #define USIC0_C0_DX4_P2_2   	0
96 #define USIC0_C0_DX4_P2_6   	4
97 #define USIC0_C0_DX4_P2_8   	3
98 #define USIC0_C0_DX4_SCLKOUT	6
99 #define USIC0_C0_DX5_P2_7   	2
100 #define USIC0_C0_DX5_P2_9   	0
101 #define USIC0_C0_DX5_SELO0  	6
102 #define USIC0_C1_DX0_DX3INS 	6
103 #define USIC0_C1_DX0_P0_6   	2
104 #define USIC0_C1_DX0_P0_7   	3
105 #define USIC0_C1_DX0_P1_2   	1
106 #define USIC0_C1_DX0_P1_3   	0
107 #define USIC0_C1_DX0_P2_10  	5
108 #define USIC0_C1_DX0_P2_11  	4
109 #define USIC0_C1_DX1_DX0INS 	5
110 #define USIC0_C1_DX1_DX4INS 	6
111 #define USIC0_C1_DX1_P0_7   	2
112 #define USIC0_C1_DX1_P0_8   	1
113 #define USIC0_C1_DX1_P1_3   	0
114 #define USIC0_C1_DX1_P2_11  	4
115 #define USIC0_C1_DX2_DX5INS 	6
116 #define USIC0_C1_DX2_P0_0   	0
117 #define USIC0_C1_DX2_P0_9   	1
118 #define USIC0_C1_DX2_P1_1   	4
119 #define USIC0_C1_DX2_P2_0   	5
120 #define USIC0_C1_DX3_DOUT0  	6
121 #define USIC0_C1_DX3_DX5INS 	5
122 #define USIC0_C1_DX3_P2_1   	0
123 #define USIC0_C1_DX3_P2_7   	3
124 #define USIC0_C1_DX3_P2_9   	1
125 #define USIC0_C1_DX4_DX5INS 	5
126 #define USIC0_C1_DX4_P2_1   	0
127 #define USIC0_C1_DX4_P2_7   	3
128 #define USIC0_C1_DX4_P2_9   	1
129 #define USIC0_C1_DX4_SCLKOUT	6
130 #define USIC0_C1_DX5_P2_2   	0
131 #define USIC0_C1_DX5_P2_6   	3
132 #define USIC0_C1_DX5_P2_8   	2
133 #define USIC0_C1_DX5_SR0    	6
134 #endif
135 
136 
137 #if (UC_DEVICE == XMC1100) && (UC_PACKAGE == VQFN40)
138 #define USIC0_C0_DX0_DX3INS 	6
139 #define USIC0_C0_DX0_P0_14  	0
140 #define USIC0_C0_DX0_P0_15  	1
141 #define USIC0_C0_DX0_P1_0   	2
142 #define USIC0_C0_DX0_P1_1   	3
143 #define USIC0_C0_DX0_P2_0   	4
144 #define USIC0_C0_DX0_P2_1   	5
145 #define USIC0_C0_DX1_DX0INS 	5
146 #define USIC0_C0_DX1_DX4INS 	6
147 #define USIC0_C0_DX1_P0_14  	0
148 #define USIC0_C0_DX1_P0_7   	2
149 #define USIC0_C0_DX1_P0_8   	1
150 #define USIC0_C0_DX1_P1_1   	3
151 #define USIC0_C0_DX1_P2_0   	4
152 #define USIC0_C0_DX2_DX5INS 	6
153 #define USIC0_C0_DX2_P0_0   	0
154 #define USIC0_C0_DX2_P0_10  	2
155 #define USIC0_C0_DX2_P0_11  	3
156 #define USIC0_C0_DX2_P0_12  	4
157 #define USIC0_C0_DX2_P0_13  	5
158 #define USIC0_C0_DX2_P0_9   	1
159 #define USIC0_C0_DX3_DOUT0  	6
160 #define USIC0_C0_DX3_DX5INS 	5
161 #define USIC0_C0_DX3_P2_10  	2
162 #define USIC0_C0_DX3_P2_2   	0
163 #define USIC0_C0_DX3_P2_4   	1
164 #define USIC0_C0_DX3_P2_6   	4
165 #define USIC0_C0_DX3_P2_8   	3
166 #define USIC0_C0_DX4_DX5INS 	5
167 #define USIC0_C0_DX4_P2_10  	2
168 #define USIC0_C0_DX4_P2_2   	0
169 #define USIC0_C0_DX4_P2_4   	1
170 #define USIC0_C0_DX4_P2_6   	4
171 #define USIC0_C0_DX4_P2_8   	3
172 #define USIC0_C0_DX4_SCLKOUT	6
173 #define USIC0_C0_DX5_P1_4   	4
174 #define USIC0_C0_DX5_P1_6   	5
175 #define USIC0_C0_DX5_P2_3   	1
176 #define USIC0_C0_DX5_P2_5   	3
177 #define USIC0_C0_DX5_P2_7   	2
178 #define USIC0_C0_DX5_P2_9   	0
179 #define USIC0_C0_DX5_SELO0  	6
180 #define USIC0_C1_DX0_DX3INS 	6
181 #define USIC0_C1_DX0_P0_6   	2
182 #define USIC0_C1_DX0_P0_7   	3
183 #define USIC0_C1_DX0_P1_2   	1
184 #define USIC0_C1_DX0_P1_3   	0
185 #define USIC0_C1_DX0_P2_10  	5
186 #define USIC0_C1_DX0_P2_11  	4
187 #define USIC0_C1_DX1_DX0INS 	5
188 #define USIC0_C1_DX1_DX4INS 	6
189 #define USIC0_C1_DX1_P0_7   	2
190 #define USIC0_C1_DX1_P0_8   	1
191 #define USIC0_C1_DX1_P1_3   	0
192 #define USIC0_C1_DX1_P2_11  	4
193 #define USIC0_C1_DX2_DX5INS 	6
194 #define USIC0_C1_DX2_P0_0   	0
195 #define USIC0_C1_DX2_P0_10  	2
196 #define USIC0_C1_DX2_P0_11  	3
197 #define USIC0_C1_DX2_P0_9   	1
198 #define USIC0_C1_DX2_P1_1   	4
199 #define USIC0_C1_DX2_P2_0   	5
200 #define USIC0_C1_DX3_DOUT0  	6
201 #define USIC0_C1_DX3_DX5INS 	5
202 #define USIC0_C1_DX3_P2_1   	0
203 #define USIC0_C1_DX3_P2_3   	2
204 #define USIC0_C1_DX3_P2_5   	4
205 #define USIC0_C1_DX3_P2_7   	3
206 #define USIC0_C1_DX3_P2_9   	1
207 #define USIC0_C1_DX4_DX5INS 	5
208 #define USIC0_C1_DX4_P2_1   	0
209 #define USIC0_C1_DX4_P2_3   	2
210 #define USIC0_C1_DX4_P2_5   	4
211 #define USIC0_C1_DX4_P2_7   	3
212 #define USIC0_C1_DX4_P2_9   	1
213 #define USIC0_C1_DX4_SCLKOUT	6
214 #define USIC0_C1_DX5_P1_4   	4
215 #define USIC0_C1_DX5_P1_5   	5
216 #define USIC0_C1_DX5_P2_2   	0
217 #define USIC0_C1_DX5_P2_4   	1
218 #define USIC0_C1_DX5_P2_6   	3
219 #define USIC0_C1_DX5_P2_8   	2
220 #define USIC0_C1_DX5_SR0    	6
221 #endif
222 
223 
224 #if (UC_DEVICE == XMC1100) && (UC_PACKAGE == TSSOP16)
225 #define USIC0_C0_DX0_DX3INS 	6
226 #define USIC0_C0_DX0_P0_14  	0
227 #define USIC0_C0_DX0_P0_15  	1
228 #define USIC0_C0_DX0_P2_0   	4
229 #define USIC0_C0_DX1_DX0INS 	5
230 #define USIC0_C0_DX1_DX4INS 	6
231 #define USIC0_C0_DX1_P0_14  	0
232 #define USIC0_C0_DX1_P0_7   	2
233 #define USIC0_C0_DX1_P0_8   	1
234 #define USIC0_C0_DX1_P2_0   	4
235 #define USIC0_C0_DX2_DX5INS 	6
236 #define USIC0_C0_DX2_P0_0   	0
237 #define USIC0_C0_DX2_P0_9   	1
238 #define USIC0_C0_DX3_DOUT0  	6
239 #define USIC0_C0_DX3_DX5INS 	5
240 #define USIC0_C0_DX3_P2_10  	2
241 #define USIC0_C0_DX3_P2_6   	4
242 #define USIC0_C0_DX3_P2_8   	3
243 #define USIC0_C0_DX4_DX5INS 	5
244 #define USIC0_C0_DX4_P2_10  	2
245 #define USIC0_C0_DX4_P2_6   	4
246 #define USIC0_C0_DX4_P2_8   	3
247 #define USIC0_C0_DX4_SCLKOUT	6
248 #define USIC0_C0_DX5_P2_7   	2
249 #define USIC0_C0_DX5_P2_9   	0
250 #define USIC0_C0_DX5_SELO0  	6
251 #define USIC0_C1_DX0_DX3INS 	6
252 #define USIC0_C1_DX0_P0_6   	2
253 #define USIC0_C1_DX0_P0_7   	3
254 #define USIC0_C1_DX0_P2_10  	5
255 #define USIC0_C1_DX0_P2_11  	4
256 #define USIC0_C1_DX1_DX0INS 	5
257 #define USIC0_C1_DX1_DX4INS 	6
258 #define USIC0_C1_DX1_P0_7   	2
259 #define USIC0_C1_DX1_P0_8   	1
260 #define USIC0_C1_DX1_P2_11  	4
261 #define USIC0_C1_DX2_DX5INS 	6
262 #define USIC0_C1_DX2_P0_0   	0
263 #define USIC0_C1_DX2_P0_9   	1
264 #define USIC0_C1_DX2_P2_0   	5
265 #define USIC0_C1_DX3_DOUT0  	6
266 #define USIC0_C1_DX3_DX5INS 	5
267 #define USIC0_C1_DX3_P2_7   	3
268 #define USIC0_C1_DX3_P2_9   	1
269 #define USIC0_C1_DX4_DX5INS 	5
270 #define USIC0_C1_DX4_P2_7   	3
271 #define USIC0_C1_DX4_P2_9   	1
272 #define USIC0_C1_DX4_SCLKOUT	6
273 #define USIC0_C1_DX5_P2_6   	3
274 #define USIC0_C1_DX5_P2_8   	2
275 #define USIC0_C1_DX5_SR0    	6
276 #endif
277 
278 
279 #if (UC_DEVICE == XMC1100) && (UC_PACKAGE == TSSOP38)
280 #define USIC0_C0_DX0_DX3INS 	6
281 #define USIC0_C0_DX0_P0_14  	0
282 #define USIC0_C0_DX0_P0_15  	1
283 #define USIC0_C0_DX0_P1_0   	2
284 #define USIC0_C0_DX0_P1_1   	3
285 #define USIC0_C0_DX0_P2_0   	4
286 #define USIC0_C0_DX0_P2_1   	5
287 #define USIC0_C0_DX1_DX0INS 	5
288 #define USIC0_C0_DX1_DX4INS 	6
289 #define USIC0_C0_DX1_P0_14  	0
290 #define USIC0_C0_DX1_P0_7   	2
291 #define USIC0_C0_DX1_P0_8   	1
292 #define USIC0_C0_DX1_P1_1   	3
293 #define USIC0_C0_DX1_P2_0   	4
294 #define USIC0_C0_DX2_DX5INS 	6
295 #define USIC0_C0_DX2_P0_0   	0
296 #define USIC0_C0_DX2_P0_10  	2
297 #define USIC0_C0_DX2_P0_11  	3
298 #define USIC0_C0_DX2_P0_12  	4
299 #define USIC0_C0_DX2_P0_13  	5
300 #define USIC0_C0_DX2_P0_9   	1
301 #define USIC0_C0_DX3_DOUT0  	6
302 #define USIC0_C0_DX3_DX5INS 	5
303 #define USIC0_C0_DX3_P2_10  	2
304 #define USIC0_C0_DX3_P2_2   	0
305 #define USIC0_C0_DX3_P2_4   	1
306 #define USIC0_C0_DX3_P2_6   	4
307 #define USIC0_C0_DX3_P2_8   	3
308 #define USIC0_C0_DX4_DX5INS 	5
309 #define USIC0_C0_DX4_P2_10  	2
310 #define USIC0_C0_DX4_P2_2   	0
311 #define USIC0_C0_DX4_P2_4   	1
312 #define USIC0_C0_DX4_P2_6   	4
313 #define USIC0_C0_DX4_P2_8   	3
314 #define USIC0_C0_DX4_SCLKOUT	6
315 #define USIC0_C0_DX5_P1_4   	4
316 #define USIC0_C0_DX5_P2_3   	1
317 #define USIC0_C0_DX5_P2_5   	3
318 #define USIC0_C0_DX5_P2_7   	2
319 #define USIC0_C0_DX5_P2_9   	0
320 #define USIC0_C0_DX5_SELO0  	6
321 #define USIC0_C1_DX0_DX3INS 	6
322 #define USIC0_C1_DX0_P0_6   	2
323 #define USIC0_C1_DX0_P0_7   	3
324 #define USIC0_C1_DX0_P1_2   	1
325 #define USIC0_C1_DX0_P1_3   	0
326 #define USIC0_C1_DX0_P2_10  	5
327 #define USIC0_C1_DX0_P2_11  	4
328 #define USIC0_C1_DX1_DX0INS 	5
329 #define USIC0_C1_DX1_DX4INS 	6
330 #define USIC0_C1_DX1_P0_7   	2
331 #define USIC0_C1_DX1_P0_8   	1
332 #define USIC0_C1_DX1_P1_3   	0
333 #define USIC0_C1_DX1_P2_11  	4
334 #define USIC0_C1_DX2_DX5INS 	6
335 #define USIC0_C1_DX2_P0_0   	0
336 #define USIC0_C1_DX2_P0_10  	2
337 #define USIC0_C1_DX2_P0_11  	3
338 #define USIC0_C1_DX2_P0_9   	1
339 #define USIC0_C1_DX2_P1_1   	4
340 #define USIC0_C1_DX2_P2_0   	5
341 #define USIC0_C1_DX3_DOUT0  	6
342 #define USIC0_C1_DX3_DX5INS 	5
343 #define USIC0_C1_DX3_P2_1   	0
344 #define USIC0_C1_DX3_P2_3   	2
345 #define USIC0_C1_DX3_P2_5   	4
346 #define USIC0_C1_DX3_P2_7   	3
347 #define USIC0_C1_DX3_P2_9   	1
348 #define USIC0_C1_DX4_DX5INS 	5
349 #define USIC0_C1_DX4_P2_1   	0
350 #define USIC0_C1_DX4_P2_3   	2
351 #define USIC0_C1_DX4_P2_5   	4
352 #define USIC0_C1_DX4_P2_7   	3
353 #define USIC0_C1_DX4_P2_9   	1
354 #define USIC0_C1_DX4_SCLKOUT	6
355 #define USIC0_C1_DX5_P1_4   	4
356 #define USIC0_C1_DX5_P1_5   	5
357 #define USIC0_C1_DX5_P2_2   	0
358 #define USIC0_C1_DX5_P2_4   	1
359 #define USIC0_C1_DX5_P2_6   	3
360 #define USIC0_C1_DX5_P2_8   	2
361 #define USIC0_C1_DX5_SR0    	6
362 #endif
363 
364 
365 #if (UC_DEVICE == XMC1200) && (UC_PACKAGE == TSSOP38)
366 #define USIC0_C0_DX0_DX3INS 	6
367 #define USIC0_C0_DX0_P0_14  	0
368 #define USIC0_C0_DX0_P0_15  	1
369 #define USIC0_C0_DX0_P1_0   	2
370 #define USIC0_C0_DX0_P1_1   	3
371 #define USIC0_C0_DX0_P2_0   	4
372 #define USIC0_C0_DX0_P2_1   	5
373 #define USIC0_C0_DX1_DX0INS 	5
374 #define USIC0_C0_DX1_DX4INS 	6
375 #define USIC0_C0_DX1_P0_14  	0
376 #define USIC0_C0_DX1_P0_7   	2
377 #define USIC0_C0_DX1_P0_8   	1
378 #define USIC0_C0_DX1_P1_1   	3
379 #define USIC0_C0_DX1_P2_0   	4
380 #define USIC0_C0_DX2_DX5INS 	6
381 #define USIC0_C0_DX2_P0_0   	0
382 #define USIC0_C0_DX2_P0_10  	2
383 #define USIC0_C0_DX2_P0_11  	3
384 #define USIC0_C0_DX2_P0_12  	4
385 #define USIC0_C0_DX2_P0_13  	5
386 #define USIC0_C0_DX2_P0_9   	1
387 #define USIC0_C0_DX3_DOUT0  	6
388 #define USIC0_C0_DX3_DX5INS 	5
389 #define USIC0_C0_DX3_P2_10  	2
390 #define USIC0_C0_DX3_P2_2   	0
391 #define USIC0_C0_DX3_P2_4   	1
392 #define USIC0_C0_DX3_P2_6   	4
393 #define USIC0_C0_DX3_P2_8   	3
394 #define USIC0_C0_DX4_DX5INS 	5
395 #define USIC0_C0_DX4_P2_10  	2
396 #define USIC0_C0_DX4_P2_2   	0
397 #define USIC0_C0_DX4_P2_4   	1
398 #define USIC0_C0_DX4_P2_6   	4
399 #define USIC0_C0_DX4_P2_8   	3
400 #define USIC0_C0_DX4_SCLKOUT	6
401 #define USIC0_C0_DX5_P1_4   	4
402 #define USIC0_C0_DX5_P2_3   	1
403 #define USIC0_C0_DX5_P2_5   	3
404 #define USIC0_C0_DX5_P2_7   	2
405 #define USIC0_C0_DX5_P2_9   	0
406 #define USIC0_C0_DX5_SELO0  	6
407 #define USIC0_C1_DX0_DX3INS 	6
408 #define USIC0_C1_DX0_P0_6   	2
409 #define USIC0_C1_DX0_P0_7   	3
410 #define USIC0_C1_DX0_P1_2   	1
411 #define USIC0_C1_DX0_P1_3   	0
412 #define USIC0_C1_DX0_P2_10  	5
413 #define USIC0_C1_DX0_P2_11  	4
414 #define USIC0_C1_DX1_DX0INS 	5
415 #define USIC0_C1_DX1_DX4INS 	6
416 #define USIC0_C1_DX1_P0_7   	2
417 #define USIC0_C1_DX1_P0_8   	1
418 #define USIC0_C1_DX1_P1_3   	0
419 #define USIC0_C1_DX1_P2_11  	4
420 #define USIC0_C1_DX2_DX5INS 	6
421 #define USIC0_C1_DX2_P0_0   	0
422 #define USIC0_C1_DX2_P0_10  	2
423 #define USIC0_C1_DX2_P0_11  	3
424 #define USIC0_C1_DX2_P0_9   	1
425 #define USIC0_C1_DX2_P1_1   	4
426 #define USIC0_C1_DX2_P2_0   	5
427 #define USIC0_C1_DX3_DOUT0  	6
428 #define USIC0_C1_DX3_DX5INS 	5
429 #define USIC0_C1_DX3_P2_1   	0
430 #define USIC0_C1_DX3_P2_3   	2
431 #define USIC0_C1_DX3_P2_5   	4
432 #define USIC0_C1_DX3_P2_7   	3
433 #define USIC0_C1_DX3_P2_9   	1
434 #define USIC0_C1_DX4_DX5INS 	5
435 #define USIC0_C1_DX4_P2_1   	0
436 #define USIC0_C1_DX4_P2_3   	2
437 #define USIC0_C1_DX4_P2_5   	4
438 #define USIC0_C1_DX4_P2_7   	3
439 #define USIC0_C1_DX4_P2_9   	1
440 #define USIC0_C1_DX4_SCLKOUT	6
441 #define USIC0_C1_DX5_P1_4   	4
442 #define USIC0_C1_DX5_P1_5   	5
443 #define USIC0_C1_DX5_P2_2   	0
444 #define USIC0_C1_DX5_P2_4   	1
445 #define USIC0_C1_DX5_P2_6   	3
446 #define USIC0_C1_DX5_P2_8   	2
447 #define USIC0_C1_DX5_SR0    	6
448 #endif
449 
450 
451 #if (UC_DEVICE == XMC1201) && (UC_PACKAGE == VQFN40)
452 #define USIC0_C0_DX0_DX3INS 	6
453 #define USIC0_C0_DX0_P0_14  	0
454 #define USIC0_C0_DX0_P0_15  	1
455 #define USIC0_C0_DX0_P1_0   	2
456 #define USIC0_C0_DX0_P1_1   	3
457 #define USIC0_C0_DX0_P2_0   	4
458 #define USIC0_C0_DX0_P2_1   	5
459 #define USIC0_C0_DX1_DX0INS 	5
460 #define USIC0_C0_DX1_DX4INS 	6
461 #define USIC0_C0_DX1_P0_14  	0
462 #define USIC0_C0_DX1_P0_7   	2
463 #define USIC0_C0_DX1_P0_8   	1
464 #define USIC0_C0_DX1_P1_1   	3
465 #define USIC0_C0_DX1_P2_0   	4
466 #define USIC0_C0_DX2_DX5INS 	6
467 #define USIC0_C0_DX2_P0_0   	0
468 #define USIC0_C0_DX2_P0_10  	2
469 #define USIC0_C0_DX2_P0_11  	3
470 #define USIC0_C0_DX2_P0_12  	4
471 #define USIC0_C0_DX2_P0_13  	5
472 #define USIC0_C0_DX2_P0_9   	1
473 #define USIC0_C0_DX3_DOUT0  	6
474 #define USIC0_C0_DX3_DX5INS 	5
475 #define USIC0_C0_DX3_P2_10  	2
476 #define USIC0_C0_DX3_P2_2   	0
477 #define USIC0_C0_DX3_P2_4   	1
478 #define USIC0_C0_DX3_P2_6   	4
479 #define USIC0_C0_DX3_P2_8   	3
480 #define USIC0_C0_DX4_DX5INS 	5
481 #define USIC0_C0_DX4_P2_10  	2
482 #define USIC0_C0_DX4_P2_2   	0
483 #define USIC0_C0_DX4_P2_4   	1
484 #define USIC0_C0_DX4_P2_6   	4
485 #define USIC0_C0_DX4_P2_8   	3
486 #define USIC0_C0_DX4_SCLKOUT	6
487 #define USIC0_C0_DX5_P1_4   	4
488 #define USIC0_C0_DX5_P1_6   	5
489 #define USIC0_C0_DX5_P2_3   	1
490 #define USIC0_C0_DX5_P2_5   	3
491 #define USIC0_C0_DX5_P2_7   	2
492 #define USIC0_C0_DX5_P2_9   	0
493 #define USIC0_C0_DX5_SELO0  	6
494 #define USIC0_C1_DX0_DX3INS 	6
495 #define USIC0_C1_DX0_P0_6   	2
496 #define USIC0_C1_DX0_P0_7   	3
497 #define USIC0_C1_DX0_P1_2   	1
498 #define USIC0_C1_DX0_P1_3   	0
499 #define USIC0_C1_DX0_P2_10  	5
500 #define USIC0_C1_DX0_P2_11  	4
501 #define USIC0_C1_DX1_DX0INS 	5
502 #define USIC0_C1_DX1_DX4INS 	6
503 #define USIC0_C1_DX1_P0_7   	2
504 #define USIC0_C1_DX1_P0_8   	1
505 #define USIC0_C1_DX1_P1_3   	0
506 #define USIC0_C1_DX1_P2_11  	4
507 #define USIC0_C1_DX2_DX5INS 	6
508 #define USIC0_C1_DX2_P0_0   	0
509 #define USIC0_C1_DX2_P0_10  	2
510 #define USIC0_C1_DX2_P0_11  	3
511 #define USIC0_C1_DX2_P0_9   	1
512 #define USIC0_C1_DX2_P1_1   	4
513 #define USIC0_C1_DX2_P2_0   	5
514 #define USIC0_C1_DX3_DOUT0  	6
515 #define USIC0_C1_DX3_DX5INS 	5
516 #define USIC0_C1_DX3_P2_1   	0
517 #define USIC0_C1_DX3_P2_3   	2
518 #define USIC0_C1_DX3_P2_5   	4
519 #define USIC0_C1_DX3_P2_7   	3
520 #define USIC0_C1_DX3_P2_9   	1
521 #define USIC0_C1_DX4_DX5INS 	5
522 #define USIC0_C1_DX4_P2_1   	0
523 #define USIC0_C1_DX4_P2_3   	2
524 #define USIC0_C1_DX4_P2_5   	4
525 #define USIC0_C1_DX4_P2_7   	3
526 #define USIC0_C1_DX4_P2_9   	1
527 #define USIC0_C1_DX4_SCLKOUT	6
528 #define USIC0_C1_DX5_P1_4   	4
529 #define USIC0_C1_DX5_P1_5   	5
530 #define USIC0_C1_DX5_P2_2   	0
531 #define USIC0_C1_DX5_P2_4   	1
532 #define USIC0_C1_DX5_P2_6   	3
533 #define USIC0_C1_DX5_P2_8   	2
534 #define USIC0_C1_DX5_SR0    	6
535 #endif
536 
537 
538 #if (UC_DEVICE == XMC1201) && (UC_PACKAGE == TSSOP28)
539 #define USIC0_C0_DX0_DX3INS 	6
540 #define USIC0_C0_DX0_P0_14  	0
541 #define USIC0_C0_DX0_P0_15  	1
542 #define USIC0_C0_DX0_P1_0   	2
543 #define USIC0_C0_DX0_P1_1   	3
544 #define USIC0_C0_DX0_P2_0   	4
545 #define USIC0_C0_DX0_P2_1   	5
546 #define USIC0_C0_DX1_DX0INS 	5
547 #define USIC0_C0_DX1_DX4INS 	6
548 #define USIC0_C0_DX1_P0_14  	0
549 #define USIC0_C0_DX1_P0_7   	2
550 #define USIC0_C0_DX1_P0_8   	1
551 #define USIC0_C0_DX1_P1_1   	3
552 #define USIC0_C0_DX1_P2_0   	4
553 #define USIC0_C0_DX2_DX5INS 	6
554 #define USIC0_C0_DX2_P0_0   	0
555 #define USIC0_C0_DX2_P0_10  	2
556 #define USIC0_C0_DX2_P0_12  	4
557 #define USIC0_C0_DX2_P0_13  	5
558 #define USIC0_C0_DX2_P0_9   	1
559 #define USIC0_C0_DX3_DOUT0  	6
560 #define USIC0_C0_DX3_DX5INS 	5
561 #define USIC0_C0_DX3_P2_10  	2
562 #define USIC0_C0_DX3_P2_2   	0
563 #define USIC0_C0_DX3_P2_6   	4
564 #define USIC0_C0_DX3_P2_8   	3
565 #define USIC0_C0_DX4_DX5INS 	5
566 #define USIC0_C0_DX4_P2_10  	2
567 #define USIC0_C0_DX4_P2_2   	0
568 #define USIC0_C0_DX4_P2_6   	4
569 #define USIC0_C0_DX4_P2_8   	3
570 #define USIC0_C0_DX4_SCLKOUT	6
571 #define USIC0_C0_DX5_P2_5   	3
572 #define USIC0_C0_DX5_P2_7   	2
573 #define USIC0_C0_DX5_P2_9   	0
574 #define USIC0_C0_DX5_SELO0  	6
575 #define USIC0_C1_DX0_DX3INS 	6
576 #define USIC0_C1_DX0_P0_6   	2
577 #define USIC0_C1_DX0_P0_7   	3
578 #define USIC0_C1_DX0_P1_2   	1
579 #define USIC0_C1_DX0_P1_3   	0
580 #define USIC0_C1_DX0_P2_10  	5
581 #define USIC0_C1_DX0_P2_11  	4
582 #define USIC0_C1_DX1_DX0INS 	5
583 #define USIC0_C1_DX1_DX4INS 	6
584 #define USIC0_C1_DX1_P0_7   	2
585 #define USIC0_C1_DX1_P0_8   	1
586 #define USIC0_C1_DX1_P1_3   	0
587 #define USIC0_C1_DX1_P2_11  	4
588 #define USIC0_C1_DX2_DX5INS 	6
589 #define USIC0_C1_DX2_P0_0   	0
590 #define USIC0_C1_DX2_P0_10  	2
591 #define USIC0_C1_DX2_P0_9   	1
592 #define USIC0_C1_DX2_P1_1   	4
593 #define USIC0_C1_DX2_P2_0   	5
594 #define USIC0_C1_DX3_DOUT0  	6
595 #define USIC0_C1_DX3_DX5INS 	5
596 #define USIC0_C1_DX3_P2_1   	0
597 #define USIC0_C1_DX3_P2_5   	4
598 #define USIC0_C1_DX3_P2_7   	3
599 #define USIC0_C1_DX3_P2_9   	1
600 #define USIC0_C1_DX4_DX5INS 	5
601 #define USIC0_C1_DX4_P2_1   	0
602 #define USIC0_C1_DX4_P2_5   	4
603 #define USIC0_C1_DX4_P2_7   	3
604 #define USIC0_C1_DX4_P2_9   	1
605 #define USIC0_C1_DX4_SCLKOUT	6
606 #define USIC0_C1_DX5_P2_2   	0
607 #define USIC0_C1_DX5_P2_6   	3
608 #define USIC0_C1_DX5_P2_8   	2
609 #define USIC0_C1_DX5_SR0    	6
610 #endif
611 
612 
613 #if (UC_DEVICE == XMC1201) && (UC_PACKAGE == TSSOP38)
614 #define USIC0_C0_DX0_DX3INS 	6
615 #define USIC0_C0_DX0_P0_14  	0
616 #define USIC0_C0_DX0_P0_15  	1
617 #define USIC0_C0_DX0_P1_0   	2
618 #define USIC0_C0_DX0_P1_1   	3
619 #define USIC0_C0_DX0_P2_0   	4
620 #define USIC0_C0_DX0_P2_1   	5
621 #define USIC0_C0_DX1_DX0INS 	5
622 #define USIC0_C0_DX1_DX4INS 	6
623 #define USIC0_C0_DX1_P0_14  	0
624 #define USIC0_C0_DX1_P0_7   	2
625 #define USIC0_C0_DX1_P0_8   	1
626 #define USIC0_C0_DX1_P1_1   	3
627 #define USIC0_C0_DX1_P2_0   	4
628 #define USIC0_C0_DX2_DX5INS 	6
629 #define USIC0_C0_DX2_P0_0   	0
630 #define USIC0_C0_DX2_P0_10  	2
631 #define USIC0_C0_DX2_P0_11  	3
632 #define USIC0_C0_DX2_P0_12  	4
633 #define USIC0_C0_DX2_P0_13  	5
634 #define USIC0_C0_DX2_P0_9   	1
635 #define USIC0_C0_DX3_DOUT0  	6
636 #define USIC0_C0_DX3_DX5INS 	5
637 #define USIC0_C0_DX3_P2_10  	2
638 #define USIC0_C0_DX3_P2_2   	0
639 #define USIC0_C0_DX3_P2_4   	1
640 #define USIC0_C0_DX3_P2_6   	4
641 #define USIC0_C0_DX3_P2_8   	3
642 #define USIC0_C0_DX4_DX5INS 	5
643 #define USIC0_C0_DX4_P2_10  	2
644 #define USIC0_C0_DX4_P2_2   	0
645 #define USIC0_C0_DX4_P2_4   	1
646 #define USIC0_C0_DX4_P2_6   	4
647 #define USIC0_C0_DX4_P2_8   	3
648 #define USIC0_C0_DX4_SCLKOUT	6
649 #define USIC0_C0_DX5_P1_4   	4
650 #define USIC0_C0_DX5_P2_3   	1
651 #define USIC0_C0_DX5_P2_5   	3
652 #define USIC0_C0_DX5_P2_7   	2
653 #define USIC0_C0_DX5_P2_9   	0
654 #define USIC0_C0_DX5_SELO0  	6
655 #define USIC0_C1_DX0_DX3INS 	6
656 #define USIC0_C1_DX0_P0_6   	2
657 #define USIC0_C1_DX0_P0_7   	3
658 #define USIC0_C1_DX0_P1_2   	1
659 #define USIC0_C1_DX0_P1_3   	0
660 #define USIC0_C1_DX0_P2_10  	5
661 #define USIC0_C1_DX0_P2_11  	4
662 #define USIC0_C1_DX1_DX0INS 	5
663 #define USIC0_C1_DX1_DX4INS 	6
664 #define USIC0_C1_DX1_P0_7   	2
665 #define USIC0_C1_DX1_P0_8   	1
666 #define USIC0_C1_DX1_P1_3   	0
667 #define USIC0_C1_DX1_P2_11  	4
668 #define USIC0_C1_DX2_DX5INS 	6
669 #define USIC0_C1_DX2_P0_0   	0
670 #define USIC0_C1_DX2_P0_10  	2
671 #define USIC0_C1_DX2_P0_11  	3
672 #define USIC0_C1_DX2_P0_9   	1
673 #define USIC0_C1_DX2_P1_1   	4
674 #define USIC0_C1_DX2_P2_0   	5
675 #define USIC0_C1_DX3_DOUT0  	6
676 #define USIC0_C1_DX3_DX5INS 	5
677 #define USIC0_C1_DX3_P2_1   	0
678 #define USIC0_C1_DX3_P2_3   	2
679 #define USIC0_C1_DX3_P2_5   	4
680 #define USIC0_C1_DX3_P2_7   	3
681 #define USIC0_C1_DX3_P2_9   	1
682 #define USIC0_C1_DX4_DX5INS 	5
683 #define USIC0_C1_DX4_P2_1   	0
684 #define USIC0_C1_DX4_P2_3   	2
685 #define USIC0_C1_DX4_P2_5   	4
686 #define USIC0_C1_DX4_P2_7   	3
687 #define USIC0_C1_DX4_P2_9   	1
688 #define USIC0_C1_DX4_SCLKOUT	6
689 #define USIC0_C1_DX5_P1_4   	4
690 #define USIC0_C1_DX5_P1_5   	5
691 #define USIC0_C1_DX5_P2_2   	0
692 #define USIC0_C1_DX5_P2_4   	1
693 #define USIC0_C1_DX5_P2_6   	3
694 #define USIC0_C1_DX5_P2_8   	2
695 #define USIC0_C1_DX5_SR0    	6
696 #endif
697 
698 
699 #if (UC_DEVICE == XMC1202) && (UC_PACKAGE == VQFN24)
700 #define USIC0_C0_DX0_DX3INS 	6
701 #define USIC0_C0_DX0_P0_14  	0
702 #define USIC0_C0_DX0_P0_15  	1
703 #define USIC0_C0_DX0_P1_0   	2
704 #define USIC0_C0_DX0_P1_1   	3
705 #define USIC0_C0_DX0_P2_0   	4
706 #define USIC0_C0_DX0_P2_1   	5
707 #define USIC0_C0_DX1_DX0INS 	5
708 #define USIC0_C0_DX1_DX4INS 	6
709 #define USIC0_C0_DX1_P0_14  	0
710 #define USIC0_C0_DX1_P0_7   	2
711 #define USIC0_C0_DX1_P0_8   	1
712 #define USIC0_C0_DX1_P1_1   	3
713 #define USIC0_C0_DX1_P2_0   	4
714 #define USIC0_C0_DX2_DX5INS 	6
715 #define USIC0_C0_DX2_P0_0   	0
716 #define USIC0_C0_DX2_P0_12  	4
717 #define USIC0_C0_DX2_P0_13  	5
718 #define USIC0_C0_DX2_P0_9   	1
719 #define USIC0_C0_DX3_DOUT0  	6
720 #define USIC0_C0_DX3_DX5INS 	5
721 #define USIC0_C0_DX3_P2_10  	2
722 #define USIC0_C0_DX3_P2_2   	0
723 #define USIC0_C0_DX3_P2_6   	4
724 #define USIC0_C0_DX3_P2_8   	3
725 #define USIC0_C0_DX4_DX5INS 	5
726 #define USIC0_C0_DX4_P2_10  	2
727 #define USIC0_C0_DX4_P2_2   	0
728 #define USIC0_C0_DX4_P2_6   	4
729 #define USIC0_C0_DX4_P2_8   	3
730 #define USIC0_C0_DX4_SCLKOUT	6
731 #define USIC0_C0_DX5_P2_7   	2
732 #define USIC0_C0_DX5_P2_9   	0
733 #define USIC0_C0_DX5_SELO0  	6
734 #define USIC0_C1_DX0_DX3INS 	6
735 #define USIC0_C1_DX0_P0_6   	2
736 #define USIC0_C1_DX0_P0_7   	3
737 #define USIC0_C1_DX0_P1_2   	1
738 #define USIC0_C1_DX0_P1_3   	0
739 #define USIC0_C1_DX0_P2_10  	5
740 #define USIC0_C1_DX0_P2_11  	4
741 #define USIC0_C1_DX1_DX0INS 	5
742 #define USIC0_C1_DX1_DX4INS 	6
743 #define USIC0_C1_DX1_P0_7   	2
744 #define USIC0_C1_DX1_P0_8   	1
745 #define USIC0_C1_DX1_P1_3   	0
746 #define USIC0_C1_DX1_P2_11  	4
747 #define USIC0_C1_DX2_DX5INS 	6
748 #define USIC0_C1_DX2_P0_0   	0
749 #define USIC0_C1_DX2_P0_9   	1
750 #define USIC0_C1_DX2_P1_1   	4
751 #define USIC0_C1_DX2_P2_0   	5
752 #define USIC0_C1_DX3_DOUT0  	6
753 #define USIC0_C1_DX3_DX5INS 	5
754 #define USIC0_C1_DX3_P2_1   	0
755 #define USIC0_C1_DX3_P2_7   	3
756 #define USIC0_C1_DX3_P2_9   	1
757 #define USIC0_C1_DX4_DX5INS 	5
758 #define USIC0_C1_DX4_P2_1   	0
759 #define USIC0_C1_DX4_P2_7   	3
760 #define USIC0_C1_DX4_P2_9   	1
761 #define USIC0_C1_DX4_SCLKOUT	6
762 #define USIC0_C1_DX5_P2_2   	0
763 #define USIC0_C1_DX5_P2_6   	3
764 #define USIC0_C1_DX5_P2_8   	2
765 #define USIC0_C1_DX5_SR0    	6
766 #endif
767 
768 
769 #if (UC_DEVICE == XMC1202) && (UC_PACKAGE == VQFN40)
770 #define USIC0_C0_DX0_DX3INS 	6
771 #define USIC0_C0_DX0_P0_14  	0
772 #define USIC0_C0_DX0_P0_15  	1
773 #define USIC0_C0_DX0_P1_0   	2
774 #define USIC0_C0_DX0_P1_1   	3
775 #define USIC0_C0_DX0_P2_0   	4
776 #define USIC0_C0_DX0_P2_1   	5
777 #define USIC0_C0_DX1_DX0INS 	5
778 #define USIC0_C0_DX1_DX4INS 	6
779 #define USIC0_C0_DX1_P0_14  	0
780 #define USIC0_C0_DX1_P0_7   	2
781 #define USIC0_C0_DX1_P0_8   	1
782 #define USIC0_C0_DX1_P1_1   	3
783 #define USIC0_C0_DX1_P2_0   	4
784 #define USIC0_C0_DX2_DX5INS 	6
785 #define USIC0_C0_DX2_P0_0   	0
786 #define USIC0_C0_DX2_P0_10  	2
787 #define USIC0_C0_DX2_P0_11  	3
788 #define USIC0_C0_DX2_P0_12  	4
789 #define USIC0_C0_DX2_P0_13  	5
790 #define USIC0_C0_DX2_P0_9   	1
791 #define USIC0_C0_DX3_DOUT0  	6
792 #define USIC0_C0_DX3_DX5INS 	5
793 #define USIC0_C0_DX3_P2_10  	2
794 #define USIC0_C0_DX3_P2_2   	0
795 #define USIC0_C0_DX3_P2_4   	1
796 #define USIC0_C0_DX3_P2_6   	4
797 #define USIC0_C0_DX3_P2_8   	3
798 #define USIC0_C0_DX4_DX5INS 	5
799 #define USIC0_C0_DX4_P2_10  	2
800 #define USIC0_C0_DX4_P2_2   	0
801 #define USIC0_C0_DX4_P2_4   	1
802 #define USIC0_C0_DX4_P2_6   	4
803 #define USIC0_C0_DX4_P2_8   	3
804 #define USIC0_C0_DX4_SCLKOUT	6
805 #define USIC0_C0_DX5_P1_4   	4
806 #define USIC0_C0_DX5_P1_6   	5
807 #define USIC0_C0_DX5_P2_3   	1
808 #define USIC0_C0_DX5_P2_5   	3
809 #define USIC0_C0_DX5_P2_7   	2
810 #define USIC0_C0_DX5_P2_9   	0
811 #define USIC0_C0_DX5_SELO0  	6
812 #define USIC0_C1_DX0_DX3INS 	6
813 #define USIC0_C1_DX0_P0_6   	2
814 #define USIC0_C1_DX0_P0_7   	3
815 #define USIC0_C1_DX0_P1_2   	1
816 #define USIC0_C1_DX0_P1_3   	0
817 #define USIC0_C1_DX0_P2_10  	5
818 #define USIC0_C1_DX0_P2_11  	4
819 #define USIC0_C1_DX1_DX0INS 	5
820 #define USIC0_C1_DX1_DX4INS 	6
821 #define USIC0_C1_DX1_P0_7   	2
822 #define USIC0_C1_DX1_P0_8   	1
823 #define USIC0_C1_DX1_P1_3   	0
824 #define USIC0_C1_DX1_P2_11  	4
825 #define USIC0_C1_DX2_DX5INS 	6
826 #define USIC0_C1_DX2_P0_0   	0
827 #define USIC0_C1_DX2_P0_10  	2
828 #define USIC0_C1_DX2_P0_11  	3
829 #define USIC0_C1_DX2_P0_9   	1
830 #define USIC0_C1_DX2_P1_1   	4
831 #define USIC0_C1_DX2_P2_0   	5
832 #define USIC0_C1_DX3_DOUT0  	6
833 #define USIC0_C1_DX3_DX5INS 	5
834 #define USIC0_C1_DX3_P2_1   	0
835 #define USIC0_C1_DX3_P2_3   	2
836 #define USIC0_C1_DX3_P2_5   	4
837 #define USIC0_C1_DX3_P2_7   	3
838 #define USIC0_C1_DX3_P2_9   	1
839 #define USIC0_C1_DX4_DX5INS 	5
840 #define USIC0_C1_DX4_P2_1   	0
841 #define USIC0_C1_DX4_P2_3   	2
842 #define USIC0_C1_DX4_P2_5   	4
843 #define USIC0_C1_DX4_P2_7   	3
844 #define USIC0_C1_DX4_P2_9   	1
845 #define USIC0_C1_DX4_SCLKOUT	6
846 #define USIC0_C1_DX5_P1_4   	4
847 #define USIC0_C1_DX5_P1_5   	5
848 #define USIC0_C1_DX5_P2_2   	0
849 #define USIC0_C1_DX5_P2_4   	1
850 #define USIC0_C1_DX5_P2_6   	3
851 #define USIC0_C1_DX5_P2_8   	2
852 #define USIC0_C1_DX5_SR0    	6
853 #endif
854 
855 
856 #if (UC_DEVICE == XMC1202) && (UC_PACKAGE == TSSOP16)
857 #define USIC0_C0_DX0_DX3INS 	6
858 #define USIC0_C0_DX0_P0_14  	0
859 #define USIC0_C0_DX0_P0_15  	1
860 #define USIC0_C0_DX0_P2_0   	4
861 #define USIC0_C0_DX1_DX0INS 	5
862 #define USIC0_C0_DX1_DX4INS 	6
863 #define USIC0_C0_DX1_P0_14  	0
864 #define USIC0_C0_DX1_P0_7   	2
865 #define USIC0_C0_DX1_P0_8   	1
866 #define USIC0_C0_DX1_P2_0   	4
867 #define USIC0_C0_DX2_DX5INS 	6
868 #define USIC0_C0_DX2_P0_0   	0
869 #define USIC0_C0_DX2_P0_9   	1
870 #define USIC0_C0_DX3_DOUT0  	6
871 #define USIC0_C0_DX3_DX5INS 	5
872 #define USIC0_C0_DX3_P2_10  	2
873 #define USIC0_C0_DX3_P2_6   	4
874 #define USIC0_C0_DX3_P2_8   	3
875 #define USIC0_C0_DX4_DX5INS 	5
876 #define USIC0_C0_DX4_P2_10  	2
877 #define USIC0_C0_DX4_P2_6   	4
878 #define USIC0_C0_DX4_P2_8   	3
879 #define USIC0_C0_DX4_SCLKOUT	6
880 #define USIC0_C0_DX5_P2_7   	2
881 #define USIC0_C0_DX5_P2_9   	0
882 #define USIC0_C0_DX5_SELO0  	6
883 #define USIC0_C1_DX0_DX3INS 	6
884 #define USIC0_C1_DX0_P0_6   	2
885 #define USIC0_C1_DX0_P0_7   	3
886 #define USIC0_C1_DX0_P2_10  	5
887 #define USIC0_C1_DX0_P2_11  	4
888 #define USIC0_C1_DX1_DX0INS 	5
889 #define USIC0_C1_DX1_DX4INS 	6
890 #define USIC0_C1_DX1_P0_7   	2
891 #define USIC0_C1_DX1_P0_8   	1
892 #define USIC0_C1_DX1_P2_11  	4
893 #define USIC0_C1_DX2_DX5INS 	6
894 #define USIC0_C1_DX2_P0_0   	0
895 #define USIC0_C1_DX2_P0_9   	1
896 #define USIC0_C1_DX2_P2_0   	5
897 #define USIC0_C1_DX3_DOUT0  	6
898 #define USIC0_C1_DX3_DX5INS 	5
899 #define USIC0_C1_DX3_P2_7   	3
900 #define USIC0_C1_DX3_P2_9   	1
901 #define USIC0_C1_DX4_DX5INS 	5
902 #define USIC0_C1_DX4_P2_7   	3
903 #define USIC0_C1_DX4_P2_9   	1
904 #define USIC0_C1_DX4_SCLKOUT	6
905 #define USIC0_C1_DX5_P2_6   	3
906 #define USIC0_C1_DX5_P2_8   	2
907 #define USIC0_C1_DX5_SR0    	6
908 #endif
909 
910 
911 #if (UC_DEVICE == XMC1202) && (UC_PACKAGE == TSSOP28)
912 #define USIC0_C0_DX0_DX3INS 	6
913 #define USIC0_C0_DX0_P0_14  	0
914 #define USIC0_C0_DX0_P0_15  	1
915 #define USIC0_C0_DX0_P1_0   	2
916 #define USIC0_C0_DX0_P1_1   	3
917 #define USIC0_C0_DX0_P2_0   	4
918 #define USIC0_C0_DX0_P2_1   	5
919 #define USIC0_C0_DX1_DX0INS 	5
920 #define USIC0_C0_DX1_DX4INS 	6
921 #define USIC0_C0_DX1_P0_14  	0
922 #define USIC0_C0_DX1_P0_7   	2
923 #define USIC0_C0_DX1_P0_8   	1
924 #define USIC0_C0_DX1_P1_1   	3
925 #define USIC0_C0_DX1_P2_0   	4
926 #define USIC0_C0_DX2_DX5INS 	6
927 #define USIC0_C0_DX2_P0_0   	0
928 #define USIC0_C0_DX2_P0_10  	2
929 #define USIC0_C0_DX2_P0_12  	4
930 #define USIC0_C0_DX2_P0_13  	5
931 #define USIC0_C0_DX2_P0_9   	1
932 #define USIC0_C0_DX3_DOUT0  	6
933 #define USIC0_C0_DX3_DX5INS 	5
934 #define USIC0_C0_DX3_P2_10  	2
935 #define USIC0_C0_DX3_P2_2   	0
936 #define USIC0_C0_DX3_P2_6   	4
937 #define USIC0_C0_DX3_P2_8   	3
938 #define USIC0_C0_DX4_DX5INS 	5
939 #define USIC0_C0_DX4_P2_10  	2
940 #define USIC0_C0_DX4_P2_2   	0
941 #define USIC0_C0_DX4_P2_6   	4
942 #define USIC0_C0_DX4_P2_8   	3
943 #define USIC0_C0_DX4_SCLKOUT	6
944 #define USIC0_C0_DX5_P2_5   	3
945 #define USIC0_C0_DX5_P2_7   	2
946 #define USIC0_C0_DX5_P2_9   	0
947 #define USIC0_C0_DX5_SELO0  	6
948 #define USIC0_C1_DX0_DX3INS 	6
949 #define USIC0_C1_DX0_P0_6   	2
950 #define USIC0_C1_DX0_P0_7   	3
951 #define USIC0_C1_DX0_P1_2   	1
952 #define USIC0_C1_DX0_P1_3   	0
953 #define USIC0_C1_DX0_P2_10  	5
954 #define USIC0_C1_DX0_P2_11  	4
955 #define USIC0_C1_DX1_DX0INS 	5
956 #define USIC0_C1_DX1_DX4INS 	6
957 #define USIC0_C1_DX1_P0_7   	2
958 #define USIC0_C1_DX1_P0_8   	1
959 #define USIC0_C1_DX1_P1_3   	0
960 #define USIC0_C1_DX1_P2_11  	4
961 #define USIC0_C1_DX2_DX5INS 	6
962 #define USIC0_C1_DX2_P0_0   	0
963 #define USIC0_C1_DX2_P0_10  	2
964 #define USIC0_C1_DX2_P0_9   	1
965 #define USIC0_C1_DX2_P1_1   	4
966 #define USIC0_C1_DX2_P2_0   	5
967 #define USIC0_C1_DX3_DOUT0  	6
968 #define USIC0_C1_DX3_DX5INS 	5
969 #define USIC0_C1_DX3_P2_1   	0
970 #define USIC0_C1_DX3_P2_5   	4
971 #define USIC0_C1_DX3_P2_7   	3
972 #define USIC0_C1_DX3_P2_9   	1
973 #define USIC0_C1_DX4_DX5INS 	5
974 #define USIC0_C1_DX4_P2_1   	0
975 #define USIC0_C1_DX4_P2_5   	4
976 #define USIC0_C1_DX4_P2_7   	3
977 #define USIC0_C1_DX4_P2_9   	1
978 #define USIC0_C1_DX4_SCLKOUT	6
979 #define USIC0_C1_DX5_P2_2   	0
980 #define USIC0_C1_DX5_P2_6   	3
981 #define USIC0_C1_DX5_P2_8   	2
982 #define USIC0_C1_DX5_SR0    	6
983 #endif
984 
985 
986 #if (UC_DEVICE == XMC1301) && (UC_PACKAGE == VQFN24)
987 #define USIC0_C0_DX0_DX3INS 	6
988 #define USIC0_C0_DX0_P0_14  	0
989 #define USIC0_C0_DX0_P0_15  	1
990 #define USIC0_C0_DX0_P1_0   	2
991 #define USIC0_C0_DX0_P1_1   	3
992 #define USIC0_C0_DX0_P2_0   	4
993 #define USIC0_C0_DX0_P2_1   	5
994 #define USIC0_C0_DX1_DX0INS 	5
995 #define USIC0_C0_DX1_DX4INS 	6
996 #define USIC0_C0_DX1_P0_14  	0
997 #define USIC0_C0_DX1_P0_7   	2
998 #define USIC0_C0_DX1_P0_8   	1
999 #define USIC0_C0_DX1_P1_1   	3
1000 #define USIC0_C0_DX1_P2_0   	4
1001 #define USIC0_C0_DX2_DX5INS 	6
1002 #define USIC0_C0_DX2_P0_0   	0
1003 #define USIC0_C0_DX2_P0_12  	4
1004 #define USIC0_C0_DX2_P0_13  	5
1005 #define USIC0_C0_DX2_P0_9   	1
1006 #define USIC0_C0_DX3_DOUT0  	6
1007 #define USIC0_C0_DX3_DX5INS 	5
1008 #define USIC0_C0_DX3_P2_10  	2
1009 #define USIC0_C0_DX3_P2_2   	0
1010 #define USIC0_C0_DX3_P2_6   	4
1011 #define USIC0_C0_DX3_P2_8   	3
1012 #define USIC0_C0_DX4_DX5INS 	5
1013 #define USIC0_C0_DX4_P2_10  	2
1014 #define USIC0_C0_DX4_P2_2   	0
1015 #define USIC0_C0_DX4_P2_6   	4
1016 #define USIC0_C0_DX4_P2_8   	3
1017 #define USIC0_C0_DX4_SCLKOUT	6
1018 #define USIC0_C0_DX5_P2_7   	2
1019 #define USIC0_C0_DX5_P2_9   	0
1020 #define USIC0_C0_DX5_SELO0  	6
1021 #define USIC0_C1_DX0_DX3INS 	6
1022 #define USIC0_C1_DX0_P0_6   	2
1023 #define USIC0_C1_DX0_P0_7   	3
1024 #define USIC0_C1_DX0_P1_2   	1
1025 #define USIC0_C1_DX0_P1_3   	0
1026 #define USIC0_C1_DX0_P2_10  	5
1027 #define USIC0_C1_DX0_P2_11  	4
1028 #define USIC0_C1_DX1_DX0INS 	5
1029 #define USIC0_C1_DX1_DX4INS 	6
1030 #define USIC0_C1_DX1_P0_7   	2
1031 #define USIC0_C1_DX1_P0_8   	1
1032 #define USIC0_C1_DX1_P1_3   	0
1033 #define USIC0_C1_DX1_P2_11  	4
1034 #define USIC0_C1_DX2_DX5INS 	6
1035 #define USIC0_C1_DX2_P0_0   	0
1036 #define USIC0_C1_DX2_P0_9   	1
1037 #define USIC0_C1_DX2_P1_1   	4
1038 #define USIC0_C1_DX2_P2_0   	5
1039 #define USIC0_C1_DX3_DOUT0  	6
1040 #define USIC0_C1_DX3_DX5INS 	5
1041 #define USIC0_C1_DX3_P2_1   	0
1042 #define USIC0_C1_DX3_P2_7   	3
1043 #define USIC0_C1_DX3_P2_9   	1
1044 #define USIC0_C1_DX4_DX5INS 	5
1045 #define USIC0_C1_DX4_P2_1   	0
1046 #define USIC0_C1_DX4_P2_7   	3
1047 #define USIC0_C1_DX4_P2_9   	1
1048 #define USIC0_C1_DX4_SCLKOUT	6
1049 #define USIC0_C1_DX5_P2_2   	0
1050 #define USIC0_C1_DX5_P2_6   	3
1051 #define USIC0_C1_DX5_P2_8   	2
1052 #define USIC0_C1_DX5_SR0    	6
1053 #endif
1054 
1055 
1056 #if (UC_DEVICE == XMC1301) && (UC_PACKAGE == VQFN40)
1057 #define USIC0_C0_DX0_DX3INS 	6
1058 #define USIC0_C0_DX0_P0_14  	0
1059 #define USIC0_C0_DX0_P0_15  	1
1060 #define USIC0_C0_DX0_P1_0   	2
1061 #define USIC0_C0_DX0_P1_1   	3
1062 #define USIC0_C0_DX0_P2_0   	4
1063 #define USIC0_C0_DX0_P2_1   	5
1064 #define USIC0_C0_DX1_DX0INS 	5
1065 #define USIC0_C0_DX1_DX4INS 	6
1066 #define USIC0_C0_DX1_P0_14  	0
1067 #define USIC0_C0_DX1_P0_7   	2
1068 #define USIC0_C0_DX1_P0_8   	1
1069 #define USIC0_C0_DX1_P1_1   	3
1070 #define USIC0_C0_DX1_P2_0   	4
1071 #define USIC0_C0_DX2_DX5INS 	6
1072 #define USIC0_C0_DX2_P0_0   	0
1073 #define USIC0_C0_DX2_P0_10  	2
1074 #define USIC0_C0_DX2_P0_11  	3
1075 #define USIC0_C0_DX2_P0_12  	4
1076 #define USIC0_C0_DX2_P0_13  	5
1077 #define USIC0_C0_DX2_P0_9   	1
1078 #define USIC0_C0_DX3_DOUT0  	6
1079 #define USIC0_C0_DX3_DX5INS 	5
1080 #define USIC0_C0_DX3_P2_10  	2
1081 #define USIC0_C0_DX3_P2_2   	0
1082 #define USIC0_C0_DX3_P2_4   	1
1083 #define USIC0_C0_DX3_P2_6   	4
1084 #define USIC0_C0_DX3_P2_8   	3
1085 #define USIC0_C0_DX4_DX5INS 	5
1086 #define USIC0_C0_DX4_P2_10  	2
1087 #define USIC0_C0_DX4_P2_2   	0
1088 #define USIC0_C0_DX4_P2_4   	1
1089 #define USIC0_C0_DX4_P2_6   	4
1090 #define USIC0_C0_DX4_P2_8   	3
1091 #define USIC0_C0_DX4_SCLKOUT	6
1092 #define USIC0_C0_DX5_P1_4   	4
1093 #define USIC0_C0_DX5_P1_6   	5
1094 #define USIC0_C0_DX5_P2_3   	1
1095 #define USIC0_C0_DX5_P2_5   	3
1096 #define USIC0_C0_DX5_P2_7   	2
1097 #define USIC0_C0_DX5_P2_9   	0
1098 #define USIC0_C0_DX5_SELO0  	6
1099 #define USIC0_C1_DX0_DX3INS 	6
1100 #define USIC0_C1_DX0_P0_6   	2
1101 #define USIC0_C1_DX0_P0_7   	3
1102 #define USIC0_C1_DX0_P1_2   	1
1103 #define USIC0_C1_DX0_P1_3   	0
1104 #define USIC0_C1_DX0_P2_10  	5
1105 #define USIC0_C1_DX0_P2_11  	4
1106 #define USIC0_C1_DX1_DX0INS 	5
1107 #define USIC0_C1_DX1_DX4INS 	6
1108 #define USIC0_C1_DX1_P0_7   	2
1109 #define USIC0_C1_DX1_P0_8   	1
1110 #define USIC0_C1_DX1_P1_3   	0
1111 #define USIC0_C1_DX1_P2_11  	4
1112 #define USIC0_C1_DX2_DX5INS 	6
1113 #define USIC0_C1_DX2_P0_0   	0
1114 #define USIC0_C1_DX2_P0_10  	2
1115 #define USIC0_C1_DX2_P0_11  	3
1116 #define USIC0_C1_DX2_P0_9   	1
1117 #define USIC0_C1_DX2_P1_1   	4
1118 #define USIC0_C1_DX2_P2_0   	5
1119 #define USIC0_C1_DX3_DOUT0  	6
1120 #define USIC0_C1_DX3_DX5INS 	5
1121 #define USIC0_C1_DX3_P2_1   	0
1122 #define USIC0_C1_DX3_P2_3   	2
1123 #define USIC0_C1_DX3_P2_5   	4
1124 #define USIC0_C1_DX3_P2_7   	3
1125 #define USIC0_C1_DX3_P2_9   	1
1126 #define USIC0_C1_DX4_DX5INS 	5
1127 #define USIC0_C1_DX4_P2_1   	0
1128 #define USIC0_C1_DX4_P2_3   	2
1129 #define USIC0_C1_DX4_P2_5   	4
1130 #define USIC0_C1_DX4_P2_7   	3
1131 #define USIC0_C1_DX4_P2_9   	1
1132 #define USIC0_C1_DX4_SCLKOUT	6
1133 #define USIC0_C1_DX5_P1_4   	4
1134 #define USIC0_C1_DX5_P1_5   	5
1135 #define USIC0_C1_DX5_P2_2   	0
1136 #define USIC0_C1_DX5_P2_4   	1
1137 #define USIC0_C1_DX5_P2_6   	3
1138 #define USIC0_C1_DX5_P2_8   	2
1139 #define USIC0_C1_DX5_SR0    	6
1140 #endif
1141 
1142 
1143 #if (UC_DEVICE == XMC1301) && (UC_PACKAGE == TSSOP16)
1144 #define USIC0_C0_DX0_DX3INS 	6
1145 #define USIC0_C0_DX0_P0_14  	0
1146 #define USIC0_C0_DX0_P0_15  	1
1147 #define USIC0_C0_DX0_P2_0   	4
1148 #define USIC0_C0_DX1_DX0INS 	5
1149 #define USIC0_C0_DX1_DX4INS 	6
1150 #define USIC0_C0_DX1_P0_14  	0
1151 #define USIC0_C0_DX1_P0_7   	2
1152 #define USIC0_C0_DX1_P0_8   	1
1153 #define USIC0_C0_DX1_P2_0   	4
1154 #define USIC0_C0_DX2_DX5INS 	6
1155 #define USIC0_C0_DX2_P0_0   	0
1156 #define USIC0_C0_DX2_P0_9   	1
1157 #define USIC0_C0_DX3_DOUT0  	6
1158 #define USIC0_C0_DX3_DX5INS 	5
1159 #define USIC0_C0_DX3_P2_10  	2
1160 #define USIC0_C0_DX3_P2_6   	4
1161 #define USIC0_C0_DX3_P2_8   	3
1162 #define USIC0_C0_DX4_DX5INS 	5
1163 #define USIC0_C0_DX4_P2_10  	2
1164 #define USIC0_C0_DX4_P2_6   	4
1165 #define USIC0_C0_DX4_P2_8   	3
1166 #define USIC0_C0_DX4_SCLKOUT	6
1167 #define USIC0_C0_DX5_P2_7   	2
1168 #define USIC0_C0_DX5_P2_9   	0
1169 #define USIC0_C0_DX5_SELO0  	6
1170 #define USIC0_C1_DX0_DX3INS 	6
1171 #define USIC0_C1_DX0_P0_6   	2
1172 #define USIC0_C1_DX0_P0_7   	3
1173 #define USIC0_C1_DX0_P2_10  	5
1174 #define USIC0_C1_DX0_P2_11  	4
1175 #define USIC0_C1_DX1_DX0INS 	5
1176 #define USIC0_C1_DX1_DX4INS 	6
1177 #define USIC0_C1_DX1_P0_7   	2
1178 #define USIC0_C1_DX1_P0_8   	1
1179 #define USIC0_C1_DX1_P2_11  	4
1180 #define USIC0_C1_DX2_DX5INS 	6
1181 #define USIC0_C1_DX2_P0_0   	0
1182 #define USIC0_C1_DX2_P0_9   	1
1183 #define USIC0_C1_DX2_P2_0   	5
1184 #define USIC0_C1_DX3_DOUT0  	6
1185 #define USIC0_C1_DX3_DX5INS 	5
1186 #define USIC0_C1_DX3_P2_7   	3
1187 #define USIC0_C1_DX3_P2_9   	1
1188 #define USIC0_C1_DX4_DX5INS 	5
1189 #define USIC0_C1_DX4_P2_7   	3
1190 #define USIC0_C1_DX4_P2_9   	1
1191 #define USIC0_C1_DX4_SCLKOUT	6
1192 #define USIC0_C1_DX5_P2_6   	3
1193 #define USIC0_C1_DX5_P2_8   	2
1194 #define USIC0_C1_DX5_SR0    	6
1195 #endif
1196 
1197 
1198 #if (UC_DEVICE == XMC1301) && (UC_PACKAGE == TSSOP38)
1199 #define USIC0_C0_DX0_DX3INS 	6
1200 #define USIC0_C0_DX0_P0_14  	0
1201 #define USIC0_C0_DX0_P0_15  	1
1202 #define USIC0_C0_DX0_P1_0   	2
1203 #define USIC0_C0_DX0_P1_1   	3
1204 #define USIC0_C0_DX0_P2_0   	4
1205 #define USIC0_C0_DX0_P2_1   	5
1206 #define USIC0_C0_DX1_DX0INS 	5
1207 #define USIC0_C0_DX1_DX4INS 	6
1208 #define USIC0_C0_DX1_P0_14  	0
1209 #define USIC0_C0_DX1_P0_7   	2
1210 #define USIC0_C0_DX1_P0_8   	1
1211 #define USIC0_C0_DX1_P1_1   	3
1212 #define USIC0_C0_DX1_P2_0   	4
1213 #define USIC0_C0_DX2_DX5INS 	6
1214 #define USIC0_C0_DX2_P0_0   	0
1215 #define USIC0_C0_DX2_P0_10  	2
1216 #define USIC0_C0_DX2_P0_11  	3
1217 #define USIC0_C0_DX2_P0_12  	4
1218 #define USIC0_C0_DX2_P0_13  	5
1219 #define USIC0_C0_DX2_P0_9   	1
1220 #define USIC0_C0_DX3_DOUT0  	6
1221 #define USIC0_C0_DX3_DX5INS 	5
1222 #define USIC0_C0_DX3_P2_10  	2
1223 #define USIC0_C0_DX3_P2_2   	0
1224 #define USIC0_C0_DX3_P2_4   	1
1225 #define USIC0_C0_DX3_P2_6   	4
1226 #define USIC0_C0_DX3_P2_8   	3
1227 #define USIC0_C0_DX4_DX5INS 	5
1228 #define USIC0_C0_DX4_P2_10  	2
1229 #define USIC0_C0_DX4_P2_2   	0
1230 #define USIC0_C0_DX4_P2_4   	1
1231 #define USIC0_C0_DX4_P2_6   	4
1232 #define USIC0_C0_DX4_P2_8   	3
1233 #define USIC0_C0_DX4_SCLKOUT	6
1234 #define USIC0_C0_DX5_P1_4   	4
1235 #define USIC0_C0_DX5_P2_3   	1
1236 #define USIC0_C0_DX5_P2_5   	3
1237 #define USIC0_C0_DX5_P2_7   	2
1238 #define USIC0_C0_DX5_P2_9   	0
1239 #define USIC0_C0_DX5_SELO0  	6
1240 #define USIC0_C1_DX0_DX3INS 	6
1241 #define USIC0_C1_DX0_P0_6   	2
1242 #define USIC0_C1_DX0_P0_7   	3
1243 #define USIC0_C1_DX0_P1_2   	1
1244 #define USIC0_C1_DX0_P1_3   	0
1245 #define USIC0_C1_DX0_P2_10  	5
1246 #define USIC0_C1_DX0_P2_11  	4
1247 #define USIC0_C1_DX1_DX0INS 	5
1248 #define USIC0_C1_DX1_DX4INS 	6
1249 #define USIC0_C1_DX1_P0_7   	2
1250 #define USIC0_C1_DX1_P0_8   	1
1251 #define USIC0_C1_DX1_P1_3   	0
1252 #define USIC0_C1_DX1_P2_11  	4
1253 #define USIC0_C1_DX2_DX5INS 	6
1254 #define USIC0_C1_DX2_P0_0   	0
1255 #define USIC0_C1_DX2_P0_10  	2
1256 #define USIC0_C1_DX2_P0_11  	3
1257 #define USIC0_C1_DX2_P0_9   	1
1258 #define USIC0_C1_DX2_P1_1   	4
1259 #define USIC0_C1_DX2_P2_0   	5
1260 #define USIC0_C1_DX3_DOUT0  	6
1261 #define USIC0_C1_DX3_DX5INS 	5
1262 #define USIC0_C1_DX3_P2_1   	0
1263 #define USIC0_C1_DX3_P2_3   	2
1264 #define USIC0_C1_DX3_P2_5   	4
1265 #define USIC0_C1_DX3_P2_7   	3
1266 #define USIC0_C1_DX3_P2_9   	1
1267 #define USIC0_C1_DX4_DX5INS 	5
1268 #define USIC0_C1_DX4_P2_1   	0
1269 #define USIC0_C1_DX4_P2_3   	2
1270 #define USIC0_C1_DX4_P2_5   	4
1271 #define USIC0_C1_DX4_P2_7   	3
1272 #define USIC0_C1_DX4_P2_9   	1
1273 #define USIC0_C1_DX4_SCLKOUT	6
1274 #define USIC0_C1_DX5_P1_4   	4
1275 #define USIC0_C1_DX5_P1_5   	5
1276 #define USIC0_C1_DX5_P2_2   	0
1277 #define USIC0_C1_DX5_P2_4   	1
1278 #define USIC0_C1_DX5_P2_6   	3
1279 #define USIC0_C1_DX5_P2_8   	2
1280 #define USIC0_C1_DX5_SR0    	6
1281 #endif
1282 
1283 
1284 #if (UC_DEVICE == XMC1302) && (UC_PACKAGE == VQFN24)
1285 #define USIC0_C0_DX0_DX3INS 	6
1286 #define USIC0_C0_DX0_P0_14  	0
1287 #define USIC0_C0_DX0_P0_15  	1
1288 #define USIC0_C0_DX0_P1_0   	2
1289 #define USIC0_C0_DX0_P1_1   	3
1290 #define USIC0_C0_DX0_P2_0   	4
1291 #define USIC0_C0_DX0_P2_1   	5
1292 #define USIC0_C0_DX1_DX0INS 	5
1293 #define USIC0_C0_DX1_DX4INS 	6
1294 #define USIC0_C0_DX1_P0_14  	0
1295 #define USIC0_C0_DX1_P0_7   	2
1296 #define USIC0_C0_DX1_P0_8   	1
1297 #define USIC0_C0_DX1_P1_1   	3
1298 #define USIC0_C0_DX1_P2_0   	4
1299 #define USIC0_C0_DX2_DX5INS 	6
1300 #define USIC0_C0_DX2_P0_0   	0
1301 #define USIC0_C0_DX2_P0_12  	4
1302 #define USIC0_C0_DX2_P0_13  	5
1303 #define USIC0_C0_DX2_P0_9   	1
1304 #define USIC0_C0_DX3_DOUT0  	6
1305 #define USIC0_C0_DX3_DX5INS 	5
1306 #define USIC0_C0_DX3_P2_10  	2
1307 #define USIC0_C0_DX3_P2_2   	0
1308 #define USIC0_C0_DX3_P2_6   	4
1309 #define USIC0_C0_DX3_P2_8   	3
1310 #define USIC0_C0_DX4_DX5INS 	5
1311 #define USIC0_C0_DX4_P2_10  	2
1312 #define USIC0_C0_DX4_P2_2   	0
1313 #define USIC0_C0_DX4_P2_6   	4
1314 #define USIC0_C0_DX4_P2_8   	3
1315 #define USIC0_C0_DX4_SCLKOUT	6
1316 #define USIC0_C0_DX5_P2_7   	2
1317 #define USIC0_C0_DX5_P2_9   	0
1318 #define USIC0_C0_DX5_SELO0  	6
1319 #define USIC0_C1_DX0_DX3INS 	6
1320 #define USIC0_C1_DX0_P0_6   	2
1321 #define USIC0_C1_DX0_P0_7   	3
1322 #define USIC0_C1_DX0_P1_2   	1
1323 #define USIC0_C1_DX0_P1_3   	0
1324 #define USIC0_C1_DX0_P2_10  	5
1325 #define USIC0_C1_DX0_P2_11  	4
1326 #define USIC0_C1_DX1_DX0INS 	5
1327 #define USIC0_C1_DX1_DX4INS 	6
1328 #define USIC0_C1_DX1_P0_7   	2
1329 #define USIC0_C1_DX1_P0_8   	1
1330 #define USIC0_C1_DX1_P1_3   	0
1331 #define USIC0_C1_DX1_P2_11  	4
1332 #define USIC0_C1_DX2_DX5INS 	6
1333 #define USIC0_C1_DX2_P0_0   	0
1334 #define USIC0_C1_DX2_P0_9   	1
1335 #define USIC0_C1_DX2_P1_1   	4
1336 #define USIC0_C1_DX2_P2_0   	5
1337 #define USIC0_C1_DX3_DOUT0  	6
1338 #define USIC0_C1_DX3_DX5INS 	5
1339 #define USIC0_C1_DX3_P2_1   	0
1340 #define USIC0_C1_DX3_P2_7   	3
1341 #define USIC0_C1_DX3_P2_9   	1
1342 #define USIC0_C1_DX4_DX5INS 	5
1343 #define USIC0_C1_DX4_P2_1   	0
1344 #define USIC0_C1_DX4_P2_7   	3
1345 #define USIC0_C1_DX4_P2_9   	1
1346 #define USIC0_C1_DX4_SCLKOUT	6
1347 #define USIC0_C1_DX5_P2_2   	0
1348 #define USIC0_C1_DX5_P2_6   	3
1349 #define USIC0_C1_DX5_P2_8   	2
1350 #define USIC0_C1_DX5_SR0    	6
1351 #endif
1352 
1353 
1354 #if (UC_DEVICE == XMC1302) && (UC_PACKAGE == VQFN40)
1355 #define USIC0_C0_DX0_DX3INS 	6
1356 #define USIC0_C0_DX0_P0_14  	0
1357 #define USIC0_C0_DX0_P0_15  	1
1358 #define USIC0_C0_DX0_P1_0   	2
1359 #define USIC0_C0_DX0_P1_1   	3
1360 #define USIC0_C0_DX0_P2_0   	4
1361 #define USIC0_C0_DX0_P2_1   	5
1362 #define USIC0_C0_DX1_DX0INS 	5
1363 #define USIC0_C0_DX1_DX4INS 	6
1364 #define USIC0_C0_DX1_P0_14  	0
1365 #define USIC0_C0_DX1_P0_7   	2
1366 #define USIC0_C0_DX1_P0_8   	1
1367 #define USIC0_C0_DX1_P1_1   	3
1368 #define USIC0_C0_DX1_P2_0   	4
1369 #define USIC0_C0_DX2_DX5INS 	6
1370 #define USIC0_C0_DX2_P0_0   	0
1371 #define USIC0_C0_DX2_P0_10  	2
1372 #define USIC0_C0_DX2_P0_11  	3
1373 #define USIC0_C0_DX2_P0_12  	4
1374 #define USIC0_C0_DX2_P0_13  	5
1375 #define USIC0_C0_DX2_P0_9   	1
1376 #define USIC0_C0_DX3_DOUT0  	6
1377 #define USIC0_C0_DX3_DX5INS 	5
1378 #define USIC0_C0_DX3_P2_10  	2
1379 #define USIC0_C0_DX3_P2_2   	0
1380 #define USIC0_C0_DX3_P2_4   	1
1381 #define USIC0_C0_DX3_P2_6   	4
1382 #define USIC0_C0_DX3_P2_8   	3
1383 #define USIC0_C0_DX4_DX5INS 	5
1384 #define USIC0_C0_DX4_P2_10  	2
1385 #define USIC0_C0_DX4_P2_2   	0
1386 #define USIC0_C0_DX4_P2_4   	1
1387 #define USIC0_C0_DX4_P2_6   	4
1388 #define USIC0_C0_DX4_P2_8   	3
1389 #define USIC0_C0_DX4_SCLKOUT	6
1390 #define USIC0_C0_DX5_P1_4   	4
1391 #define USIC0_C0_DX5_P1_6   	5
1392 #define USIC0_C0_DX5_P2_3   	1
1393 #define USIC0_C0_DX5_P2_5   	3
1394 #define USIC0_C0_DX5_P2_7   	2
1395 #define USIC0_C0_DX5_P2_9   	0
1396 #define USIC0_C0_DX5_SELO0  	6
1397 #define USIC0_C1_DX0_DX3INS 	6
1398 #define USIC0_C1_DX0_P0_6   	2
1399 #define USIC0_C1_DX0_P0_7   	3
1400 #define USIC0_C1_DX0_P1_2   	1
1401 #define USIC0_C1_DX0_P1_3   	0
1402 #define USIC0_C1_DX0_P2_10  	5
1403 #define USIC0_C1_DX0_P2_11  	4
1404 #define USIC0_C1_DX1_DX0INS 	5
1405 #define USIC0_C1_DX1_DX4INS 	6
1406 #define USIC0_C1_DX1_P0_7   	2
1407 #define USIC0_C1_DX1_P0_8   	1
1408 #define USIC0_C1_DX1_P1_3   	0
1409 #define USIC0_C1_DX1_P2_11  	4
1410 #define USIC0_C1_DX2_DX5INS 	6
1411 #define USIC0_C1_DX2_P0_0   	0
1412 #define USIC0_C1_DX2_P0_10  	2
1413 #define USIC0_C1_DX2_P0_11  	3
1414 #define USIC0_C1_DX2_P0_9   	1
1415 #define USIC0_C1_DX2_P1_1   	4
1416 #define USIC0_C1_DX2_P2_0   	5
1417 #define USIC0_C1_DX3_DOUT0  	6
1418 #define USIC0_C1_DX3_DX5INS 	5
1419 #define USIC0_C1_DX3_P2_1   	0
1420 #define USIC0_C1_DX3_P2_3   	2
1421 #define USIC0_C1_DX3_P2_5   	4
1422 #define USIC0_C1_DX3_P2_7   	3
1423 #define USIC0_C1_DX3_P2_9   	1
1424 #define USIC0_C1_DX4_DX5INS 	5
1425 #define USIC0_C1_DX4_P2_1   	0
1426 #define USIC0_C1_DX4_P2_3   	2
1427 #define USIC0_C1_DX4_P2_5   	4
1428 #define USIC0_C1_DX4_P2_7   	3
1429 #define USIC0_C1_DX4_P2_9   	1
1430 #define USIC0_C1_DX4_SCLKOUT	6
1431 #define USIC0_C1_DX5_P1_4   	4
1432 #define USIC0_C1_DX5_P1_5   	5
1433 #define USIC0_C1_DX5_P2_2   	0
1434 #define USIC0_C1_DX5_P2_4   	1
1435 #define USIC0_C1_DX5_P2_6   	3
1436 #define USIC0_C1_DX5_P2_8   	2
1437 #define USIC0_C1_DX5_SR0    	6
1438 #endif
1439 
1440 
1441 #if (UC_DEVICE == XMC1302) && (UC_PACKAGE == TSSOP16)
1442 #define USIC0_C0_DX0_DX3INS 	6
1443 #define USIC0_C0_DX0_P0_14  	0
1444 #define USIC0_C0_DX0_P0_15  	1
1445 #define USIC0_C0_DX0_P2_0   	4
1446 #define USIC0_C0_DX1_DX0INS 	5
1447 #define USIC0_C0_DX1_DX4INS 	6
1448 #define USIC0_C0_DX1_P0_14  	0
1449 #define USIC0_C0_DX1_P0_7   	2
1450 #define USIC0_C0_DX1_P0_8   	1
1451 #define USIC0_C0_DX1_P2_0   	4
1452 #define USIC0_C0_DX2_DX5INS 	6
1453 #define USIC0_C0_DX2_P0_0   	0
1454 #define USIC0_C0_DX2_P0_9   	1
1455 #define USIC0_C0_DX3_DOUT0  	6
1456 #define USIC0_C0_DX3_DX5INS 	5
1457 #define USIC0_C0_DX3_P2_10  	2
1458 #define USIC0_C0_DX3_P2_6   	4
1459 #define USIC0_C0_DX3_P2_8   	3
1460 #define USIC0_C0_DX4_DX5INS 	5
1461 #define USIC0_C0_DX4_P2_10  	2
1462 #define USIC0_C0_DX4_P2_6   	4
1463 #define USIC0_C0_DX4_P2_8   	3
1464 #define USIC0_C0_DX4_SCLKOUT	6
1465 #define USIC0_C0_DX5_P2_7   	2
1466 #define USIC0_C0_DX5_P2_9   	0
1467 #define USIC0_C0_DX5_SELO0  	6
1468 #define USIC0_C1_DX0_DX3INS 	6
1469 #define USIC0_C1_DX0_P0_6   	2
1470 #define USIC0_C1_DX0_P0_7   	3
1471 #define USIC0_C1_DX0_P2_10  	5
1472 #define USIC0_C1_DX0_P2_11  	4
1473 #define USIC0_C1_DX1_DX0INS 	5
1474 #define USIC0_C1_DX1_DX4INS 	6
1475 #define USIC0_C1_DX1_P0_7   	2
1476 #define USIC0_C1_DX1_P0_8   	1
1477 #define USIC0_C1_DX1_P2_11  	4
1478 #define USIC0_C1_DX2_DX5INS 	6
1479 #define USIC0_C1_DX2_P0_0   	0
1480 #define USIC0_C1_DX2_P0_9   	1
1481 #define USIC0_C1_DX2_P2_0   	5
1482 #define USIC0_C1_DX3_DOUT0  	6
1483 #define USIC0_C1_DX3_DX5INS 	5
1484 #define USIC0_C1_DX3_P2_7   	3
1485 #define USIC0_C1_DX3_P2_9   	1
1486 #define USIC0_C1_DX4_DX5INS 	5
1487 #define USIC0_C1_DX4_P2_7   	3
1488 #define USIC0_C1_DX4_P2_9   	1
1489 #define USIC0_C1_DX4_SCLKOUT	6
1490 #define USIC0_C1_DX5_P2_6   	3
1491 #define USIC0_C1_DX5_P2_8   	2
1492 #define USIC0_C1_DX5_SR0    	6
1493 #endif
1494 
1495 
1496 #if (UC_DEVICE == XMC1302) && (UC_PACKAGE == TSSOP28)
1497 #define USIC0_C0_DX0_DX3INS 	6
1498 #define USIC0_C0_DX0_P0_14  	0
1499 #define USIC0_C0_DX0_P0_15  	1
1500 #define USIC0_C0_DX0_P1_0   	2
1501 #define USIC0_C0_DX0_P1_1   	3
1502 #define USIC0_C0_DX0_P2_0   	4
1503 #define USIC0_C0_DX0_P2_1   	5
1504 #define USIC0_C0_DX1_DX0INS 	5
1505 #define USIC0_C0_DX1_DX4INS 	6
1506 #define USIC0_C0_DX1_P0_14  	0
1507 #define USIC0_C0_DX1_P0_7   	2
1508 #define USIC0_C0_DX1_P0_8   	1
1509 #define USIC0_C0_DX1_P1_1   	3
1510 #define USIC0_C0_DX1_P2_0   	4
1511 #define USIC0_C0_DX2_DX5INS 	6
1512 #define USIC0_C0_DX2_P0_0   	0
1513 #define USIC0_C0_DX2_P0_10  	2
1514 #define USIC0_C0_DX2_P0_12  	4
1515 #define USIC0_C0_DX2_P0_13  	5
1516 #define USIC0_C0_DX2_P0_9   	1
1517 #define USIC0_C0_DX3_DOUT0  	6
1518 #define USIC0_C0_DX3_DX5INS 	5
1519 #define USIC0_C0_DX3_P2_10  	2
1520 #define USIC0_C0_DX3_P2_2   	0
1521 #define USIC0_C0_DX3_P2_6   	4
1522 #define USIC0_C0_DX3_P2_8   	3
1523 #define USIC0_C0_DX4_DX5INS 	5
1524 #define USIC0_C0_DX4_P2_10  	2
1525 #define USIC0_C0_DX4_P2_2   	0
1526 #define USIC0_C0_DX4_P2_6   	4
1527 #define USIC0_C0_DX4_P2_8   	3
1528 #define USIC0_C0_DX4_SCLKOUT	6
1529 #define USIC0_C0_DX5_P2_5   	3
1530 #define USIC0_C0_DX5_P2_7   	2
1531 #define USIC0_C0_DX5_P2_9   	0
1532 #define USIC0_C0_DX5_SELO0  	6
1533 #define USIC0_C1_DX0_DX3INS 	6
1534 #define USIC0_C1_DX0_P0_6   	2
1535 #define USIC0_C1_DX0_P0_7   	3
1536 #define USIC0_C1_DX0_P1_2   	1
1537 #define USIC0_C1_DX0_P1_3   	0
1538 #define USIC0_C1_DX0_P2_10  	5
1539 #define USIC0_C1_DX0_P2_11  	4
1540 #define USIC0_C1_DX1_DX0INS 	5
1541 #define USIC0_C1_DX1_DX4INS 	6
1542 #define USIC0_C1_DX1_P0_7   	2
1543 #define USIC0_C1_DX1_P0_8   	1
1544 #define USIC0_C1_DX1_P1_3   	0
1545 #define USIC0_C1_DX1_P2_11  	4
1546 #define USIC0_C1_DX2_DX5INS 	6
1547 #define USIC0_C1_DX2_P0_0   	0
1548 #define USIC0_C1_DX2_P0_10  	2
1549 #define USIC0_C1_DX2_P0_9   	1
1550 #define USIC0_C1_DX2_P1_1   	4
1551 #define USIC0_C1_DX2_P2_0   	5
1552 #define USIC0_C1_DX3_DOUT0  	6
1553 #define USIC0_C1_DX3_DX5INS 	5
1554 #define USIC0_C1_DX3_P2_1   	0
1555 #define USIC0_C1_DX3_P2_5   	4
1556 #define USIC0_C1_DX3_P2_7   	3
1557 #define USIC0_C1_DX3_P2_9   	1
1558 #define USIC0_C1_DX4_DX5INS 	5
1559 #define USIC0_C1_DX4_P2_1   	0
1560 #define USIC0_C1_DX4_P2_5   	4
1561 #define USIC0_C1_DX4_P2_7   	3
1562 #define USIC0_C1_DX4_P2_9   	1
1563 #define USIC0_C1_DX4_SCLKOUT	6
1564 #define USIC0_C1_DX5_P2_2   	0
1565 #define USIC0_C1_DX5_P2_6   	3
1566 #define USIC0_C1_DX5_P2_8   	2
1567 #define USIC0_C1_DX5_SR0    	6
1568 #endif
1569 
1570 
1571 #if (UC_DEVICE == XMC1302) && (UC_PACKAGE == TSSOP38)
1572 #define USIC0_C0_DX0_DX3INS 	6
1573 #define USIC0_C0_DX0_P0_14  	0
1574 #define USIC0_C0_DX0_P0_15  	1
1575 #define USIC0_C0_DX0_P1_0   	2
1576 #define USIC0_C0_DX0_P1_1   	3
1577 #define USIC0_C0_DX0_P2_0   	4
1578 #define USIC0_C0_DX0_P2_1   	5
1579 #define USIC0_C0_DX1_DX0INS 	5
1580 #define USIC0_C0_DX1_DX4INS 	6
1581 #define USIC0_C0_DX1_P0_14  	0
1582 #define USIC0_C0_DX1_P0_7   	2
1583 #define USIC0_C0_DX1_P0_8   	1
1584 #define USIC0_C0_DX1_P1_1   	3
1585 #define USIC0_C0_DX1_P2_0   	4
1586 #define USIC0_C0_DX2_DX5INS 	6
1587 #define USIC0_C0_DX2_P0_0   	0
1588 #define USIC0_C0_DX2_P0_10  	2
1589 #define USIC0_C0_DX2_P0_11  	3
1590 #define USIC0_C0_DX2_P0_12  	4
1591 #define USIC0_C0_DX2_P0_13  	5
1592 #define USIC0_C0_DX2_P0_9   	1
1593 #define USIC0_C0_DX3_DOUT0  	6
1594 #define USIC0_C0_DX3_DX5INS 	5
1595 #define USIC0_C0_DX3_P2_10  	2
1596 #define USIC0_C0_DX3_P2_2   	0
1597 #define USIC0_C0_DX3_P2_4   	1
1598 #define USIC0_C0_DX3_P2_6   	4
1599 #define USIC0_C0_DX3_P2_8   	3
1600 #define USIC0_C0_DX4_DX5INS 	5
1601 #define USIC0_C0_DX4_P2_10  	2
1602 #define USIC0_C0_DX4_P2_2   	0
1603 #define USIC0_C0_DX4_P2_4   	1
1604 #define USIC0_C0_DX4_P2_6   	4
1605 #define USIC0_C0_DX4_P2_8   	3
1606 #define USIC0_C0_DX4_SCLKOUT	6
1607 #define USIC0_C0_DX5_P1_4   	4
1608 #define USIC0_C0_DX5_P2_3   	1
1609 #define USIC0_C0_DX5_P2_5   	3
1610 #define USIC0_C0_DX5_P2_7   	2
1611 #define USIC0_C0_DX5_P2_9   	0
1612 #define USIC0_C0_DX5_SELO0  	6
1613 #define USIC0_C1_DX0_DX3INS 	6
1614 #define USIC0_C1_DX0_P0_6   	2
1615 #define USIC0_C1_DX0_P0_7   	3
1616 #define USIC0_C1_DX0_P1_2   	1
1617 #define USIC0_C1_DX0_P1_3   	0
1618 #define USIC0_C1_DX0_P2_10  	5
1619 #define USIC0_C1_DX0_P2_11  	4
1620 #define USIC0_C1_DX1_DX0INS 	5
1621 #define USIC0_C1_DX1_DX4INS 	6
1622 #define USIC0_C1_DX1_P0_7   	2
1623 #define USIC0_C1_DX1_P0_8   	1
1624 #define USIC0_C1_DX1_P1_3   	0
1625 #define USIC0_C1_DX1_P2_11  	4
1626 #define USIC0_C1_DX2_DX5INS 	6
1627 #define USIC0_C1_DX2_P0_0   	0
1628 #define USIC0_C1_DX2_P0_10  	2
1629 #define USIC0_C1_DX2_P0_11  	3
1630 #define USIC0_C1_DX2_P0_9   	1
1631 #define USIC0_C1_DX2_P1_1   	4
1632 #define USIC0_C1_DX2_P2_0   	5
1633 #define USIC0_C1_DX3_DOUT0  	6
1634 #define USIC0_C1_DX3_DX5INS 	5
1635 #define USIC0_C1_DX3_P2_1   	0
1636 #define USIC0_C1_DX3_P2_3   	2
1637 #define USIC0_C1_DX3_P2_5   	4
1638 #define USIC0_C1_DX3_P2_7   	3
1639 #define USIC0_C1_DX3_P2_9   	1
1640 #define USIC0_C1_DX4_DX5INS 	5
1641 #define USIC0_C1_DX4_P2_1   	0
1642 #define USIC0_C1_DX4_P2_3   	2
1643 #define USIC0_C1_DX4_P2_5   	4
1644 #define USIC0_C1_DX4_P2_7   	3
1645 #define USIC0_C1_DX4_P2_9   	1
1646 #define USIC0_C1_DX4_SCLKOUT	6
1647 #define USIC0_C1_DX5_P1_4   	4
1648 #define USIC0_C1_DX5_P1_5   	5
1649 #define USIC0_C1_DX5_P2_2   	0
1650 #define USIC0_C1_DX5_P2_4   	1
1651 #define USIC0_C1_DX5_P2_6   	3
1652 #define USIC0_C1_DX5_P2_8   	2
1653 #define USIC0_C1_DX5_SR0    	6
1654 #endif
1655 
1656 
1657 #if (UC_DEVICE == XMC1401) && (UC_PACKAGE == LQFP64)
1658 #define USIC0_C0_DX0_DX3INS 	6
1659 #define USIC0_C0_DX0_P0_14  	0
1660 #define USIC0_C0_DX0_P0_15  	1
1661 #define USIC0_C0_DX0_P1_0   	2
1662 #define USIC0_C0_DX0_P1_1   	3
1663 #define USIC0_C0_DX0_P2_0   	4
1664 #define USIC0_C0_DX0_P2_1   	5
1665 #define USIC0_C0_DX1_DX0INS 	5
1666 #define USIC0_C0_DX1_DX4INS 	6
1667 #define USIC0_C0_DX1_P0_14  	0
1668 #define USIC0_C0_DX1_P0_7   	2
1669 #define USIC0_C0_DX1_P0_8   	1
1670 #define USIC0_C0_DX1_P1_1   	3
1671 #define USIC0_C0_DX1_P2_0   	4
1672 #define USIC0_C0_DX2_DX5INS 	6
1673 #define USIC0_C0_DX2_P0_0   	0
1674 #define USIC0_C0_DX2_P0_10  	2
1675 #define USIC0_C0_DX2_P0_11  	3
1676 #define USIC0_C0_DX2_P0_12  	4
1677 #define USIC0_C0_DX2_P0_13  	5
1678 #define USIC0_C0_DX2_P0_9   	1
1679 #define USIC0_C0_DX3_DOUT0  	6
1680 #define USIC0_C0_DX3_DX5INS 	5
1681 #define USIC0_C0_DX3_P2_10  	2
1682 #define USIC0_C0_DX3_P2_2   	0
1683 #define USIC0_C0_DX3_P2_4   	1
1684 #define USIC0_C0_DX3_P2_6   	4
1685 #define USIC0_C0_DX3_P2_8   	3
1686 #define USIC0_C0_DX4_DX5INS 	5
1687 #define USIC0_C0_DX4_P2_10  	2
1688 #define USIC0_C0_DX4_P2_2   	0
1689 #define USIC0_C0_DX4_P2_4   	1
1690 #define USIC0_C0_DX4_P2_6   	4
1691 #define USIC0_C0_DX4_P2_8   	3
1692 #define USIC0_C0_DX4_SCLKOUT	6
1693 #define USIC0_C0_DX5_P1_4   	4
1694 #define USIC0_C0_DX5_P1_6   	5
1695 #define USIC0_C0_DX5_P2_3   	1
1696 #define USIC0_C0_DX5_P2_5   	3
1697 #define USIC0_C0_DX5_P2_7   	2
1698 #define USIC0_C0_DX5_P2_9   	0
1699 #define USIC0_C0_DX5_SELO0  	6
1700 #define USIC0_C1_DX0_DX3INS 	6
1701 #define USIC0_C1_DX0_P0_6   	2
1702 #define USIC0_C1_DX0_P0_7   	3
1703 #define USIC0_C1_DX0_P1_2   	1
1704 #define USIC0_C1_DX0_P1_3   	0
1705 #define USIC0_C1_DX0_P2_10  	5
1706 #define USIC0_C1_DX0_P2_11  	4
1707 #define USIC0_C1_DX1_DX0INS 	5
1708 #define USIC0_C1_DX1_DX4INS 	6
1709 #define USIC0_C1_DX1_P0_7   	2
1710 #define USIC0_C1_DX1_P0_8   	1
1711 #define USIC0_C1_DX1_P1_3   	0
1712 #define USIC0_C1_DX1_P2_11  	4
1713 #define USIC0_C1_DX2_DX5INS 	6
1714 #define USIC0_C1_DX2_P0_0   	0
1715 #define USIC0_C1_DX2_P0_10  	2
1716 #define USIC0_C1_DX2_P0_11  	3
1717 #define USIC0_C1_DX2_P0_9   	1
1718 #define USIC0_C1_DX2_P1_1   	4
1719 #define USIC0_C1_DX2_P2_0   	5
1720 #define USIC0_C1_DX3_DOUT0  	6
1721 #define USIC0_C1_DX3_DX5INS 	5
1722 #define USIC0_C1_DX3_P2_1   	0
1723 #define USIC0_C1_DX3_P2_3   	2
1724 #define USIC0_C1_DX3_P2_5   	4
1725 #define USIC0_C1_DX3_P2_7   	3
1726 #define USIC0_C1_DX3_P2_9   	1
1727 #define USIC0_C1_DX4_DX5INS 	5
1728 #define USIC0_C1_DX4_P2_1   	0
1729 #define USIC0_C1_DX4_P2_3   	2
1730 #define USIC0_C1_DX4_P2_5   	4
1731 #define USIC0_C1_DX4_P2_7   	3
1732 #define USIC0_C1_DX4_P2_9   	1
1733 #define USIC0_C1_DX4_SCLKOUT	6
1734 #define USIC0_C1_DX5_P1_4   	4
1735 #define USIC0_C1_DX5_P1_5   	5
1736 #define USIC0_C1_DX5_P2_2   	0
1737 #define USIC0_C1_DX5_P2_4   	1
1738 #define USIC0_C1_DX5_P2_6   	3
1739 #define USIC0_C1_DX5_P2_8   	2
1740 #define USIC0_C1_DX5_SR0    	6
1741 #define USIC1_C0_DX0_DX3INS 	6
1742 #define USIC1_C0_DX0_P0_2   	0
1743 #define USIC1_C0_DX0_P0_3   	1
1744 #define USIC1_C0_DX0_P3_3   	4
1745 #define USIC1_C0_DX0_P3_4   	5
1746 #define USIC1_C0_DX0_P4_4   	2
1747 #define USIC1_C0_DX0_P4_5   	3
1748 #define USIC1_C0_DX1_DX0INS 	5
1749 #define USIC1_C0_DX1_DX4INS 	6
1750 #define USIC1_C0_DX1_P0_2   	0
1751 #define USIC1_C0_DX1_P3_4   	4
1752 #define USIC1_C0_DX1_P4_3   	1
1753 #define USIC1_C0_DX1_P4_5   	2
1754 #define USIC1_C0_DX1_P4_6   	3
1755 #define USIC1_C0_DX2_DX5INS 	6
1756 #define USIC1_C0_DX2_P3_1   	5
1757 #define USIC1_C0_DX2_P4_10  	3
1758 #define USIC1_C0_DX2_P4_11  	4
1759 #define USIC1_C0_DX2_P4_7   	0
1760 #define USIC1_C0_DX2_P4_8   	1
1761 #define USIC1_C0_DX2_P4_9   	2
1762 #define USIC1_C0_DX3_DOUT0  	6
1763 #define USIC1_C0_DX3_DX5INS 	5
1764 #define USIC1_C0_DX3_P1_8   	1
1765 #define USIC1_C0_DX3_P2_12  	0
1766 #define USIC1_C0_DX3_P2_3   	4
1767 #define USIC1_C0_DX3_P3_2   	2
1768 #define USIC1_C0_DX3_P4_0   	3
1769 #define USIC1_C0_DX4_DX5INS 	5
1770 #define USIC1_C0_DX4_P1_8   	1
1771 #define USIC1_C0_DX4_P2_12  	0
1772 #define USIC1_C0_DX4_P2_3   	4
1773 #define USIC1_C0_DX4_P3_2   	2
1774 #define USIC1_C0_DX4_P4_0   	3
1775 #define USIC1_C0_DX4_SCLKOUT	6
1776 #define USIC1_C0_DX5_P1_7   	1
1777 #define USIC1_C0_DX5_P2_13  	0
1778 #define USIC1_C0_DX5_P2_2   	4
1779 #define USIC1_C0_DX5_P2_4   	5
1780 #define USIC1_C0_DX5_P4_1   	2
1781 #define USIC1_C0_DX5_P4_2   	3
1782 #define USIC1_C0_DX5_SELO0  	6
1783 #define USIC1_C1_DX0_DX3INS 	6
1784 #define USIC1_C1_DX0_P0_0   	0
1785 #define USIC1_C1_DX0_P0_1   	1
1786 #define USIC1_C1_DX0_P2_12  	2
1787 #define USIC1_C1_DX0_P2_13  	3
1788 #define USIC1_C1_DX0_P3_0   	4
1789 #define USIC1_C1_DX0_P3_1   	5
1790 #define USIC1_C1_DX1_DX0INS 	5
1791 #define USIC1_C1_DX1_DX4INS 	6
1792 #define USIC1_C1_DX1_P0_1   	0
1793 #define USIC1_C1_DX1_P1_8   	2
1794 #define USIC1_C1_DX1_P2_12  	1
1795 #define USIC1_C1_DX1_P3_0   	3
1796 #define USIC1_C1_DX2_DX5INS 	6
1797 #define USIC1_C1_DX2_P1_7   	2
1798 #define USIC1_C1_DX2_P3_3   	0
1799 #define USIC1_C1_DX2_P3_4   	1
1800 #define USIC1_C1_DX2_SR0    	5
1801 #define USIC1_C1_DX3_DOUT0  	6
1802 #define USIC1_C1_DX3_DX5INS 	5
1803 #define USIC1_C1_DX3_P0_15  	1
1804 #define USIC1_C1_DX3_P2_4   	2
1805 #define USIC1_C1_DX3_P2_6   	4
1806 #define USIC1_C1_DX3_P3_2   	3
1807 #define USIC1_C1_DX3_P4_11  	0
1808 #define USIC1_C1_DX4_DX5INS 	5
1809 #define USIC1_C1_DX4_P0_15  	1
1810 #define USIC1_C1_DX4_P2_4   	2
1811 #define USIC1_C1_DX4_P2_6   	4
1812 #define USIC1_C1_DX4_P3_2   	3
1813 #define USIC1_C1_DX4_P4_11  	0
1814 #define USIC1_C1_DX4_SCLKOUT	6
1815 #define USIC1_C1_DX5_P0_14  	1
1816 #define USIC1_C1_DX5_P2_3   	2
1817 #define USIC1_C1_DX5_P2_5   	3
1818 #define USIC1_C1_DX5_P2_7   	4
1819 #define USIC1_C1_DX5_P4_10  	0
1820 #define USIC1_C1_DX5_P4_4   	5
1821 #define USIC1_C1_DX5_SELO0  	6
1822 #endif
1823 
1824 
1825 #if (UC_DEVICE == XMC1401) && (UC_PACKAGE == VQFN48)
1826 #define USIC0_C0_DX0_DX3INS 	6
1827 #define USIC0_C0_DX0_P0_14  	0
1828 #define USIC0_C0_DX0_P0_15  	1
1829 #define USIC0_C0_DX0_P1_0   	2
1830 #define USIC0_C0_DX0_P1_1   	3
1831 #define USIC0_C0_DX0_P2_0   	4
1832 #define USIC0_C0_DX0_P2_1   	5
1833 #define USIC0_C0_DX1_DX0INS 	5
1834 #define USIC0_C0_DX1_DX4INS 	6
1835 #define USIC0_C0_DX1_P0_14  	0
1836 #define USIC0_C0_DX1_P0_7   	2
1837 #define USIC0_C0_DX1_P0_8   	1
1838 #define USIC0_C0_DX1_P1_1   	3
1839 #define USIC0_C0_DX1_P2_0   	4
1840 #define USIC0_C0_DX2_DX5INS 	6
1841 #define USIC0_C0_DX2_P0_0   	0
1842 #define USIC0_C0_DX2_P0_10  	2
1843 #define USIC0_C0_DX2_P0_11  	3
1844 #define USIC0_C0_DX2_P0_12  	4
1845 #define USIC0_C0_DX2_P0_13  	5
1846 #define USIC0_C0_DX2_P0_9   	1
1847 #define USIC0_C0_DX3_DOUT0  	6
1848 #define USIC0_C0_DX3_DX5INS 	5
1849 #define USIC0_C0_DX3_P2_10  	2
1850 #define USIC0_C0_DX3_P2_2   	0
1851 #define USIC0_C0_DX3_P2_4   	1
1852 #define USIC0_C0_DX3_P2_6   	4
1853 #define USIC0_C0_DX3_P2_8   	3
1854 #define USIC0_C0_DX4_DX5INS 	5
1855 #define USIC0_C0_DX4_P2_10  	2
1856 #define USIC0_C0_DX4_P2_2   	0
1857 #define USIC0_C0_DX4_P2_4   	1
1858 #define USIC0_C0_DX4_P2_6   	4
1859 #define USIC0_C0_DX4_P2_8   	3
1860 #define USIC0_C0_DX4_SCLKOUT	6
1861 #define USIC0_C0_DX5_P1_4   	4
1862 #define USIC0_C0_DX5_P1_6   	5
1863 #define USIC0_C0_DX5_P2_3   	1
1864 #define USIC0_C0_DX5_P2_5   	3
1865 #define USIC0_C0_DX5_P2_7   	2
1866 #define USIC0_C0_DX5_P2_9   	0
1867 #define USIC0_C0_DX5_SELO0  	6
1868 #define USIC0_C1_DX0_DX3INS 	6
1869 #define USIC0_C1_DX0_P0_6   	2
1870 #define USIC0_C1_DX0_P0_7   	3
1871 #define USIC0_C1_DX0_P1_2   	1
1872 #define USIC0_C1_DX0_P1_3   	0
1873 #define USIC0_C1_DX0_P2_10  	5
1874 #define USIC0_C1_DX0_P2_11  	4
1875 #define USIC0_C1_DX1_DX0INS 	5
1876 #define USIC0_C1_DX1_DX4INS 	6
1877 #define USIC0_C1_DX1_P0_7   	2
1878 #define USIC0_C1_DX1_P0_8   	1
1879 #define USIC0_C1_DX1_P1_3   	0
1880 #define USIC0_C1_DX1_P2_11  	4
1881 #define USIC0_C1_DX2_DX5INS 	6
1882 #define USIC0_C1_DX2_P0_0   	0
1883 #define USIC0_C1_DX2_P0_10  	2
1884 #define USIC0_C1_DX2_P0_11  	3
1885 #define USIC0_C1_DX2_P0_9   	1
1886 #define USIC0_C1_DX2_P1_1   	4
1887 #define USIC0_C1_DX2_P2_0   	5
1888 #define USIC0_C1_DX3_DOUT0  	6
1889 #define USIC0_C1_DX3_DX5INS 	5
1890 #define USIC0_C1_DX3_P2_1   	0
1891 #define USIC0_C1_DX3_P2_3   	2
1892 #define USIC0_C1_DX3_P2_5   	4
1893 #define USIC0_C1_DX3_P2_7   	3
1894 #define USIC0_C1_DX3_P2_9   	1
1895 #define USIC0_C1_DX4_DX5INS 	5
1896 #define USIC0_C1_DX4_P2_1   	0
1897 #define USIC0_C1_DX4_P2_3   	2
1898 #define USIC0_C1_DX4_P2_5   	4
1899 #define USIC0_C1_DX4_P2_7   	3
1900 #define USIC0_C1_DX4_P2_9   	1
1901 #define USIC0_C1_DX4_SCLKOUT	6
1902 #define USIC0_C1_DX5_P1_4   	4
1903 #define USIC0_C1_DX5_P1_5   	5
1904 #define USIC0_C1_DX5_P2_2   	0
1905 #define USIC0_C1_DX5_P2_4   	1
1906 #define USIC0_C1_DX5_P2_6   	3
1907 #define USIC0_C1_DX5_P2_8   	2
1908 #define USIC0_C1_DX5_SR0    	6
1909 #define USIC1_C0_DX0_DX3INS 	6
1910 #define USIC1_C0_DX0_P0_2   	0
1911 #define USIC1_C0_DX0_P0_3   	1
1912 #define USIC1_C0_DX0_P4_4   	2
1913 #define USIC1_C0_DX0_P4_5   	3
1914 #define USIC1_C0_DX1_DX0INS 	5
1915 #define USIC1_C0_DX1_DX4INS 	6
1916 #define USIC1_C0_DX1_P0_2   	0
1917 #define USIC1_C0_DX1_P4_5   	2
1918 #define USIC1_C0_DX1_P4_6   	3
1919 #define USIC1_C0_DX2_DX5INS 	6
1920 #define USIC1_C0_DX2_P4_7   	0
1921 #define USIC1_C0_DX3_DOUT0  	6
1922 #define USIC1_C0_DX3_DX5INS 	5
1923 #define USIC1_C0_DX3_P2_12  	0
1924 #define USIC1_C0_DX3_P2_3   	4
1925 #define USIC1_C0_DX4_DX5INS 	5
1926 #define USIC1_C0_DX4_P2_12  	0
1927 #define USIC1_C0_DX4_P2_3   	4
1928 #define USIC1_C0_DX4_SCLKOUT	6
1929 #define USIC1_C0_DX5_P2_13  	0
1930 #define USIC1_C0_DX5_P2_2   	4
1931 #define USIC1_C0_DX5_P2_4   	5
1932 #define USIC1_C0_DX5_SELO0  	6
1933 #define USIC1_C1_DX0_DX3INS 	6
1934 #define USIC1_C1_DX0_P0_0   	0
1935 #define USIC1_C1_DX0_P0_1   	1
1936 #define USIC1_C1_DX0_P2_12  	2
1937 #define USIC1_C1_DX0_P2_13  	3
1938 #define USIC1_C1_DX0_P3_0   	4
1939 #define USIC1_C1_DX1_DX0INS 	5
1940 #define USIC1_C1_DX1_DX4INS 	6
1941 #define USIC1_C1_DX1_P0_1   	0
1942 #define USIC1_C1_DX1_P2_12  	1
1943 #define USIC1_C1_DX1_P3_0   	3
1944 #define USIC1_C1_DX2_DX5INS 	6
1945 #define USIC1_C1_DX2_SR0    	5
1946 #define USIC1_C1_DX3_DOUT0  	6
1947 #define USIC1_C1_DX3_DX5INS 	5
1948 #define USIC1_C1_DX3_P0_15  	1
1949 #define USIC1_C1_DX3_P2_4   	2
1950 #define USIC1_C1_DX3_P2_6   	4
1951 #define USIC1_C1_DX4_DX5INS 	5
1952 #define USIC1_C1_DX4_P0_15  	1
1953 #define USIC1_C1_DX4_P2_4   	2
1954 #define USIC1_C1_DX4_P2_6   	4
1955 #define USIC1_C1_DX4_SCLKOUT	6
1956 #define USIC1_C1_DX5_P0_14  	1
1957 #define USIC1_C1_DX5_P2_3   	2
1958 #define USIC1_C1_DX5_P2_5   	3
1959 #define USIC1_C1_DX5_P2_7   	4
1960 #define USIC1_C1_DX5_P4_4   	5
1961 #define USIC1_C1_DX5_SELO0  	6
1962 #endif
1963 
1964 
1965 #if (UC_DEVICE == XMC1402) && (UC_PACKAGE == LQFP64)
1966 #define USIC0_C0_DX0_DX3INS 	6
1967 #define USIC0_C0_DX0_P0_14  	0
1968 #define USIC0_C0_DX0_P0_15  	1
1969 #define USIC0_C0_DX0_P1_0   	2
1970 #define USIC0_C0_DX0_P1_1   	3
1971 #define USIC0_C0_DX0_P2_0   	4
1972 #define USIC0_C0_DX0_P2_1   	5
1973 #define USIC0_C0_DX1_DX0INS 	5
1974 #define USIC0_C0_DX1_DX4INS 	6
1975 #define USIC0_C0_DX1_P0_14  	0
1976 #define USIC0_C0_DX1_P0_7   	2
1977 #define USIC0_C0_DX1_P0_8   	1
1978 #define USIC0_C0_DX1_P1_1   	3
1979 #define USIC0_C0_DX1_P2_0   	4
1980 #define USIC0_C0_DX2_DX5INS 	6
1981 #define USIC0_C0_DX2_P0_0   	0
1982 #define USIC0_C0_DX2_P0_10  	2
1983 #define USIC0_C0_DX2_P0_11  	3
1984 #define USIC0_C0_DX2_P0_12  	4
1985 #define USIC0_C0_DX2_P0_13  	5
1986 #define USIC0_C0_DX2_P0_9   	1
1987 #define USIC0_C0_DX3_DOUT0  	6
1988 #define USIC0_C0_DX3_DX5INS 	5
1989 #define USIC0_C0_DX3_P2_10  	2
1990 #define USIC0_C0_DX3_P2_2   	0
1991 #define USIC0_C0_DX3_P2_4   	1
1992 #define USIC0_C0_DX3_P2_6   	4
1993 #define USIC0_C0_DX3_P2_8   	3
1994 #define USIC0_C0_DX4_DX5INS 	5
1995 #define USIC0_C0_DX4_P2_10  	2
1996 #define USIC0_C0_DX4_P2_2   	0
1997 #define USIC0_C0_DX4_P2_4   	1
1998 #define USIC0_C0_DX4_P2_6   	4
1999 #define USIC0_C0_DX4_P2_8   	3
2000 #define USIC0_C0_DX4_SCLKOUT	6
2001 #define USIC0_C0_DX5_P1_4   	4
2002 #define USIC0_C0_DX5_P1_6   	5
2003 #define USIC0_C0_DX5_P2_3   	1
2004 #define USIC0_C0_DX5_P2_5   	3
2005 #define USIC0_C0_DX5_P2_7   	2
2006 #define USIC0_C0_DX5_P2_9   	0
2007 #define USIC0_C0_DX5_SELO0  	6
2008 #define USIC0_C1_DX0_DX3INS 	6
2009 #define USIC0_C1_DX0_P0_6   	2
2010 #define USIC0_C1_DX0_P0_7   	3
2011 #define USIC0_C1_DX0_P1_2   	1
2012 #define USIC0_C1_DX0_P1_3   	0
2013 #define USIC0_C1_DX0_P2_10  	5
2014 #define USIC0_C1_DX0_P2_11  	4
2015 #define USIC0_C1_DX1_DX0INS 	5
2016 #define USIC0_C1_DX1_DX4INS 	6
2017 #define USIC0_C1_DX1_P0_7   	2
2018 #define USIC0_C1_DX1_P0_8   	1
2019 #define USIC0_C1_DX1_P1_3   	0
2020 #define USIC0_C1_DX1_P2_11  	4
2021 #define USIC0_C1_DX2_DX5INS 	6
2022 #define USIC0_C1_DX2_P0_0   	0
2023 #define USIC0_C1_DX2_P0_10  	2
2024 #define USIC0_C1_DX2_P0_11  	3
2025 #define USIC0_C1_DX2_P0_9   	1
2026 #define USIC0_C1_DX2_P1_1   	4
2027 #define USIC0_C1_DX2_P2_0   	5
2028 #define USIC0_C1_DX3_DOUT0  	6
2029 #define USIC0_C1_DX3_DX5INS 	5
2030 #define USIC0_C1_DX3_P2_1   	0
2031 #define USIC0_C1_DX3_P2_3   	2
2032 #define USIC0_C1_DX3_P2_5   	4
2033 #define USIC0_C1_DX3_P2_7   	3
2034 #define USIC0_C1_DX3_P2_9   	1
2035 #define USIC0_C1_DX4_DX5INS 	5
2036 #define USIC0_C1_DX4_P2_1   	0
2037 #define USIC0_C1_DX4_P2_3   	2
2038 #define USIC0_C1_DX4_P2_5   	4
2039 #define USIC0_C1_DX4_P2_7   	3
2040 #define USIC0_C1_DX4_P2_9   	1
2041 #define USIC0_C1_DX4_SCLKOUT	6
2042 #define USIC0_C1_DX5_P1_4   	4
2043 #define USIC0_C1_DX5_P1_5   	5
2044 #define USIC0_C1_DX5_P2_2   	0
2045 #define USIC0_C1_DX5_P2_4   	1
2046 #define USIC0_C1_DX5_P2_6   	3
2047 #define USIC0_C1_DX5_P2_8   	2
2048 #define USIC0_C1_DX5_SR0    	6
2049 #define USIC1_C0_DX0_DX3INS 	6
2050 #define USIC1_C0_DX0_P0_2   	0
2051 #define USIC1_C0_DX0_P0_3   	1
2052 #define USIC1_C0_DX0_P3_3   	4
2053 #define USIC1_C0_DX0_P3_4   	5
2054 #define USIC1_C0_DX0_P4_4   	2
2055 #define USIC1_C0_DX0_P4_5   	3
2056 #define USIC1_C0_DX1_DX0INS 	5
2057 #define USIC1_C0_DX1_DX4INS 	6
2058 #define USIC1_C0_DX1_P0_2   	0
2059 #define USIC1_C0_DX1_P3_4   	4
2060 #define USIC1_C0_DX1_P4_3   	1
2061 #define USIC1_C0_DX1_P4_5   	2
2062 #define USIC1_C0_DX1_P4_6   	3
2063 #define USIC1_C0_DX2_DX5INS 	6
2064 #define USIC1_C0_DX2_P3_1   	5
2065 #define USIC1_C0_DX2_P4_10  	3
2066 #define USIC1_C0_DX2_P4_11  	4
2067 #define USIC1_C0_DX2_P4_7   	0
2068 #define USIC1_C0_DX2_P4_8   	1
2069 #define USIC1_C0_DX2_P4_9   	2
2070 #define USIC1_C0_DX3_DOUT0  	6
2071 #define USIC1_C0_DX3_DX5INS 	5
2072 #define USIC1_C0_DX3_P1_8   	1
2073 #define USIC1_C0_DX3_P2_12  	0
2074 #define USIC1_C0_DX3_P2_3   	4
2075 #define USIC1_C0_DX3_P3_2   	2
2076 #define USIC1_C0_DX3_P4_0   	3
2077 #define USIC1_C0_DX4_DX5INS 	5
2078 #define USIC1_C0_DX4_P1_8   	1
2079 #define USIC1_C0_DX4_P2_12  	0
2080 #define USIC1_C0_DX4_P2_3   	4
2081 #define USIC1_C0_DX4_P3_2   	2
2082 #define USIC1_C0_DX4_P4_0   	3
2083 #define USIC1_C0_DX4_SCLKOUT	6
2084 #define USIC1_C0_DX5_P1_7   	1
2085 #define USIC1_C0_DX5_P2_13  	0
2086 #define USIC1_C0_DX5_P2_2   	4
2087 #define USIC1_C0_DX5_P2_4   	5
2088 #define USIC1_C0_DX5_P4_1   	2
2089 #define USIC1_C0_DX5_P4_2   	3
2090 #define USIC1_C0_DX5_SELO0  	6
2091 #define USIC1_C1_DX0_DX3INS 	6
2092 #define USIC1_C1_DX0_P0_0   	0
2093 #define USIC1_C1_DX0_P0_1   	1
2094 #define USIC1_C1_DX0_P2_12  	2
2095 #define USIC1_C1_DX0_P2_13  	3
2096 #define USIC1_C1_DX0_P3_0   	4
2097 #define USIC1_C1_DX0_P3_1   	5
2098 #define USIC1_C1_DX1_DX0INS 	5
2099 #define USIC1_C1_DX1_DX4INS 	6
2100 #define USIC1_C1_DX1_P0_1   	0
2101 #define USIC1_C1_DX1_P1_8   	2
2102 #define USIC1_C1_DX1_P2_12  	1
2103 #define USIC1_C1_DX1_P3_0   	3
2104 #define USIC1_C1_DX2_DX5INS 	6
2105 #define USIC1_C1_DX2_P1_7   	2
2106 #define USIC1_C1_DX2_P3_3   	0
2107 #define USIC1_C1_DX2_P3_4   	1
2108 #define USIC1_C1_DX2_SR0    	5
2109 #define USIC1_C1_DX3_DOUT0  	6
2110 #define USIC1_C1_DX3_DX5INS 	5
2111 #define USIC1_C1_DX3_P0_15  	1
2112 #define USIC1_C1_DX3_P2_4   	2
2113 #define USIC1_C1_DX3_P2_6   	4
2114 #define USIC1_C1_DX3_P3_2   	3
2115 #define USIC1_C1_DX3_P4_11  	0
2116 #define USIC1_C1_DX4_DX5INS 	5
2117 #define USIC1_C1_DX4_P0_15  	1
2118 #define USIC1_C1_DX4_P2_4   	2
2119 #define USIC1_C1_DX4_P2_6   	4
2120 #define USIC1_C1_DX4_P3_2   	3
2121 #define USIC1_C1_DX4_P4_11  	0
2122 #define USIC1_C1_DX4_SCLKOUT	6
2123 #define USIC1_C1_DX5_P0_14  	1
2124 #define USIC1_C1_DX5_P2_3   	2
2125 #define USIC1_C1_DX5_P2_5   	3
2126 #define USIC1_C1_DX5_P2_7   	4
2127 #define USIC1_C1_DX5_P4_10  	0
2128 #define USIC1_C1_DX5_P4_4   	5
2129 #define USIC1_C1_DX5_SELO0  	6
2130 #endif
2131 
2132 
2133 #if (UC_DEVICE == XMC1402) && (UC_PACKAGE == VQFN40)
2134 #define USIC0_C0_DX0_DX3INS 	6
2135 #define USIC0_C0_DX0_P0_14  	0
2136 #define USIC0_C0_DX0_P0_15  	1
2137 #define USIC0_C0_DX0_P1_0   	2
2138 #define USIC0_C0_DX0_P1_1   	3
2139 #define USIC0_C0_DX0_P2_0   	4
2140 #define USIC0_C0_DX0_P2_1   	5
2141 #define USIC0_C0_DX1_DX0INS 	5
2142 #define USIC0_C0_DX1_DX4INS 	6
2143 #define USIC0_C0_DX1_P0_14  	0
2144 #define USIC0_C0_DX1_P0_7   	2
2145 #define USIC0_C0_DX1_P0_8   	1
2146 #define USIC0_C0_DX1_P1_1   	3
2147 #define USIC0_C0_DX1_P2_0   	4
2148 #define USIC0_C0_DX2_DX5INS 	6
2149 #define USIC0_C0_DX2_P0_0   	0
2150 #define USIC0_C0_DX2_P0_10  	2
2151 #define USIC0_C0_DX2_P0_11  	3
2152 #define USIC0_C0_DX2_P0_12  	4
2153 #define USIC0_C0_DX2_P0_13  	5
2154 #define USIC0_C0_DX2_P0_9   	1
2155 #define USIC0_C0_DX3_DOUT0  	6
2156 #define USIC0_C0_DX3_DX5INS 	5
2157 #define USIC0_C0_DX3_P2_10  	2
2158 #define USIC0_C0_DX3_P2_2   	0
2159 #define USIC0_C0_DX3_P2_4   	1
2160 #define USIC0_C0_DX3_P2_6   	4
2161 #define USIC0_C0_DX3_P2_8   	3
2162 #define USIC0_C0_DX4_DX5INS 	5
2163 #define USIC0_C0_DX4_P2_10  	2
2164 #define USIC0_C0_DX4_P2_2   	0
2165 #define USIC0_C0_DX4_P2_4   	1
2166 #define USIC0_C0_DX4_P2_6   	4
2167 #define USIC0_C0_DX4_P2_8   	3
2168 #define USIC0_C0_DX4_SCLKOUT	6
2169 #define USIC0_C0_DX5_P1_4   	4
2170 #define USIC0_C0_DX5_P1_6   	5
2171 #define USIC0_C0_DX5_P2_3   	1
2172 #define USIC0_C0_DX5_P2_5   	3
2173 #define USIC0_C0_DX5_P2_7   	2
2174 #define USIC0_C0_DX5_P2_9   	0
2175 #define USIC0_C0_DX5_SELO0  	6
2176 #define USIC0_C1_DX0_DX3INS 	6
2177 #define USIC0_C1_DX0_P0_6   	2
2178 #define USIC0_C1_DX0_P0_7   	3
2179 #define USIC0_C1_DX0_P1_2   	1
2180 #define USIC0_C1_DX0_P1_3   	0
2181 #define USIC0_C1_DX0_P2_10  	5
2182 #define USIC0_C1_DX0_P2_11  	4
2183 #define USIC0_C1_DX1_DX0INS 	5
2184 #define USIC0_C1_DX1_DX4INS 	6
2185 #define USIC0_C1_DX1_P0_7   	2
2186 #define USIC0_C1_DX1_P0_8   	1
2187 #define USIC0_C1_DX1_P1_3   	0
2188 #define USIC0_C1_DX1_P2_11  	4
2189 #define USIC0_C1_DX2_DX5INS 	6
2190 #define USIC0_C1_DX2_P0_0   	0
2191 #define USIC0_C1_DX2_P0_10  	2
2192 #define USIC0_C1_DX2_P0_11  	3
2193 #define USIC0_C1_DX2_P0_9   	1
2194 #define USIC0_C1_DX2_P1_1   	4
2195 #define USIC0_C1_DX2_P2_0   	5
2196 #define USIC0_C1_DX3_DOUT0  	6
2197 #define USIC0_C1_DX3_DX5INS 	5
2198 #define USIC0_C1_DX3_P2_1   	0
2199 #define USIC0_C1_DX3_P2_3   	2
2200 #define USIC0_C1_DX3_P2_5   	4
2201 #define USIC0_C1_DX3_P2_7   	3
2202 #define USIC0_C1_DX3_P2_9   	1
2203 #define USIC0_C1_DX4_DX5INS 	5
2204 #define USIC0_C1_DX4_P2_1   	0
2205 #define USIC0_C1_DX4_P2_3   	2
2206 #define USIC0_C1_DX4_P2_5   	4
2207 #define USIC0_C1_DX4_P2_7   	3
2208 #define USIC0_C1_DX4_P2_9   	1
2209 #define USIC0_C1_DX4_SCLKOUT	6
2210 #define USIC0_C1_DX5_P1_4   	4
2211 #define USIC0_C1_DX5_P1_5   	5
2212 #define USIC0_C1_DX5_P2_2   	0
2213 #define USIC0_C1_DX5_P2_4   	1
2214 #define USIC0_C1_DX5_P2_6   	3
2215 #define USIC0_C1_DX5_P2_8   	2
2216 #define USIC0_C1_DX5_SR0    	6
2217 #define USIC1_C0_DX0_DX3INS 	6
2218 #define USIC1_C0_DX0_P0_2   	0
2219 #define USIC1_C0_DX0_P0_3   	1
2220 #define USIC1_C0_DX1_DX0INS 	5
2221 #define USIC1_C0_DX1_DX4INS 	6
2222 #define USIC1_C0_DX1_P0_2   	0
2223 #define USIC1_C0_DX2_DX5INS 	6
2224 #define USIC1_C0_DX3_DOUT0  	6
2225 #define USIC1_C0_DX3_DX5INS 	5
2226 #define USIC1_C0_DX3_P2_3   	4
2227 #define USIC1_C0_DX4_DX5INS 	5
2228 #define USIC1_C0_DX4_P2_3   	4
2229 #define USIC1_C0_DX4_SCLKOUT	6
2230 #define USIC1_C0_DX5_P2_2   	4
2231 #define USIC1_C0_DX5_P2_4   	5
2232 #define USIC1_C0_DX5_SELO0  	6
2233 #define USIC1_C1_DX0_DX3INS 	6
2234 #define USIC1_C1_DX0_P0_0   	0
2235 #define USIC1_C1_DX0_P0_1   	1
2236 #define USIC1_C1_DX1_DX0INS 	5
2237 #define USIC1_C1_DX1_DX4INS 	6
2238 #define USIC1_C1_DX1_P0_1   	0
2239 #define USIC1_C1_DX2_DX5INS 	6
2240 #define USIC1_C1_DX2_SR0    	5
2241 #define USIC1_C1_DX3_DOUT0  	6
2242 #define USIC1_C1_DX3_DX5INS 	5
2243 #define USIC1_C1_DX3_P0_15  	1
2244 #define USIC1_C1_DX3_P2_4   	2
2245 #define USIC1_C1_DX3_P2_6   	4
2246 #define USIC1_C1_DX4_DX5INS 	5
2247 #define USIC1_C1_DX4_P0_15  	1
2248 #define USIC1_C1_DX4_P2_4   	2
2249 #define USIC1_C1_DX4_P2_6   	4
2250 #define USIC1_C1_DX4_SCLKOUT	6
2251 #define USIC1_C1_DX5_P0_14  	1
2252 #define USIC1_C1_DX5_P2_3   	2
2253 #define USIC1_C1_DX5_P2_5   	3
2254 #define USIC1_C1_DX5_P2_7   	4
2255 #define USIC1_C1_DX5_SELO0  	6
2256 #endif
2257 
2258 
2259 #if (UC_DEVICE == XMC1402) && (UC_PACKAGE == VQFN48)
2260 #define USIC0_C0_DX0_DX3INS 	6
2261 #define USIC0_C0_DX0_P0_14  	0
2262 #define USIC0_C0_DX0_P0_15  	1
2263 #define USIC0_C0_DX0_P1_0   	2
2264 #define USIC0_C0_DX0_P1_1   	3
2265 #define USIC0_C0_DX0_P2_0   	4
2266 #define USIC0_C0_DX0_P2_1   	5
2267 #define USIC0_C0_DX1_DX0INS 	5
2268 #define USIC0_C0_DX1_DX4INS 	6
2269 #define USIC0_C0_DX1_P0_14  	0
2270 #define USIC0_C0_DX1_P0_7   	2
2271 #define USIC0_C0_DX1_P0_8   	1
2272 #define USIC0_C0_DX1_P1_1   	3
2273 #define USIC0_C0_DX1_P2_0   	4
2274 #define USIC0_C0_DX2_DX5INS 	6
2275 #define USIC0_C0_DX2_P0_0   	0
2276 #define USIC0_C0_DX2_P0_10  	2
2277 #define USIC0_C0_DX2_P0_11  	3
2278 #define USIC0_C0_DX2_P0_12  	4
2279 #define USIC0_C0_DX2_P0_13  	5
2280 #define USIC0_C0_DX2_P0_9   	1
2281 #define USIC0_C0_DX3_DOUT0  	6
2282 #define USIC0_C0_DX3_DX5INS 	5
2283 #define USIC0_C0_DX3_P2_10  	2
2284 #define USIC0_C0_DX3_P2_2   	0
2285 #define USIC0_C0_DX3_P2_4   	1
2286 #define USIC0_C0_DX3_P2_6   	4
2287 #define USIC0_C0_DX3_P2_8   	3
2288 #define USIC0_C0_DX4_DX5INS 	5
2289 #define USIC0_C0_DX4_P2_10  	2
2290 #define USIC0_C0_DX4_P2_2   	0
2291 #define USIC0_C0_DX4_P2_4   	1
2292 #define USIC0_C0_DX4_P2_6   	4
2293 #define USIC0_C0_DX4_P2_8   	3
2294 #define USIC0_C0_DX4_SCLKOUT	6
2295 #define USIC0_C0_DX5_P1_4   	4
2296 #define USIC0_C0_DX5_P1_6   	5
2297 #define USIC0_C0_DX5_P2_3   	1
2298 #define USIC0_C0_DX5_P2_5   	3
2299 #define USIC0_C0_DX5_P2_7   	2
2300 #define USIC0_C0_DX5_P2_9   	0
2301 #define USIC0_C0_DX5_SELO0  	6
2302 #define USIC0_C1_DX0_DX3INS 	6
2303 #define USIC0_C1_DX0_P0_6   	2
2304 #define USIC0_C1_DX0_P0_7   	3
2305 #define USIC0_C1_DX0_P1_2   	1
2306 #define USIC0_C1_DX0_P1_3   	0
2307 #define USIC0_C1_DX0_P2_10  	5
2308 #define USIC0_C1_DX0_P2_11  	4
2309 #define USIC0_C1_DX1_DX0INS 	5
2310 #define USIC0_C1_DX1_DX4INS 	6
2311 #define USIC0_C1_DX1_P0_7   	2
2312 #define USIC0_C1_DX1_P0_8   	1
2313 #define USIC0_C1_DX1_P1_3   	0
2314 #define USIC0_C1_DX1_P2_11  	4
2315 #define USIC0_C1_DX2_DX5INS 	6
2316 #define USIC0_C1_DX2_P0_0   	0
2317 #define USIC0_C1_DX2_P0_10  	2
2318 #define USIC0_C1_DX2_P0_11  	3
2319 #define USIC0_C1_DX2_P0_9   	1
2320 #define USIC0_C1_DX2_P1_1   	4
2321 #define USIC0_C1_DX2_P2_0   	5
2322 #define USIC0_C1_DX3_DOUT0  	6
2323 #define USIC0_C1_DX3_DX5INS 	5
2324 #define USIC0_C1_DX3_P2_1   	0
2325 #define USIC0_C1_DX3_P2_3   	2
2326 #define USIC0_C1_DX3_P2_5   	4
2327 #define USIC0_C1_DX3_P2_7   	3
2328 #define USIC0_C1_DX3_P2_9   	1
2329 #define USIC0_C1_DX4_DX5INS 	5
2330 #define USIC0_C1_DX4_P2_1   	0
2331 #define USIC0_C1_DX4_P2_3   	2
2332 #define USIC0_C1_DX4_P2_5   	4
2333 #define USIC0_C1_DX4_P2_7   	3
2334 #define USIC0_C1_DX4_P2_9   	1
2335 #define USIC0_C1_DX4_SCLKOUT	6
2336 #define USIC0_C1_DX5_P1_4   	4
2337 #define USIC0_C1_DX5_P1_5   	5
2338 #define USIC0_C1_DX5_P2_2   	0
2339 #define USIC0_C1_DX5_P2_4   	1
2340 #define USIC0_C1_DX5_P2_6   	3
2341 #define USIC0_C1_DX5_P2_8   	2
2342 #define USIC0_C1_DX5_SR0    	6
2343 #define USIC1_C0_DX0_DX3INS 	6
2344 #define USIC1_C0_DX0_P0_2   	0
2345 #define USIC1_C0_DX0_P0_3   	1
2346 #define USIC1_C0_DX0_P4_4   	2
2347 #define USIC1_C0_DX0_P4_5   	3
2348 #define USIC1_C0_DX1_DX0INS 	5
2349 #define USIC1_C0_DX1_DX4INS 	6
2350 #define USIC1_C0_DX1_P0_2   	0
2351 #define USIC1_C0_DX1_P4_5   	2
2352 #define USIC1_C0_DX1_P4_6   	3
2353 #define USIC1_C0_DX2_DX5INS 	6
2354 #define USIC1_C0_DX2_P4_7   	0
2355 #define USIC1_C0_DX3_DOUT0  	6
2356 #define USIC1_C0_DX3_DX5INS 	5
2357 #define USIC1_C0_DX3_P2_12  	0
2358 #define USIC1_C0_DX3_P2_3   	4
2359 #define USIC1_C0_DX4_DX5INS 	5
2360 #define USIC1_C0_DX4_P2_12  	0
2361 #define USIC1_C0_DX4_P2_3   	4
2362 #define USIC1_C0_DX4_SCLKOUT	6
2363 #define USIC1_C0_DX5_P2_13  	0
2364 #define USIC1_C0_DX5_P2_2   	4
2365 #define USIC1_C0_DX5_P2_4   	5
2366 #define USIC1_C0_DX5_SELO0  	6
2367 #define USIC1_C1_DX0_DX3INS 	6
2368 #define USIC1_C1_DX0_P0_0   	0
2369 #define USIC1_C1_DX0_P0_1   	1
2370 #define USIC1_C1_DX0_P2_12  	2
2371 #define USIC1_C1_DX0_P2_13  	3
2372 #define USIC1_C1_DX0_P3_0   	4
2373 #define USIC1_C1_DX1_DX0INS 	5
2374 #define USIC1_C1_DX1_DX4INS 	6
2375 #define USIC1_C1_DX1_P0_1   	0
2376 #define USIC1_C1_DX1_P2_12  	1
2377 #define USIC1_C1_DX1_P3_0   	3
2378 #define USIC1_C1_DX2_DX5INS 	6
2379 #define USIC1_C1_DX2_SR0    	5
2380 #define USIC1_C1_DX3_DOUT0  	6
2381 #define USIC1_C1_DX3_DX5INS 	5
2382 #define USIC1_C1_DX3_P0_15  	1
2383 #define USIC1_C1_DX3_P2_4   	2
2384 #define USIC1_C1_DX3_P2_6   	4
2385 #define USIC1_C1_DX4_DX5INS 	5
2386 #define USIC1_C1_DX4_P0_15  	1
2387 #define USIC1_C1_DX4_P2_4   	2
2388 #define USIC1_C1_DX4_P2_6   	4
2389 #define USIC1_C1_DX4_SCLKOUT	6
2390 #define USIC1_C1_DX5_P0_14  	1
2391 #define USIC1_C1_DX5_P2_3   	2
2392 #define USIC1_C1_DX5_P2_5   	3
2393 #define USIC1_C1_DX5_P2_7   	4
2394 #define USIC1_C1_DX5_P4_4   	5
2395 #define USIC1_C1_DX5_SELO0  	6
2396 #endif
2397 
2398 
2399 #if (UC_DEVICE == XMC1402) && (UC_PACKAGE == VQFN64)
2400 #define USIC0_C0_DX0_DX3INS 	6
2401 #define USIC0_C0_DX0_P0_14  	0
2402 #define USIC0_C0_DX0_P0_15  	1
2403 #define USIC0_C0_DX0_P1_0   	2
2404 #define USIC0_C0_DX0_P1_1   	3
2405 #define USIC0_C0_DX0_P2_0   	4
2406 #define USIC0_C0_DX0_P2_1   	5
2407 #define USIC0_C0_DX1_DX0INS 	5
2408 #define USIC0_C0_DX1_DX4INS 	6
2409 #define USIC0_C0_DX1_P0_14  	0
2410 #define USIC0_C0_DX1_P0_7   	2
2411 #define USIC0_C0_DX1_P0_8   	1
2412 #define USIC0_C0_DX1_P1_1   	3
2413 #define USIC0_C0_DX1_P2_0   	4
2414 #define USIC0_C0_DX2_DX5INS 	6
2415 #define USIC0_C0_DX2_P0_0   	0
2416 #define USIC0_C0_DX2_P0_10  	2
2417 #define USIC0_C0_DX2_P0_11  	3
2418 #define USIC0_C0_DX2_P0_12  	4
2419 #define USIC0_C0_DX2_P0_13  	5
2420 #define USIC0_C0_DX2_P0_9   	1
2421 #define USIC0_C0_DX3_DOUT0  	6
2422 #define USIC0_C0_DX3_DX5INS 	5
2423 #define USIC0_C0_DX3_P2_10  	2
2424 #define USIC0_C0_DX3_P2_2   	0
2425 #define USIC0_C0_DX3_P2_4   	1
2426 #define USIC0_C0_DX3_P2_6   	4
2427 #define USIC0_C0_DX3_P2_8   	3
2428 #define USIC0_C0_DX4_DX5INS 	5
2429 #define USIC0_C0_DX4_P2_10  	2
2430 #define USIC0_C0_DX4_P2_2   	0
2431 #define USIC0_C0_DX4_P2_4   	1
2432 #define USIC0_C0_DX4_P2_6   	4
2433 #define USIC0_C0_DX4_P2_8   	3
2434 #define USIC0_C0_DX4_SCLKOUT	6
2435 #define USIC0_C0_DX5_P1_4   	4
2436 #define USIC0_C0_DX5_P1_6   	5
2437 #define USIC0_C0_DX5_P2_3   	1
2438 #define USIC0_C0_DX5_P2_5   	3
2439 #define USIC0_C0_DX5_P2_7   	2
2440 #define USIC0_C0_DX5_P2_9   	0
2441 #define USIC0_C0_DX5_SELO0  	6
2442 #define USIC0_C1_DX0_DX3INS 	6
2443 #define USIC0_C1_DX0_P0_6   	2
2444 #define USIC0_C1_DX0_P0_7   	3
2445 #define USIC0_C1_DX0_P1_2   	1
2446 #define USIC0_C1_DX0_P1_3   	0
2447 #define USIC0_C1_DX0_P2_10  	5
2448 #define USIC0_C1_DX0_P2_11  	4
2449 #define USIC0_C1_DX1_DX0INS 	5
2450 #define USIC0_C1_DX1_DX4INS 	6
2451 #define USIC0_C1_DX1_P0_7   	2
2452 #define USIC0_C1_DX1_P0_8   	1
2453 #define USIC0_C1_DX1_P1_3   	0
2454 #define USIC0_C1_DX1_P2_11  	4
2455 #define USIC0_C1_DX2_DX5INS 	6
2456 #define USIC0_C1_DX2_P0_0   	0
2457 #define USIC0_C1_DX2_P0_10  	2
2458 #define USIC0_C1_DX2_P0_11  	3
2459 #define USIC0_C1_DX2_P0_9   	1
2460 #define USIC0_C1_DX2_P1_1   	4
2461 #define USIC0_C1_DX2_P2_0   	5
2462 #define USIC0_C1_DX3_DOUT0  	6
2463 #define USIC0_C1_DX3_DX5INS 	5
2464 #define USIC0_C1_DX3_P2_1   	0
2465 #define USIC0_C1_DX3_P2_3   	2
2466 #define USIC0_C1_DX3_P2_5   	4
2467 #define USIC0_C1_DX3_P2_7   	3
2468 #define USIC0_C1_DX3_P2_9   	1
2469 #define USIC0_C1_DX4_DX5INS 	5
2470 #define USIC0_C1_DX4_P2_1   	0
2471 #define USIC0_C1_DX4_P2_3   	2
2472 #define USIC0_C1_DX4_P2_5   	4
2473 #define USIC0_C1_DX4_P2_7   	3
2474 #define USIC0_C1_DX4_P2_9   	1
2475 #define USIC0_C1_DX4_SCLKOUT	6
2476 #define USIC0_C1_DX5_P1_4   	4
2477 #define USIC0_C1_DX5_P1_5   	5
2478 #define USIC0_C1_DX5_P2_2   	0
2479 #define USIC0_C1_DX5_P2_4   	1
2480 #define USIC0_C1_DX5_P2_6   	3
2481 #define USIC0_C1_DX5_P2_8   	2
2482 #define USIC0_C1_DX5_SR0    	6
2483 #define USIC1_C0_DX0_DX3INS 	6
2484 #define USIC1_C0_DX0_P0_2   	0
2485 #define USIC1_C0_DX0_P0_3   	1
2486 #define USIC1_C0_DX0_P3_3   	4
2487 #define USIC1_C0_DX0_P3_4   	5
2488 #define USIC1_C0_DX0_P4_4   	2
2489 #define USIC1_C0_DX0_P4_5   	3
2490 #define USIC1_C0_DX1_DX0INS 	5
2491 #define USIC1_C0_DX1_DX4INS 	6
2492 #define USIC1_C0_DX1_P0_2   	0
2493 #define USIC1_C0_DX1_P3_4   	4
2494 #define USIC1_C0_DX1_P4_3   	1
2495 #define USIC1_C0_DX1_P4_5   	2
2496 #define USIC1_C0_DX1_P4_6   	3
2497 #define USIC1_C0_DX2_DX5INS 	6
2498 #define USIC1_C0_DX2_P3_1   	5
2499 #define USIC1_C0_DX2_P4_10  	3
2500 #define USIC1_C0_DX2_P4_11  	4
2501 #define USIC1_C0_DX2_P4_7   	0
2502 #define USIC1_C0_DX2_P4_8   	1
2503 #define USIC1_C0_DX2_P4_9   	2
2504 #define USIC1_C0_DX3_DOUT0  	6
2505 #define USIC1_C0_DX3_DX5INS 	5
2506 #define USIC1_C0_DX3_P1_8   	1
2507 #define USIC1_C0_DX3_P2_12  	0
2508 #define USIC1_C0_DX3_P2_3   	4
2509 #define USIC1_C0_DX3_P3_2   	2
2510 #define USIC1_C0_DX3_P4_0   	3
2511 #define USIC1_C0_DX4_DX5INS 	5
2512 #define USIC1_C0_DX4_P1_8   	1
2513 #define USIC1_C0_DX4_P2_12  	0
2514 #define USIC1_C0_DX4_P2_3   	4
2515 #define USIC1_C0_DX4_P3_2   	2
2516 #define USIC1_C0_DX4_P4_0   	3
2517 #define USIC1_C0_DX4_SCLKOUT	6
2518 #define USIC1_C0_DX5_P1_7   	1
2519 #define USIC1_C0_DX5_P2_13  	0
2520 #define USIC1_C0_DX5_P2_2   	4
2521 #define USIC1_C0_DX5_P2_4   	5
2522 #define USIC1_C0_DX5_P4_1   	2
2523 #define USIC1_C0_DX5_P4_2   	3
2524 #define USIC1_C0_DX5_SELO0  	6
2525 #define USIC1_C1_DX0_DX3INS 	6
2526 #define USIC1_C1_DX0_P0_0   	0
2527 #define USIC1_C1_DX0_P0_1   	1
2528 #define USIC1_C1_DX0_P2_12  	2
2529 #define USIC1_C1_DX0_P2_13  	3
2530 #define USIC1_C1_DX0_P3_0   	4
2531 #define USIC1_C1_DX0_P3_1   	5
2532 #define USIC1_C1_DX1_DX0INS 	5
2533 #define USIC1_C1_DX1_DX4INS 	6
2534 #define USIC1_C1_DX1_P0_1   	0
2535 #define USIC1_C1_DX1_P1_8   	2
2536 #define USIC1_C1_DX1_P2_12  	1
2537 #define USIC1_C1_DX1_P3_0   	3
2538 #define USIC1_C1_DX2_DX5INS 	6
2539 #define USIC1_C1_DX2_P1_7   	2
2540 #define USIC1_C1_DX2_P3_3   	0
2541 #define USIC1_C1_DX2_P3_4   	1
2542 #define USIC1_C1_DX2_SR0    	5
2543 #define USIC1_C1_DX3_DOUT0  	6
2544 #define USIC1_C1_DX3_DX5INS 	5
2545 #define USIC1_C1_DX3_P0_15  	1
2546 #define USIC1_C1_DX3_P2_4   	2
2547 #define USIC1_C1_DX3_P2_6   	4
2548 #define USIC1_C1_DX3_P3_2   	3
2549 #define USIC1_C1_DX3_P4_11  	0
2550 #define USIC1_C1_DX4_DX5INS 	5
2551 #define USIC1_C1_DX4_P0_15  	1
2552 #define USIC1_C1_DX4_P2_4   	2
2553 #define USIC1_C1_DX4_P2_6   	4
2554 #define USIC1_C1_DX4_P3_2   	3
2555 #define USIC1_C1_DX4_P4_11  	0
2556 #define USIC1_C1_DX4_SCLKOUT	6
2557 #define USIC1_C1_DX5_P0_14  	1
2558 #define USIC1_C1_DX5_P2_3   	2
2559 #define USIC1_C1_DX5_P2_5   	3
2560 #define USIC1_C1_DX5_P2_7   	4
2561 #define USIC1_C1_DX5_P4_10  	0
2562 #define USIC1_C1_DX5_P4_4   	5
2563 #define USIC1_C1_DX5_SELO0  	6
2564 #endif
2565 
2566 
2567 #if (UC_DEVICE == XMC1402) && (UC_PACKAGE == TSSOP38)
2568 #define USIC0_C0_DX0_DX3INS 	6
2569 #define USIC0_C0_DX0_P0_14  	0
2570 #define USIC0_C0_DX0_P0_15  	1
2571 #define USIC0_C0_DX0_P1_0   	2
2572 #define USIC0_C0_DX0_P1_1   	3
2573 #define USIC0_C0_DX0_P2_0   	4
2574 #define USIC0_C0_DX0_P2_1   	5
2575 #define USIC0_C0_DX1_DX0INS 	5
2576 #define USIC0_C0_DX1_DX4INS 	6
2577 #define USIC0_C0_DX1_P0_14  	0
2578 #define USIC0_C0_DX1_P0_7   	2
2579 #define USIC0_C0_DX1_P0_8   	1
2580 #define USIC0_C0_DX1_P1_1   	3
2581 #define USIC0_C0_DX1_P2_0   	4
2582 #define USIC0_C0_DX2_DX5INS 	6
2583 #define USIC0_C0_DX2_P0_0   	0
2584 #define USIC0_C0_DX2_P0_10  	2
2585 #define USIC0_C0_DX2_P0_11  	3
2586 #define USIC0_C0_DX2_P0_12  	4
2587 #define USIC0_C0_DX2_P0_13  	5
2588 #define USIC0_C0_DX2_P0_9   	1
2589 #define USIC0_C0_DX3_DOUT0  	6
2590 #define USIC0_C0_DX3_DX5INS 	5
2591 #define USIC0_C0_DX3_P2_10  	2
2592 #define USIC0_C0_DX3_P2_2   	0
2593 #define USIC0_C0_DX3_P2_4   	1
2594 #define USIC0_C0_DX3_P2_6   	4
2595 #define USIC0_C0_DX3_P2_8   	3
2596 #define USIC0_C0_DX4_DX5INS 	5
2597 #define USIC0_C0_DX4_P2_10  	2
2598 #define USIC0_C0_DX4_P2_2   	0
2599 #define USIC0_C0_DX4_P2_4   	1
2600 #define USIC0_C0_DX4_P2_6   	4
2601 #define USIC0_C0_DX4_P2_8   	3
2602 #define USIC0_C0_DX4_SCLKOUT	6
2603 #define USIC0_C0_DX5_P1_4   	4
2604 #define USIC0_C0_DX5_P2_3   	1
2605 #define USIC0_C0_DX5_P2_5   	3
2606 #define USIC0_C0_DX5_P2_7   	2
2607 #define USIC0_C0_DX5_P2_9   	0
2608 #define USIC0_C0_DX5_SELO0  	6
2609 #define USIC0_C1_DX0_DX3INS 	6
2610 #define USIC0_C1_DX0_P0_6   	2
2611 #define USIC0_C1_DX0_P0_7   	3
2612 #define USIC0_C1_DX0_P1_2   	1
2613 #define USIC0_C1_DX0_P1_3   	0
2614 #define USIC0_C1_DX0_P2_10  	5
2615 #define USIC0_C1_DX0_P2_11  	4
2616 #define USIC0_C1_DX1_DX0INS 	5
2617 #define USIC0_C1_DX1_DX4INS 	6
2618 #define USIC0_C1_DX1_P0_7   	2
2619 #define USIC0_C1_DX1_P0_8   	1
2620 #define USIC0_C1_DX1_P1_3   	0
2621 #define USIC0_C1_DX1_P2_11  	4
2622 #define USIC0_C1_DX2_DX5INS 	6
2623 #define USIC0_C1_DX2_P0_0   	0
2624 #define USIC0_C1_DX2_P0_10  	2
2625 #define USIC0_C1_DX2_P0_11  	3
2626 #define USIC0_C1_DX2_P0_9   	1
2627 #define USIC0_C1_DX2_P1_1   	4
2628 #define USIC0_C1_DX2_P2_0   	5
2629 #define USIC0_C1_DX3_DOUT0  	6
2630 #define USIC0_C1_DX3_DX5INS 	5
2631 #define USIC0_C1_DX3_P2_1   	0
2632 #define USIC0_C1_DX3_P2_3   	2
2633 #define USIC0_C1_DX3_P2_5   	4
2634 #define USIC0_C1_DX3_P2_7   	3
2635 #define USIC0_C1_DX3_P2_9   	1
2636 #define USIC0_C1_DX4_DX5INS 	5
2637 #define USIC0_C1_DX4_P2_1   	0
2638 #define USIC0_C1_DX4_P2_3   	2
2639 #define USIC0_C1_DX4_P2_5   	4
2640 #define USIC0_C1_DX4_P2_7   	3
2641 #define USIC0_C1_DX4_P2_9   	1
2642 #define USIC0_C1_DX4_SCLKOUT	6
2643 #define USIC0_C1_DX5_P1_4   	4
2644 #define USIC0_C1_DX5_P1_5   	5
2645 #define USIC0_C1_DX5_P2_2   	0
2646 #define USIC0_C1_DX5_P2_4   	1
2647 #define USIC0_C1_DX5_P2_6   	3
2648 #define USIC0_C1_DX5_P2_8   	2
2649 #define USIC0_C1_DX5_SR0    	6
2650 #define USIC1_C0_DX0_DX3INS 	6
2651 #define USIC1_C0_DX0_P0_2   	0
2652 #define USIC1_C0_DX0_P0_3   	1
2653 #define USIC1_C0_DX1_DX0INS 	5
2654 #define USIC1_C0_DX1_DX4INS 	6
2655 #define USIC1_C0_DX1_P0_2   	0
2656 #define USIC1_C0_DX2_DX5INS 	6
2657 #define USIC1_C0_DX3_DOUT0  	6
2658 #define USIC1_C0_DX3_DX5INS 	5
2659 #define USIC1_C0_DX3_P2_3   	4
2660 #define USIC1_C0_DX4_DX5INS 	5
2661 #define USIC1_C0_DX4_P2_3   	4
2662 #define USIC1_C0_DX4_SCLKOUT	6
2663 #define USIC1_C0_DX5_P2_2   	4
2664 #define USIC1_C0_DX5_P2_4   	5
2665 #define USIC1_C0_DX5_SELO0  	6
2666 #define USIC1_C1_DX0_DX3INS 	6
2667 #define USIC1_C1_DX0_P0_0   	0
2668 #define USIC1_C1_DX0_P0_1   	1
2669 #define USIC1_C1_DX1_DX0INS 	5
2670 #define USIC1_C1_DX1_DX4INS 	6
2671 #define USIC1_C1_DX1_P0_1   	0
2672 #define USIC1_C1_DX2_DX5INS 	6
2673 #define USIC1_C1_DX2_SR0    	5
2674 #define USIC1_C1_DX3_DOUT0  	6
2675 #define USIC1_C1_DX3_DX5INS 	5
2676 #define USIC1_C1_DX3_P0_15  	1
2677 #define USIC1_C1_DX3_P2_4   	2
2678 #define USIC1_C1_DX3_P2_6   	4
2679 #define USIC1_C1_DX4_DX5INS 	5
2680 #define USIC1_C1_DX4_P0_15  	1
2681 #define USIC1_C1_DX4_P2_4   	2
2682 #define USIC1_C1_DX4_P2_6   	4
2683 #define USIC1_C1_DX4_SCLKOUT	6
2684 #define USIC1_C1_DX5_P0_14  	1
2685 #define USIC1_C1_DX5_P2_3   	2
2686 #define USIC1_C1_DX5_P2_5   	3
2687 #define USIC1_C1_DX5_P2_7   	4
2688 #define USIC1_C1_DX5_SELO0  	6
2689 #endif
2690 
2691 
2692 #if (UC_DEVICE == XMC1403) && (UC_PACKAGE == VQFN40)
2693 #define USIC0_C0_DX0_DX3INS 	6
2694 #define USIC0_C0_DX0_P0_14  	0
2695 #define USIC0_C0_DX0_P0_15  	1
2696 #define USIC0_C0_DX0_P1_0   	2
2697 #define USIC0_C0_DX0_P1_1   	3
2698 #define USIC0_C0_DX0_P2_0   	4
2699 #define USIC0_C0_DX0_P2_1   	5
2700 #define USIC0_C0_DX1_DX0INS 	5
2701 #define USIC0_C0_DX1_DX4INS 	6
2702 #define USIC0_C0_DX1_P0_14  	0
2703 #define USIC0_C0_DX1_P0_7   	2
2704 #define USIC0_C0_DX1_P0_8   	1
2705 #define USIC0_C0_DX1_P1_1   	3
2706 #define USIC0_C0_DX1_P2_0   	4
2707 #define USIC0_C0_DX2_DX5INS 	6
2708 #define USIC0_C0_DX2_P0_0   	0
2709 #define USIC0_C0_DX2_P0_10  	2
2710 #define USIC0_C0_DX2_P0_11  	3
2711 #define USIC0_C0_DX2_P0_12  	4
2712 #define USIC0_C0_DX2_P0_13  	5
2713 #define USIC0_C0_DX2_P0_9   	1
2714 #define USIC0_C0_DX3_DOUT0  	6
2715 #define USIC0_C0_DX3_DX5INS 	5
2716 #define USIC0_C0_DX3_P2_10  	2
2717 #define USIC0_C0_DX3_P2_2   	0
2718 #define USIC0_C0_DX3_P2_4   	1
2719 #define USIC0_C0_DX3_P2_6   	4
2720 #define USIC0_C0_DX3_P2_8   	3
2721 #define USIC0_C0_DX4_DX5INS 	5
2722 #define USIC0_C0_DX4_P2_10  	2
2723 #define USIC0_C0_DX4_P2_2   	0
2724 #define USIC0_C0_DX4_P2_4   	1
2725 #define USIC0_C0_DX4_P2_6   	4
2726 #define USIC0_C0_DX4_P2_8   	3
2727 #define USIC0_C0_DX4_SCLKOUT	6
2728 #define USIC0_C0_DX5_P1_4   	4
2729 #define USIC0_C0_DX5_P1_6   	5
2730 #define USIC0_C0_DX5_P2_3   	1
2731 #define USIC0_C0_DX5_P2_5   	3
2732 #define USIC0_C0_DX5_P2_7   	2
2733 #define USIC0_C0_DX5_P2_9   	0
2734 #define USIC0_C0_DX5_SELO0  	6
2735 #define USIC0_C1_DX0_DX3INS 	6
2736 #define USIC0_C1_DX0_P0_6   	2
2737 #define USIC0_C1_DX0_P0_7   	3
2738 #define USIC0_C1_DX0_P1_2   	1
2739 #define USIC0_C1_DX0_P1_3   	0
2740 #define USIC0_C1_DX0_P2_10  	5
2741 #define USIC0_C1_DX0_P2_11  	4
2742 #define USIC0_C1_DX1_DX0INS 	5
2743 #define USIC0_C1_DX1_DX4INS 	6
2744 #define USIC0_C1_DX1_P0_7   	2
2745 #define USIC0_C1_DX1_P0_8   	1
2746 #define USIC0_C1_DX1_P1_3   	0
2747 #define USIC0_C1_DX1_P2_11  	4
2748 #define USIC0_C1_DX2_DX5INS 	6
2749 #define USIC0_C1_DX2_P0_0   	0
2750 #define USIC0_C1_DX2_P0_10  	2
2751 #define USIC0_C1_DX2_P0_11  	3
2752 #define USIC0_C1_DX2_P0_9   	1
2753 #define USIC0_C1_DX2_P1_1   	4
2754 #define USIC0_C1_DX2_P2_0   	5
2755 #define USIC0_C1_DX3_DOUT0  	6
2756 #define USIC0_C1_DX3_DX5INS 	5
2757 #define USIC0_C1_DX3_P2_1   	0
2758 #define USIC0_C1_DX3_P2_3   	2
2759 #define USIC0_C1_DX3_P2_5   	4
2760 #define USIC0_C1_DX3_P2_7   	3
2761 #define USIC0_C1_DX3_P2_9   	1
2762 #define USIC0_C1_DX4_DX5INS 	5
2763 #define USIC0_C1_DX4_P2_1   	0
2764 #define USIC0_C1_DX4_P2_3   	2
2765 #define USIC0_C1_DX4_P2_5   	4
2766 #define USIC0_C1_DX4_P2_7   	3
2767 #define USIC0_C1_DX4_P2_9   	1
2768 #define USIC0_C1_DX4_SCLKOUT	6
2769 #define USIC0_C1_DX5_P1_4   	4
2770 #define USIC0_C1_DX5_P1_5   	5
2771 #define USIC0_C1_DX5_P2_2   	0
2772 #define USIC0_C1_DX5_P2_4   	1
2773 #define USIC0_C1_DX5_P2_6   	3
2774 #define USIC0_C1_DX5_P2_8   	2
2775 #define USIC0_C1_DX5_SR0    	6
2776 #define USIC1_C0_DX0_DX3INS 	6
2777 #define USIC1_C0_DX0_P0_2   	0
2778 #define USIC1_C0_DX0_P0_3   	1
2779 #define USIC1_C0_DX1_DX0INS 	5
2780 #define USIC1_C0_DX1_DX4INS 	6
2781 #define USIC1_C0_DX1_P0_2   	0
2782 #define USIC1_C0_DX2_DX5INS 	6
2783 #define USIC1_C0_DX3_DOUT0  	6
2784 #define USIC1_C0_DX3_DX5INS 	5
2785 #define USIC1_C0_DX3_P2_3   	4
2786 #define USIC1_C0_DX4_DX5INS 	5
2787 #define USIC1_C0_DX4_P2_3   	4
2788 #define USIC1_C0_DX4_SCLKOUT	6
2789 #define USIC1_C0_DX5_P2_2   	4
2790 #define USIC1_C0_DX5_P2_4   	5
2791 #define USIC1_C0_DX5_SELO0  	6
2792 #define USIC1_C1_DX0_DX3INS 	6
2793 #define USIC1_C1_DX0_P0_0   	0
2794 #define USIC1_C1_DX0_P0_1   	1
2795 #define USIC1_C1_DX1_DX0INS 	5
2796 #define USIC1_C1_DX1_DX4INS 	6
2797 #define USIC1_C1_DX1_P0_1   	0
2798 #define USIC1_C1_DX2_DX5INS 	6
2799 #define USIC1_C1_DX2_SR0    	5
2800 #define USIC1_C1_DX3_DOUT0  	6
2801 #define USIC1_C1_DX3_DX5INS 	5
2802 #define USIC1_C1_DX3_P0_15  	1
2803 #define USIC1_C1_DX3_P2_4   	2
2804 #define USIC1_C1_DX3_P2_6   	4
2805 #define USIC1_C1_DX4_DX5INS 	5
2806 #define USIC1_C1_DX4_P0_15  	1
2807 #define USIC1_C1_DX4_P2_4   	2
2808 #define USIC1_C1_DX4_P2_6   	4
2809 #define USIC1_C1_DX4_SCLKOUT	6
2810 #define USIC1_C1_DX5_P0_14  	1
2811 #define USIC1_C1_DX5_P2_3   	2
2812 #define USIC1_C1_DX5_P2_5   	3
2813 #define USIC1_C1_DX5_P2_7   	4
2814 #define USIC1_C1_DX5_SELO0  	6
2815 #endif
2816 
2817 
2818 #if (UC_DEVICE == XMC1403) && (UC_PACKAGE == VQFN48)
2819 #define USIC0_C0_DX0_DX3INS 	6
2820 #define USIC0_C0_DX0_P0_14  	0
2821 #define USIC0_C0_DX0_P0_15  	1
2822 #define USIC0_C0_DX0_P1_0   	2
2823 #define USIC0_C0_DX0_P1_1   	3
2824 #define USIC0_C0_DX0_P2_0   	4
2825 #define USIC0_C0_DX0_P2_1   	5
2826 #define USIC0_C0_DX1_DX0INS 	5
2827 #define USIC0_C0_DX1_DX4INS 	6
2828 #define USIC0_C0_DX1_P0_14  	0
2829 #define USIC0_C0_DX1_P0_7   	2
2830 #define USIC0_C0_DX1_P0_8   	1
2831 #define USIC0_C0_DX1_P1_1   	3
2832 #define USIC0_C0_DX1_P2_0   	4
2833 #define USIC0_C0_DX2_DX5INS 	6
2834 #define USIC0_C0_DX2_P0_0   	0
2835 #define USIC0_C0_DX2_P0_10  	2
2836 #define USIC0_C0_DX2_P0_11  	3
2837 #define USIC0_C0_DX2_P0_12  	4
2838 #define USIC0_C0_DX2_P0_13  	5
2839 #define USIC0_C0_DX2_P0_9   	1
2840 #define USIC0_C0_DX3_DOUT0  	6
2841 #define USIC0_C0_DX3_DX5INS 	5
2842 #define USIC0_C0_DX3_P2_10  	2
2843 #define USIC0_C0_DX3_P2_2   	0
2844 #define USIC0_C0_DX3_P2_4   	1
2845 #define USIC0_C0_DX3_P2_6   	4
2846 #define USIC0_C0_DX3_P2_8   	3
2847 #define USIC0_C0_DX4_DX5INS 	5
2848 #define USIC0_C0_DX4_P2_10  	2
2849 #define USIC0_C0_DX4_P2_2   	0
2850 #define USIC0_C0_DX4_P2_4   	1
2851 #define USIC0_C0_DX4_P2_6   	4
2852 #define USIC0_C0_DX4_P2_8   	3
2853 #define USIC0_C0_DX4_SCLKOUT	6
2854 #define USIC0_C0_DX5_P1_4   	4
2855 #define USIC0_C0_DX5_P1_6   	5
2856 #define USIC0_C0_DX5_P2_3   	1
2857 #define USIC0_C0_DX5_P2_5   	3
2858 #define USIC0_C0_DX5_P2_7   	2
2859 #define USIC0_C0_DX5_P2_9   	0
2860 #define USIC0_C0_DX5_SELO0  	6
2861 #define USIC0_C1_DX0_DX3INS 	6
2862 #define USIC0_C1_DX0_P0_6   	2
2863 #define USIC0_C1_DX0_P0_7   	3
2864 #define USIC0_C1_DX0_P1_2   	1
2865 #define USIC0_C1_DX0_P1_3   	0
2866 #define USIC0_C1_DX0_P2_10  	5
2867 #define USIC0_C1_DX0_P2_11  	4
2868 #define USIC0_C1_DX1_DX0INS 	5
2869 #define USIC0_C1_DX1_DX4INS 	6
2870 #define USIC0_C1_DX1_P0_7   	2
2871 #define USIC0_C1_DX1_P0_8   	1
2872 #define USIC0_C1_DX1_P1_3   	0
2873 #define USIC0_C1_DX1_P2_11  	4
2874 #define USIC0_C1_DX2_DX5INS 	6
2875 #define USIC0_C1_DX2_P0_0   	0
2876 #define USIC0_C1_DX2_P0_10  	2
2877 #define USIC0_C1_DX2_P0_11  	3
2878 #define USIC0_C1_DX2_P0_9   	1
2879 #define USIC0_C1_DX2_P1_1   	4
2880 #define USIC0_C1_DX2_P2_0   	5
2881 #define USIC0_C1_DX3_DOUT0  	6
2882 #define USIC0_C1_DX3_DX5INS 	5
2883 #define USIC0_C1_DX3_P2_1   	0
2884 #define USIC0_C1_DX3_P2_3   	2
2885 #define USIC0_C1_DX3_P2_5   	4
2886 #define USIC0_C1_DX3_P2_7   	3
2887 #define USIC0_C1_DX3_P2_9   	1
2888 #define USIC0_C1_DX4_DX5INS 	5
2889 #define USIC0_C1_DX4_P2_1   	0
2890 #define USIC0_C1_DX4_P2_3   	2
2891 #define USIC0_C1_DX4_P2_5   	4
2892 #define USIC0_C1_DX4_P2_7   	3
2893 #define USIC0_C1_DX4_P2_9   	1
2894 #define USIC0_C1_DX4_SCLKOUT	6
2895 #define USIC0_C1_DX5_P1_4   	4
2896 #define USIC0_C1_DX5_P1_5   	5
2897 #define USIC0_C1_DX5_P2_2   	0
2898 #define USIC0_C1_DX5_P2_4   	1
2899 #define USIC0_C1_DX5_P2_6   	3
2900 #define USIC0_C1_DX5_P2_8   	2
2901 #define USIC0_C1_DX5_SR0    	6
2902 #define USIC1_C0_DX0_DX3INS 	6
2903 #define USIC1_C0_DX0_P0_2   	0
2904 #define USIC1_C0_DX0_P0_3   	1
2905 #define USIC1_C0_DX0_P4_4   	2
2906 #define USIC1_C0_DX0_P4_5   	3
2907 #define USIC1_C0_DX1_DX0INS 	5
2908 #define USIC1_C0_DX1_DX4INS 	6
2909 #define USIC1_C0_DX1_P0_2   	0
2910 #define USIC1_C0_DX1_P4_5   	2
2911 #define USIC1_C0_DX1_P4_6   	3
2912 #define USIC1_C0_DX2_DX5INS 	6
2913 #define USIC1_C0_DX2_P4_7   	0
2914 #define USIC1_C0_DX3_DOUT0  	6
2915 #define USIC1_C0_DX3_DX5INS 	5
2916 #define USIC1_C0_DX3_P2_12  	0
2917 #define USIC1_C0_DX3_P2_3   	4
2918 #define USIC1_C0_DX4_DX5INS 	5
2919 #define USIC1_C0_DX4_P2_12  	0
2920 #define USIC1_C0_DX4_P2_3   	4
2921 #define USIC1_C0_DX4_SCLKOUT	6
2922 #define USIC1_C0_DX5_P2_13  	0
2923 #define USIC1_C0_DX5_P2_2   	4
2924 #define USIC1_C0_DX5_P2_4   	5
2925 #define USIC1_C0_DX5_SELO0  	6
2926 #define USIC1_C1_DX0_DX3INS 	6
2927 #define USIC1_C1_DX0_P0_0   	0
2928 #define USIC1_C1_DX0_P0_1   	1
2929 #define USIC1_C1_DX0_P2_12  	2
2930 #define USIC1_C1_DX0_P2_13  	3
2931 #define USIC1_C1_DX0_P3_0   	4
2932 #define USIC1_C1_DX1_DX0INS 	5
2933 #define USIC1_C1_DX1_DX4INS 	6
2934 #define USIC1_C1_DX1_P0_1   	0
2935 #define USIC1_C1_DX1_P2_12  	1
2936 #define USIC1_C1_DX1_P3_0   	3
2937 #define USIC1_C1_DX2_DX5INS 	6
2938 #define USIC1_C1_DX2_SR0    	5
2939 #define USIC1_C1_DX3_DOUT0  	6
2940 #define USIC1_C1_DX3_DX5INS 	5
2941 #define USIC1_C1_DX3_P0_15  	1
2942 #define USIC1_C1_DX3_P2_4   	2
2943 #define USIC1_C1_DX3_P2_6   	4
2944 #define USIC1_C1_DX4_DX5INS 	5
2945 #define USIC1_C1_DX4_P0_15  	1
2946 #define USIC1_C1_DX4_P2_4   	2
2947 #define USIC1_C1_DX4_P2_6   	4
2948 #define USIC1_C1_DX4_SCLKOUT	6
2949 #define USIC1_C1_DX5_P0_14  	1
2950 #define USIC1_C1_DX5_P2_3   	2
2951 #define USIC1_C1_DX5_P2_5   	3
2952 #define USIC1_C1_DX5_P2_7   	4
2953 #define USIC1_C1_DX5_P4_4   	5
2954 #define USIC1_C1_DX5_SELO0  	6
2955 #endif
2956 
2957 
2958 #if (UC_DEVICE == XMC1403) && (UC_PACKAGE == VQFN64)
2959 #define USIC0_C0_DX0_DX3INS 	6
2960 #define USIC0_C0_DX0_P0_14  	0
2961 #define USIC0_C0_DX0_P0_15  	1
2962 #define USIC0_C0_DX0_P1_0   	2
2963 #define USIC0_C0_DX0_P1_1   	3
2964 #define USIC0_C0_DX0_P2_0   	4
2965 #define USIC0_C0_DX0_P2_1   	5
2966 #define USIC0_C0_DX1_DX0INS 	5
2967 #define USIC0_C0_DX1_DX4INS 	6
2968 #define USIC0_C0_DX1_P0_14  	0
2969 #define USIC0_C0_DX1_P0_7   	2
2970 #define USIC0_C0_DX1_P0_8   	1
2971 #define USIC0_C0_DX1_P1_1   	3
2972 #define USIC0_C0_DX1_P2_0   	4
2973 #define USIC0_C0_DX2_DX5INS 	6
2974 #define USIC0_C0_DX2_P0_0   	0
2975 #define USIC0_C0_DX2_P0_10  	2
2976 #define USIC0_C0_DX2_P0_11  	3
2977 #define USIC0_C0_DX2_P0_12  	4
2978 #define USIC0_C0_DX2_P0_13  	5
2979 #define USIC0_C0_DX2_P0_9   	1
2980 #define USIC0_C0_DX3_DOUT0  	6
2981 #define USIC0_C0_DX3_DX5INS 	5
2982 #define USIC0_C0_DX3_P2_10  	2
2983 #define USIC0_C0_DX3_P2_2   	0
2984 #define USIC0_C0_DX3_P2_4   	1
2985 #define USIC0_C0_DX3_P2_6   	4
2986 #define USIC0_C0_DX3_P2_8   	3
2987 #define USIC0_C0_DX4_DX5INS 	5
2988 #define USIC0_C0_DX4_P2_10  	2
2989 #define USIC0_C0_DX4_P2_2   	0
2990 #define USIC0_C0_DX4_P2_4   	1
2991 #define USIC0_C0_DX4_P2_6   	4
2992 #define USIC0_C0_DX4_P2_8   	3
2993 #define USIC0_C0_DX4_SCLKOUT	6
2994 #define USIC0_C0_DX5_P1_4   	4
2995 #define USIC0_C0_DX5_P1_6   	5
2996 #define USIC0_C0_DX5_P2_3   	1
2997 #define USIC0_C0_DX5_P2_5   	3
2998 #define USIC0_C0_DX5_P2_7   	2
2999 #define USIC0_C0_DX5_P2_9   	0
3000 #define USIC0_C0_DX5_SELO0  	6
3001 #define USIC0_C1_DX0_DX3INS 	6
3002 #define USIC0_C1_DX0_P0_6   	2
3003 #define USIC0_C1_DX0_P0_7   	3
3004 #define USIC0_C1_DX0_P1_2   	1
3005 #define USIC0_C1_DX0_P1_3   	0
3006 #define USIC0_C1_DX0_P2_10  	5
3007 #define USIC0_C1_DX0_P2_11  	4
3008 #define USIC0_C1_DX1_DX0INS 	5
3009 #define USIC0_C1_DX1_DX4INS 	6
3010 #define USIC0_C1_DX1_P0_7   	2
3011 #define USIC0_C1_DX1_P0_8   	1
3012 #define USIC0_C1_DX1_P1_3   	0
3013 #define USIC0_C1_DX1_P2_11  	4
3014 #define USIC0_C1_DX2_DX5INS 	6
3015 #define USIC0_C1_DX2_P0_0   	0
3016 #define USIC0_C1_DX2_P0_10  	2
3017 #define USIC0_C1_DX2_P0_11  	3
3018 #define USIC0_C1_DX2_P0_9   	1
3019 #define USIC0_C1_DX2_P1_1   	4
3020 #define USIC0_C1_DX2_P2_0   	5
3021 #define USIC0_C1_DX3_DOUT0  	6
3022 #define USIC0_C1_DX3_DX5INS 	5
3023 #define USIC0_C1_DX3_P2_1   	0
3024 #define USIC0_C1_DX3_P2_3   	2
3025 #define USIC0_C1_DX3_P2_5   	4
3026 #define USIC0_C1_DX3_P2_7   	3
3027 #define USIC0_C1_DX3_P2_9   	1
3028 #define USIC0_C1_DX4_DX5INS 	5
3029 #define USIC0_C1_DX4_P2_1   	0
3030 #define USIC0_C1_DX4_P2_3   	2
3031 #define USIC0_C1_DX4_P2_5   	4
3032 #define USIC0_C1_DX4_P2_7   	3
3033 #define USIC0_C1_DX4_P2_9   	1
3034 #define USIC0_C1_DX4_SCLKOUT	6
3035 #define USIC0_C1_DX5_P1_4   	4
3036 #define USIC0_C1_DX5_P1_5   	5
3037 #define USIC0_C1_DX5_P2_2   	0
3038 #define USIC0_C1_DX5_P2_4   	1
3039 #define USIC0_C1_DX5_P2_6   	3
3040 #define USIC0_C1_DX5_P2_8   	2
3041 #define USIC0_C1_DX5_SR0    	6
3042 #define USIC1_C0_DX0_DX3INS 	6
3043 #define USIC1_C0_DX0_P0_2   	0
3044 #define USIC1_C0_DX0_P0_3   	1
3045 #define USIC1_C0_DX0_P3_3   	4
3046 #define USIC1_C0_DX0_P3_4   	5
3047 #define USIC1_C0_DX0_P4_4   	2
3048 #define USIC1_C0_DX0_P4_5   	3
3049 #define USIC1_C0_DX1_DX0INS 	5
3050 #define USIC1_C0_DX1_DX4INS 	6
3051 #define USIC1_C0_DX1_P0_2   	0
3052 #define USIC1_C0_DX1_P3_4   	4
3053 #define USIC1_C0_DX1_P4_3   	1
3054 #define USIC1_C0_DX1_P4_5   	2
3055 #define USIC1_C0_DX1_P4_6   	3
3056 #define USIC1_C0_DX2_DX5INS 	6
3057 #define USIC1_C0_DX2_P3_1   	5
3058 #define USIC1_C0_DX2_P4_10  	3
3059 #define USIC1_C0_DX2_P4_11  	4
3060 #define USIC1_C0_DX2_P4_7   	0
3061 #define USIC1_C0_DX2_P4_8   	1
3062 #define USIC1_C0_DX2_P4_9   	2
3063 #define USIC1_C0_DX3_DOUT0  	6
3064 #define USIC1_C0_DX3_DX5INS 	5
3065 #define USIC1_C0_DX3_P1_8   	1
3066 #define USIC1_C0_DX3_P2_12  	0
3067 #define USIC1_C0_DX3_P2_3   	4
3068 #define USIC1_C0_DX3_P3_2   	2
3069 #define USIC1_C0_DX3_P4_0   	3
3070 #define USIC1_C0_DX4_DX5INS 	5
3071 #define USIC1_C0_DX4_P1_8   	1
3072 #define USIC1_C0_DX4_P2_12  	0
3073 #define USIC1_C0_DX4_P2_3   	4
3074 #define USIC1_C0_DX4_P3_2   	2
3075 #define USIC1_C0_DX4_P4_0   	3
3076 #define USIC1_C0_DX4_SCLKOUT	6
3077 #define USIC1_C0_DX5_P1_7   	1
3078 #define USIC1_C0_DX5_P2_13  	0
3079 #define USIC1_C0_DX5_P2_2   	4
3080 #define USIC1_C0_DX5_P2_4   	5
3081 #define USIC1_C0_DX5_P4_1   	2
3082 #define USIC1_C0_DX5_P4_2   	3
3083 #define USIC1_C0_DX5_SELO0  	6
3084 #define USIC1_C1_DX0_DX3INS 	6
3085 #define USIC1_C1_DX0_P0_0   	0
3086 #define USIC1_C1_DX0_P0_1   	1
3087 #define USIC1_C1_DX0_P2_12  	2
3088 #define USIC1_C1_DX0_P2_13  	3
3089 #define USIC1_C1_DX0_P3_0   	4
3090 #define USIC1_C1_DX0_P3_1   	5
3091 #define USIC1_C1_DX1_DX0INS 	5
3092 #define USIC1_C1_DX1_DX4INS 	6
3093 #define USIC1_C1_DX1_P0_1   	0
3094 #define USIC1_C1_DX1_P1_8   	2
3095 #define USIC1_C1_DX1_P2_12  	1
3096 #define USIC1_C1_DX1_P3_0   	3
3097 #define USIC1_C1_DX2_DX5INS 	6
3098 #define USIC1_C1_DX2_P1_7   	2
3099 #define USIC1_C1_DX2_P3_3   	0
3100 #define USIC1_C1_DX2_P3_4   	1
3101 #define USIC1_C1_DX2_SR0    	5
3102 #define USIC1_C1_DX3_DOUT0  	6
3103 #define USIC1_C1_DX3_DX5INS 	5
3104 #define USIC1_C1_DX3_P0_15  	1
3105 #define USIC1_C1_DX3_P2_4   	2
3106 #define USIC1_C1_DX3_P2_6   	4
3107 #define USIC1_C1_DX3_P3_2   	3
3108 #define USIC1_C1_DX3_P4_11  	0
3109 #define USIC1_C1_DX4_DX5INS 	5
3110 #define USIC1_C1_DX4_P0_15  	1
3111 #define USIC1_C1_DX4_P2_4   	2
3112 #define USIC1_C1_DX4_P2_6   	4
3113 #define USIC1_C1_DX4_P3_2   	3
3114 #define USIC1_C1_DX4_P4_11  	0
3115 #define USIC1_C1_DX4_SCLKOUT	6
3116 #define USIC1_C1_DX5_P0_14  	1
3117 #define USIC1_C1_DX5_P2_3   	2
3118 #define USIC1_C1_DX5_P2_5   	3
3119 #define USIC1_C1_DX5_P2_7   	4
3120 #define USIC1_C1_DX5_P4_10  	0
3121 #define USIC1_C1_DX5_P4_4   	5
3122 #define USIC1_C1_DX5_SELO0  	6
3123 #endif
3124 
3125 
3126 #if (UC_DEVICE == XMC1404) && (UC_PACKAGE == LQFP64)
3127 #define USIC0_C0_DX0_DX3INS 	6
3128 #define USIC0_C0_DX0_P0_14  	0
3129 #define USIC0_C0_DX0_P0_15  	1
3130 #define USIC0_C0_DX0_P1_0   	2
3131 #define USIC0_C0_DX0_P1_1   	3
3132 #define USIC0_C0_DX0_P2_0   	4
3133 #define USIC0_C0_DX0_P2_1   	5
3134 #define USIC0_C0_DX1_DX0INS 	5
3135 #define USIC0_C0_DX1_DX4INS 	6
3136 #define USIC0_C0_DX1_P0_14  	0
3137 #define USIC0_C0_DX1_P0_7   	2
3138 #define USIC0_C0_DX1_P0_8   	1
3139 #define USIC0_C0_DX1_P1_1   	3
3140 #define USIC0_C0_DX1_P2_0   	4
3141 #define USIC0_C0_DX2_DX5INS 	6
3142 #define USIC0_C0_DX2_P0_0   	0
3143 #define USIC0_C0_DX2_P0_10  	2
3144 #define USIC0_C0_DX2_P0_11  	3
3145 #define USIC0_C0_DX2_P0_12  	4
3146 #define USIC0_C0_DX2_P0_13  	5
3147 #define USIC0_C0_DX2_P0_9   	1
3148 #define USIC0_C0_DX3_DOUT0  	6
3149 #define USIC0_C0_DX3_DX5INS 	5
3150 #define USIC0_C0_DX3_P2_10  	2
3151 #define USIC0_C0_DX3_P2_2   	0
3152 #define USIC0_C0_DX3_P2_4   	1
3153 #define USIC0_C0_DX3_P2_6   	4
3154 #define USIC0_C0_DX3_P2_8   	3
3155 #define USIC0_C0_DX4_DX5INS 	5
3156 #define USIC0_C0_DX4_P2_10  	2
3157 #define USIC0_C0_DX4_P2_2   	0
3158 #define USIC0_C0_DX4_P2_4   	1
3159 #define USIC0_C0_DX4_P2_6   	4
3160 #define USIC0_C0_DX4_P2_8   	3
3161 #define USIC0_C0_DX4_SCLKOUT	6
3162 #define USIC0_C0_DX5_P1_4   	4
3163 #define USIC0_C0_DX5_P1_6   	5
3164 #define USIC0_C0_DX5_P2_3   	1
3165 #define USIC0_C0_DX5_P2_5   	3
3166 #define USIC0_C0_DX5_P2_7   	2
3167 #define USIC0_C0_DX5_P2_9   	0
3168 #define USIC0_C0_DX5_SELO0  	6
3169 #define USIC0_C1_DX0_DX3INS 	6
3170 #define USIC0_C1_DX0_P0_6   	2
3171 #define USIC0_C1_DX0_P0_7   	3
3172 #define USIC0_C1_DX0_P1_2   	1
3173 #define USIC0_C1_DX0_P1_3   	0
3174 #define USIC0_C1_DX0_P2_10  	5
3175 #define USIC0_C1_DX0_P2_11  	4
3176 #define USIC0_C1_DX1_DX0INS 	5
3177 #define USIC0_C1_DX1_DX4INS 	6
3178 #define USIC0_C1_DX1_P0_7   	2
3179 #define USIC0_C1_DX1_P0_8   	1
3180 #define USIC0_C1_DX1_P1_3   	0
3181 #define USIC0_C1_DX1_P2_11  	4
3182 #define USIC0_C1_DX2_DX5INS 	6
3183 #define USIC0_C1_DX2_P0_0   	0
3184 #define USIC0_C1_DX2_P0_10  	2
3185 #define USIC0_C1_DX2_P0_11  	3
3186 #define USIC0_C1_DX2_P0_9   	1
3187 #define USIC0_C1_DX2_P1_1   	4
3188 #define USIC0_C1_DX2_P2_0   	5
3189 #define USIC0_C1_DX3_DOUT0  	6
3190 #define USIC0_C1_DX3_DX5INS 	5
3191 #define USIC0_C1_DX3_P2_1   	0
3192 #define USIC0_C1_DX3_P2_3   	2
3193 #define USIC0_C1_DX3_P2_5   	4
3194 #define USIC0_C1_DX3_P2_7   	3
3195 #define USIC0_C1_DX3_P2_9   	1
3196 #define USIC0_C1_DX4_DX5INS 	5
3197 #define USIC0_C1_DX4_P2_1   	0
3198 #define USIC0_C1_DX4_P2_3   	2
3199 #define USIC0_C1_DX4_P2_5   	4
3200 #define USIC0_C1_DX4_P2_7   	3
3201 #define USIC0_C1_DX4_P2_9   	1
3202 #define USIC0_C1_DX4_SCLKOUT	6
3203 #define USIC0_C1_DX5_P1_4   	4
3204 #define USIC0_C1_DX5_P1_5   	5
3205 #define USIC0_C1_DX5_P2_2   	0
3206 #define USIC0_C1_DX5_P2_4   	1
3207 #define USIC0_C1_DX5_P2_6   	3
3208 #define USIC0_C1_DX5_P2_8   	2
3209 #define USIC0_C1_DX5_SR0    	6
3210 #define USIC1_C0_DX0_DX3INS 	6
3211 #define USIC1_C0_DX0_P0_2   	0
3212 #define USIC1_C0_DX0_P0_3   	1
3213 #define USIC1_C0_DX0_P3_3   	4
3214 #define USIC1_C0_DX0_P3_4   	5
3215 #define USIC1_C0_DX0_P4_4   	2
3216 #define USIC1_C0_DX0_P4_5   	3
3217 #define USIC1_C0_DX1_DX0INS 	5
3218 #define USIC1_C0_DX1_DX4INS 	6
3219 #define USIC1_C0_DX1_P0_2   	0
3220 #define USIC1_C0_DX1_P3_4   	4
3221 #define USIC1_C0_DX1_P4_3   	1
3222 #define USIC1_C0_DX1_P4_5   	2
3223 #define USIC1_C0_DX1_P4_6   	3
3224 #define USIC1_C0_DX2_DX5INS 	6
3225 #define USIC1_C0_DX2_P3_1   	5
3226 #define USIC1_C0_DX2_P4_10  	3
3227 #define USIC1_C0_DX2_P4_11  	4
3228 #define USIC1_C0_DX2_P4_7   	0
3229 #define USIC1_C0_DX2_P4_8   	1
3230 #define USIC1_C0_DX2_P4_9   	2
3231 #define USIC1_C0_DX3_DOUT0  	6
3232 #define USIC1_C0_DX3_DX5INS 	5
3233 #define USIC1_C0_DX3_P1_8   	1
3234 #define USIC1_C0_DX3_P2_12  	0
3235 #define USIC1_C0_DX3_P2_3   	4
3236 #define USIC1_C0_DX3_P3_2   	2
3237 #define USIC1_C0_DX3_P4_0   	3
3238 #define USIC1_C0_DX4_DX5INS 	5
3239 #define USIC1_C0_DX4_P1_8   	1
3240 #define USIC1_C0_DX4_P2_12  	0
3241 #define USIC1_C0_DX4_P2_3   	4
3242 #define USIC1_C0_DX4_P3_2   	2
3243 #define USIC1_C0_DX4_P4_0   	3
3244 #define USIC1_C0_DX4_SCLKOUT	6
3245 #define USIC1_C0_DX5_P1_7   	1
3246 #define USIC1_C0_DX5_P2_13  	0
3247 #define USIC1_C0_DX5_P2_2   	4
3248 #define USIC1_C0_DX5_P2_4   	5
3249 #define USIC1_C0_DX5_P4_1   	2
3250 #define USIC1_C0_DX5_P4_2   	3
3251 #define USIC1_C0_DX5_SELO0  	6
3252 #define USIC1_C1_DX0_DX3INS 	6
3253 #define USIC1_C1_DX0_P0_0   	0
3254 #define USIC1_C1_DX0_P0_1   	1
3255 #define USIC1_C1_DX0_P2_12  	2
3256 #define USIC1_C1_DX0_P2_13  	3
3257 #define USIC1_C1_DX0_P3_0   	4
3258 #define USIC1_C1_DX0_P3_1   	5
3259 #define USIC1_C1_DX1_DX0INS 	5
3260 #define USIC1_C1_DX1_DX4INS 	6
3261 #define USIC1_C1_DX1_P0_1   	0
3262 #define USIC1_C1_DX1_P1_8   	2
3263 #define USIC1_C1_DX1_P2_12  	1
3264 #define USIC1_C1_DX1_P3_0   	3
3265 #define USIC1_C1_DX2_DX5INS 	6
3266 #define USIC1_C1_DX2_P1_7   	2
3267 #define USIC1_C1_DX2_P3_3   	0
3268 #define USIC1_C1_DX2_P3_4   	1
3269 #define USIC1_C1_DX2_SR0    	5
3270 #define USIC1_C1_DX3_DOUT0  	6
3271 #define USIC1_C1_DX3_DX5INS 	5
3272 #define USIC1_C1_DX3_P0_15  	1
3273 #define USIC1_C1_DX3_P2_4   	2
3274 #define USIC1_C1_DX3_P2_6   	4
3275 #define USIC1_C1_DX3_P3_2   	3
3276 #define USIC1_C1_DX3_P4_11  	0
3277 #define USIC1_C1_DX4_DX5INS 	5
3278 #define USIC1_C1_DX4_P0_15  	1
3279 #define USIC1_C1_DX4_P2_4   	2
3280 #define USIC1_C1_DX4_P2_6   	4
3281 #define USIC1_C1_DX4_P3_2   	3
3282 #define USIC1_C1_DX4_P4_11  	0
3283 #define USIC1_C1_DX4_SCLKOUT	6
3284 #define USIC1_C1_DX5_P0_14  	1
3285 #define USIC1_C1_DX5_P2_3   	2
3286 #define USIC1_C1_DX5_P2_5   	3
3287 #define USIC1_C1_DX5_P2_7   	4
3288 #define USIC1_C1_DX5_P4_10  	0
3289 #define USIC1_C1_DX5_P4_4   	5
3290 #define USIC1_C1_DX5_SELO0  	6
3291 #endif
3292 
3293 
3294 #if (UC_DEVICE == XMC1404) && (UC_PACKAGE == VQFN48)
3295 #define USIC0_C0_DX0_DX3INS 	6
3296 #define USIC0_C0_DX0_P0_14  	0
3297 #define USIC0_C0_DX0_P0_15  	1
3298 #define USIC0_C0_DX0_P1_0   	2
3299 #define USIC0_C0_DX0_P1_1   	3
3300 #define USIC0_C0_DX0_P2_0   	4
3301 #define USIC0_C0_DX0_P2_1   	5
3302 #define USIC0_C0_DX1_DX0INS 	5
3303 #define USIC0_C0_DX1_DX4INS 	6
3304 #define USIC0_C0_DX1_P0_14  	0
3305 #define USIC0_C0_DX1_P0_7   	2
3306 #define USIC0_C0_DX1_P0_8   	1
3307 #define USIC0_C0_DX1_P1_1   	3
3308 #define USIC0_C0_DX1_P2_0   	4
3309 #define USIC0_C0_DX2_DX5INS 	6
3310 #define USIC0_C0_DX2_P0_0   	0
3311 #define USIC0_C0_DX2_P0_10  	2
3312 #define USIC0_C0_DX2_P0_11  	3
3313 #define USIC0_C0_DX2_P0_12  	4
3314 #define USIC0_C0_DX2_P0_13  	5
3315 #define USIC0_C0_DX2_P0_9   	1
3316 #define USIC0_C0_DX3_DOUT0  	6
3317 #define USIC0_C0_DX3_DX5INS 	5
3318 #define USIC0_C0_DX3_P2_10  	2
3319 #define USIC0_C0_DX3_P2_2   	0
3320 #define USIC0_C0_DX3_P2_4   	1
3321 #define USIC0_C0_DX3_P2_6   	4
3322 #define USIC0_C0_DX3_P2_8   	3
3323 #define USIC0_C0_DX4_DX5INS 	5
3324 #define USIC0_C0_DX4_P2_10  	2
3325 #define USIC0_C0_DX4_P2_2   	0
3326 #define USIC0_C0_DX4_P2_4   	1
3327 #define USIC0_C0_DX4_P2_6   	4
3328 #define USIC0_C0_DX4_P2_8   	3
3329 #define USIC0_C0_DX4_SCLKOUT	6
3330 #define USIC0_C0_DX5_P1_4   	4
3331 #define USIC0_C0_DX5_P1_6   	5
3332 #define USIC0_C0_DX5_P2_3   	1
3333 #define USIC0_C0_DX5_P2_5   	3
3334 #define USIC0_C0_DX5_P2_7   	2
3335 #define USIC0_C0_DX5_P2_9   	0
3336 #define USIC0_C0_DX5_SELO0  	6
3337 #define USIC0_C1_DX0_DX3INS 	6
3338 #define USIC0_C1_DX0_P0_6   	2
3339 #define USIC0_C1_DX0_P0_7   	3
3340 #define USIC0_C1_DX0_P1_2   	1
3341 #define USIC0_C1_DX0_P1_3   	0
3342 #define USIC0_C1_DX0_P2_10  	5
3343 #define USIC0_C1_DX0_P2_11  	4
3344 #define USIC0_C1_DX1_DX0INS 	5
3345 #define USIC0_C1_DX1_DX4INS 	6
3346 #define USIC0_C1_DX1_P0_7   	2
3347 #define USIC0_C1_DX1_P0_8   	1
3348 #define USIC0_C1_DX1_P1_3   	0
3349 #define USIC0_C1_DX1_P2_11  	4
3350 #define USIC0_C1_DX2_DX5INS 	6
3351 #define USIC0_C1_DX2_P0_0   	0
3352 #define USIC0_C1_DX2_P0_10  	2
3353 #define USIC0_C1_DX2_P0_11  	3
3354 #define USIC0_C1_DX2_P0_9   	1
3355 #define USIC0_C1_DX2_P1_1   	4
3356 #define USIC0_C1_DX2_P2_0   	5
3357 #define USIC0_C1_DX3_DOUT0  	6
3358 #define USIC0_C1_DX3_DX5INS 	5
3359 #define USIC0_C1_DX3_P2_1   	0
3360 #define USIC0_C1_DX3_P2_3   	2
3361 #define USIC0_C1_DX3_P2_5   	4
3362 #define USIC0_C1_DX3_P2_7   	3
3363 #define USIC0_C1_DX3_P2_9   	1
3364 #define USIC0_C1_DX4_DX5INS 	5
3365 #define USIC0_C1_DX4_P2_1   	0
3366 #define USIC0_C1_DX4_P2_3   	2
3367 #define USIC0_C1_DX4_P2_5   	4
3368 #define USIC0_C1_DX4_P2_7   	3
3369 #define USIC0_C1_DX4_P2_9   	1
3370 #define USIC0_C1_DX4_SCLKOUT	6
3371 #define USIC0_C1_DX5_P1_4   	4
3372 #define USIC0_C1_DX5_P1_5   	5
3373 #define USIC0_C1_DX5_P2_2   	0
3374 #define USIC0_C1_DX5_P2_4   	1
3375 #define USIC0_C1_DX5_P2_6   	3
3376 #define USIC0_C1_DX5_P2_8   	2
3377 #define USIC0_C1_DX5_SR0    	6
3378 #define USIC1_C0_DX0_DX3INS 	6
3379 #define USIC1_C0_DX0_P0_2   	0
3380 #define USIC1_C0_DX0_P0_3   	1
3381 #define USIC1_C0_DX0_P4_4   	2
3382 #define USIC1_C0_DX0_P4_5   	3
3383 #define USIC1_C0_DX1_DX0INS 	5
3384 #define USIC1_C0_DX1_DX4INS 	6
3385 #define USIC1_C0_DX1_P0_2   	0
3386 #define USIC1_C0_DX1_P4_5   	2
3387 #define USIC1_C0_DX1_P4_6   	3
3388 #define USIC1_C0_DX2_DX5INS 	6
3389 #define USIC1_C0_DX2_P4_7   	0
3390 #define USIC1_C0_DX3_DOUT0  	6
3391 #define USIC1_C0_DX3_DX5INS 	5
3392 #define USIC1_C0_DX3_P2_12  	0
3393 #define USIC1_C0_DX3_P2_3   	4
3394 #define USIC1_C0_DX4_DX5INS 	5
3395 #define USIC1_C0_DX4_P2_12  	0
3396 #define USIC1_C0_DX4_P2_3   	4
3397 #define USIC1_C0_DX4_SCLKOUT	6
3398 #define USIC1_C0_DX5_P2_13  	0
3399 #define USIC1_C0_DX5_P2_2   	4
3400 #define USIC1_C0_DX5_P2_4   	5
3401 #define USIC1_C0_DX5_SELO0  	6
3402 #define USIC1_C1_DX0_DX3INS 	6
3403 #define USIC1_C1_DX0_P0_0   	0
3404 #define USIC1_C1_DX0_P0_1   	1
3405 #define USIC1_C1_DX0_P2_12  	2
3406 #define USIC1_C1_DX0_P2_13  	3
3407 #define USIC1_C1_DX0_P3_0   	4
3408 #define USIC1_C1_DX1_DX0INS 	5
3409 #define USIC1_C1_DX1_DX4INS 	6
3410 #define USIC1_C1_DX1_P0_1   	0
3411 #define USIC1_C1_DX1_P2_12  	1
3412 #define USIC1_C1_DX1_P3_0   	3
3413 #define USIC1_C1_DX2_DX5INS 	6
3414 #define USIC1_C1_DX2_SR0    	5
3415 #define USIC1_C1_DX3_DOUT0  	6
3416 #define USIC1_C1_DX3_DX5INS 	5
3417 #define USIC1_C1_DX3_P0_15  	1
3418 #define USIC1_C1_DX3_P2_4   	2
3419 #define USIC1_C1_DX3_P2_6   	4
3420 #define USIC1_C1_DX4_DX5INS 	5
3421 #define USIC1_C1_DX4_P0_15  	1
3422 #define USIC1_C1_DX4_P2_4   	2
3423 #define USIC1_C1_DX4_P2_6   	4
3424 #define USIC1_C1_DX4_SCLKOUT	6
3425 #define USIC1_C1_DX5_P0_14  	1
3426 #define USIC1_C1_DX5_P2_3   	2
3427 #define USIC1_C1_DX5_P2_5   	3
3428 #define USIC1_C1_DX5_P2_7   	4
3429 #define USIC1_C1_DX5_P4_4   	5
3430 #define USIC1_C1_DX5_SELO0  	6
3431 #endif
3432 
3433 
3434 #if (UC_DEVICE == XMC1404) && (UC_PACKAGE == VQFN64)
3435 #define USIC0_C0_DX0_DX3INS 	6
3436 #define USIC0_C0_DX0_P0_14  	0
3437 #define USIC0_C0_DX0_P0_15  	1
3438 #define USIC0_C0_DX0_P1_0   	2
3439 #define USIC0_C0_DX0_P1_1   	3
3440 #define USIC0_C0_DX0_P2_0   	4
3441 #define USIC0_C0_DX0_P2_1   	5
3442 #define USIC0_C0_DX1_DX0INS 	5
3443 #define USIC0_C0_DX1_DX4INS 	6
3444 #define USIC0_C0_DX1_P0_14  	0
3445 #define USIC0_C0_DX1_P0_7   	2
3446 #define USIC0_C0_DX1_P0_8   	1
3447 #define USIC0_C0_DX1_P1_1   	3
3448 #define USIC0_C0_DX1_P2_0   	4
3449 #define USIC0_C0_DX2_DX5INS 	6
3450 #define USIC0_C0_DX2_P0_0   	0
3451 #define USIC0_C0_DX2_P0_10  	2
3452 #define USIC0_C0_DX2_P0_11  	3
3453 #define USIC0_C0_DX2_P0_12  	4
3454 #define USIC0_C0_DX2_P0_13  	5
3455 #define USIC0_C0_DX2_P0_9   	1
3456 #define USIC0_C0_DX3_DOUT0  	6
3457 #define USIC0_C0_DX3_DX5INS 	5
3458 #define USIC0_C0_DX3_P2_10  	2
3459 #define USIC0_C0_DX3_P2_2   	0
3460 #define USIC0_C0_DX3_P2_4   	1
3461 #define USIC0_C0_DX3_P2_6   	4
3462 #define USIC0_C0_DX3_P2_8   	3
3463 #define USIC0_C0_DX4_DX5INS 	5
3464 #define USIC0_C0_DX4_P2_10  	2
3465 #define USIC0_C0_DX4_P2_2   	0
3466 #define USIC0_C0_DX4_P2_4   	1
3467 #define USIC0_C0_DX4_P2_6   	4
3468 #define USIC0_C0_DX4_P2_8   	3
3469 #define USIC0_C0_DX4_SCLKOUT	6
3470 #define USIC0_C0_DX5_P1_4   	4
3471 #define USIC0_C0_DX5_P1_6   	5
3472 #define USIC0_C0_DX5_P2_3   	1
3473 #define USIC0_C0_DX5_P2_5   	3
3474 #define USIC0_C0_DX5_P2_7   	2
3475 #define USIC0_C0_DX5_P2_9   	0
3476 #define USIC0_C0_DX5_SELO0  	6
3477 #define USIC0_C1_DX0_DX3INS 	6
3478 #define USIC0_C1_DX0_P0_6   	2
3479 #define USIC0_C1_DX0_P0_7   	3
3480 #define USIC0_C1_DX0_P1_2   	1
3481 #define USIC0_C1_DX0_P1_3   	0
3482 #define USIC0_C1_DX0_P2_10  	5
3483 #define USIC0_C1_DX0_P2_11  	4
3484 #define USIC0_C1_DX1_DX0INS 	5
3485 #define USIC0_C1_DX1_DX4INS 	6
3486 #define USIC0_C1_DX1_P0_7   	2
3487 #define USIC0_C1_DX1_P0_8   	1
3488 #define USIC0_C1_DX1_P1_3   	0
3489 #define USIC0_C1_DX1_P2_11  	4
3490 #define USIC0_C1_DX2_DX5INS 	6
3491 #define USIC0_C1_DX2_P0_0   	0
3492 #define USIC0_C1_DX2_P0_10  	2
3493 #define USIC0_C1_DX2_P0_11  	3
3494 #define USIC0_C1_DX2_P0_9   	1
3495 #define USIC0_C1_DX2_P1_1   	4
3496 #define USIC0_C1_DX2_P2_0   	5
3497 #define USIC0_C1_DX3_DOUT0  	6
3498 #define USIC0_C1_DX3_DX5INS 	5
3499 #define USIC0_C1_DX3_P2_1   	0
3500 #define USIC0_C1_DX3_P2_3   	2
3501 #define USIC0_C1_DX3_P2_5   	4
3502 #define USIC0_C1_DX3_P2_7   	3
3503 #define USIC0_C1_DX3_P2_9   	1
3504 #define USIC0_C1_DX4_DX5INS 	5
3505 #define USIC0_C1_DX4_P2_1   	0
3506 #define USIC0_C1_DX4_P2_3   	2
3507 #define USIC0_C1_DX4_P2_5   	4
3508 #define USIC0_C1_DX4_P2_7   	3
3509 #define USIC0_C1_DX4_P2_9   	1
3510 #define USIC0_C1_DX4_SCLKOUT	6
3511 #define USIC0_C1_DX5_P1_4   	4
3512 #define USIC0_C1_DX5_P1_5   	5
3513 #define USIC0_C1_DX5_P2_2   	0
3514 #define USIC0_C1_DX5_P2_4   	1
3515 #define USIC0_C1_DX5_P2_6   	3
3516 #define USIC0_C1_DX5_P2_8   	2
3517 #define USIC0_C1_DX5_SR0    	6
3518 #define USIC1_C0_DX0_DX3INS 	6
3519 #define USIC1_C0_DX0_P0_2   	0
3520 #define USIC1_C0_DX0_P0_3   	1
3521 #define USIC1_C0_DX0_P3_3   	4
3522 #define USIC1_C0_DX0_P3_4   	5
3523 #define USIC1_C0_DX0_P4_4   	2
3524 #define USIC1_C0_DX0_P4_5   	3
3525 #define USIC1_C0_DX1_DX0INS 	5
3526 #define USIC1_C0_DX1_DX4INS 	6
3527 #define USIC1_C0_DX1_P0_2   	0
3528 #define USIC1_C0_DX1_P3_4   	4
3529 #define USIC1_C0_DX1_P4_3   	1
3530 #define USIC1_C0_DX1_P4_5   	2
3531 #define USIC1_C0_DX1_P4_6   	3
3532 #define USIC1_C0_DX2_DX5INS 	6
3533 #define USIC1_C0_DX2_P3_1   	5
3534 #define USIC1_C0_DX2_P4_10  	3
3535 #define USIC1_C0_DX2_P4_11  	4
3536 #define USIC1_C0_DX2_P4_7   	0
3537 #define USIC1_C0_DX2_P4_8   	1
3538 #define USIC1_C0_DX2_P4_9   	2
3539 #define USIC1_C0_DX3_DOUT0  	6
3540 #define USIC1_C0_DX3_DX5INS 	5
3541 #define USIC1_C0_DX3_P1_8   	1
3542 #define USIC1_C0_DX3_P2_12  	0
3543 #define USIC1_C0_DX3_P2_3   	4
3544 #define USIC1_C0_DX3_P3_2   	2
3545 #define USIC1_C0_DX3_P4_0   	3
3546 #define USIC1_C0_DX4_DX5INS 	5
3547 #define USIC1_C0_DX4_P1_8   	1
3548 #define USIC1_C0_DX4_P2_12  	0
3549 #define USIC1_C0_DX4_P2_3   	4
3550 #define USIC1_C0_DX4_P3_2   	2
3551 #define USIC1_C0_DX4_P4_0   	3
3552 #define USIC1_C0_DX4_SCLKOUT	6
3553 #define USIC1_C0_DX5_P1_7   	1
3554 #define USIC1_C0_DX5_P2_13  	0
3555 #define USIC1_C0_DX5_P2_2   	4
3556 #define USIC1_C0_DX5_P2_4   	5
3557 #define USIC1_C0_DX5_P4_1   	2
3558 #define USIC1_C0_DX5_P4_2   	3
3559 #define USIC1_C0_DX5_SELO0  	6
3560 #define USIC1_C1_DX0_DX3INS 	6
3561 #define USIC1_C1_DX0_P0_0   	0
3562 #define USIC1_C1_DX0_P0_1   	1
3563 #define USIC1_C1_DX0_P2_12  	2
3564 #define USIC1_C1_DX0_P2_13  	3
3565 #define USIC1_C1_DX0_P3_0   	4
3566 #define USIC1_C1_DX0_P3_1   	5
3567 #define USIC1_C1_DX1_DX0INS 	5
3568 #define USIC1_C1_DX1_DX4INS 	6
3569 #define USIC1_C1_DX1_P0_1   	0
3570 #define USIC1_C1_DX1_P1_8   	2
3571 #define USIC1_C1_DX1_P2_12  	1
3572 #define USIC1_C1_DX1_P3_0   	3
3573 #define USIC1_C1_DX2_DX5INS 	6
3574 #define USIC1_C1_DX2_P1_7   	2
3575 #define USIC1_C1_DX2_P3_3   	0
3576 #define USIC1_C1_DX2_P3_4   	1
3577 #define USIC1_C1_DX2_SR0    	5
3578 #define USIC1_C1_DX3_DOUT0  	6
3579 #define USIC1_C1_DX3_DX5INS 	5
3580 #define USIC1_C1_DX3_P0_15  	1
3581 #define USIC1_C1_DX3_P2_4   	2
3582 #define USIC1_C1_DX3_P2_6   	4
3583 #define USIC1_C1_DX3_P3_2   	3
3584 #define USIC1_C1_DX3_P4_11  	0
3585 #define USIC1_C1_DX4_DX5INS 	5
3586 #define USIC1_C1_DX4_P0_15  	1
3587 #define USIC1_C1_DX4_P2_4   	2
3588 #define USIC1_C1_DX4_P2_6   	4
3589 #define USIC1_C1_DX4_P3_2   	3
3590 #define USIC1_C1_DX4_P4_11  	0
3591 #define USIC1_C1_DX4_SCLKOUT	6
3592 #define USIC1_C1_DX5_P0_14  	1
3593 #define USIC1_C1_DX5_P2_3   	2
3594 #define USIC1_C1_DX5_P2_5   	3
3595 #define USIC1_C1_DX5_P2_7   	4
3596 #define USIC1_C1_DX5_P4_10  	0
3597 #define USIC1_C1_DX5_P4_4   	5
3598 #define USIC1_C1_DX5_SELO0  	6
3599 #endif
3600 
3601 #if (UC_DEVICE == XMC1404) && (UC_PACKAGE == VQFN40)
3602 #define USIC0_C0_DX0_DX3INS 	6
3603 #define USIC0_C0_DX0_P0_14  	0
3604 #define USIC0_C0_DX0_P0_15  	1
3605 #define USIC0_C0_DX0_P1_0   	2
3606 #define USIC0_C0_DX0_P1_1   	3
3607 #define USIC0_C0_DX0_P2_0   	4
3608 #define USIC0_C0_DX0_P2_1   	5
3609 #define USIC0_C0_DX1_DX0INS 	5
3610 #define USIC0_C0_DX1_DX4INS 	6
3611 #define USIC0_C0_DX1_P0_14  	0
3612 #define USIC0_C0_DX1_P0_7   	2
3613 #define USIC0_C0_DX1_P0_8   	1
3614 #define USIC0_C0_DX1_P1_1   	3
3615 #define USIC0_C0_DX1_P2_0   	4
3616 #define USIC0_C0_DX2_DX5INS 	6
3617 #define USIC0_C0_DX2_P0_0   	0
3618 #define USIC0_C0_DX2_P0_10  	2
3619 #define USIC0_C0_DX2_P0_11  	3
3620 #define USIC0_C0_DX2_P0_12  	4
3621 #define USIC0_C0_DX2_P0_13  	5
3622 #define USIC0_C0_DX2_P0_9   	1
3623 #define USIC0_C0_DX3_DOUT0  	6
3624 #define USIC0_C0_DX3_DX5INS 	5
3625 #define USIC0_C0_DX3_P2_10  	2
3626 #define USIC0_C0_DX3_P2_2   	0
3627 #define USIC0_C0_DX3_P2_4   	1
3628 #define USIC0_C0_DX3_P2_6   	4
3629 #define USIC0_C0_DX3_P2_8   	3
3630 #define USIC0_C0_DX4_DX5INS 	5
3631 #define USIC0_C0_DX4_P2_10  	2
3632 #define USIC0_C0_DX4_P2_2   	0
3633 #define USIC0_C0_DX4_P2_4   	1
3634 #define USIC0_C0_DX4_P2_6   	4
3635 #define USIC0_C0_DX4_P2_8   	3
3636 #define USIC0_C0_DX4_SCLKOUT	6
3637 #define USIC0_C0_DX5_P1_4   	4
3638 #define USIC0_C0_DX5_P1_6   	5
3639 #define USIC0_C0_DX5_P2_3   	1
3640 #define USIC0_C0_DX5_P2_5   	3
3641 #define USIC0_C0_DX5_P2_7   	2
3642 #define USIC0_C0_DX5_P2_9   	0
3643 #define USIC0_C0_DX5_SELO0  	6
3644 #define USIC0_C1_DX0_DX3INS 	6
3645 #define USIC0_C1_DX0_P0_6   	2
3646 #define USIC0_C1_DX0_P0_7   	3
3647 #define USIC0_C1_DX0_P1_2   	1
3648 #define USIC0_C1_DX0_P1_3   	0
3649 #define USIC0_C1_DX0_P2_10  	5
3650 #define USIC0_C1_DX0_P2_11  	4
3651 #define USIC0_C1_DX1_DX0INS 	5
3652 #define USIC0_C1_DX1_DX4INS 	6
3653 #define USIC0_C1_DX1_P0_7   	2
3654 #define USIC0_C1_DX1_P0_8   	1
3655 #define USIC0_C1_DX1_P1_3   	0
3656 #define USIC0_C1_DX1_P2_11  	4
3657 #define USIC0_C1_DX2_DX5INS 	6
3658 #define USIC0_C1_DX2_P0_0   	0
3659 #define USIC0_C1_DX2_P0_10  	2
3660 #define USIC0_C1_DX2_P0_11  	3
3661 #define USIC0_C1_DX2_P0_9   	1
3662 #define USIC0_C1_DX2_P1_1   	4
3663 #define USIC0_C1_DX2_P2_0   	5
3664 #define USIC0_C1_DX3_DOUT0  	6
3665 #define USIC0_C1_DX3_DX5INS 	5
3666 #define USIC0_C1_DX3_P2_1   	0
3667 #define USIC0_C1_DX3_P2_3   	2
3668 #define USIC0_C1_DX3_P2_5   	4
3669 #define USIC0_C1_DX3_P2_7   	3
3670 #define USIC0_C1_DX3_P2_9   	1
3671 #define USIC0_C1_DX4_DX5INS 	5
3672 #define USIC0_C1_DX4_P2_1   	0
3673 #define USIC0_C1_DX4_P2_3   	2
3674 #define USIC0_C1_DX4_P2_5   	4
3675 #define USIC0_C1_DX4_P2_7   	3
3676 #define USIC0_C1_DX4_P2_9   	1
3677 #define USIC0_C1_DX4_SCLKOUT	6
3678 #define USIC0_C1_DX5_P1_4   	4
3679 #define USIC0_C1_DX5_P1_5   	5
3680 #define USIC0_C1_DX5_P2_2   	0
3681 #define USIC0_C1_DX5_P2_4   	1
3682 #define USIC0_C1_DX5_P2_6   	3
3683 #define USIC0_C1_DX5_P2_8   	2
3684 #define USIC0_C1_DX5_SR0    	6
3685 #define USIC1_C0_DX0_DX3INS 	6
3686 #define USIC1_C0_DX0_P0_2   	0
3687 #define USIC1_C0_DX0_P0_3   	1
3688 #define USIC1_C0_DX1_DX0INS 	5
3689 #define USIC1_C0_DX1_DX4INS 	6
3690 #define USIC1_C0_DX1_P0_2   	0
3691 #define USIC1_C0_DX2_DX5INS 	6
3692 #define USIC1_C0_DX3_DOUT0  	6
3693 #define USIC1_C0_DX3_DX5INS 	5
3694 #define USIC1_C0_DX3_P2_3   	4
3695 #define USIC1_C0_DX4_DX5INS 	5
3696 #define USIC1_C0_DX4_P2_3   	4
3697 #define USIC1_C0_DX4_SCLKOUT	6
3698 #define USIC1_C0_DX5_P2_2   	4
3699 #define USIC1_C0_DX5_P2_4   	5
3700 #define USIC1_C0_DX5_SELO0  	6
3701 #define USIC1_C1_DX0_DX3INS 	6
3702 #define USIC1_C1_DX0_P0_0   	0
3703 #define USIC1_C1_DX0_P0_1   	1
3704 #define USIC1_C1_DX1_DX0INS 	5
3705 #define USIC1_C1_DX1_DX4INS 	6
3706 #define USIC1_C1_DX1_P0_1   	0
3707 #define USIC1_C1_DX2_DX5INS 	6
3708 #define USIC1_C1_DX2_SR0    	5
3709 #define USIC1_C1_DX3_DOUT0  	6
3710 #define USIC1_C1_DX3_DX5INS 	5
3711 #define USIC1_C1_DX3_P0_15  	1
3712 #define USIC1_C1_DX3_P2_4   	2
3713 #define USIC1_C1_DX3_P2_6   	4
3714 #define USIC1_C1_DX4_DX5INS 	5
3715 #define USIC1_C1_DX4_P0_15  	1
3716 #define USIC1_C1_DX4_P2_4   	2
3717 #define USIC1_C1_DX4_P2_6   	4
3718 #define USIC1_C1_DX4_SCLKOUT	6
3719 #define USIC1_C1_DX5_P0_14  	1
3720 #define USIC1_C1_DX5_P2_3   	2
3721 #define USIC1_C1_DX5_P2_5   	3
3722 #define USIC1_C1_DX5_P2_7   	4
3723 #define USIC1_C1_DX5_SELO0  	6
3724 #endif
3725 
3726 #endif /* XMC1_USIC_MAP_H */
3727