1 /**
2  * @file xmc4_usic_map.h
3  * @date 2016-07-20
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 XMC4800
44  *
45  * 2015-12-07:
46  *     - Add XMC4300 support
47  *
48  * 2016-07-20:
49  *     - Add missing USIC2_C1_DX0_P4_6,USIC1_C0_DX0_P1_14, USIC2_C0_DX0_P6_5, USIC2_C0_DX0_P9_4, USIC2_C1_DX1_P9_9, USIC2_C1_DX2_P9_8  for XMC47/48 BGA196
50  *     - Add missing USIC2_C1_DX0_P4_6, USIC1_C0_DX0_P1_14 for XMC47/48 LQFP100
51  *     - Add missing USIC2_C1_DX0_P4_6, USIC1_C0_DX0_P1_14, USIC2_C0_DX0_P6_5 for XMC47/48 LQFP144
52  *
53  * @endcond
54  *
55  */
56 
57 #ifndef XMC4_USIC_MAP_H
58 #define XMC4_USIC_MAP_H
59 
60 /*******************************************************************************
61  * MACROS
62  *******************************************************************************/
63 
64 #define USIC_INPUT_ALWAYS_1     7
65 
66 #if (UC_DEVICE == XMC4100) && (UC_PACKAGE == LQFP64)
67 #define USIC0_C0_DX0_DOUT0  	6
68 #define USIC0_C0_DX0_P1_4   	1
69 #define USIC0_C0_DX0_P1_5   	0
70 #define USIC0_C0_DX1_DX0INS 	5
71 #define USIC0_C0_DX1_P0_8   	1
72 #define USIC0_C0_DX1_P1_1   	0
73 #define USIC0_C0_DX1_SCLKOUT	6
74 #define USIC0_C0_DX2_CCU40_SR1	4
75 #define USIC0_C0_DX2_CCU80_SR1	5
76 #define USIC0_C0_DX2_P0_7   	1
77 #define USIC0_C0_DX2_P1_0   	0
78 #define USIC0_C0_DX2_SELO0  	6
79 #define USIC0_C0_DX3_DOUT1  	6
80 #define USIC0_C0_DX4_DOUT2  	6
81 #define USIC0_C0_DX5_DOUT3  	6
82 #define USIC0_C1_DX0_DOUT0  	6
83 #define USIC0_C1_DX0_P2_2   	0
84 #define USIC0_C1_DX0_P2_5   	1
85 #define USIC0_C1_DX1_DX0INS 	5
86 #define USIC0_C1_DX1_P2_4   	0
87 #define USIC0_C1_DX1_P3_0   	1
88 #define USIC0_C1_DX1_SCLKOUT	6
89 #define USIC0_C1_DX2_CCU80_SR1	5
90 #define USIC0_C1_DX2_P2_3   	0
91 #define USIC0_C1_DX2_SELO0  	6
92 #define USIC0_C1_DX3_DOUT1  	6
93 #define USIC0_C1_DX4_DOUT2  	6
94 #define USIC0_C1_DX5_DOUT3  	6
95 #define USIC1_C0_DX0_DOUT0  	6
96 #define USIC1_C0_DX0_P0_4   	0
97 #define USIC1_C0_DX0_P0_5   	1
98 #define USIC1_C0_DX0_P2_14  	3
99 #define USIC1_C0_DX0_P2_15  	2
100 #define USIC1_C0_DX1_DX0INS 	5
101 #define USIC1_C0_DX1_P0_11  	0
102 #define USIC1_C0_DX1_SCLKOUT	6
103 #define USIC1_C0_DX2_CCU41_SR1	4
104 #define USIC1_C0_DX2_P0_6   	0
105 #define USIC1_C0_DX2_SELO0  	6
106 #define USIC1_C0_DX3_DOUT1  	6
107 #define USIC1_C0_DX4_DOUT2  	6
108 #define USIC1_C0_DX5_DOUT3  	6
109 #define USIC1_C1_DX0_DOUT0  	6
110 #define USIC1_C1_DX0_P0_0   	3
111 #define USIC1_C1_DX1_DX0INS 	5
112 #define USIC1_C1_DX1_P0_10  	0
113 #define USIC1_C1_DX1_SCLKOUT	6
114 #define USIC1_C1_DX2_P0_9   	0
115 #define USIC1_C1_DX2_SELO0  	6
116 #define USIC1_C1_DX3_DOUT1  	6
117 #define USIC1_C1_DX4_DOUT2  	6
118 #define USIC1_C1_DX5_DOUT3  	6
119 #endif
120 
121 
122 #if (UC_DEVICE == XMC4100) && (UC_PACKAGE == VQFN48)
123 #define USIC0_C0_DX0_DOUT0  	6
124 #define USIC0_C0_DX0_P1_4   	1
125 #define USIC0_C0_DX0_P1_5   	0
126 #define USIC0_C0_DX1_DX0INS 	5
127 #define USIC0_C0_DX1_P0_8   	1
128 #define USIC0_C0_DX1_P1_1   	0
129 #define USIC0_C0_DX1_SCLKOUT	6
130 #define USIC0_C0_DX2_CCU40_SR1	4
131 #define USIC0_C0_DX2_CCU80_SR1	5
132 #define USIC0_C0_DX2_P0_7   	1
133 #define USIC0_C0_DX2_P1_0   	0
134 #define USIC0_C0_DX2_SELO0  	6
135 #define USIC0_C0_DX3_DOUT1  	6
136 #define USIC0_C0_DX4_DOUT2  	6
137 #define USIC0_C0_DX5_DOUT3  	6
138 #define USIC0_C1_DX0_DOUT0  	6
139 #define USIC0_C1_DX0_P2_2   	0
140 #define USIC0_C1_DX0_P2_5   	1
141 #define USIC0_C1_DX1_DX0INS 	5
142 #define USIC0_C1_DX1_P2_4   	0
143 #define USIC0_C1_DX1_SCLKOUT	6
144 #define USIC0_C1_DX2_CCU80_SR1	5
145 #define USIC0_C1_DX2_P2_3   	0
146 #define USIC0_C1_DX2_SELO0  	6
147 #define USIC0_C1_DX3_DOUT1  	6
148 #define USIC0_C1_DX4_DOUT2  	6
149 #define USIC0_C1_DX5_DOUT3  	6
150 #define USIC1_C0_DX0_DOUT0  	6
151 #define USIC1_C0_DX0_P0_4   	0
152 #define USIC1_C0_DX0_P0_5   	1
153 #define USIC1_C0_DX1_DX0INS 	5
154 #define USIC1_C0_DX1_SCLKOUT	6
155 #define USIC1_C0_DX2_CCU41_SR1	4
156 #define USIC1_C0_DX2_P0_6   	0
157 #define USIC1_C0_DX2_SELO0  	6
158 #define USIC1_C0_DX3_DOUT1  	6
159 #define USIC1_C0_DX4_DOUT2  	6
160 #define USIC1_C0_DX5_DOUT3  	6
161 #define USIC1_C1_DX0_DOUT0  	6
162 #define USIC1_C1_DX0_P0_0   	3
163 #define USIC1_C1_DX1_DX0INS 	5
164 #define USIC1_C1_DX1_SCLKOUT	6
165 #define USIC1_C1_DX2_SELO0  	6
166 #define USIC1_C1_DX3_DOUT1  	6
167 #define USIC1_C1_DX4_DOUT2  	6
168 #define USIC1_C1_DX5_DOUT3  	6
169 #endif
170 
171 
172 #if (UC_DEVICE == XMC4104) && (UC_PACKAGE == LQFP64)
173 #define USIC0_C0_DX0_DOUT0  	6
174 #define USIC0_C0_DX0_P1_4   	1
175 #define USIC0_C0_DX0_P1_5   	0
176 #define USIC0_C0_DX1_DX0INS 	5
177 #define USIC0_C0_DX1_P0_8   	1
178 #define USIC0_C0_DX1_P1_1   	0
179 #define USIC0_C0_DX1_SCLKOUT	6
180 #define USIC0_C0_DX2_CCU40_SR1	4
181 #define USIC0_C0_DX2_CCU80_SR1	5
182 #define USIC0_C0_DX2_P0_7   	1
183 #define USIC0_C0_DX2_P1_0   	0
184 #define USIC0_C0_DX2_SELO0  	6
185 #define USIC0_C0_DX3_DOUT1  	6
186 #define USIC0_C0_DX4_DOUT2  	6
187 #define USIC0_C0_DX5_DOUT3  	6
188 #define USIC0_C1_DX0_DOUT0  	6
189 #define USIC0_C1_DX0_P2_2   	0
190 #define USIC0_C1_DX0_P2_5   	1
191 #define USIC0_C1_DX1_DX0INS 	5
192 #define USIC0_C1_DX1_P2_4   	0
193 #define USIC0_C1_DX1_P3_0   	1
194 #define USIC0_C1_DX1_SCLKOUT	6
195 #define USIC0_C1_DX2_CCU80_SR1	5
196 #define USIC0_C1_DX2_P2_3   	0
197 #define USIC0_C1_DX2_SELO0  	6
198 #define USIC0_C1_DX3_DOUT1  	6
199 #define USIC0_C1_DX4_DOUT2  	6
200 #define USIC0_C1_DX5_DOUT3  	6
201 #define USIC1_C0_DX0_DOUT0  	6
202 #define USIC1_C0_DX0_P0_4   	0
203 #define USIC1_C0_DX0_P0_5   	1
204 #define USIC1_C0_DX0_P2_14  	3
205 #define USIC1_C0_DX0_P2_15  	2
206 #define USIC1_C0_DX1_DX0INS 	5
207 #define USIC1_C0_DX1_P0_11  	0
208 #define USIC1_C0_DX1_SCLKOUT	6
209 #define USIC1_C0_DX2_CCU41_SR1	4
210 #define USIC1_C0_DX2_P0_6   	0
211 #define USIC1_C0_DX2_SELO0  	6
212 #define USIC1_C0_DX3_DOUT1  	6
213 #define USIC1_C0_DX4_DOUT2  	6
214 #define USIC1_C0_DX5_DOUT3  	6
215 #define USIC1_C1_DX0_DOUT0  	6
216 #define USIC1_C1_DX0_P0_0   	3
217 #define USIC1_C1_DX1_DX0INS 	5
218 #define USIC1_C1_DX1_P0_10  	0
219 #define USIC1_C1_DX1_SCLKOUT	6
220 #define USIC1_C1_DX2_P0_9   	0
221 #define USIC1_C1_DX2_SELO0  	6
222 #define USIC1_C1_DX3_DOUT1  	6
223 #define USIC1_C1_DX4_DOUT2  	6
224 #define USIC1_C1_DX5_DOUT3  	6
225 #endif
226 
227 
228 #if (UC_DEVICE == XMC4104) && (UC_PACKAGE == VQFN48)
229 #define USIC0_C0_DX0_DOUT0  	6
230 #define USIC0_C0_DX0_P1_4   	1
231 #define USIC0_C0_DX0_P1_5   	0
232 #define USIC0_C0_DX1_DX0INS 	5
233 #define USIC0_C0_DX1_P0_8   	1
234 #define USIC0_C0_DX1_P1_1   	0
235 #define USIC0_C0_DX1_SCLKOUT	6
236 #define USIC0_C0_DX2_CCU40_SR1	4
237 #define USIC0_C0_DX2_CCU80_SR1	5
238 #define USIC0_C0_DX2_P0_7   	1
239 #define USIC0_C0_DX2_P1_0   	0
240 #define USIC0_C0_DX2_SELO0  	6
241 #define USIC0_C0_DX3_DOUT1  	6
242 #define USIC0_C0_DX4_DOUT2  	6
243 #define USIC0_C0_DX5_DOUT3  	6
244 #define USIC0_C1_DX0_DOUT0  	6
245 #define USIC0_C1_DX0_P2_2   	0
246 #define USIC0_C1_DX0_P2_5   	1
247 #define USIC0_C1_DX1_DX0INS 	5
248 #define USIC0_C1_DX1_P2_4   	0
249 #define USIC0_C1_DX1_SCLKOUT	6
250 #define USIC0_C1_DX2_CCU80_SR1	5
251 #define USIC0_C1_DX2_P2_3   	0
252 #define USIC0_C1_DX2_SELO0  	6
253 #define USIC0_C1_DX3_DOUT1  	6
254 #define USIC0_C1_DX4_DOUT2  	6
255 #define USIC0_C1_DX5_DOUT3  	6
256 #define USIC1_C0_DX0_DOUT0  	6
257 #define USIC1_C0_DX0_P0_4   	0
258 #define USIC1_C0_DX0_P0_5   	1
259 #define USIC1_C0_DX1_DX0INS 	5
260 #define USIC1_C0_DX1_SCLKOUT	6
261 #define USIC1_C0_DX2_CCU41_SR1	4
262 #define USIC1_C0_DX2_P0_6   	0
263 #define USIC1_C0_DX2_SELO0  	6
264 #define USIC1_C0_DX3_DOUT1  	6
265 #define USIC1_C0_DX4_DOUT2  	6
266 #define USIC1_C0_DX5_DOUT3  	6
267 #define USIC1_C1_DX0_DOUT0  	6
268 #define USIC1_C1_DX0_P0_0   	3
269 #define USIC1_C1_DX1_DX0INS 	5
270 #define USIC1_C1_DX1_SCLKOUT	6
271 #define USIC1_C1_DX2_SELO0  	6
272 #define USIC1_C1_DX3_DOUT1  	6
273 #define USIC1_C1_DX4_DOUT2  	6
274 #define USIC1_C1_DX5_DOUT3  	6
275 #endif
276 
277 
278 #if (UC_DEVICE == XMC4108) && (UC_PACKAGE == LQFP64)
279 #define USIC0_C0_DX0_DOUT0  	6
280 #define USIC0_C0_DX0_P1_4   	1
281 #define USIC0_C0_DX0_P1_5   	0
282 #define USIC0_C0_DX1_DX0INS 	5
283 #define USIC0_C0_DX1_P0_8   	1
284 #define USIC0_C0_DX1_P1_1   	0
285 #define USIC0_C0_DX1_SCLKOUT	6
286 #define USIC0_C0_DX2_CCU40_SR1	4
287 #define USIC0_C0_DX2_CCU80_SR1	5
288 #define USIC0_C0_DX2_P0_7   	1
289 #define USIC0_C0_DX2_P1_0   	0
290 #define USIC0_C0_DX2_SELO0  	6
291 #define USIC0_C0_DX3_DOUT1  	6
292 #define USIC0_C0_DX4_DOUT2  	6
293 #define USIC0_C0_DX5_DOUT3  	6
294 #define USIC0_C1_DX0_DOUT0  	6
295 #define USIC0_C1_DX0_P2_2   	0
296 #define USIC0_C1_DX0_P2_5   	1
297 #define USIC0_C1_DX1_DX0INS 	5
298 #define USIC0_C1_DX1_P2_4   	0
299 #define USIC0_C1_DX1_P3_0   	1
300 #define USIC0_C1_DX1_SCLKOUT	6
301 #define USIC0_C1_DX2_CCU80_SR1	5
302 #define USIC0_C1_DX2_P2_3   	0
303 #define USIC0_C1_DX2_SELO0  	6
304 #define USIC0_C1_DX3_DOUT1  	6
305 #define USIC0_C1_DX4_DOUT2  	6
306 #define USIC0_C1_DX5_DOUT3  	6
307 #define USIC1_C0_DX0_DOUT0  	6
308 #define USIC1_C0_DX0_P0_4   	0
309 #define USIC1_C0_DX0_P0_5   	1
310 #define USIC1_C0_DX0_P2_14  	3
311 #define USIC1_C0_DX0_P2_15  	2
312 #define USIC1_C0_DX1_DX0INS 	5
313 #define USIC1_C0_DX1_P0_11  	0
314 #define USIC1_C0_DX1_SCLKOUT	6
315 #define USIC1_C0_DX2_CCU41_SR1	4
316 #define USIC1_C0_DX2_P0_6   	0
317 #define USIC1_C0_DX2_SELO0  	6
318 #define USIC1_C0_DX3_DOUT1  	6
319 #define USIC1_C0_DX4_DOUT2  	6
320 #define USIC1_C0_DX5_DOUT3  	6
321 #define USIC1_C1_DX0_DOUT0  	6
322 #define USIC1_C1_DX0_P0_0   	3
323 #define USIC1_C1_DX1_DX0INS 	5
324 #define USIC1_C1_DX1_P0_10  	0
325 #define USIC1_C1_DX1_SCLKOUT	6
326 #define USIC1_C1_DX2_P0_9   	0
327 #define USIC1_C1_DX2_SELO0  	6
328 #define USIC1_C1_DX3_DOUT1  	6
329 #define USIC1_C1_DX4_DOUT2  	6
330 #define USIC1_C1_DX5_DOUT3  	6
331 #endif
332 
333 
334 #if (UC_DEVICE == XMC4108) && (UC_PACKAGE == VQFN48)
335 #define USIC0_C0_DX0_DOUT0  	6
336 #define USIC0_C0_DX0_P1_4   	1
337 #define USIC0_C0_DX0_P1_5   	0
338 #define USIC0_C0_DX1_DX0INS 	5
339 #define USIC0_C0_DX1_P0_8   	1
340 #define USIC0_C0_DX1_P1_1   	0
341 #define USIC0_C0_DX1_SCLKOUT	6
342 #define USIC0_C0_DX2_CCU40_SR1	4
343 #define USIC0_C0_DX2_CCU80_SR1	5
344 #define USIC0_C0_DX2_P0_7   	1
345 #define USIC0_C0_DX2_P1_0   	0
346 #define USIC0_C0_DX2_SELO0  	6
347 #define USIC0_C0_DX3_DOUT1  	6
348 #define USIC0_C0_DX4_DOUT2  	6
349 #define USIC0_C0_DX5_DOUT3  	6
350 #define USIC0_C1_DX0_DOUT0  	6
351 #define USIC0_C1_DX0_P2_2   	0
352 #define USIC0_C1_DX0_P2_5   	1
353 #define USIC0_C1_DX1_DX0INS 	5
354 #define USIC0_C1_DX1_P2_4   	0
355 #define USIC0_C1_DX1_SCLKOUT	6
356 #define USIC0_C1_DX2_CCU80_SR1	5
357 #define USIC0_C1_DX2_P2_3   	0
358 #define USIC0_C1_DX2_SELO0  	6
359 #define USIC0_C1_DX3_DOUT1  	6
360 #define USIC0_C1_DX4_DOUT2  	6
361 #define USIC0_C1_DX5_DOUT3  	6
362 #define USIC1_C0_DX0_DOUT0  	6
363 #define USIC1_C0_DX0_P0_4   	0
364 #define USIC1_C0_DX0_P0_5   	1
365 #define USIC1_C0_DX1_DX0INS 	5
366 #define USIC1_C0_DX1_SCLKOUT	6
367 #define USIC1_C0_DX2_CCU41_SR1	4
368 #define USIC1_C0_DX2_P0_6   	0
369 #define USIC1_C0_DX2_SELO0  	6
370 #define USIC1_C0_DX3_DOUT1  	6
371 #define USIC1_C0_DX4_DOUT2  	6
372 #define USIC1_C0_DX5_DOUT3  	6
373 #define USIC1_C1_DX0_DOUT0  	6
374 #define USIC1_C1_DX0_P0_0   	3
375 #define USIC1_C1_DX1_DX0INS 	5
376 #define USIC1_C1_DX1_SCLKOUT	6
377 #define USIC1_C1_DX2_SELO0  	6
378 #define USIC1_C1_DX3_DOUT1  	6
379 #define USIC1_C1_DX4_DOUT2  	6
380 #define USIC1_C1_DX5_DOUT3  	6
381 #endif
382 
383 
384 #if (UC_DEVICE == XMC4200) && (UC_PACKAGE == LQFP64)
385 #define USIC0_C0_DX0_DOUT0  	6
386 #define USIC0_C0_DX0_P1_4   	1
387 #define USIC0_C0_DX0_P1_5   	0
388 #define USIC0_C0_DX1_DX0INS 	5
389 #define USIC0_C0_DX1_P0_8   	1
390 #define USIC0_C0_DX1_P1_1   	0
391 #define USIC0_C0_DX1_SCLKOUT	6
392 #define USIC0_C0_DX2_CCU40_SR1	4
393 #define USIC0_C0_DX2_CCU80_SR1	5
394 #define USIC0_C0_DX2_P0_7   	1
395 #define USIC0_C0_DX2_P1_0   	0
396 #define USIC0_C0_DX2_SELO0  	6
397 #define USIC0_C0_DX3_DOUT1  	6
398 #define USIC0_C0_DX4_DOUT2  	6
399 #define USIC0_C0_DX5_DOUT3  	6
400 #define USIC0_C1_DX0_DOUT0  	6
401 #define USIC0_C1_DX0_P2_2   	0
402 #define USIC0_C1_DX0_P2_5   	1
403 #define USIC0_C1_DX1_DX0INS 	5
404 #define USIC0_C1_DX1_P2_4   	0
405 #define USIC0_C1_DX1_P3_0   	1
406 #define USIC0_C1_DX1_SCLKOUT	6
407 #define USIC0_C1_DX2_CCU80_SR1	5
408 #define USIC0_C1_DX2_P2_3   	0
409 #define USIC0_C1_DX2_SELO0  	6
410 #define USIC0_C1_DX3_DOUT1  	6
411 #define USIC0_C1_DX4_DOUT2  	6
412 #define USIC0_C1_DX5_DOUT3  	6
413 #define USIC1_C0_DX0_DOUT0  	6
414 #define USIC1_C0_DX0_P0_4   	0
415 #define USIC1_C0_DX0_P0_5   	1
416 #define USIC1_C0_DX0_P2_14  	3
417 #define USIC1_C0_DX0_P2_15  	2
418 #define USIC1_C0_DX1_DX0INS 	5
419 #define USIC1_C0_DX1_P0_11  	0
420 #define USIC1_C0_DX1_SCLKOUT	6
421 #define USIC1_C0_DX2_CCU41_SR1	4
422 #define USIC1_C0_DX2_P0_6   	0
423 #define USIC1_C0_DX2_SELO0  	6
424 #define USIC1_C0_DX3_DOUT1  	6
425 #define USIC1_C0_DX4_DOUT2  	6
426 #define USIC1_C0_DX5_DOUT3  	6
427 #define USIC1_C1_DX0_DOUT0  	6
428 #define USIC1_C1_DX0_P0_0   	3
429 #define USIC1_C1_DX1_DX0INS 	5
430 #define USIC1_C1_DX1_P0_10  	0
431 #define USIC1_C1_DX1_SCLKOUT	6
432 #define USIC1_C1_DX2_P0_9   	0
433 #define USIC1_C1_DX2_SELO0  	6
434 #define USIC1_C1_DX3_DOUT1  	6
435 #define USIC1_C1_DX4_DOUT2  	6
436 #define USIC1_C1_DX5_DOUT3  	6
437 #endif
438 
439 
440 #if (UC_DEVICE == XMC4200) && (UC_PACKAGE == VQFN48)
441 #define USIC0_C0_DX0_DOUT0  	6
442 #define USIC0_C0_DX0_P1_4   	1
443 #define USIC0_C0_DX0_P1_5   	0
444 #define USIC0_C0_DX1_DX0INS 	5
445 #define USIC0_C0_DX1_P0_8   	1
446 #define USIC0_C0_DX1_P1_1   	0
447 #define USIC0_C0_DX1_SCLKOUT	6
448 #define USIC0_C0_DX2_CCU40_SR1	4
449 #define USIC0_C0_DX2_CCU80_SR1	5
450 #define USIC0_C0_DX2_P0_7   	1
451 #define USIC0_C0_DX2_P1_0   	0
452 #define USIC0_C0_DX2_SELO0  	6
453 #define USIC0_C0_DX3_DOUT1  	6
454 #define USIC0_C0_DX4_DOUT2  	6
455 #define USIC0_C0_DX5_DOUT3  	6
456 #define USIC0_C1_DX0_DOUT0  	6
457 #define USIC0_C1_DX0_P2_2   	0
458 #define USIC0_C1_DX0_P2_5   	1
459 #define USIC0_C1_DX1_DX0INS 	5
460 #define USIC0_C1_DX1_P2_4   	0
461 #define USIC0_C1_DX1_SCLKOUT	6
462 #define USIC0_C1_DX2_CCU80_SR1	5
463 #define USIC0_C1_DX2_P2_3   	0
464 #define USIC0_C1_DX2_SELO0  	6
465 #define USIC0_C1_DX3_DOUT1  	6
466 #define USIC0_C1_DX4_DOUT2  	6
467 #define USIC0_C1_DX5_DOUT3  	6
468 #define USIC1_C0_DX0_DOUT0  	6
469 #define USIC1_C0_DX0_P0_4   	0
470 #define USIC1_C0_DX0_P0_5   	1
471 #define USIC1_C0_DX1_DX0INS 	5
472 #define USIC1_C0_DX1_SCLKOUT	6
473 #define USIC1_C0_DX2_CCU41_SR1	4
474 #define USIC1_C0_DX2_P0_6   	0
475 #define USIC1_C0_DX2_SELO0  	6
476 #define USIC1_C0_DX3_DOUT1  	6
477 #define USIC1_C0_DX4_DOUT2  	6
478 #define USIC1_C0_DX5_DOUT3  	6
479 #define USIC1_C1_DX0_DOUT0  	6
480 #define USIC1_C1_DX0_P0_0   	3
481 #define USIC1_C1_DX1_DX0INS 	5
482 #define USIC1_C1_DX1_SCLKOUT	6
483 #define USIC1_C1_DX2_SELO0  	6
484 #define USIC1_C1_DX3_DOUT1  	6
485 #define USIC1_C1_DX4_DOUT2  	6
486 #define USIC1_C1_DX5_DOUT3  	6
487 #endif
488 
489 
490 #if (UC_DEVICE == XMC4300) && (UC_PACKAGE == LQFP100)
491 #define USIC0_C0_DX0_DOUT0  	6
492 #define USIC0_C0_DX0_P1_4   	1
493 #define USIC0_C0_DX0_P1_5   	0
494 #define USIC0_C0_DX0_P5_0   	3
495 #define USIC0_C0_DX1_DX0INS 	5
496 #define USIC0_C0_DX1_P0_8   	1
497 #define USIC0_C0_DX1_P1_1   	0
498 #define USIC0_C0_DX1_SCLKOUT	6
499 #define USIC0_C0_DX2_CCU40_SR1	4
500 #define USIC0_C0_DX2_CCU80_SR1	5
501 #define USIC0_C0_DX2_P0_7   	1
502 #define USIC0_C0_DX2_P1_0   	0
503 #define USIC0_C0_DX2_SELO0  	6
504 #define USIC0_C0_DX3_DOUT1  	6
505 #define USIC0_C0_DX4_DOUT2  	6
506 #define USIC0_C0_DX5_DOUT3  	6
507 #define USIC0_C1_DX0_DOUT0  	6
508 #define USIC0_C1_DX0_P2_2   	0
509 #define USIC0_C1_DX0_P2_5   	1
510 #define USIC0_C1_DX0_P4_0   	4
511 #define USIC0_C1_DX1_DX0INS 	5
512 #define USIC0_C1_DX1_P2_4   	0
513 #define USIC0_C1_DX1_P3_0   	1
514 #define USIC0_C1_DX1_SCLKOUT	6
515 #define USIC0_C1_DX2_CCU80_SR1	5
516 #define USIC0_C1_DX2_P2_3   	0
517 #define USIC0_C1_DX2_P3_1   	1
518 #define USIC0_C1_DX2_SELO0  	6
519 #define USIC0_C1_DX3_DOUT1  	6
520 #define USIC0_C1_DX4_DOUT2  	6
521 #define USIC0_C1_DX5_DOUT3  	6
522 #define USIC1_C0_DX0_DOUT0  	6
523 #define USIC1_C0_DX0_P0_4   	0
524 #define USIC1_C0_DX0_P0_5   	1
525 #define USIC1_C0_DX0_P2_14  	3
526 #define USIC1_C0_DX0_P2_15  	2
527 #define USIC1_C0_DX1_DX0INS 	5
528 #define USIC1_C0_DX1_P0_11  	0
529 #define USIC1_C0_DX1_SCLKOUT	6
530 #define USIC1_C0_DX2_CCU41_SR1	4
531 #define USIC1_C0_DX2_P0_6   	0
532 #define USIC1_C0_DX2_SELO0  	6
533 #define USIC1_C0_DX3_DOUT1  	6
534 #define USIC1_C0_DX4_DOUT2  	6
535 #define USIC1_C0_DX5_DOUT3  	6
536 #define USIC1_C1_DX0_DOUT0  	6
537 #define USIC1_C1_DX0_P0_0   	3
538 #define USIC1_C1_DX1_DX0INS 	5
539 #define USIC1_C1_DX1_P0_10  	0
540 #define USIC1_C1_DX1_P4_0   	2
541 #define USIC1_C1_DX1_SCLKOUT	6
542 #define USIC1_C1_DX2_P0_12  	1
543 #define USIC1_C1_DX2_P0_9   	0
544 #define USIC1_C1_DX2_SELO0  	6
545 #define USIC1_C1_DX3_DOUT1  	6
546 #define USIC1_C1_DX4_DOUT2  	6
547 #define USIC1_C1_DX5_DOUT3  	6
548 #endif
549 
550 
551 #if (UC_DEVICE == XMC4400) && (UC_PACKAGE == LQFP100)
552 #define USIC0_C0_DX0_DOUT0  	6
553 #define USIC0_C0_DX0_P1_4   	1
554 #define USIC0_C0_DX0_P1_5   	0
555 #define USIC0_C0_DX0_P5_0   	3
556 #define USIC0_C0_DX1_DX0INS 	5
557 #define USIC0_C0_DX1_P0_8   	1
558 #define USIC0_C0_DX1_P1_1   	0
559 #define USIC0_C0_DX1_SCLKOUT	6
560 #define USIC0_C0_DX2_CCU40_SR1	4
561 #define USIC0_C0_DX2_CCU80_SR1	5
562 #define USIC0_C0_DX2_P0_7   	1
563 #define USIC0_C0_DX2_P1_0   	0
564 #define USIC0_C0_DX2_SELO0  	6
565 #define USIC0_C0_DX3_DOUT1  	6
566 #define USIC0_C0_DX4_DOUT2  	6
567 #define USIC0_C0_DX5_DOUT3  	6
568 #define USIC0_C1_DX0_DOUT0  	6
569 #define USIC0_C1_DX0_P2_2   	0
570 #define USIC0_C1_DX0_P2_5   	1
571 #define USIC0_C1_DX0_P4_0   	4
572 #define USIC0_C1_DX1_DX0INS 	5
573 #define USIC0_C1_DX1_P2_4   	0
574 #define USIC0_C1_DX1_P3_0   	1
575 #define USIC0_C1_DX1_SCLKOUT	6
576 #define USIC0_C1_DX2_CCU42_SR1	4
577 #define USIC0_C1_DX2_CCU80_SR1	5
578 #define USIC0_C1_DX2_P2_3   	0
579 #define USIC0_C1_DX2_P3_1   	1
580 #define USIC0_C1_DX2_SELO0  	6
581 #define USIC0_C1_DX3_DOUT1  	6
582 #define USIC0_C1_DX4_DOUT2  	6
583 #define USIC0_C1_DX5_DOUT3  	6
584 #define USIC1_C0_DX0_DOUT0  	6
585 #define USIC1_C0_DX0_P0_4   	0
586 #define USIC1_C0_DX0_P0_5   	1
587 #define USIC1_C0_DX0_P2_14  	3
588 #define USIC1_C0_DX0_P2_15  	2
589 #define USIC1_C0_DX1_DX0INS 	5
590 #define USIC1_C0_DX1_P0_11  	0
591 #define USIC1_C0_DX1_SCLKOUT	6
592 #define USIC1_C0_DX2_CCU41_SR1	4
593 #define USIC1_C0_DX2_CCU81_SR1	5
594 #define USIC1_C0_DX2_P0_6   	0
595 #define USIC1_C0_DX2_SELO0  	6
596 #define USIC1_C0_DX3_DOUT1  	6
597 #define USIC1_C0_DX4_DOUT2  	6
598 #define USIC1_C0_DX5_DOUT3  	6
599 #define USIC1_C1_DX0_DOUT0  	6
600 #define USIC1_C1_DX0_P0_0   	3
601 #define USIC1_C1_DX1_DX0INS 	5
602 #define USIC1_C1_DX1_P0_10  	0
603 #define USIC1_C1_DX1_P4_0   	2
604 #define USIC1_C1_DX1_SCLKOUT	6
605 #define USIC1_C1_DX2_CCU43_SR1	4
606 #define USIC1_C1_DX2_CCU81_SR1	5
607 #define USIC1_C1_DX2_P0_12  	1
608 #define USIC1_C1_DX2_P0_9   	0
609 #define USIC1_C1_DX2_SELO0  	6
610 #define USIC1_C1_DX3_DOUT1  	6
611 #define USIC1_C1_DX4_DOUT2  	6
612 #define USIC1_C1_DX5_DOUT3  	6
613 #endif
614 
615 
616 #if (UC_DEVICE == XMC4400) && (UC_PACKAGE == LQFP64)
617 #define USIC0_C0_DX0_DOUT0  	6
618 #define USIC0_C0_DX0_P1_4   	1
619 #define USIC0_C0_DX0_P1_5   	0
620 #define USIC0_C0_DX1_DX0INS 	5
621 #define USIC0_C0_DX1_P0_8   	1
622 #define USIC0_C0_DX1_P1_1   	0
623 #define USIC0_C0_DX1_SCLKOUT	6
624 #define USIC0_C0_DX2_CCU40_SR1	4
625 #define USIC0_C0_DX2_CCU80_SR1	5
626 #define USIC0_C0_DX2_P0_7   	1
627 #define USIC0_C0_DX2_P1_0   	0
628 #define USIC0_C0_DX2_SELO0  	6
629 #define USIC0_C0_DX3_DOUT1  	6
630 #define USIC0_C0_DX4_DOUT2  	6
631 #define USIC0_C0_DX5_DOUT3  	6
632 #define USIC0_C1_DX0_DOUT0  	6
633 #define USIC0_C1_DX0_P2_2   	0
634 #define USIC0_C1_DX0_P2_5   	1
635 #define USIC0_C1_DX1_DX0INS 	5
636 #define USIC0_C1_DX1_P2_4   	0
637 #define USIC0_C1_DX1_SCLKOUT	6
638 #define USIC0_C1_DX2_CCU42_SR1	4
639 #define USIC0_C1_DX2_CCU80_SR1	5
640 #define USIC0_C1_DX2_P2_3   	0
641 #define USIC0_C1_DX2_SELO0  	6
642 #define USIC0_C1_DX3_DOUT1  	6
643 #define USIC0_C1_DX4_DOUT2  	6
644 #define USIC0_C1_DX5_DOUT3  	6
645 #define USIC1_C0_DX0_DOUT0  	6
646 #define USIC1_C0_DX0_P0_4   	0
647 #define USIC1_C0_DX0_P0_5   	1
648 #define USIC1_C0_DX1_DX0INS 	5
649 #define USIC1_C0_DX1_P0_11  	0
650 #define USIC1_C0_DX1_SCLKOUT	6
651 #define USIC1_C0_DX2_CCU41_SR1	4
652 #define USIC1_C0_DX2_CCU81_SR1	5
653 #define USIC1_C0_DX2_P0_6   	0
654 #define USIC1_C0_DX2_SELO0  	6
655 #define USIC1_C0_DX3_DOUT1  	6
656 #define USIC1_C0_DX4_DOUT2  	6
657 #define USIC1_C0_DX5_DOUT3  	6
658 #define USIC1_C1_DX0_DOUT0  	6
659 #define USIC1_C1_DX0_P0_0   	3
660 #define USIC1_C1_DX1_DX0INS 	5
661 #define USIC1_C1_DX1_P0_10  	0
662 #define USIC1_C1_DX1_SCLKOUT	6
663 #define USIC1_C1_DX2_CCU43_SR1	4
664 #define USIC1_C1_DX2_CCU81_SR1	5
665 #define USIC1_C1_DX2_P0_9   	0
666 #define USIC1_C1_DX2_SELO0  	6
667 #define USIC1_C1_DX3_DOUT1  	6
668 #define USIC1_C1_DX4_DOUT2  	6
669 #define USIC1_C1_DX5_DOUT3  	6
670 #endif
671 
672 
673 #if (UC_DEVICE == XMC4402) && (UC_PACKAGE == LQFP100)
674 #define USIC0_C0_DX0_DOUT0  	6
675 #define USIC0_C0_DX0_P1_4   	1
676 #define USIC0_C0_DX0_P1_5   	0
677 #define USIC0_C0_DX0_P5_0   	3
678 #define USIC0_C0_DX1_DX0INS 	5
679 #define USIC0_C0_DX1_P0_8   	1
680 #define USIC0_C0_DX1_P1_1   	0
681 #define USIC0_C0_DX1_SCLKOUT	6
682 #define USIC0_C0_DX2_CCU40_SR1	4
683 #define USIC0_C0_DX2_CCU80_SR1	5
684 #define USIC0_C0_DX2_P0_7   	1
685 #define USIC0_C0_DX2_P1_0   	0
686 #define USIC0_C0_DX2_SELO0  	6
687 #define USIC0_C0_DX3_DOUT1  	6
688 #define USIC0_C0_DX4_DOUT2  	6
689 #define USIC0_C0_DX5_DOUT3  	6
690 #define USIC0_C1_DX0_DOUT0  	6
691 #define USIC0_C1_DX0_P2_2   	0
692 #define USIC0_C1_DX0_P2_5   	1
693 #define USIC0_C1_DX0_P4_0   	4
694 #define USIC0_C1_DX1_DX0INS 	5
695 #define USIC0_C1_DX1_P2_4   	0
696 #define USIC0_C1_DX1_P3_0   	1
697 #define USIC0_C1_DX1_SCLKOUT	6
698 #define USIC0_C1_DX2_CCU42_SR1	4
699 #define USIC0_C1_DX2_CCU80_SR1	5
700 #define USIC0_C1_DX2_P2_3   	0
701 #define USIC0_C1_DX2_P3_1   	1
702 #define USIC0_C1_DX2_SELO0  	6
703 #define USIC0_C1_DX3_DOUT1  	6
704 #define USIC0_C1_DX4_DOUT2  	6
705 #define USIC0_C1_DX5_DOUT3  	6
706 #define USIC1_C0_DX0_DOUT0  	6
707 #define USIC1_C0_DX0_P0_4   	0
708 #define USIC1_C0_DX0_P0_5   	1
709 #define USIC1_C0_DX0_P2_14  	3
710 #define USIC1_C0_DX0_P2_15  	2
711 #define USIC1_C0_DX1_DX0INS 	5
712 #define USIC1_C0_DX1_P0_11  	0
713 #define USIC1_C0_DX1_SCLKOUT	6
714 #define USIC1_C0_DX2_CCU41_SR1	4
715 #define USIC1_C0_DX2_CCU81_SR1	5
716 #define USIC1_C0_DX2_P0_6   	0
717 #define USIC1_C0_DX2_SELO0  	6
718 #define USIC1_C0_DX3_DOUT1  	6
719 #define USIC1_C0_DX4_DOUT2  	6
720 #define USIC1_C0_DX5_DOUT3  	6
721 #define USIC1_C1_DX0_DOUT0  	6
722 #define USIC1_C1_DX0_P0_0   	3
723 #define USIC1_C1_DX1_DX0INS 	5
724 #define USIC1_C1_DX1_P0_10  	0
725 #define USIC1_C1_DX1_P4_0   	2
726 #define USIC1_C1_DX1_SCLKOUT	6
727 #define USIC1_C1_DX2_CCU43_SR1	4
728 #define USIC1_C1_DX2_CCU81_SR1	5
729 #define USIC1_C1_DX2_P0_12  	1
730 #define USIC1_C1_DX2_P0_9   	0
731 #define USIC1_C1_DX2_SELO0  	6
732 #define USIC1_C1_DX3_DOUT1  	6
733 #define USIC1_C1_DX4_DOUT2  	6
734 #define USIC1_C1_DX5_DOUT3  	6
735 #endif
736 
737 
738 #if (UC_DEVICE == XMC4402) && (UC_PACKAGE == LQFP64)
739 #define USIC0_C0_DX0_DOUT0  	6
740 #define USIC0_C0_DX0_P1_4   	1
741 #define USIC0_C0_DX0_P1_5   	0
742 #define USIC0_C0_DX1_DX0INS 	5
743 #define USIC0_C0_DX1_P0_8   	1
744 #define USIC0_C0_DX1_P1_1   	0
745 #define USIC0_C0_DX1_SCLKOUT	6
746 #define USIC0_C0_DX2_CCU40_SR1	4
747 #define USIC0_C0_DX2_CCU80_SR1	5
748 #define USIC0_C0_DX2_P0_7   	1
749 #define USIC0_C0_DX2_P1_0   	0
750 #define USIC0_C0_DX2_SELO0  	6
751 #define USIC0_C0_DX3_DOUT1  	6
752 #define USIC0_C0_DX4_DOUT2  	6
753 #define USIC0_C0_DX5_DOUT3  	6
754 #define USIC0_C1_DX0_DOUT0  	6
755 #define USIC0_C1_DX0_P2_2   	0
756 #define USIC0_C1_DX0_P2_5   	1
757 #define USIC0_C1_DX1_DX0INS 	5
758 #define USIC0_C1_DX1_P2_4   	0
759 #define USIC0_C1_DX1_SCLKOUT	6
760 #define USIC0_C1_DX2_CCU42_SR1	4
761 #define USIC0_C1_DX2_CCU80_SR1	5
762 #define USIC0_C1_DX2_P2_3   	0
763 #define USIC0_C1_DX2_SELO0  	6
764 #define USIC0_C1_DX3_DOUT1  	6
765 #define USIC0_C1_DX4_DOUT2  	6
766 #define USIC0_C1_DX5_DOUT3  	6
767 #define USIC1_C0_DX0_DOUT0  	6
768 #define USIC1_C0_DX0_P0_4   	0
769 #define USIC1_C0_DX0_P0_5   	1
770 #define USIC1_C0_DX1_DX0INS 	5
771 #define USIC1_C0_DX1_P0_11  	0
772 #define USIC1_C0_DX1_SCLKOUT	6
773 #define USIC1_C0_DX2_CCU41_SR1	4
774 #define USIC1_C0_DX2_CCU81_SR1	5
775 #define USIC1_C0_DX2_P0_6   	0
776 #define USIC1_C0_DX2_SELO0  	6
777 #define USIC1_C0_DX3_DOUT1  	6
778 #define USIC1_C0_DX4_DOUT2  	6
779 #define USIC1_C0_DX5_DOUT3  	6
780 #define USIC1_C1_DX0_DOUT0  	6
781 #define USIC1_C1_DX0_P0_0   	3
782 #define USIC1_C1_DX1_DX0INS 	5
783 #define USIC1_C1_DX1_P0_10  	0
784 #define USIC1_C1_DX1_SCLKOUT	6
785 #define USIC1_C1_DX2_CCU43_SR1	4
786 #define USIC1_C1_DX2_CCU81_SR1	5
787 #define USIC1_C1_DX2_P0_9   	0
788 #define USIC1_C1_DX2_SELO0  	6
789 #define USIC1_C1_DX3_DOUT1  	6
790 #define USIC1_C1_DX4_DOUT2  	6
791 #define USIC1_C1_DX5_DOUT3  	6
792 #endif
793 
794 
795 #if (UC_DEVICE == XMC4500) && (UC_PACKAGE == BGA144)
796 #define USIC0_C0_DX0_DOUT0  	6
797 #define USIC0_C0_DX0_P1_4   	1
798 #define USIC0_C0_DX0_P1_5   	0
799 #define USIC0_C0_DX0_P4_7   	2
800 #define USIC0_C0_DX0_P5_0   	3
801 #define USIC0_C0_DX1_DX0INS 	5
802 #define USIC0_C0_DX1_P0_8   	1
803 #define USIC0_C0_DX1_P1_1   	0
804 #define USIC0_C0_DX1_SCLKOUT	6
805 #define USIC0_C0_DX2_CCU40_SR1	4
806 #define USIC0_C0_DX2_CCU80_SR1	5
807 #define USIC0_C0_DX2_P0_7   	1
808 #define USIC0_C0_DX2_P1_0   	0
809 #define USIC0_C0_DX2_SELO0  	6
810 #define USIC0_C0_DX3_DOUT1  	6
811 #define USIC0_C0_DX4_DOUT2  	6
812 #define USIC0_C0_DX5_DOUT3  	6
813 #define USIC0_C1_DX0_DOUT0  	6
814 #define USIC0_C1_DX0_P2_2   	0
815 #define USIC0_C1_DX0_P2_5   	1
816 #define USIC0_C1_DX0_P3_13  	3
817 #define USIC0_C1_DX0_P4_0   	4
818 #define USIC0_C1_DX0_P6_3   	2
819 #define USIC0_C1_DX1_DX0INS 	5
820 #define USIC0_C1_DX1_P2_4   	0
821 #define USIC0_C1_DX1_P3_0   	1
822 #define USIC0_C1_DX1_P6_2   	2
823 #define USIC0_C1_DX1_SCLKOUT	6
824 #define USIC0_C1_DX2_CCU42_SR1	4
825 #define USIC0_C1_DX2_CCU80_SR1	5
826 #define USIC0_C1_DX2_P2_3   	0
827 #define USIC0_C1_DX2_P3_1   	1
828 #define USIC0_C1_DX2_P6_1   	2
829 #define USIC0_C1_DX2_SELO0  	6
830 #define USIC0_C1_DX3_DOUT1  	6
831 #define USIC0_C1_DX4_DOUT2  	6
832 #define USIC0_C1_DX5_DOUT3  	6
833 #define USIC1_C0_DX0_DOUT0  	6
834 #define USIC1_C0_DX0_P0_4   	0
835 #define USIC1_C0_DX0_P0_5   	1
836 #define USIC1_C0_DX0_P2_14  	3
837 #define USIC1_C0_DX0_P2_15  	2
838 #define USIC1_C0_DX1_DX0INS 	5
839 #define USIC1_C0_DX1_P0_11  	0
840 #define USIC1_C0_DX1_P5_8   	1
841 #define USIC1_C0_DX1_SCLKOUT	6
842 #define USIC1_C0_DX2_CCU41_SR1	4
843 #define USIC1_C0_DX2_CCU81_SR1	5
844 #define USIC1_C0_DX2_P0_6   	0
845 #define USIC1_C0_DX2_P5_9   	1
846 #define USIC1_C0_DX2_SELO0  	6
847 #define USIC1_C0_DX3_DOUT1  	6
848 #define USIC1_C0_DX4_DOUT2  	6
849 #define USIC1_C0_DX5_DOUT3  	6
850 #define USIC1_C1_DX0_DOUT0  	6
851 #define USIC1_C1_DX0_P0_0   	3
852 #define USIC1_C1_DX0_P3_14  	1
853 #define USIC1_C1_DX0_P3_15  	0
854 #define USIC1_C1_DX0_P4_2   	2
855 #define USIC1_C1_DX1_DX0INS 	5
856 #define USIC1_C1_DX1_P0_10  	0
857 #define USIC1_C1_DX1_P0_13  	1
858 #define USIC1_C1_DX1_P4_0   	2
859 #define USIC1_C1_DX1_SCLKOUT	6
860 #define USIC1_C1_DX2_CCU43_SR1	4
861 #define USIC1_C1_DX2_CCU81_SR1	5
862 #define USIC1_C1_DX2_P0_12  	1
863 #define USIC1_C1_DX2_P0_9   	0
864 #define USIC1_C1_DX2_SELO0  	6
865 #define USIC1_C1_DX3_DOUT1  	6
866 #define USIC1_C1_DX4_DOUT2  	6
867 #define USIC1_C1_DX5_DOUT3  	6
868 #define USIC2_C0_DX0_DOUT0  	6
869 #define USIC2_C0_DX0_P3_7   	2
870 #define USIC2_C0_DX0_P5_0   	1
871 #define USIC2_C0_DX0_P5_1   	0
872 #define USIC2_C0_DX1_DX0INS 	5
873 #define USIC2_C0_DX1_P5_2   	0
874 #define USIC2_C0_DX1_SCLKOUT	6
875 #define USIC2_C0_DX2_CCU41_SR1	4
876 #define USIC2_C0_DX2_CCU81_SR1	5
877 #define USIC2_C0_DX2_P5_3   	0
878 #define USIC2_C0_DX2_SELO0  	6
879 #define USIC2_C0_DX3_DOUT1  	6
880 #define USIC2_C0_DX4_DOUT2  	6
881 #define USIC2_C0_DX5_DOUT3  	6
882 #define USIC2_C1_DX0_DOUT0  	6
883 #define USIC2_C1_DX0_P3_12  	3
884 #define USIC2_C1_DX0_P3_4   	1
885 #define USIC2_C1_DX0_P3_5   	0
886 #define USIC2_C1_DX0_P4_0   	2
887 #define USIC2_C1_DX1_DX0INS 	5
888 #define USIC2_C1_DX1_P3_6   	1
889 #define USIC2_C1_DX1_P4_2   	0
890 #define USIC2_C1_DX1_SCLKOUT	6
891 #define USIC2_C1_DX2_CCU43_SR1	4
892 #define USIC2_C1_DX2_CCU81_SR1	5
893 #define USIC2_C1_DX2_P4_1   	0
894 #define USIC2_C1_DX2_SELO0  	6
895 #define USIC2_C1_DX3_DOUT1  	6
896 #define USIC2_C1_DX4_DOUT2  	6
897 #define USIC2_C1_DX5_DOUT3  	6
898 #endif
899 
900 
901 #if (UC_DEVICE == XMC4500) && (UC_PACKAGE == LQFP100)
902 #define USIC0_C0_DX0_DOUT0  	6
903 #define USIC0_C0_DX0_P1_4   	1
904 #define USIC0_C0_DX0_P1_5   	0
905 #define USIC0_C0_DX0_P5_0   	3
906 #define USIC0_C0_DX1_DX0INS 	5
907 #define USIC0_C0_DX1_P0_8   	1
908 #define USIC0_C0_DX1_P1_1   	0
909 #define USIC0_C0_DX1_SCLKOUT	6
910 #define USIC0_C0_DX2_CCU40_SR1	4
911 #define USIC0_C0_DX2_CCU80_SR1	5
912 #define USIC0_C0_DX2_P0_7   	1
913 #define USIC0_C0_DX2_P1_0   	0
914 #define USIC0_C0_DX2_SELO0  	6
915 #define USIC0_C0_DX3_DOUT1  	6
916 #define USIC0_C0_DX4_DOUT2  	6
917 #define USIC0_C0_DX5_DOUT3  	6
918 #define USIC0_C1_DX0_DOUT0  	6
919 #define USIC0_C1_DX0_P2_2   	0
920 #define USIC0_C1_DX0_P2_5   	1
921 #define USIC0_C1_DX0_P4_0   	4
922 #define USIC0_C1_DX1_DX0INS 	5
923 #define USIC0_C1_DX1_P2_4   	0
924 #define USIC0_C1_DX1_P3_0   	1
925 #define USIC0_C1_DX1_SCLKOUT	6
926 #define USIC0_C1_DX2_CCU42_SR1	4
927 #define USIC0_C1_DX2_CCU80_SR1	5
928 #define USIC0_C1_DX2_P2_3   	0
929 #define USIC0_C1_DX2_P3_1   	1
930 #define USIC0_C1_DX2_SELO0  	6
931 #define USIC0_C1_DX3_DOUT1  	6
932 #define USIC0_C1_DX4_DOUT2  	6
933 #define USIC0_C1_DX5_DOUT3  	6
934 #define USIC1_C0_DX0_DOUT0  	6
935 #define USIC1_C0_DX0_P0_4   	0
936 #define USIC1_C0_DX0_P0_5   	1
937 #define USIC1_C0_DX0_P2_14  	3
938 #define USIC1_C0_DX0_P2_15  	2
939 #define USIC1_C0_DX1_DX0INS 	5
940 #define USIC1_C0_DX1_P0_11  	0
941 #define USIC1_C0_DX1_SCLKOUT	6
942 #define USIC1_C0_DX2_CCU41_SR1	4
943 #define USIC1_C0_DX2_CCU81_SR1	5
944 #define USIC1_C0_DX2_P0_6   	0
945 #define USIC1_C0_DX2_SELO0  	6
946 #define USIC1_C0_DX3_DOUT1  	6
947 #define USIC1_C0_DX4_DOUT2  	6
948 #define USIC1_C0_DX5_DOUT3  	6
949 #define USIC1_C1_DX0_DOUT0  	6
950 #define USIC1_C1_DX0_P0_0   	3
951 #define USIC1_C1_DX1_DX0INS 	5
952 #define USIC1_C1_DX1_P0_10  	0
953 #define USIC1_C1_DX1_P4_0   	2
954 #define USIC1_C1_DX1_SCLKOUT	6
955 #define USIC1_C1_DX2_CCU43_SR1	4
956 #define USIC1_C1_DX2_CCU81_SR1	5
957 #define USIC1_C1_DX2_P0_12  	1
958 #define USIC1_C1_DX2_P0_9   	0
959 #define USIC1_C1_DX2_SELO0  	6
960 #define USIC1_C1_DX3_DOUT1  	6
961 #define USIC1_C1_DX4_DOUT2  	6
962 #define USIC1_C1_DX5_DOUT3  	6
963 #define USIC2_C0_DX0_DOUT0  	6
964 #define USIC2_C0_DX0_P5_0   	1
965 #define USIC2_C0_DX0_P5_1   	0
966 #define USIC2_C0_DX1_DX0INS 	5
967 #define USIC2_C0_DX1_P5_2   	0
968 #define USIC2_C0_DX1_SCLKOUT	6
969 #define USIC2_C0_DX2_CCU41_SR1	4
970 #define USIC2_C0_DX2_CCU81_SR1	5
971 #define USIC2_C0_DX2_SELO0  	6
972 #define USIC2_C0_DX3_DOUT1  	6
973 #define USIC2_C0_DX4_DOUT2  	6
974 #define USIC2_C0_DX5_DOUT3  	6
975 #define USIC2_C1_DX0_DOUT0  	6
976 #define USIC2_C1_DX0_P3_4   	1
977 #define USIC2_C1_DX0_P3_5   	0
978 #define USIC2_C1_DX0_P4_0   	2
979 #define USIC2_C1_DX1_DX0INS 	5
980 #define USIC2_C1_DX1_P3_6   	1
981 #define USIC2_C1_DX1_SCLKOUT	6
982 #define USIC2_C1_DX2_CCU43_SR1	4
983 #define USIC2_C1_DX2_CCU81_SR1	5
984 #define USIC2_C1_DX2_P4_1   	0
985 #define USIC2_C1_DX2_SELO0  	6
986 #define USIC2_C1_DX3_DOUT1  	6
987 #define USIC2_C1_DX4_DOUT2  	6
988 #define USIC2_C1_DX5_DOUT3  	6
989 #endif
990 
991 
992 #if (UC_DEVICE == XMC4500) && (UC_PACKAGE == LQFP144)
993 #define USIC0_C0_DX0_DOUT0  	6
994 #define USIC0_C0_DX0_P1_4   	1
995 #define USIC0_C0_DX0_P1_5   	0
996 #define USIC0_C0_DX0_P4_7   	2
997 #define USIC0_C0_DX0_P5_0   	3
998 #define USIC0_C0_DX1_DX0INS 	5
999 #define USIC0_C0_DX1_P0_8   	1
1000 #define USIC0_C0_DX1_P1_1   	0
1001 #define USIC0_C0_DX1_SCLKOUT	6
1002 #define USIC0_C0_DX2_CCU40_SR1	4
1003 #define USIC0_C0_DX2_CCU80_SR1	5
1004 #define USIC0_C0_DX2_P0_7   	1
1005 #define USIC0_C0_DX2_P1_0   	0
1006 #define USIC0_C0_DX2_SELO0  	6
1007 #define USIC0_C0_DX3_DOUT1  	6
1008 #define USIC0_C0_DX4_DOUT2  	6
1009 #define USIC0_C0_DX5_DOUT3  	6
1010 #define USIC0_C1_DX0_DOUT0  	6
1011 #define USIC0_C1_DX0_P2_2   	0
1012 #define USIC0_C1_DX0_P2_5   	1
1013 #define USIC0_C1_DX0_P3_13  	3
1014 #define USIC0_C1_DX0_P4_0   	4
1015 #define USIC0_C1_DX0_P6_3   	2
1016 #define USIC0_C1_DX1_DX0INS 	5
1017 #define USIC0_C1_DX1_P2_4   	0
1018 #define USIC0_C1_DX1_P3_0   	1
1019 #define USIC0_C1_DX1_P6_2   	2
1020 #define USIC0_C1_DX1_SCLKOUT	6
1021 #define USIC0_C1_DX2_CCU42_SR1	4
1022 #define USIC0_C1_DX2_CCU80_SR1	5
1023 #define USIC0_C1_DX2_P2_3   	0
1024 #define USIC0_C1_DX2_P3_1   	1
1025 #define USIC0_C1_DX2_P6_1   	2
1026 #define USIC0_C1_DX2_SELO0  	6
1027 #define USIC0_C1_DX3_DOUT1  	6
1028 #define USIC0_C1_DX4_DOUT2  	6
1029 #define USIC0_C1_DX5_DOUT3  	6
1030 #define USIC1_C0_DX0_DOUT0  	6
1031 #define USIC1_C0_DX0_P0_4   	0
1032 #define USIC1_C0_DX0_P0_5   	1
1033 #define USIC1_C0_DX0_P2_14  	3
1034 #define USIC1_C0_DX0_P2_15  	2
1035 #define USIC1_C0_DX1_DX0INS 	5
1036 #define USIC1_C0_DX1_P0_11  	0
1037 #define USIC1_C0_DX1_P5_8   	1
1038 #define USIC1_C0_DX1_SCLKOUT	6
1039 #define USIC1_C0_DX2_CCU41_SR1	4
1040 #define USIC1_C0_DX2_CCU81_SR1	5
1041 #define USIC1_C0_DX2_P0_6   	0
1042 #define USIC1_C0_DX2_P5_9   	1
1043 #define USIC1_C0_DX2_SELO0  	6
1044 #define USIC1_C0_DX3_DOUT1  	6
1045 #define USIC1_C0_DX4_DOUT2  	6
1046 #define USIC1_C0_DX5_DOUT3  	6
1047 #define USIC1_C1_DX0_DOUT0  	6
1048 #define USIC1_C1_DX0_P0_0   	3
1049 #define USIC1_C1_DX0_P3_14  	1
1050 #define USIC1_C1_DX0_P3_15  	0
1051 #define USIC1_C1_DX0_P4_2   	2
1052 #define USIC1_C1_DX1_DX0INS 	5
1053 #define USIC1_C1_DX1_P0_10  	0
1054 #define USIC1_C1_DX1_P0_13  	1
1055 #define USIC1_C1_DX1_P4_0   	2
1056 #define USIC1_C1_DX1_SCLKOUT	6
1057 #define USIC1_C1_DX2_CCU43_SR1	4
1058 #define USIC1_C1_DX2_CCU81_SR1	5
1059 #define USIC1_C1_DX2_P0_12  	1
1060 #define USIC1_C1_DX2_P0_9   	0
1061 #define USIC1_C1_DX2_SELO0  	6
1062 #define USIC1_C1_DX3_DOUT1  	6
1063 #define USIC1_C1_DX4_DOUT2  	6
1064 #define USIC1_C1_DX5_DOUT3  	6
1065 #define USIC2_C0_DX0_DOUT0  	6
1066 #define USIC2_C0_DX0_P3_7   	2
1067 #define USIC2_C0_DX0_P5_0   	1
1068 #define USIC2_C0_DX0_P5_1   	0
1069 #define USIC2_C0_DX1_DX0INS 	5
1070 #define USIC2_C0_DX1_P5_2   	0
1071 #define USIC2_C0_DX1_SCLKOUT	6
1072 #define USIC2_C0_DX2_CCU41_SR1	4
1073 #define USIC2_C0_DX2_CCU81_SR1	5
1074 #define USIC2_C0_DX2_P5_3   	0
1075 #define USIC2_C0_DX2_SELO0  	6
1076 #define USIC2_C0_DX3_DOUT1  	6
1077 #define USIC2_C0_DX4_DOUT2  	6
1078 #define USIC2_C0_DX5_DOUT3  	6
1079 #define USIC2_C1_DX0_DOUT0  	6
1080 #define USIC2_C1_DX0_P3_12  	3
1081 #define USIC2_C1_DX0_P3_4   	1
1082 #define USIC2_C1_DX0_P3_5   	0
1083 #define USIC2_C1_DX0_P4_0   	2
1084 #define USIC2_C1_DX1_DX0INS 	5
1085 #define USIC2_C1_DX1_P3_6   	1
1086 #define USIC2_C1_DX1_P4_2   	0
1087 #define USIC2_C1_DX1_SCLKOUT	6
1088 #define USIC2_C1_DX2_CCU43_SR1	4
1089 #define USIC2_C1_DX2_CCU81_SR1	5
1090 #define USIC2_C1_DX2_P4_1   	0
1091 #define USIC2_C1_DX2_SELO0  	6
1092 #define USIC2_C1_DX3_DOUT1  	6
1093 #define USIC2_C1_DX4_DOUT2  	6
1094 #define USIC2_C1_DX5_DOUT3  	6
1095 #endif
1096 
1097 
1098 #if (UC_DEVICE == XMC4502) && (UC_PACKAGE == LQFP100)
1099 #define USIC0_C0_DX0_DOUT0  	6
1100 #define USIC0_C0_DX0_P1_4   	1
1101 #define USIC0_C0_DX0_P1_5   	0
1102 #define USIC0_C0_DX0_P5_0   	3
1103 #define USIC0_C0_DX1_DX0INS 	5
1104 #define USIC0_C0_DX1_P0_8   	1
1105 #define USIC0_C0_DX1_P1_1   	0
1106 #define USIC0_C0_DX1_SCLKOUT	6
1107 #define USIC0_C0_DX2_CCU40_SR1	4
1108 #define USIC0_C0_DX2_CCU80_SR1	5
1109 #define USIC0_C0_DX2_P0_7   	1
1110 #define USIC0_C0_DX2_P1_0   	0
1111 #define USIC0_C0_DX2_SELO0  	6
1112 #define USIC0_C0_DX3_DOUT1  	6
1113 #define USIC0_C0_DX4_DOUT2  	6
1114 #define USIC0_C0_DX5_DOUT3  	6
1115 #define USIC0_C1_DX0_DOUT0  	6
1116 #define USIC0_C1_DX0_P2_2   	0
1117 #define USIC0_C1_DX0_P2_5   	1
1118 #define USIC0_C1_DX0_P4_0   	4
1119 #define USIC0_C1_DX1_DX0INS 	5
1120 #define USIC0_C1_DX1_P2_4   	0
1121 #define USIC0_C1_DX1_P3_0   	1
1122 #define USIC0_C1_DX1_SCLKOUT	6
1123 #define USIC0_C1_DX2_CCU42_SR1	4
1124 #define USIC0_C1_DX2_CCU80_SR1	5
1125 #define USIC0_C1_DX2_P2_3   	0
1126 #define USIC0_C1_DX2_P3_1   	1
1127 #define USIC0_C1_DX2_SELO0  	6
1128 #define USIC0_C1_DX3_DOUT1  	6
1129 #define USIC0_C1_DX4_DOUT2  	6
1130 #define USIC0_C1_DX5_DOUT3  	6
1131 #define USIC1_C0_DX0_DOUT0  	6
1132 #define USIC1_C0_DX0_P0_4   	0
1133 #define USIC1_C0_DX0_P0_5   	1
1134 #define USIC1_C0_DX0_P2_14  	3
1135 #define USIC1_C0_DX0_P2_15  	2
1136 #define USIC1_C0_DX1_DX0INS 	5
1137 #define USIC1_C0_DX1_P0_11  	0
1138 #define USIC1_C0_DX1_SCLKOUT	6
1139 #define USIC1_C0_DX2_CCU41_SR1	4
1140 #define USIC1_C0_DX2_CCU81_SR1	5
1141 #define USIC1_C0_DX2_P0_6   	0
1142 #define USIC1_C0_DX2_SELO0  	6
1143 #define USIC1_C0_DX3_DOUT1  	6
1144 #define USIC1_C0_DX4_DOUT2  	6
1145 #define USIC1_C0_DX5_DOUT3  	6
1146 #define USIC1_C1_DX0_DOUT0  	6
1147 #define USIC1_C1_DX0_P0_0   	3
1148 #define USIC1_C1_DX1_DX0INS 	5
1149 #define USIC1_C1_DX1_P0_10  	0
1150 #define USIC1_C1_DX1_P4_0   	2
1151 #define USIC1_C1_DX1_SCLKOUT	6
1152 #define USIC1_C1_DX2_CCU43_SR1	4
1153 #define USIC1_C1_DX2_CCU81_SR1	5
1154 #define USIC1_C1_DX2_P0_12  	1
1155 #define USIC1_C1_DX2_P0_9   	0
1156 #define USIC1_C1_DX2_SELO0  	6
1157 #define USIC1_C1_DX3_DOUT1  	6
1158 #define USIC1_C1_DX4_DOUT2  	6
1159 #define USIC1_C1_DX5_DOUT3  	6
1160 #define USIC2_C0_DX0_DOUT0  	6
1161 #define USIC2_C0_DX0_P5_0   	1
1162 #define USIC2_C0_DX0_P5_1   	0
1163 #define USIC2_C0_DX1_DX0INS 	5
1164 #define USIC2_C0_DX1_P5_2   	0
1165 #define USIC2_C0_DX1_SCLKOUT	6
1166 #define USIC2_C0_DX2_CCU41_SR1	4
1167 #define USIC2_C0_DX2_CCU81_SR1	5
1168 #define USIC2_C0_DX2_SELO0  	6
1169 #define USIC2_C0_DX3_DOUT1  	6
1170 #define USIC2_C0_DX4_DOUT2  	6
1171 #define USIC2_C0_DX5_DOUT3  	6
1172 #define USIC2_C1_DX0_DOUT0  	6
1173 #define USIC2_C1_DX0_P3_4   	1
1174 #define USIC2_C1_DX0_P3_5   	0
1175 #define USIC2_C1_DX0_P4_0   	2
1176 #define USIC2_C1_DX1_DX0INS 	5
1177 #define USIC2_C1_DX1_P3_6   	1
1178 #define USIC2_C1_DX1_SCLKOUT	6
1179 #define USIC2_C1_DX2_CCU43_SR1	4
1180 #define USIC2_C1_DX2_CCU81_SR1	5
1181 #define USIC2_C1_DX2_P4_1   	0
1182 #define USIC2_C1_DX2_SELO0  	6
1183 #define USIC2_C1_DX3_DOUT1  	6
1184 #define USIC2_C1_DX4_DOUT2  	6
1185 #define USIC2_C1_DX5_DOUT3  	6
1186 #endif
1187 
1188 
1189 #if (UC_DEVICE == XMC4504) && (UC_PACKAGE == LQFP100)
1190 #define USIC0_C0_DX0_DOUT0  	6
1191 #define USIC0_C0_DX0_P1_4   	1
1192 #define USIC0_C0_DX0_P1_5   	0
1193 #define USIC0_C0_DX0_P5_0   	3
1194 #define USIC0_C0_DX1_DX0INS 	5
1195 #define USIC0_C0_DX1_P0_8   	1
1196 #define USIC0_C0_DX1_P1_1   	0
1197 #define USIC0_C0_DX1_SCLKOUT	6
1198 #define USIC0_C0_DX2_CCU40_SR1	4
1199 #define USIC0_C0_DX2_CCU80_SR1	5
1200 #define USIC0_C0_DX2_P0_7   	1
1201 #define USIC0_C0_DX2_P1_0   	0
1202 #define USIC0_C0_DX2_SELO0  	6
1203 #define USIC0_C0_DX3_DOUT1  	6
1204 #define USIC0_C0_DX4_DOUT2  	6
1205 #define USIC0_C0_DX5_DOUT3  	6
1206 #define USIC0_C1_DX0_DOUT0  	6
1207 #define USIC0_C1_DX0_P2_2   	0
1208 #define USIC0_C1_DX0_P2_5   	1
1209 #define USIC0_C1_DX0_P4_0   	4
1210 #define USIC0_C1_DX1_DX0INS 	5
1211 #define USIC0_C1_DX1_P2_4   	0
1212 #define USIC0_C1_DX1_P3_0   	1
1213 #define USIC0_C1_DX1_SCLKOUT	6
1214 #define USIC0_C1_DX2_CCU42_SR1	4
1215 #define USIC0_C1_DX2_CCU80_SR1	5
1216 #define USIC0_C1_DX2_P2_3   	0
1217 #define USIC0_C1_DX2_P3_1   	1
1218 #define USIC0_C1_DX2_SELO0  	6
1219 #define USIC0_C1_DX3_DOUT1  	6
1220 #define USIC0_C1_DX4_DOUT2  	6
1221 #define USIC0_C1_DX5_DOUT3  	6
1222 #define USIC1_C0_DX0_DOUT0  	6
1223 #define USIC1_C0_DX0_P0_4   	0
1224 #define USIC1_C0_DX0_P0_5   	1
1225 #define USIC1_C0_DX0_P2_14  	3
1226 #define USIC1_C0_DX0_P2_15  	2
1227 #define USIC1_C0_DX1_DX0INS 	5
1228 #define USIC1_C0_DX1_P0_11  	0
1229 #define USIC1_C0_DX1_SCLKOUT	6
1230 #define USIC1_C0_DX2_CCU41_SR1	4
1231 #define USIC1_C0_DX2_CCU81_SR1	5
1232 #define USIC1_C0_DX2_P0_6   	0
1233 #define USIC1_C0_DX2_SELO0  	6
1234 #define USIC1_C0_DX3_DOUT1  	6
1235 #define USIC1_C0_DX4_DOUT2  	6
1236 #define USIC1_C0_DX5_DOUT3  	6
1237 #define USIC1_C1_DX0_DOUT0  	6
1238 #define USIC1_C1_DX0_P0_0   	3
1239 #define USIC1_C1_DX1_DX0INS 	5
1240 #define USIC1_C1_DX1_P0_10  	0
1241 #define USIC1_C1_DX1_P4_0   	2
1242 #define USIC1_C1_DX1_SCLKOUT	6
1243 #define USIC1_C1_DX2_CCU43_SR1	4
1244 #define USIC1_C1_DX2_CCU81_SR1	5
1245 #define USIC1_C1_DX2_P0_12  	1
1246 #define USIC1_C1_DX2_P0_9   	0
1247 #define USIC1_C1_DX2_SELO0  	6
1248 #define USIC1_C1_DX3_DOUT1  	6
1249 #define USIC1_C1_DX4_DOUT2  	6
1250 #define USIC1_C1_DX5_DOUT3  	6
1251 #define USIC2_C0_DX0_DOUT0  	6
1252 #define USIC2_C0_DX0_P5_0   	1
1253 #define USIC2_C0_DX0_P5_1   	0
1254 #define USIC2_C0_DX1_DX0INS 	5
1255 #define USIC2_C0_DX1_P5_2   	0
1256 #define USIC2_C0_DX1_SCLKOUT	6
1257 #define USIC2_C0_DX2_CCU41_SR1	4
1258 #define USIC2_C0_DX2_CCU81_SR1	5
1259 #define USIC2_C0_DX2_SELO0  	6
1260 #define USIC2_C0_DX3_DOUT1  	6
1261 #define USIC2_C0_DX4_DOUT2  	6
1262 #define USIC2_C0_DX5_DOUT3  	6
1263 #define USIC2_C1_DX0_DOUT0  	6
1264 #define USIC2_C1_DX0_P3_4   	1
1265 #define USIC2_C1_DX0_P3_5   	0
1266 #define USIC2_C1_DX0_P4_0   	2
1267 #define USIC2_C1_DX1_DX0INS 	5
1268 #define USIC2_C1_DX1_P3_6   	1
1269 #define USIC2_C1_DX1_SCLKOUT	6
1270 #define USIC2_C1_DX2_CCU43_SR1	4
1271 #define USIC2_C1_DX2_CCU81_SR1	5
1272 #define USIC2_C1_DX2_P4_1   	0
1273 #define USIC2_C1_DX2_SELO0  	6
1274 #define USIC2_C1_DX3_DOUT1  	6
1275 #define USIC2_C1_DX4_DOUT2  	6
1276 #define USIC2_C1_DX5_DOUT3  	6
1277 #endif
1278 
1279 
1280 #if (UC_DEVICE == XMC4504) && (UC_PACKAGE == LQFP144)
1281 #define USIC0_C0_DX0_DOUT0  	6
1282 #define USIC0_C0_DX0_P1_4   	1
1283 #define USIC0_C0_DX0_P1_5   	0
1284 #define USIC0_C0_DX0_P4_7   	2
1285 #define USIC0_C0_DX0_P5_0   	3
1286 #define USIC0_C0_DX1_DX0INS 	5
1287 #define USIC0_C0_DX1_P0_8   	1
1288 #define USIC0_C0_DX1_P1_1   	0
1289 #define USIC0_C0_DX1_SCLKOUT	6
1290 #define USIC0_C0_DX2_CCU40_SR1	4
1291 #define USIC0_C0_DX2_CCU80_SR1	5
1292 #define USIC0_C0_DX2_P0_7   	1
1293 #define USIC0_C0_DX2_P1_0   	0
1294 #define USIC0_C0_DX2_SELO0  	6
1295 #define USIC0_C0_DX3_DOUT1  	6
1296 #define USIC0_C0_DX4_DOUT2  	6
1297 #define USIC0_C0_DX5_DOUT3  	6
1298 #define USIC0_C1_DX0_DOUT0  	6
1299 #define USIC0_C1_DX0_P2_2   	0
1300 #define USIC0_C1_DX0_P2_5   	1
1301 #define USIC0_C1_DX0_P3_13  	3
1302 #define USIC0_C1_DX0_P4_0   	4
1303 #define USIC0_C1_DX0_P6_3   	2
1304 #define USIC0_C1_DX1_DX0INS 	5
1305 #define USIC0_C1_DX1_P2_4   	0
1306 #define USIC0_C1_DX1_P3_0   	1
1307 #define USIC0_C1_DX1_P6_2   	2
1308 #define USIC0_C1_DX1_SCLKOUT	6
1309 #define USIC0_C1_DX2_CCU42_SR1	4
1310 #define USIC0_C1_DX2_CCU80_SR1	5
1311 #define USIC0_C1_DX2_P2_3   	0
1312 #define USIC0_C1_DX2_P3_1   	1
1313 #define USIC0_C1_DX2_P6_1   	2
1314 #define USIC0_C1_DX2_SELO0  	6
1315 #define USIC0_C1_DX3_DOUT1  	6
1316 #define USIC0_C1_DX4_DOUT2  	6
1317 #define USIC0_C1_DX5_DOUT3  	6
1318 #define USIC1_C0_DX0_DOUT0  	6
1319 #define USIC1_C0_DX0_P0_4   	0
1320 #define USIC1_C0_DX0_P0_5   	1
1321 #define USIC1_C0_DX0_P2_14  	3
1322 #define USIC1_C0_DX0_P2_15  	2
1323 #define USIC1_C0_DX1_DX0INS 	5
1324 #define USIC1_C0_DX1_P0_11  	0
1325 #define USIC1_C0_DX1_P5_8   	1
1326 #define USIC1_C0_DX1_SCLKOUT	6
1327 #define USIC1_C0_DX2_CCU41_SR1	4
1328 #define USIC1_C0_DX2_CCU81_SR1	5
1329 #define USIC1_C0_DX2_P0_6   	0
1330 #define USIC1_C0_DX2_P5_9   	1
1331 #define USIC1_C0_DX2_SELO0  	6
1332 #define USIC1_C0_DX3_DOUT1  	6
1333 #define USIC1_C0_DX4_DOUT2  	6
1334 #define USIC1_C0_DX5_DOUT3  	6
1335 #define USIC1_C1_DX0_DOUT0  	6
1336 #define USIC1_C1_DX0_P0_0   	3
1337 #define USIC1_C1_DX0_P3_14  	1
1338 #define USIC1_C1_DX0_P3_15  	0
1339 #define USIC1_C1_DX0_P4_2   	2
1340 #define USIC1_C1_DX1_DX0INS 	5
1341 #define USIC1_C1_DX1_P0_10  	0
1342 #define USIC1_C1_DX1_P0_13  	1
1343 #define USIC1_C1_DX1_P4_0   	2
1344 #define USIC1_C1_DX1_SCLKOUT	6
1345 #define USIC1_C1_DX2_CCU43_SR1	4
1346 #define USIC1_C1_DX2_CCU81_SR1	5
1347 #define USIC1_C1_DX2_P0_12  	1
1348 #define USIC1_C1_DX2_P0_9   	0
1349 #define USIC1_C1_DX2_SELO0  	6
1350 #define USIC1_C1_DX3_DOUT1  	6
1351 #define USIC1_C1_DX4_DOUT2  	6
1352 #define USIC1_C1_DX5_DOUT3  	6
1353 #define USIC2_C0_DX0_DOUT0  	6
1354 #define USIC2_C0_DX0_P3_7   	2
1355 #define USIC2_C0_DX0_P5_0   	1
1356 #define USIC2_C0_DX0_P5_1   	0
1357 #define USIC2_C0_DX1_DX0INS 	5
1358 #define USIC2_C0_DX1_P5_2   	0
1359 #define USIC2_C0_DX1_SCLKOUT	6
1360 #define USIC2_C0_DX2_CCU41_SR1	4
1361 #define USIC2_C0_DX2_CCU81_SR1	5
1362 #define USIC2_C0_DX2_P5_3   	0
1363 #define USIC2_C0_DX2_SELO0  	6
1364 #define USIC2_C0_DX3_DOUT1  	6
1365 #define USIC2_C0_DX4_DOUT2  	6
1366 #define USIC2_C0_DX5_DOUT3  	6
1367 #define USIC2_C1_DX0_DOUT0  	6
1368 #define USIC2_C1_DX0_P3_12  	3
1369 #define USIC2_C1_DX0_P3_4   	1
1370 #define USIC2_C1_DX0_P3_5   	0
1371 #define USIC2_C1_DX0_P4_0   	2
1372 #define USIC2_C1_DX1_DX0INS 	5
1373 #define USIC2_C1_DX1_P3_6   	1
1374 #define USIC2_C1_DX1_P4_2   	0
1375 #define USIC2_C1_DX1_SCLKOUT	6
1376 #define USIC2_C1_DX2_CCU43_SR1	4
1377 #define USIC2_C1_DX2_CCU81_SR1	5
1378 #define USIC2_C1_DX2_P4_1   	0
1379 #define USIC2_C1_DX2_SELO0  	6
1380 #define USIC2_C1_DX3_DOUT1  	6
1381 #define USIC2_C1_DX4_DOUT2  	6
1382 #define USIC2_C1_DX5_DOUT3  	6
1383 #endif
1384 
1385 
1386 #if (UC_DEVICE == XMC4700) && (UC_PACKAGE == BGA196)
1387 #define USIC0_C0_DX0_DOUT0  	6
1388 #define USIC0_C0_DX0_P1_4   	1
1389 #define USIC0_C0_DX0_P1_5   	0
1390 #define USIC0_C0_DX0_P4_7   	2
1391 #define USIC0_C0_DX0_P5_0   	3
1392 #define USIC0_C0_DX0_P8_8   	4
1393 #define USIC0_C0_DX1_DX0INS 	5
1394 #define USIC0_C0_DX1_P0_8   	1
1395 #define USIC0_C0_DX1_P1_1   	0
1396 #define USIC0_C0_DX1_P8_3   	2
1397 #define USIC0_C0_DX1_SCLKOUT	6
1398 #define USIC0_C0_DX2_CCU40_SR1	4
1399 #define USIC0_C0_DX2_CCU80_SR1	5
1400 #define USIC0_C0_DX2_P0_7   	1
1401 #define USIC0_C0_DX2_P1_0   	0
1402 #define USIC0_C0_DX2_P8_1   	2
1403 #define USIC0_C0_DX2_SELO0  	6
1404 #define USIC0_C0_DX3_DOUT1  	6
1405 #define USIC0_C0_DX4_DOUT2  	6
1406 #define USIC0_C0_DX5_DOUT3  	6
1407 #define USIC0_C1_DX0_DOUT0  	6
1408 #define USIC0_C1_DX0_P2_2   	0
1409 #define USIC0_C1_DX0_P2_5   	1
1410 #define USIC0_C1_DX0_P3_13  	3
1411 #define USIC0_C1_DX0_P4_0   	4
1412 #define USIC0_C1_DX0_P6_3   	2
1413 #define USIC0_C1_DX1_DX0INS 	5
1414 #define USIC0_C1_DX1_P2_4   	0
1415 #define USIC0_C1_DX1_P3_0   	1
1416 #define USIC0_C1_DX1_P6_2   	2
1417 #define USIC0_C1_DX1_SCLKOUT	6
1418 #define USIC0_C1_DX2_CCU42_SR1	4
1419 #define USIC0_C1_DX2_CCU80_SR1	5
1420 #define USIC0_C1_DX2_P2_3   	0
1421 #define USIC0_C1_DX2_P3_1   	1
1422 #define USIC0_C1_DX2_P6_1   	2
1423 #define USIC0_C1_DX2_SELO0  	6
1424 #define USIC0_C1_DX3_DOUT1  	6
1425 #define USIC0_C1_DX4_DOUT2  	6
1426 #define USIC0_C1_DX5_DOUT3  	6
1427 #define USIC1_C0_DX0_DOUT0  	6
1428 #define USIC1_C0_DX0_P0_4   	0
1429 #define USIC1_C0_DX0_P0_5   	1
1430 #define USIC1_C0_DX0_P1_14  	4
1431 #define USIC1_C0_DX0_P2_14  	3
1432 #define USIC1_C0_DX0_P2_15  	2
1433 #define USIC1_C0_DX1_DX0INS 	5
1434 #define USIC1_C0_DX1_P0_11  	0
1435 #define USIC1_C0_DX1_P5_8   	1
1436 #define USIC1_C0_DX1_SCLKOUT	6
1437 #define USIC1_C0_DX2_CCU41_SR1	4
1438 #define USIC1_C0_DX2_CCU81_SR1	5
1439 #define USIC1_C0_DX2_P0_6   	0
1440 #define USIC1_C0_DX2_P5_9   	1
1441 #define USIC1_C0_DX2_SELO0  	6
1442 #define USIC1_C0_DX3_DOUT1  	6
1443 #define USIC1_C0_DX4_DOUT2  	6
1444 #define USIC1_C0_DX5_DOUT3  	6
1445 #define USIC1_C1_DX0_DOUT0  	6
1446 #define USIC1_C1_DX0_P0_0   	3
1447 #define USIC1_C1_DX0_P3_14  	1
1448 #define USIC1_C1_DX0_P3_15  	0
1449 #define USIC1_C1_DX0_P4_2   	2
1450 #define USIC1_C1_DX1_DX0INS 	5
1451 #define USIC1_C1_DX1_P0_10  	0
1452 #define USIC1_C1_DX1_P0_13  	1
1453 #define USIC1_C1_DX1_P4_0   	2
1454 #define USIC1_C1_DX1_SCLKOUT	6
1455 #define USIC1_C1_DX2_CCU43_SR1	4
1456 #define USIC1_C1_DX2_CCU81_SR1	5
1457 #define USIC1_C1_DX2_P0_12  	1
1458 #define USIC1_C1_DX2_P0_9   	0
1459 #define USIC1_C1_DX2_SELO0  	6
1460 #define USIC1_C1_DX3_DOUT1  	6
1461 #define USIC1_C1_DX4_DOUT2  	6
1462 #define USIC1_C1_DX5_DOUT3  	6
1463 #define USIC2_C0_DX0_DOUT0  	6
1464 #define USIC2_C0_DX0_P3_7   	2
1465 #define USIC2_C0_DX0_P5_0   	1
1466 #define USIC2_C0_DX0_P5_1   	0
1467 #define USIC2_C0_DX0_P6_5   	3
1468 #define USIC2_C0_DX0_P9_4   	4
1469 #define USIC2_C0_DX1_DX0INS 	5
1470 #define USIC2_C0_DX1_P5_2   	0
1471 #define USIC2_C0_DX1_P9_1   	2
1472 #define USIC2_C0_DX1_SCLKOUT	6
1473 #define USIC2_C0_DX2_CCU41_SR1	4
1474 #define USIC2_C0_DX2_CCU81_SR1	5
1475 #define USIC2_C0_DX2_P5_3   	0
1476 #define USIC2_C0_DX2_P9_0   	2
1477 #define USIC2_C0_DX2_SELO0  	6
1478 #define USIC2_C0_DX3_DOUT1  	6
1479 #define USIC2_C0_DX4_DOUT2  	6
1480 #define USIC2_C0_DX5_DOUT3  	6
1481 #define USIC2_C1_DX0_DOUT0  	6
1482 #define USIC2_C1_DX0_P3_12  	3
1483 #define USIC2_C1_DX0_P3_4   	1
1484 #define USIC2_C1_DX0_P3_5   	0
1485 #define USIC2_C1_DX0_P4_0   	2
1486 #define USIC2_C1_DX0_P4_6   	4
1487 #define USIC2_C1_DX1_DX0INS 	5
1488 #define USIC2_C1_DX1_P3_6   	1
1489 #define USIC2_C1_DX1_P4_2   	0
1490 #define USIC2_C1_DX1_P9_9   	2
1491 #define USIC2_C1_DX1_SCLKOUT	6
1492 #define USIC2_C1_DX2_CCU43_SR1	4
1493 #define USIC2_C1_DX2_CCU81_SR1	5
1494 #define USIC2_C1_DX2_P4_1   	0
1495 #define USIC2_C1_DX2_P9_8   	2
1496 #define USIC2_C1_DX2_SELO0  	6
1497 #define USIC2_C1_DX3_DOUT1  	6
1498 #define USIC2_C1_DX4_DOUT2  	6
1499 #define USIC2_C1_DX5_DOUT3  	6
1500 #endif
1501 
1502 
1503 #if (UC_DEVICE == XMC4700) && (UC_PACKAGE == LQFP100)
1504 #define USIC0_C0_DX0_DOUT0  	6
1505 #define USIC0_C0_DX0_P1_4   	1
1506 #define USIC0_C0_DX0_P1_5   	0
1507 #define USIC0_C0_DX0_P5_0   	3
1508 #define USIC0_C0_DX1_DX0INS 	5
1509 #define USIC0_C0_DX1_P0_8   	1
1510 #define USIC0_C0_DX1_P1_1   	0
1511 #define USIC0_C0_DX1_SCLKOUT	6
1512 #define USIC0_C0_DX2_CCU40_SR1	4
1513 #define USIC0_C0_DX2_CCU80_SR1	5
1514 #define USIC0_C0_DX2_P0_7   	1
1515 #define USIC0_C0_DX2_P1_0   	0
1516 #define USIC0_C0_DX2_SELO0  	6
1517 #define USIC0_C0_DX3_DOUT1  	6
1518 #define USIC0_C0_DX4_DOUT2  	6
1519 #define USIC0_C0_DX5_DOUT3  	6
1520 #define USIC0_C1_DX0_DOUT0  	6
1521 #define USIC0_C1_DX0_P2_2   	0
1522 #define USIC0_C1_DX0_P2_5   	1
1523 #define USIC0_C1_DX0_P4_0   	4
1524 #define USIC0_C1_DX1_DX0INS 	5
1525 #define USIC0_C1_DX1_P2_4   	0
1526 #define USIC0_C1_DX1_P3_0   	1
1527 #define USIC0_C1_DX1_SCLKOUT	6
1528 #define USIC0_C1_DX2_CCU42_SR1	4
1529 #define USIC0_C1_DX2_CCU80_SR1	5
1530 #define USIC0_C1_DX2_P2_3   	0
1531 #define USIC0_C1_DX2_P3_1   	1
1532 #define USIC0_C1_DX2_SELO0  	6
1533 #define USIC0_C1_DX3_DOUT1  	6
1534 #define USIC0_C1_DX4_DOUT2  	6
1535 #define USIC0_C1_DX5_DOUT3  	6
1536 #define USIC1_C0_DX0_DOUT0  	6
1537 #define USIC1_C0_DX0_P0_4   	0
1538 #define USIC1_C0_DX0_P0_5   	1
1539 #define USIC1_C0_DX0_P1_14  	4
1540 #define USIC1_C0_DX0_P2_14  	3
1541 #define USIC1_C0_DX0_P2_15  	2
1542 #define USIC1_C0_DX1_DX0INS 	5
1543 #define USIC1_C0_DX1_P0_11  	0
1544 #define USIC1_C0_DX1_SCLKOUT	6
1545 #define USIC1_C0_DX2_CCU41_SR1	4
1546 #define USIC1_C0_DX2_CCU81_SR1	5
1547 #define USIC1_C0_DX2_P0_6   	0
1548 #define USIC1_C0_DX2_SELO0  	6
1549 #define USIC1_C0_DX3_DOUT1  	6
1550 #define USIC1_C0_DX4_DOUT2  	6
1551 #define USIC1_C0_DX5_DOUT3  	6
1552 #define USIC1_C1_DX0_DOUT0  	6
1553 #define USIC1_C1_DX0_P0_0   	3
1554 #define USIC1_C1_DX1_DX0INS 	5
1555 #define USIC1_C1_DX1_P0_10  	0
1556 #define USIC1_C1_DX1_P4_0   	2
1557 #define USIC1_C1_DX1_SCLKOUT	6
1558 #define USIC1_C1_DX2_CCU43_SR1	4
1559 #define USIC1_C1_DX2_CCU81_SR1	5
1560 #define USIC1_C1_DX2_P0_12  	1
1561 #define USIC1_C1_DX2_P0_9   	0
1562 #define USIC1_C1_DX2_SELO0  	6
1563 #define USIC1_C1_DX3_DOUT1  	6
1564 #define USIC1_C1_DX4_DOUT2  	6
1565 #define USIC1_C1_DX5_DOUT3  	6
1566 #define USIC2_C0_DX0_DOUT0  	6
1567 #define USIC2_C0_DX0_P5_0   	1
1568 #define USIC2_C0_DX0_P5_1   	0
1569 #define USIC2_C0_DX1_DX0INS 	5
1570 #define USIC2_C0_DX1_P5_2   	0
1571 #define USIC2_C0_DX1_SCLKOUT	6
1572 #define USIC2_C0_DX2_CCU41_SR1	4
1573 #define USIC2_C0_DX2_CCU81_SR1	5
1574 #define USIC2_C0_DX2_SELO0  	6
1575 #define USIC2_C0_DX3_DOUT1  	6
1576 #define USIC2_C0_DX4_DOUT2  	6
1577 #define USIC2_C0_DX5_DOUT3  	6
1578 #define USIC2_C1_DX0_DOUT0  	6
1579 #define USIC2_C1_DX0_P3_4   	1
1580 #define USIC2_C1_DX0_P3_5   	0
1581 #define USIC2_C1_DX0_P4_0   	2
1582 #define USIC2_C1_DX1_DX0INS 	5
1583 #define USIC2_C1_DX1_P3_6   	1
1584 #define USIC2_C1_DX1_SCLKOUT	6
1585 #define USIC2_C1_DX2_CCU43_SR1	4
1586 #define USIC2_C1_DX2_CCU81_SR1	5
1587 #define USIC2_C1_DX2_P4_1   	0
1588 #define USIC2_C1_DX2_SELO0  	6
1589 #define USIC2_C1_DX3_DOUT1  	6
1590 #define USIC2_C1_DX4_DOUT2  	6
1591 #define USIC2_C1_DX5_DOUT3  	6
1592 #endif
1593 
1594 
1595 #if (UC_DEVICE == XMC4700) && (UC_PACKAGE == LQFP144)
1596 #define USIC0_C0_DX0_DOUT0  	6
1597 #define USIC0_C0_DX0_P1_4   	1
1598 #define USIC0_C0_DX0_P1_5   	0
1599 #define USIC0_C0_DX0_P4_7   	2
1600 #define USIC0_C0_DX0_P5_0   	3
1601 #define USIC0_C0_DX1_DX0INS 	5
1602 #define USIC0_C0_DX1_P0_8   	1
1603 #define USIC0_C0_DX1_P1_1   	0
1604 #define USIC0_C0_DX1_SCLKOUT	6
1605 #define USIC0_C0_DX2_CCU40_SR1	4
1606 #define USIC0_C0_DX2_CCU80_SR1	5
1607 #define USIC0_C0_DX2_P0_7   	1
1608 #define USIC0_C0_DX2_P1_0   	0
1609 #define USIC0_C0_DX2_SELO0  	6
1610 #define USIC0_C0_DX3_DOUT1  	6
1611 #define USIC0_C0_DX4_DOUT2  	6
1612 #define USIC0_C0_DX5_DOUT3  	6
1613 #define USIC0_C1_DX0_DOUT0  	6
1614 #define USIC0_C1_DX0_P2_2   	0
1615 #define USIC0_C1_DX0_P2_5   	1
1616 #define USIC0_C1_DX0_P3_13  	3
1617 #define USIC0_C1_DX0_P4_0   	4
1618 #define USIC0_C1_DX0_P6_3   	2
1619 #define USIC0_C1_DX1_DX0INS 	5
1620 #define USIC0_C1_DX1_P2_4   	0
1621 #define USIC0_C1_DX1_P3_0   	1
1622 #define USIC0_C1_DX1_P6_2   	2
1623 #define USIC0_C1_DX1_SCLKOUT	6
1624 #define USIC0_C1_DX2_CCU42_SR1	4
1625 #define USIC0_C1_DX2_CCU80_SR1	5
1626 #define USIC0_C1_DX2_P2_3   	0
1627 #define USIC0_C1_DX2_P3_1   	1
1628 #define USIC0_C1_DX2_P6_1   	2
1629 #define USIC0_C1_DX2_SELO0  	6
1630 #define USIC0_C1_DX3_DOUT1  	6
1631 #define USIC0_C1_DX4_DOUT2  	6
1632 #define USIC0_C1_DX5_DOUT3  	6
1633 #define USIC1_C0_DX0_DOUT0  	6
1634 #define USIC1_C0_DX0_P0_4   	0
1635 #define USIC1_C0_DX0_P0_5   	1
1636 #define USIC1_C0_DX0_P1_14  	4
1637 #define USIC1_C0_DX0_P2_14  	3
1638 #define USIC1_C0_DX0_P2_15  	2
1639 #define USIC1_C0_DX1_DX0INS 	5
1640 #define USIC1_C0_DX1_P0_11  	0
1641 #define USIC1_C0_DX1_P5_8   	1
1642 #define USIC1_C0_DX1_SCLKOUT	6
1643 #define USIC1_C0_DX2_CCU41_SR1	4
1644 #define USIC1_C0_DX2_CCU81_SR1	5
1645 #define USIC1_C0_DX2_P0_6   	0
1646 #define USIC1_C0_DX2_P5_9   	1
1647 #define USIC1_C0_DX2_SELO0  	6
1648 #define USIC1_C0_DX3_DOUT1  	6
1649 #define USIC1_C0_DX4_DOUT2  	6
1650 #define USIC1_C0_DX5_DOUT3  	6
1651 #define USIC1_C1_DX0_DOUT0  	6
1652 #define USIC1_C1_DX0_P0_0   	3
1653 #define USIC1_C1_DX0_P3_14  	1
1654 #define USIC1_C1_DX0_P3_15  	0
1655 #define USIC1_C1_DX0_P4_2   	2
1656 #define USIC1_C1_DX1_DX0INS 	5
1657 #define USIC1_C1_DX1_P0_10  	0
1658 #define USIC1_C1_DX1_P0_13  	1
1659 #define USIC1_C1_DX1_P4_0   	2
1660 #define USIC1_C1_DX1_SCLKOUT	6
1661 #define USIC1_C1_DX2_CCU43_SR1	4
1662 #define USIC1_C1_DX2_CCU81_SR1	5
1663 #define USIC1_C1_DX2_P0_12  	1
1664 #define USIC1_C1_DX2_P0_9   	0
1665 #define USIC1_C1_DX2_SELO0  	6
1666 #define USIC1_C1_DX3_DOUT1  	6
1667 #define USIC1_C1_DX4_DOUT2  	6
1668 #define USIC1_C1_DX5_DOUT3  	6
1669 #define USIC2_C0_DX0_DOUT0  	6
1670 #define USIC2_C0_DX0_P3_7   	2
1671 #define USIC2_C0_DX0_P5_0   	1
1672 #define USIC2_C0_DX0_P5_1   	0
1673 #define USIC2_C0_DX0_P6_5   	3
1674 #define USIC2_C0_DX1_DX0INS 	5
1675 #define USIC2_C0_DX1_P5_2   	0
1676 #define USIC2_C0_DX1_SCLKOUT	6
1677 #define USIC2_C0_DX2_CCU41_SR1	4
1678 #define USIC2_C0_DX2_CCU81_SR1	5
1679 #define USIC2_C0_DX2_P5_3   	0
1680 #define USIC2_C0_DX2_SELO0  	6
1681 #define USIC2_C0_DX3_DOUT1  	6
1682 #define USIC2_C0_DX4_DOUT2  	6
1683 #define USIC2_C0_DX5_DOUT3  	6
1684 #define USIC2_C1_DX0_DOUT0  	6
1685 #define USIC2_C1_DX0_P3_12  	3
1686 #define USIC2_C1_DX0_P3_4   	1
1687 #define USIC2_C1_DX0_P3_5   	0
1688 #define USIC2_C1_DX0_P4_0   	2
1689 #define USIC2_C1_DX0_P4_6   	4
1690 #define USIC2_C1_DX1_DX0INS 	5
1691 #define USIC2_C1_DX1_P3_6   	1
1692 #define USIC2_C1_DX1_P4_2   	0
1693 #define USIC2_C1_DX1_SCLKOUT	6
1694 #define USIC2_C1_DX2_CCU43_SR1	4
1695 #define USIC2_C1_DX2_CCU81_SR1	5
1696 #define USIC2_C1_DX2_P4_1   	0
1697 #define USIC2_C1_DX2_SELO0  	6
1698 #define USIC2_C1_DX3_DOUT1  	6
1699 #define USIC2_C1_DX4_DOUT2  	6
1700 #define USIC2_C1_DX5_DOUT3  	6
1701 #endif
1702 
1703 
1704 #if (UC_DEVICE == XMC4800) && (UC_PACKAGE == BGA196)
1705 #define USIC0_C0_DX0_DOUT0  	6
1706 #define USIC0_C0_DX0_P1_4   	1
1707 #define USIC0_C0_DX0_P1_5   	0
1708 #define USIC0_C0_DX0_P4_7   	2
1709 #define USIC0_C0_DX0_P5_0   	3
1710 #define USIC0_C0_DX0_P8_8   	4
1711 #define USIC0_C0_DX1_DX0INS 	5
1712 #define USIC0_C0_DX1_P0_8   	1
1713 #define USIC0_C0_DX1_P1_1   	0
1714 #define USIC0_C0_DX1_P8_3   	2
1715 #define USIC0_C0_DX1_SCLKOUT	6
1716 #define USIC0_C0_DX2_CCU40_SR1	4
1717 #define USIC0_C0_DX2_CCU80_SR1	5
1718 #define USIC0_C0_DX2_P0_7   	1
1719 #define USIC0_C0_DX2_P1_0   	0
1720 #define USIC0_C0_DX2_P8_1   	2
1721 #define USIC0_C0_DX2_SELO0  	6
1722 #define USIC0_C0_DX3_DOUT1  	6
1723 #define USIC0_C0_DX4_DOUT2  	6
1724 #define USIC0_C0_DX5_DOUT3  	6
1725 #define USIC0_C1_DX0_DOUT0  	6
1726 #define USIC0_C1_DX0_P2_2   	0
1727 #define USIC0_C1_DX0_P2_5   	1
1728 #define USIC0_C1_DX0_P3_13  	3
1729 #define USIC0_C1_DX0_P4_0   	4
1730 #define USIC0_C1_DX0_P6_3   	2
1731 #define USIC0_C1_DX1_DX0INS 	5
1732 #define USIC0_C1_DX1_P2_4   	0
1733 #define USIC0_C1_DX1_P3_0   	1
1734 #define USIC0_C1_DX1_P6_2   	2
1735 #define USIC0_C1_DX1_SCLKOUT	6
1736 #define USIC0_C1_DX2_CCU42_SR1	4
1737 #define USIC0_C1_DX2_CCU80_SR1	5
1738 #define USIC0_C1_DX2_P2_3   	0
1739 #define USIC0_C1_DX2_P3_1   	1
1740 #define USIC0_C1_DX2_P6_1   	2
1741 #define USIC0_C1_DX2_SELO0  	6
1742 #define USIC0_C1_DX3_DOUT1  	6
1743 #define USIC0_C1_DX4_DOUT2  	6
1744 #define USIC0_C1_DX5_DOUT3  	6
1745 #define USIC1_C0_DX0_DOUT0  	6
1746 #define USIC1_C0_DX0_P0_4   	0
1747 #define USIC1_C0_DX0_P0_5   	1
1748 #define USIC1_C0_DX0_P1_14  	4
1749 #define USIC1_C0_DX0_P2_14  	3
1750 #define USIC1_C0_DX0_P2_15  	2
1751 #define USIC1_C0_DX1_DX0INS 	5
1752 #define USIC1_C0_DX1_P0_11  	0
1753 #define USIC1_C0_DX1_P5_8   	1
1754 #define USIC1_C0_DX1_SCLKOUT	6
1755 #define USIC1_C0_DX2_CCU41_SR1	4
1756 #define USIC1_C0_DX2_CCU81_SR1	5
1757 #define USIC1_C0_DX2_P0_6   	0
1758 #define USIC1_C0_DX2_P5_9   	1
1759 #define USIC1_C0_DX2_SELO0  	6
1760 #define USIC1_C0_DX3_DOUT1  	6
1761 #define USIC1_C0_DX4_DOUT2  	6
1762 #define USIC1_C0_DX5_DOUT3  	6
1763 #define USIC1_C1_DX0_DOUT0  	6
1764 #define USIC1_C1_DX0_P0_0   	3
1765 #define USIC1_C1_DX0_P3_14  	1
1766 #define USIC1_C1_DX0_P3_15  	0
1767 #define USIC1_C1_DX0_P4_2   	2
1768 #define USIC1_C1_DX1_DX0INS 	5
1769 #define USIC1_C1_DX1_P0_10  	0
1770 #define USIC1_C1_DX1_P0_13  	1
1771 #define USIC1_C1_DX1_P4_0   	2
1772 #define USIC1_C1_DX1_SCLKOUT	6
1773 #define USIC1_C1_DX2_CCU43_SR1	4
1774 #define USIC1_C1_DX2_CCU81_SR1	5
1775 #define USIC1_C1_DX2_P0_12  	1
1776 #define USIC1_C1_DX2_P0_9   	0
1777 #define USIC1_C1_DX2_SELO0  	6
1778 #define USIC1_C1_DX3_DOUT1  	6
1779 #define USIC1_C1_DX4_DOUT2  	6
1780 #define USIC1_C1_DX5_DOUT3  	6
1781 #define USIC2_C0_DX0_DOUT0  	6
1782 #define USIC2_C0_DX0_P3_7   	2
1783 #define USIC2_C0_DX0_P5_0   	1
1784 #define USIC2_C0_DX0_P5_1   	0
1785 #define USIC2_C0_DX0_P6_5   	3
1786 #define USIC2_C0_DX0_P9_4   	4
1787 #define USIC2_C0_DX1_DX0INS 	5
1788 #define USIC2_C0_DX1_P5_2   	0
1789 #define USIC2_C0_DX1_P9_1   	2
1790 #define USIC2_C0_DX1_SCLKOUT	6
1791 #define USIC2_C0_DX2_CCU41_SR1	4
1792 #define USIC2_C0_DX2_CCU81_SR1	5
1793 #define USIC2_C0_DX2_P5_3   	0
1794 #define USIC2_C0_DX2_P9_0   	2
1795 #define USIC2_C0_DX2_SELO0  	6
1796 #define USIC2_C0_DX3_DOUT1  	6
1797 #define USIC2_C0_DX4_DOUT2  	6
1798 #define USIC2_C0_DX5_DOUT3  	6
1799 #define USIC2_C1_DX0_DOUT0  	6
1800 #define USIC2_C1_DX0_P3_12  	3
1801 #define USIC2_C1_DX0_P3_4   	1
1802 #define USIC2_C1_DX0_P3_5   	0
1803 #define USIC2_C1_DX0_P4_0   	2
1804 #define USIC2_C1_DX0_P4_6   	4
1805 #define USIC2_C1_DX1_DX0INS 	5
1806 #define USIC2_C1_DX1_P3_6   	1
1807 #define USIC2_C1_DX1_P4_2   	0
1808 #define USIC2_C1_DX1_P9_9   	2
1809 #define USIC2_C1_DX1_SCLKOUT	6
1810 #define USIC2_C1_DX2_CCU43_SR1	4
1811 #define USIC2_C1_DX2_CCU81_SR1	5
1812 #define USIC2_C1_DX2_P4_1   	0
1813 #define USIC2_C1_DX2_P9_8   	2
1814 #define USIC2_C1_DX2_SELO0  	6
1815 #define USIC2_C1_DX3_DOUT1  	6
1816 #define USIC2_C1_DX4_DOUT2  	6
1817 #define USIC2_C1_DX5_DOUT3  	6
1818 #endif
1819 
1820 
1821 #if (UC_DEVICE == XMC4800) && (UC_PACKAGE == LQFP100)
1822 #define USIC0_C0_DX0_DOUT0  	6
1823 #define USIC0_C0_DX0_P1_4   	1
1824 #define USIC0_C0_DX0_P1_5   	0
1825 #define USIC0_C0_DX0_P5_0   	3
1826 #define USIC0_C0_DX1_DX0INS 	5
1827 #define USIC0_C0_DX1_P0_8   	1
1828 #define USIC0_C0_DX1_P1_1   	0
1829 #define USIC0_C0_DX1_SCLKOUT	6
1830 #define USIC0_C0_DX2_CCU40_SR1	4
1831 #define USIC0_C0_DX2_CCU80_SR1	5
1832 #define USIC0_C0_DX2_P0_7   	1
1833 #define USIC0_C0_DX2_P1_0   	0
1834 #define USIC0_C0_DX2_SELO0  	6
1835 #define USIC0_C0_DX3_DOUT1  	6
1836 #define USIC0_C0_DX4_DOUT2  	6
1837 #define USIC0_C0_DX5_DOUT3  	6
1838 #define USIC0_C1_DX0_DOUT0  	6
1839 #define USIC0_C1_DX0_P2_2   	0
1840 #define USIC0_C1_DX0_P2_5   	1
1841 #define USIC0_C1_DX0_P4_0   	4
1842 #define USIC0_C1_DX1_DX0INS 	5
1843 #define USIC0_C1_DX1_P2_4   	0
1844 #define USIC0_C1_DX1_P3_0   	1
1845 #define USIC0_C1_DX1_SCLKOUT	6
1846 #define USIC0_C1_DX2_CCU42_SR1	4
1847 #define USIC0_C1_DX2_CCU80_SR1	5
1848 #define USIC0_C1_DX2_P2_3   	0
1849 #define USIC0_C1_DX2_P3_1   	1
1850 #define USIC0_C1_DX2_SELO0  	6
1851 #define USIC0_C1_DX3_DOUT1  	6
1852 #define USIC0_C1_DX4_DOUT2  	6
1853 #define USIC0_C1_DX5_DOUT3  	6
1854 #define USIC1_C0_DX0_DOUT0  	6
1855 #define USIC1_C0_DX0_P0_4   	0
1856 #define USIC1_C0_DX0_P0_5   	1
1857 #define USIC1_C0_DX0_P1_14  	4
1858 #define USIC1_C0_DX0_P2_14  	3
1859 #define USIC1_C0_DX0_P2_15  	2
1860 #define USIC1_C0_DX1_DX0INS 	5
1861 #define USIC1_C0_DX1_P0_11  	0
1862 #define USIC1_C0_DX1_SCLKOUT	6
1863 #define USIC1_C0_DX2_CCU41_SR1	4
1864 #define USIC1_C0_DX2_CCU81_SR1	5
1865 #define USIC1_C0_DX2_P0_6   	0
1866 #define USIC1_C0_DX2_SELO0  	6
1867 #define USIC1_C0_DX3_DOUT1  	6
1868 #define USIC1_C0_DX4_DOUT2  	6
1869 #define USIC1_C0_DX5_DOUT3  	6
1870 #define USIC1_C1_DX0_DOUT0  	6
1871 #define USIC1_C1_DX0_P0_0   	3
1872 #define USIC1_C1_DX1_DX0INS 	5
1873 #define USIC1_C1_DX1_P0_10  	0
1874 #define USIC1_C1_DX1_P4_0   	2
1875 #define USIC1_C1_DX1_SCLKOUT	6
1876 #define USIC1_C1_DX2_CCU43_SR1	4
1877 #define USIC1_C1_DX2_CCU81_SR1	5
1878 #define USIC1_C1_DX2_P0_12  	1
1879 #define USIC1_C1_DX2_P0_9   	0
1880 #define USIC1_C1_DX2_SELO0  	6
1881 #define USIC1_C1_DX3_DOUT1  	6
1882 #define USIC1_C1_DX4_DOUT2  	6
1883 #define USIC1_C1_DX5_DOUT3  	6
1884 #define USIC2_C0_DX0_DOUT0  	6
1885 #define USIC2_C0_DX0_P5_0   	1
1886 #define USIC2_C0_DX0_P5_1   	0
1887 #define USIC2_C0_DX1_DX0INS 	5
1888 #define USIC2_C0_DX1_P5_2   	0
1889 #define USIC2_C0_DX1_SCLKOUT	6
1890 #define USIC2_C0_DX2_CCU41_SR1	4
1891 #define USIC2_C0_DX2_CCU81_SR1	5
1892 #define USIC2_C0_DX2_SELO0  	6
1893 #define USIC2_C0_DX3_DOUT1  	6
1894 #define USIC2_C0_DX4_DOUT2  	6
1895 #define USIC2_C0_DX5_DOUT3  	6
1896 #define USIC2_C1_DX0_DOUT0  	6
1897 #define USIC2_C1_DX0_P3_4   	1
1898 #define USIC2_C1_DX0_P3_5   	0
1899 #define USIC2_C1_DX0_P4_0   	2
1900 #define USIC2_C1_DX1_DX0INS 	5
1901 #define USIC2_C1_DX1_P3_6   	1
1902 #define USIC2_C1_DX1_SCLKOUT	6
1903 #define USIC2_C1_DX2_CCU43_SR1	4
1904 #define USIC2_C1_DX2_CCU81_SR1	5
1905 #define USIC2_C1_DX2_P4_1   	0
1906 #define USIC2_C1_DX2_SELO0  	6
1907 #define USIC2_C1_DX3_DOUT1  	6
1908 #define USIC2_C1_DX4_DOUT2  	6
1909 #define USIC2_C1_DX5_DOUT3  	6
1910 #endif
1911 
1912 
1913 #if (UC_DEVICE == XMC4800) && (UC_PACKAGE == LQFP144)
1914 #define USIC0_C0_DX0_DOUT0  	6
1915 #define USIC0_C0_DX0_P1_4   	1
1916 #define USIC0_C0_DX0_P1_5   	0
1917 #define USIC0_C0_DX0_P4_7   	2
1918 #define USIC0_C0_DX0_P5_0   	3
1919 #define USIC0_C0_DX1_DX0INS 	5
1920 #define USIC0_C0_DX1_P0_8   	1
1921 #define USIC0_C0_DX1_P1_1   	0
1922 #define USIC0_C0_DX1_SCLKOUT	6
1923 #define USIC0_C0_DX2_CCU40_SR1	4
1924 #define USIC0_C0_DX2_CCU80_SR1	5
1925 #define USIC0_C0_DX2_P0_7   	1
1926 #define USIC0_C0_DX2_P1_0   	0
1927 #define USIC0_C0_DX2_SELO0  	6
1928 #define USIC0_C0_DX3_DOUT1  	6
1929 #define USIC0_C0_DX4_DOUT2  	6
1930 #define USIC0_C0_DX5_DOUT3  	6
1931 #define USIC0_C1_DX0_DOUT0  	6
1932 #define USIC0_C1_DX0_P2_2   	0
1933 #define USIC0_C1_DX0_P2_5   	1
1934 #define USIC0_C1_DX0_P3_13  	3
1935 #define USIC0_C1_DX0_P4_0   	4
1936 #define USIC0_C1_DX0_P6_3   	2
1937 #define USIC0_C1_DX1_DX0INS 	5
1938 #define USIC0_C1_DX1_P2_4   	0
1939 #define USIC0_C1_DX1_P3_0   	1
1940 #define USIC0_C1_DX1_P6_2   	2
1941 #define USIC0_C1_DX1_SCLKOUT	6
1942 #define USIC0_C1_DX2_CCU42_SR1	4
1943 #define USIC0_C1_DX2_CCU80_SR1	5
1944 #define USIC0_C1_DX2_P2_3   	0
1945 #define USIC0_C1_DX2_P3_1   	1
1946 #define USIC0_C1_DX2_P6_1   	2
1947 #define USIC0_C1_DX2_SELO0  	6
1948 #define USIC0_C1_DX3_DOUT1  	6
1949 #define USIC0_C1_DX4_DOUT2  	6
1950 #define USIC0_C1_DX5_DOUT3  	6
1951 #define USIC1_C0_DX0_DOUT0  	6
1952 #define USIC1_C0_DX0_P0_4   	0
1953 #define USIC1_C0_DX0_P0_5   	1
1954 #define USIC1_C0_DX0_P1_14  	4
1955 #define USIC1_C0_DX0_P2_14  	3
1956 #define USIC1_C0_DX0_P2_15  	2
1957 #define USIC1_C0_DX1_DX0INS 	5
1958 #define USIC1_C0_DX1_P0_11  	0
1959 #define USIC1_C0_DX1_P5_8   	1
1960 #define USIC1_C0_DX1_SCLKOUT	6
1961 #define USIC1_C0_DX2_CCU41_SR1	4
1962 #define USIC1_C0_DX2_CCU81_SR1	5
1963 #define USIC1_C0_DX2_P0_6   	0
1964 #define USIC1_C0_DX2_P5_9   	1
1965 #define USIC1_C0_DX2_SELO0  	6
1966 #define USIC1_C0_DX3_DOUT1  	6
1967 #define USIC1_C0_DX4_DOUT2  	6
1968 #define USIC1_C0_DX5_DOUT3  	6
1969 #define USIC1_C1_DX0_DOUT0  	6
1970 #define USIC1_C1_DX0_P0_0   	3
1971 #define USIC1_C1_DX0_P3_14  	1
1972 #define USIC1_C1_DX0_P3_15  	0
1973 #define USIC1_C1_DX0_P4_2   	2
1974 #define USIC1_C1_DX1_DX0INS 	5
1975 #define USIC1_C1_DX1_P0_10  	0
1976 #define USIC1_C1_DX1_P0_13  	1
1977 #define USIC1_C1_DX1_P4_0   	2
1978 #define USIC1_C1_DX1_SCLKOUT	6
1979 #define USIC1_C1_DX2_CCU43_SR1	4
1980 #define USIC1_C1_DX2_CCU81_SR1	5
1981 #define USIC1_C1_DX2_P0_12  	1
1982 #define USIC1_C1_DX2_P0_9   	0
1983 #define USIC1_C1_DX2_SELO0  	6
1984 #define USIC1_C1_DX3_DOUT1  	6
1985 #define USIC1_C1_DX4_DOUT2  	6
1986 #define USIC1_C1_DX5_DOUT3  	6
1987 #define USIC2_C0_DX0_DOUT0  	6
1988 #define USIC2_C0_DX0_P3_7   	2
1989 #define USIC2_C0_DX0_P5_0   	1
1990 #define USIC2_C0_DX0_P5_1   	0
1991 #define USIC2_C0_DX0_P6_5   	3
1992 #define USIC2_C0_DX1_DX0INS 	5
1993 #define USIC2_C0_DX1_P5_2   	0
1994 #define USIC2_C0_DX1_SCLKOUT	6
1995 #define USIC2_C0_DX2_CCU41_SR1	4
1996 #define USIC2_C0_DX2_CCU81_SR1	5
1997 #define USIC2_C0_DX2_P5_3   	0
1998 #define USIC2_C0_DX2_SELO0  	6
1999 #define USIC2_C0_DX3_DOUT1  	6
2000 #define USIC2_C0_DX4_DOUT2  	6
2001 #define USIC2_C0_DX5_DOUT3  	6
2002 #define USIC2_C1_DX0_DOUT0  	6
2003 #define USIC2_C1_DX0_P3_12  	3
2004 #define USIC2_C1_DX0_P3_4   	1
2005 #define USIC2_C1_DX0_P3_5   	0
2006 #define USIC2_C1_DX0_P4_0   	2
2007 #define USIC2_C1_DX0_P4_6   	4
2008 #define USIC2_C1_DX1_DX0INS 	5
2009 #define USIC2_C1_DX1_P3_6   	1
2010 #define USIC2_C1_DX1_P4_2   	0
2011 #define USIC2_C1_DX1_SCLKOUT	6
2012 #define USIC2_C1_DX2_CCU43_SR1	4
2013 #define USIC2_C1_DX2_CCU81_SR1	5
2014 #define USIC2_C1_DX2_P4_1   	0
2015 #define USIC2_C1_DX2_SELO0  	6
2016 #define USIC2_C1_DX3_DOUT1  	6
2017 #define USIC2_C1_DX4_DOUT2  	6
2018 #define USIC2_C1_DX5_DOUT3  	6
2019 #endif
2020 
2021 #endif /* XMC4_USIC_MAP_H */
2022