Go to the documentation of this file.
14 #define PLL_CTL 0xFFC00000
15 #define PLL_DIV 0xFFC00004
16 #define VR_CTL 0xFFC00008
17 #define PLL_STAT 0xFFC0000C
18 #define PLL_LOCKCNT 0xFFC00010
19 #define CHIPID 0xFFC00014
22 #define SWRST 0xFFC00100
23 #define SYSCR 0xFFC00104
24 #define SIC_RVECT 0xFFC00108
25 #define SIC_IMASK 0xFFC0010C
26 #define SIC_IAR0 0xFFC00110
27 #define SIC_IAR1 0xFFC00114
28 #define SIC_IAR2 0xFFC00118
29 #define SIC_IAR3 0xFFC0011C
30 #define SIC_ISR 0xFFC00120
31 #define SIC_IWR 0xFFC00124
34 #define WDOG_CTL 0xFFC00200
35 #define WDOG_CNT 0xFFC00204
36 #define WDOG_STAT 0xFFC00208
39 #define RTC_STAT 0xFFC00300
40 #define RTC_ICTL 0xFFC00304
41 #define RTC_ISTAT 0xFFC00308
42 #define RTC_SWCNT 0xFFC0030C
43 #define RTC_ALARM 0xFFC00310
44 #define RTC_FAST 0xFFC00314
45 #define RTC_PREN 0xFFC00314
48 #define UART0_THR 0xFFC00400
49 #define UART0_RBR 0xFFC00400
50 #define UART0_DLL 0xFFC00400
51 #define UART0_IER 0xFFC00404
52 #define UART0_DLH 0xFFC00404
53 #define UART0_IIR 0xFFC00408
54 #define UART0_LCR 0xFFC0040C
55 #define UART0_MCR 0xFFC00410
56 #define UART0_LSR 0xFFC00414
57 #define UART0_MSR 0xFFC00418
58 #define UART0_SCR 0xFFC0041C
59 #define UART0_GCTL 0xFFC00424
62 #define SPI0_REGBASE 0xFFC00500
63 #define SPI_CTL 0xFFC00500
64 #define SPI_FLG 0xFFC00504
65 #define SPI_STAT 0xFFC00508
66 #define SPI_TDBR 0xFFC0050C
67 #define SPI_RDBR 0xFFC00510
68 #define SPI_BAUD 0xFFC00514
69 #define SPI_SHADOW 0xFFC00518
72 #define TIMER0_CONFIG 0xFFC00600
73 #define TIMER0_COUNTER 0xFFC00604
74 #define TIMER0_PERIOD 0xFFC00608
75 #define TIMER0_WIDTH 0xFFC0060C
77 #define TIMER1_CONFIG 0xFFC00610
78 #define TIMER1_COUNTER 0xFFC00614
79 #define TIMER1_PERIOD 0xFFC00618
80 #define TIMER1_WIDTH 0xFFC0061C
82 #define TIMER2_CONFIG 0xFFC00620
83 #define TIMER2_COUNTER 0xFFC00624
84 #define TIMER2_PERIOD 0xFFC00628
85 #define TIMER2_WIDTH 0xFFC0062C
87 #define TIMER3_CONFIG 0xFFC00630
88 #define TIMER3_COUNTER 0xFFC00634
89 #define TIMER3_PERIOD 0xFFC00638
90 #define TIMER3_WIDTH 0xFFC0063C
92 #define TIMER4_CONFIG 0xFFC00640
93 #define TIMER4_COUNTER 0xFFC00644
94 #define TIMER4_PERIOD 0xFFC00648
95 #define TIMER4_WIDTH 0xFFC0064C
97 #define TIMER5_CONFIG 0xFFC00650
98 #define TIMER5_COUNTER 0xFFC00654
99 #define TIMER5_PERIOD 0xFFC00658
100 #define TIMER5_WIDTH 0xFFC0065C
102 #define TIMER6_CONFIG 0xFFC00660
103 #define TIMER6_COUNTER 0xFFC00664
104 #define TIMER6_PERIOD 0xFFC00668
105 #define TIMER6_WIDTH 0xFFC0066C
107 #define TIMER7_CONFIG 0xFFC00670
108 #define TIMER7_COUNTER 0xFFC00674
109 #define TIMER7_PERIOD 0xFFC00678
110 #define TIMER7_WIDTH 0xFFC0067C
112 #define TIMER_ENABLE 0xFFC00680
113 #define TIMER_DISABLE 0xFFC00684
114 #define TIMER_STATUS 0xFFC00688
117 #define PORTFIO 0xFFC00700
118 #define PORTFIO_CLEAR 0xFFC00704
119 #define PORTFIO_SET 0xFFC00708
120 #define PORTFIO_TOGGLE 0xFFC0070C
121 #define PORTFIO_MASKA 0xFFC00710
122 #define PORTFIO_MASKA_CLEAR 0xFFC00714
123 #define PORTFIO_MASKA_SET 0xFFC00718
124 #define PORTFIO_MASKA_TOGGLE 0xFFC0071C
125 #define PORTFIO_MASKB 0xFFC00720
126 #define PORTFIO_MASKB_CLEAR 0xFFC00724
127 #define PORTFIO_MASKB_SET 0xFFC00728
128 #define PORTFIO_MASKB_TOGGLE 0xFFC0072C
129 #define PORTFIO_DIR 0xFFC00730
130 #define PORTFIO_POLAR 0xFFC00734
131 #define PORTFIO_EDGE 0xFFC00738
132 #define PORTFIO_BOTH 0xFFC0073C
133 #define PORTFIO_INEN 0xFFC00740
136 #define SPORT0_TCR1 0xFFC00800
137 #define SPORT0_TCR2 0xFFC00804
138 #define SPORT0_TCLKDIV 0xFFC00808
139 #define SPORT0_TFSDIV 0xFFC0080C
140 #define SPORT0_TX 0xFFC00810
141 #define SPORT0_RX 0xFFC00818
142 #define SPORT0_RCR1 0xFFC00820
143 #define SPORT0_RCR2 0xFFC00824
144 #define SPORT0_RCLKDIV 0xFFC00828
145 #define SPORT0_RFSDIV 0xFFC0082C
146 #define SPORT0_STAT 0xFFC00830
147 #define SPORT0_CHNL 0xFFC00834
148 #define SPORT0_MCMC1 0xFFC00838
149 #define SPORT0_MCMC2 0xFFC0083C
150 #define SPORT0_MTCS0 0xFFC00840
151 #define SPORT0_MTCS1 0xFFC00844
152 #define SPORT0_MTCS2 0xFFC00848
153 #define SPORT0_MTCS3 0xFFC0084C
154 #define SPORT0_MRCS0 0xFFC00850
155 #define SPORT0_MRCS1 0xFFC00854
156 #define SPORT0_MRCS2 0xFFC00858
157 #define SPORT0_MRCS3 0xFFC0085C
160 #define SPORT1_TCR1 0xFFC00900
161 #define SPORT1_TCR2 0xFFC00904
162 #define SPORT1_TCLKDIV 0xFFC00908
163 #define SPORT1_TFSDIV 0xFFC0090C
164 #define SPORT1_TX 0xFFC00910
165 #define SPORT1_RX 0xFFC00918
166 #define SPORT1_RCR1 0xFFC00920
167 #define SPORT1_RCR2 0xFFC00924
168 #define SPORT1_RCLKDIV 0xFFC00928
169 #define SPORT1_RFSDIV 0xFFC0092C
170 #define SPORT1_STAT 0xFFC00930
171 #define SPORT1_CHNL 0xFFC00934
172 #define SPORT1_MCMC1 0xFFC00938
173 #define SPORT1_MCMC2 0xFFC0093C
174 #define SPORT1_MTCS0 0xFFC00940
175 #define SPORT1_MTCS1 0xFFC00944
176 #define SPORT1_MTCS2 0xFFC00948
177 #define SPORT1_MTCS3 0xFFC0094C
178 #define SPORT1_MRCS0 0xFFC00950
179 #define SPORT1_MRCS1 0xFFC00954
180 #define SPORT1_MRCS2 0xFFC00958
181 #define SPORT1_MRCS3 0xFFC0095C
184 #define EBIU_AMGCTL 0xFFC00A00
185 #define EBIU_AMBCTL0 0xFFC00A04
186 #define EBIU_AMBCTL1 0xFFC00A08
187 #define EBIU_SDGCTL 0xFFC00A10
188 #define EBIU_SDBCTL 0xFFC00A14
189 #define EBIU_SDRRC 0xFFC00A18
190 #define EBIU_SDSTAT 0xFFC00A1C
193 #define DMAC_TC_PER 0xFFC00B0C
194 #define DMAC_TC_CNT 0xFFC00B10
197 #define DMA0_NEXT_DESC_PTR 0xFFC00C00
198 #define DMA0_START_ADDR 0xFFC00C04
199 #define DMA0_CONFIG 0xFFC00C08
200 #define DMA0_X_COUNT 0xFFC00C10
201 #define DMA0_X_MODIFY 0xFFC00C14
202 #define DMA0_Y_COUNT 0xFFC00C18
203 #define DMA0_Y_MODIFY 0xFFC00C1C
204 #define DMA0_CURR_DESC_PTR 0xFFC00C20
205 #define DMA0_CURR_ADDR 0xFFC00C24
206 #define DMA0_IRQ_STATUS 0xFFC00C28
207 #define DMA0_PERIPHERAL_MAP 0xFFC00C2C
208 #define DMA0_CURR_X_COUNT 0xFFC00C30
209 #define DMA0_CURR_Y_COUNT 0xFFC00C38
211 #define DMA1_NEXT_DESC_PTR 0xFFC00C40
212 #define DMA1_START_ADDR 0xFFC00C44
213 #define DMA1_CONFIG 0xFFC00C48
214 #define DMA1_X_COUNT 0xFFC00C50
215 #define DMA1_X_MODIFY 0xFFC00C54
216 #define DMA1_Y_COUNT 0xFFC00C58
217 #define DMA1_Y_MODIFY 0xFFC00C5C
218 #define DMA1_CURR_DESC_PTR 0xFFC00C60
219 #define DMA1_CURR_ADDR 0xFFC00C64
220 #define DMA1_IRQ_STATUS 0xFFC00C68
221 #define DMA1_PERIPHERAL_MAP 0xFFC00C6C
222 #define DMA1_CURR_X_COUNT 0xFFC00C70
223 #define DMA1_CURR_Y_COUNT 0xFFC00C78
225 #define DMA2_NEXT_DESC_PTR 0xFFC00C80
226 #define DMA2_START_ADDR 0xFFC00C84
227 #define DMA2_CONFIG 0xFFC00C88
228 #define DMA2_X_COUNT 0xFFC00C90
229 #define DMA2_X_MODIFY 0xFFC00C94
230 #define DMA2_Y_COUNT 0xFFC00C98
231 #define DMA2_Y_MODIFY 0xFFC00C9C
232 #define DMA2_CURR_DESC_PTR 0xFFC00CA0
233 #define DMA2_CURR_ADDR 0xFFC00CA4
234 #define DMA2_IRQ_STATUS 0xFFC00CA8
235 #define DMA2_PERIPHERAL_MAP 0xFFC00CAC
236 #define DMA2_CURR_X_COUNT 0xFFC00CB0
237 #define DMA2_CURR_Y_COUNT 0xFFC00CB8
239 #define DMA3_NEXT_DESC_PTR 0xFFC00CC0
240 #define DMA3_START_ADDR 0xFFC00CC4
241 #define DMA3_CONFIG 0xFFC00CC8
242 #define DMA3_X_COUNT 0xFFC00CD0
243 #define DMA3_X_MODIFY 0xFFC00CD4
244 #define DMA3_Y_COUNT 0xFFC00CD8
245 #define DMA3_Y_MODIFY 0xFFC00CDC
246 #define DMA3_CURR_DESC_PTR 0xFFC00CE0
247 #define DMA3_CURR_ADDR 0xFFC00CE4
248 #define DMA3_IRQ_STATUS 0xFFC00CE8
249 #define DMA3_PERIPHERAL_MAP 0xFFC00CEC
250 #define DMA3_CURR_X_COUNT 0xFFC00CF0
251 #define DMA3_CURR_Y_COUNT 0xFFC00CF8
253 #define DMA4_NEXT_DESC_PTR 0xFFC00D00
254 #define DMA4_START_ADDR 0xFFC00D04
255 #define DMA4_CONFIG 0xFFC00D08
256 #define DMA4_X_COUNT 0xFFC00D10
257 #define DMA4_X_MODIFY 0xFFC00D14
258 #define DMA4_Y_COUNT 0xFFC00D18
259 #define DMA4_Y_MODIFY 0xFFC00D1C
260 #define DMA4_CURR_DESC_PTR 0xFFC00D20
261 #define DMA4_CURR_ADDR 0xFFC00D24
262 #define DMA4_IRQ_STATUS 0xFFC00D28
263 #define DMA4_PERIPHERAL_MAP 0xFFC00D2C
264 #define DMA4_CURR_X_COUNT 0xFFC00D30
265 #define DMA4_CURR_Y_COUNT 0xFFC00D38
267 #define DMA5_NEXT_DESC_PTR 0xFFC00D40
268 #define DMA5_START_ADDR 0xFFC00D44
269 #define DMA5_CONFIG 0xFFC00D48
270 #define DMA5_X_COUNT 0xFFC00D50
271 #define DMA5_X_MODIFY 0xFFC00D54
272 #define DMA5_Y_COUNT 0xFFC00D58
273 #define DMA5_Y_MODIFY 0xFFC00D5C
274 #define DMA5_CURR_DESC_PTR 0xFFC00D60
275 #define DMA5_CURR_ADDR 0xFFC00D64
276 #define DMA5_IRQ_STATUS 0xFFC00D68
277 #define DMA5_PERIPHERAL_MAP 0xFFC00D6C
278 #define DMA5_CURR_X_COUNT 0xFFC00D70
279 #define DMA5_CURR_Y_COUNT 0xFFC00D78
281 #define DMA6_NEXT_DESC_PTR 0xFFC00D80
282 #define DMA6_START_ADDR 0xFFC00D84
283 #define DMA6_CONFIG 0xFFC00D88
284 #define DMA6_X_COUNT 0xFFC00D90
285 #define DMA6_X_MODIFY 0xFFC00D94
286 #define DMA6_Y_COUNT 0xFFC00D98
287 #define DMA6_Y_MODIFY 0xFFC00D9C
288 #define DMA6_CURR_DESC_PTR 0xFFC00DA0
289 #define DMA6_CURR_ADDR 0xFFC00DA4
290 #define DMA6_IRQ_STATUS 0xFFC00DA8
291 #define DMA6_PERIPHERAL_MAP 0xFFC00DAC
292 #define DMA6_CURR_X_COUNT 0xFFC00DB0
293 #define DMA6_CURR_Y_COUNT 0xFFC00DB8
295 #define DMA7_NEXT_DESC_PTR 0xFFC00DC0
296 #define DMA7_START_ADDR 0xFFC00DC4
297 #define DMA7_CONFIG 0xFFC00DC8
298 #define DMA7_X_COUNT 0xFFC00DD0
299 #define DMA7_X_MODIFY 0xFFC00DD4
300 #define DMA7_Y_COUNT 0xFFC00DD8
301 #define DMA7_Y_MODIFY 0xFFC00DDC
302 #define DMA7_CURR_DESC_PTR 0xFFC00DE0
303 #define DMA7_CURR_ADDR 0xFFC00DE4
304 #define DMA7_IRQ_STATUS 0xFFC00DE8
305 #define DMA7_PERIPHERAL_MAP 0xFFC00DEC
306 #define DMA7_CURR_X_COUNT 0xFFC00DF0
307 #define DMA7_CURR_Y_COUNT 0xFFC00DF8
309 #define DMA8_NEXT_DESC_PTR 0xFFC00E00
310 #define DMA8_START_ADDR 0xFFC00E04
311 #define DMA8_CONFIG 0xFFC00E08
312 #define DMA8_X_COUNT 0xFFC00E10
313 #define DMA8_X_MODIFY 0xFFC00E14
314 #define DMA8_Y_COUNT 0xFFC00E18
315 #define DMA8_Y_MODIFY 0xFFC00E1C
316 #define DMA8_CURR_DESC_PTR 0xFFC00E20
317 #define DMA8_CURR_ADDR 0xFFC00E24
318 #define DMA8_IRQ_STATUS 0xFFC00E28
319 #define DMA8_PERIPHERAL_MAP 0xFFC00E2C
320 #define DMA8_CURR_X_COUNT 0xFFC00E30
321 #define DMA8_CURR_Y_COUNT 0xFFC00E38
323 #define DMA9_NEXT_DESC_PTR 0xFFC00E40
324 #define DMA9_START_ADDR 0xFFC00E44
325 #define DMA9_CONFIG 0xFFC00E48
326 #define DMA9_X_COUNT 0xFFC00E50
327 #define DMA9_X_MODIFY 0xFFC00E54
328 #define DMA9_Y_COUNT 0xFFC00E58
329 #define DMA9_Y_MODIFY 0xFFC00E5C
330 #define DMA9_CURR_DESC_PTR 0xFFC00E60
331 #define DMA9_CURR_ADDR 0xFFC00E64
332 #define DMA9_IRQ_STATUS 0xFFC00E68
333 #define DMA9_PERIPHERAL_MAP 0xFFC00E6C
334 #define DMA9_CURR_X_COUNT 0xFFC00E70
335 #define DMA9_CURR_Y_COUNT 0xFFC00E78
337 #define DMA10_NEXT_DESC_PTR 0xFFC00E80
338 #define DMA10_START_ADDR 0xFFC00E84
339 #define DMA10_CONFIG 0xFFC00E88
340 #define DMA10_X_COUNT 0xFFC00E90
341 #define DMA10_X_MODIFY 0xFFC00E94
342 #define DMA10_Y_COUNT 0xFFC00E98
343 #define DMA10_Y_MODIFY 0xFFC00E9C
344 #define DMA10_CURR_DESC_PTR 0xFFC00EA0
345 #define DMA10_CURR_ADDR 0xFFC00EA4
346 #define DMA10_IRQ_STATUS 0xFFC00EA8
347 #define DMA10_PERIPHERAL_MAP 0xFFC00EAC
348 #define DMA10_CURR_X_COUNT 0xFFC00EB0
349 #define DMA10_CURR_Y_COUNT 0xFFC00EB8
351 #define DMA11_NEXT_DESC_PTR 0xFFC00EC0
352 #define DMA11_START_ADDR 0xFFC00EC4
353 #define DMA11_CONFIG 0xFFC00EC8
354 #define DMA11_X_COUNT 0xFFC00ED0
355 #define DMA11_X_MODIFY 0xFFC00ED4
356 #define DMA11_Y_COUNT 0xFFC00ED8
357 #define DMA11_Y_MODIFY 0xFFC00EDC
358 #define DMA11_CURR_DESC_PTR 0xFFC00EE0
359 #define DMA11_CURR_ADDR 0xFFC00EE4
360 #define DMA11_IRQ_STATUS 0xFFC00EE8
361 #define DMA11_PERIPHERAL_MAP 0xFFC00EEC
362 #define DMA11_CURR_X_COUNT 0xFFC00EF0
363 #define DMA11_CURR_Y_COUNT 0xFFC00EF8
365 #define MDMA_D0_NEXT_DESC_PTR 0xFFC00F00
366 #define MDMA_D0_START_ADDR 0xFFC00F04
367 #define MDMA_D0_CONFIG 0xFFC00F08
368 #define MDMA_D0_X_COUNT 0xFFC00F10
369 #define MDMA_D0_X_MODIFY 0xFFC00F14
370 #define MDMA_D0_Y_COUNT 0xFFC00F18
371 #define MDMA_D0_Y_MODIFY 0xFFC00F1C
372 #define MDMA_D0_CURR_DESC_PTR 0xFFC00F20
373 #define MDMA_D0_CURR_ADDR 0xFFC00F24
374 #define MDMA_D0_IRQ_STATUS 0xFFC00F28
375 #define MDMA_D0_PERIPHERAL_MAP 0xFFC00F2C
376 #define MDMA_D0_CURR_X_COUNT 0xFFC00F30
377 #define MDMA_D0_CURR_Y_COUNT 0xFFC00F38
379 #define MDMA_S0_NEXT_DESC_PTR 0xFFC00F40
380 #define MDMA_S0_START_ADDR 0xFFC00F44
381 #define MDMA_S0_CONFIG 0xFFC00F48
382 #define MDMA_S0_X_COUNT 0xFFC00F50
383 #define MDMA_S0_X_MODIFY 0xFFC00F54
384 #define MDMA_S0_Y_COUNT 0xFFC00F58
385 #define MDMA_S0_Y_MODIFY 0xFFC00F5C
386 #define MDMA_S0_CURR_DESC_PTR 0xFFC00F60
387 #define MDMA_S0_CURR_ADDR 0xFFC00F64
388 #define MDMA_S0_IRQ_STATUS 0xFFC00F68
389 #define MDMA_S0_PERIPHERAL_MAP 0xFFC00F6C
390 #define MDMA_S0_CURR_X_COUNT 0xFFC00F70
391 #define MDMA_S0_CURR_Y_COUNT 0xFFC00F78
393 #define MDMA_D1_NEXT_DESC_PTR 0xFFC00F80
394 #define MDMA_D1_START_ADDR 0xFFC00F84
395 #define MDMA_D1_CONFIG 0xFFC00F88
396 #define MDMA_D1_X_COUNT 0xFFC00F90
397 #define MDMA_D1_X_MODIFY 0xFFC00F94
398 #define MDMA_D1_Y_COUNT 0xFFC00F98
399 #define MDMA_D1_Y_MODIFY 0xFFC00F9C
400 #define MDMA_D1_CURR_DESC_PTR 0xFFC00FA0
401 #define MDMA_D1_CURR_ADDR 0xFFC00FA4
402 #define MDMA_D1_IRQ_STATUS 0xFFC00FA8
403 #define MDMA_D1_PERIPHERAL_MAP 0xFFC00FAC
404 #define MDMA_D1_CURR_X_COUNT 0xFFC00FB0
405 #define MDMA_D1_CURR_Y_COUNT 0xFFC00FB8
407 #define MDMA_S1_NEXT_DESC_PTR 0xFFC00FC0
408 #define MDMA_S1_START_ADDR 0xFFC00FC4
409 #define MDMA_S1_CONFIG 0xFFC00FC8
410 #define MDMA_S1_X_COUNT 0xFFC00FD0
411 #define MDMA_S1_X_MODIFY 0xFFC00FD4
412 #define MDMA_S1_Y_COUNT 0xFFC00FD8
413 #define MDMA_S1_Y_MODIFY 0xFFC00FDC
414 #define MDMA_S1_CURR_DESC_PTR 0xFFC00FE0
415 #define MDMA_S1_CURR_ADDR 0xFFC00FE4
416 #define MDMA_S1_IRQ_STATUS 0xFFC00FE8
417 #define MDMA_S1_PERIPHERAL_MAP 0xFFC00FEC
418 #define MDMA_S1_CURR_X_COUNT 0xFFC00FF0
419 #define MDMA_S1_CURR_Y_COUNT 0xFFC00FF8
422 #define PPI_CONTROL 0xFFC01000
423 #define PPI_STATUS 0xFFC01004
424 #define PPI_COUNT 0xFFC01008
425 #define PPI_DELAY 0xFFC0100C
426 #define PPI_FRAME 0xFFC01010
429 #define TWI0_REGBASE 0xFFC01400
430 #define TWI0_CLKDIV 0xFFC01400
431 #define TWI0_CONTROL 0xFFC01404
432 #define TWI0_SLAVE_CTL 0xFFC01408
433 #define TWI0_SLAVE_STAT 0xFFC0140C
434 #define TWI0_SLAVE_ADDR 0xFFC01410
435 #define TWI0_MASTER_CTL 0xFFC01414
436 #define TWI0_MASTER_STAT 0xFFC01418
437 #define TWI0_MASTER_ADDR 0xFFC0141C
438 #define TWI0_INT_STAT 0xFFC01420
439 #define TWI0_INT_MASK 0xFFC01424
440 #define TWI0_FIFO_CTL 0xFFC01428
441 #define TWI0_FIFO_STAT 0xFFC0142C
442 #define TWI0_XMT_DATA8 0xFFC01480
443 #define TWI0_XMT_DATA16 0xFFC01484
444 #define TWI0_RCV_DATA8 0xFFC01488
445 #define TWI0_RCV_DATA16 0xFFC0148C
448 #define PORTGIO 0xFFC01500
449 #define PORTGIO_CLEAR 0xFFC01504
450 #define PORTGIO_SET 0xFFC01508
451 #define PORTGIO_TOGGLE 0xFFC0150C
452 #define PORTGIO_MASKA 0xFFC01510
453 #define PORTGIO_MASKA_CLEAR 0xFFC01514
454 #define PORTGIO_MASKA_SET 0xFFC01518
455 #define PORTGIO_MASKA_TOGGLE 0xFFC0151C
456 #define PORTGIO_MASKB 0xFFC01520
457 #define PORTGIO_MASKB_CLEAR 0xFFC01524
458 #define PORTGIO_MASKB_SET 0xFFC01528
459 #define PORTGIO_MASKB_TOGGLE 0xFFC0152C
460 #define PORTGIO_DIR 0xFFC01530
461 #define PORTGIO_POLAR 0xFFC01534
462 #define PORTGIO_EDGE 0xFFC01538
463 #define PORTGIO_BOTH 0xFFC0153C
464 #define PORTGIO_INEN 0xFFC01540
467 #define PORTHIO 0xFFC01700
468 #define PORTHIO_CLEAR 0xFFC01704
469 #define PORTHIO_SET 0xFFC01708
470 #define PORTHIO_TOGGLE 0xFFC0170C
471 #define PORTHIO_MASKA 0xFFC01710
472 #define PORTHIO_MASKA_CLEAR 0xFFC01714
473 #define PORTHIO_MASKA_SET 0xFFC01718
474 #define PORTHIO_MASKA_TOGGLE 0xFFC0171C
475 #define PORTHIO_MASKB 0xFFC01720
476 #define PORTHIO_MASKB_CLEAR 0xFFC01724
477 #define PORTHIO_MASKB_SET 0xFFC01728
478 #define PORTHIO_MASKB_TOGGLE 0xFFC0172C
479 #define PORTHIO_DIR 0xFFC01730
480 #define PORTHIO_POLAR 0xFFC01734
481 #define PORTHIO_EDGE 0xFFC01738
482 #define PORTHIO_BOTH 0xFFC0173C
483 #define PORTHIO_INEN 0xFFC01740
486 #define UART1_THR 0xFFC02000
487 #define UART1_RBR 0xFFC02000
488 #define UART1_DLL 0xFFC02000
489 #define UART1_IER 0xFFC02004
490 #define UART1_DLH 0xFFC02004
491 #define UART1_IIR 0xFFC02008
492 #define UART1_LCR 0xFFC0200C
493 #define UART1_MCR 0xFFC02010
494 #define UART1_LSR 0xFFC02014
495 #define UART1_MSR 0xFFC02018
496 #define UART1_SCR 0xFFC0201C
497 #define UART1_GCTL 0xFFC02024
501 #define CAN_MC1 0xFFC02A00
502 #define CAN_MD1 0xFFC02A04
503 #define CAN_TRS1 0xFFC02A08
504 #define CAN_TRR1 0xFFC02A0C
505 #define CAN_TA1 0xFFC02A10
506 #define CAN_AA1 0xFFC02A14
507 #define CAN_RMP1 0xFFC02A18
508 #define CAN_RML1 0xFFC02A1C
509 #define CAN_MBTIF1 0xFFC02A20
510 #define CAN_MBRIF1 0xFFC02A24
511 #define CAN_MBIM1 0xFFC02A28
512 #define CAN_RFH1 0xFFC02A2C
513 #define CAN_OPSS1 0xFFC02A30
516 #define CAN_MC2 0xFFC02A40
517 #define CAN_MD2 0xFFC02A44
518 #define CAN_TRS2 0xFFC02A48
519 #define CAN_TRR2 0xFFC02A4C
520 #define CAN_TA2 0xFFC02A50
521 #define CAN_AA2 0xFFC02A54
522 #define CAN_RMP2 0xFFC02A58
523 #define CAN_RML2 0xFFC02A5C
524 #define CAN_MBTIF2 0xFFC02A60
525 #define CAN_MBRIF2 0xFFC02A64
526 #define CAN_MBIM2 0xFFC02A68
527 #define CAN_RFH2 0xFFC02A6C
528 #define CAN_OPSS2 0xFFC02A70
531 #define CAN_CLOCK 0xFFC02A80
532 #define CAN_TIMING 0xFFC02A84
533 #define CAN_DEBUG 0xFFC02A88
534 #define CAN_STATUS 0xFFC02A8C
535 #define CAN_CEC 0xFFC02A90
536 #define CAN_GIS 0xFFC02A94
537 #define CAN_GIM 0xFFC02A98
538 #define CAN_GIF 0xFFC02A9C
539 #define CAN_CONTROL 0xFFC02AA0
540 #define CAN_INTR 0xFFC02AA4
542 #define CAN_MBTD 0xFFC02AAC
543 #define CAN_EWR 0xFFC02AB0
544 #define CAN_ESR 0xFFC02AB4
545 #define CAN_UCREG 0xFFC02AC0
546 #define CAN_UCCNT 0xFFC02AC4
547 #define CAN_UCRC 0xFFC02AC8
548 #define CAN_UCCNF 0xFFC02ACC
551 #define CAN_AM00L 0xFFC02B00
552 #define CAN_AM00H 0xFFC02B04
553 #define CAN_AM01L 0xFFC02B08
554 #define CAN_AM01H 0xFFC02B0C
555 #define CAN_AM02L 0xFFC02B10
556 #define CAN_AM02H 0xFFC02B14
557 #define CAN_AM03L 0xFFC02B18
558 #define CAN_AM03H 0xFFC02B1C
559 #define CAN_AM04L 0xFFC02B20
560 #define CAN_AM04H 0xFFC02B24
561 #define CAN_AM05L 0xFFC02B28
562 #define CAN_AM05H 0xFFC02B2C
563 #define CAN_AM06L 0xFFC02B30
564 #define CAN_AM06H 0xFFC02B34
565 #define CAN_AM07L 0xFFC02B38
566 #define CAN_AM07H 0xFFC02B3C
567 #define CAN_AM08L 0xFFC02B40
568 #define CAN_AM08H 0xFFC02B44
569 #define CAN_AM09L 0xFFC02B48
570 #define CAN_AM09H 0xFFC02B4C
571 #define CAN_AM10L 0xFFC02B50
572 #define CAN_AM10H 0xFFC02B54
573 #define CAN_AM11L 0xFFC02B58
574 #define CAN_AM11H 0xFFC02B5C
575 #define CAN_AM12L 0xFFC02B60
576 #define CAN_AM12H 0xFFC02B64
577 #define CAN_AM13L 0xFFC02B68
578 #define CAN_AM13H 0xFFC02B6C
579 #define CAN_AM14L 0xFFC02B70
580 #define CAN_AM14H 0xFFC02B74
581 #define CAN_AM15L 0xFFC02B78
582 #define CAN_AM15H 0xFFC02B7C
584 #define CAN_AM16L 0xFFC02B80
585 #define CAN_AM16H 0xFFC02B84
586 #define CAN_AM17L 0xFFC02B88
587 #define CAN_AM17H 0xFFC02B8C
588 #define CAN_AM18L 0xFFC02B90
589 #define CAN_AM18H 0xFFC02B94
590 #define CAN_AM19L 0xFFC02B98
591 #define CAN_AM19H 0xFFC02B9C
592 #define CAN_AM20L 0xFFC02BA0
593 #define CAN_AM20H 0xFFC02BA4
594 #define CAN_AM21L 0xFFC02BA8
595 #define CAN_AM21H 0xFFC02BAC
596 #define CAN_AM22L 0xFFC02BB0
597 #define CAN_AM22H 0xFFC02BB4
598 #define CAN_AM23L 0xFFC02BB8
599 #define CAN_AM23H 0xFFC02BBC
600 #define CAN_AM24L 0xFFC02BC0
601 #define CAN_AM24H 0xFFC02BC4
602 #define CAN_AM25L 0xFFC02BC8
603 #define CAN_AM25H 0xFFC02BCC
604 #define CAN_AM26L 0xFFC02BD0
605 #define CAN_AM26H 0xFFC02BD4
606 #define CAN_AM27L 0xFFC02BD8
607 #define CAN_AM27H 0xFFC02BDC
608 #define CAN_AM28L 0xFFC02BE0
609 #define CAN_AM28H 0xFFC02BE4
610 #define CAN_AM29L 0xFFC02BE8
611 #define CAN_AM29H 0xFFC02BEC
612 #define CAN_AM30L 0xFFC02BF0
613 #define CAN_AM30H 0xFFC02BF4
614 #define CAN_AM31L 0xFFC02BF8
615 #define CAN_AM31H 0xFFC02BFC
618 #define CAN_AM_L(x) (CAN_AM00L+((x)*0x8))
619 #define CAN_AM_H(x) (CAN_AM00H+((x)*0x8))
622 #define CAN_MB00_DATA0 0xFFC02C00
623 #define CAN_MB00_DATA1 0xFFC02C04
624 #define CAN_MB00_DATA2 0xFFC02C08
625 #define CAN_MB00_DATA3 0xFFC02C0C
626 #define CAN_MB00_LENGTH 0xFFC02C10
627 #define CAN_MB00_TIMESTAMP 0xFFC02C14
628 #define CAN_MB00_ID0 0xFFC02C18
629 #define CAN_MB00_ID1 0xFFC02C1C
631 #define CAN_MB01_DATA0 0xFFC02C20
632 #define CAN_MB01_DATA1 0xFFC02C24
633 #define CAN_MB01_DATA2 0xFFC02C28
634 #define CAN_MB01_DATA3 0xFFC02C2C
635 #define CAN_MB01_LENGTH 0xFFC02C30
636 #define CAN_MB01_TIMESTAMP 0xFFC02C34
637 #define CAN_MB01_ID0 0xFFC02C38
638 #define CAN_MB01_ID1 0xFFC02C3C
640 #define CAN_MB02_DATA0 0xFFC02C40
641 #define CAN_MB02_DATA1 0xFFC02C44
642 #define CAN_MB02_DATA2 0xFFC02C48
643 #define CAN_MB02_DATA3 0xFFC02C4C
644 #define CAN_MB02_LENGTH 0xFFC02C50
645 #define CAN_MB02_TIMESTAMP 0xFFC02C54
646 #define CAN_MB02_ID0 0xFFC02C58
647 #define CAN_MB02_ID1 0xFFC02C5C
649 #define CAN_MB03_DATA0 0xFFC02C60
650 #define CAN_MB03_DATA1 0xFFC02C64
651 #define CAN_MB03_DATA2 0xFFC02C68
652 #define CAN_MB03_DATA3 0xFFC02C6C
653 #define CAN_MB03_LENGTH 0xFFC02C70
654 #define CAN_MB03_TIMESTAMP 0xFFC02C74
655 #define CAN_MB03_ID0 0xFFC02C78
656 #define CAN_MB03_ID1 0xFFC02C7C
658 #define CAN_MB04_DATA0 0xFFC02C80
659 #define CAN_MB04_DATA1 0xFFC02C84
660 #define CAN_MB04_DATA2 0xFFC02C88
661 #define CAN_MB04_DATA3 0xFFC02C8C
662 #define CAN_MB04_LENGTH 0xFFC02C90
663 #define CAN_MB04_TIMESTAMP 0xFFC02C94
664 #define CAN_MB04_ID0 0xFFC02C98
665 #define CAN_MB04_ID1 0xFFC02C9C
667 #define CAN_MB05_DATA0 0xFFC02CA0
668 #define CAN_MB05_DATA1 0xFFC02CA4
669 #define CAN_MB05_DATA2 0xFFC02CA8
670 #define CAN_MB05_DATA3 0xFFC02CAC
671 #define CAN_MB05_LENGTH 0xFFC02CB0
672 #define CAN_MB05_TIMESTAMP 0xFFC02CB4
673 #define CAN_MB05_ID0 0xFFC02CB8
674 #define CAN_MB05_ID1 0xFFC02CBC
676 #define CAN_MB06_DATA0 0xFFC02CC0
677 #define CAN_MB06_DATA1 0xFFC02CC4
678 #define CAN_MB06_DATA2 0xFFC02CC8
679 #define CAN_MB06_DATA3 0xFFC02CCC
680 #define CAN_MB06_LENGTH 0xFFC02CD0
681 #define CAN_MB06_TIMESTAMP 0xFFC02CD4
682 #define CAN_MB06_ID0 0xFFC02CD8
683 #define CAN_MB06_ID1 0xFFC02CDC
685 #define CAN_MB07_DATA0 0xFFC02CE0
686 #define CAN_MB07_DATA1 0xFFC02CE4
687 #define CAN_MB07_DATA2 0xFFC02CE8
688 #define CAN_MB07_DATA3 0xFFC02CEC
689 #define CAN_MB07_LENGTH 0xFFC02CF0
690 #define CAN_MB07_TIMESTAMP 0xFFC02CF4
691 #define CAN_MB07_ID0 0xFFC02CF8
692 #define CAN_MB07_ID1 0xFFC02CFC
694 #define CAN_MB08_DATA0 0xFFC02D00
695 #define CAN_MB08_DATA1 0xFFC02D04
696 #define CAN_MB08_DATA2 0xFFC02D08
697 #define CAN_MB08_DATA3 0xFFC02D0C
698 #define CAN_MB08_LENGTH 0xFFC02D10
699 #define CAN_MB08_TIMESTAMP 0xFFC02D14
700 #define CAN_MB08_ID0 0xFFC02D18
701 #define CAN_MB08_ID1 0xFFC02D1C
703 #define CAN_MB09_DATA0 0xFFC02D20
704 #define CAN_MB09_DATA1 0xFFC02D24
705 #define CAN_MB09_DATA2 0xFFC02D28
706 #define CAN_MB09_DATA3 0xFFC02D2C
707 #define CAN_MB09_LENGTH 0xFFC02D30
708 #define CAN_MB09_TIMESTAMP 0xFFC02D34
709 #define CAN_MB09_ID0 0xFFC02D38
710 #define CAN_MB09_ID1 0xFFC02D3C
712 #define CAN_MB10_DATA0 0xFFC02D40
713 #define CAN_MB10_DATA1 0xFFC02D44
714 #define CAN_MB10_DATA2 0xFFC02D48
715 #define CAN_MB10_DATA3 0xFFC02D4C
716 #define CAN_MB10_LENGTH 0xFFC02D50
717 #define CAN_MB10_TIMESTAMP 0xFFC02D54
718 #define CAN_MB10_ID0 0xFFC02D58
719 #define CAN_MB10_ID1 0xFFC02D5C
721 #define CAN_MB11_DATA0 0xFFC02D60
722 #define CAN_MB11_DATA1 0xFFC02D64
723 #define CAN_MB11_DATA2 0xFFC02D68
724 #define CAN_MB11_DATA3 0xFFC02D6C
725 #define CAN_MB11_LENGTH 0xFFC02D70
726 #define CAN_MB11_TIMESTAMP 0xFFC02D74
727 #define CAN_MB11_ID0 0xFFC02D78
728 #define CAN_MB11_ID1 0xFFC02D7C
730 #define CAN_MB12_DATA0 0xFFC02D80
731 #define CAN_MB12_DATA1 0xFFC02D84
732 #define CAN_MB12_DATA2 0xFFC02D88
733 #define CAN_MB12_DATA3 0xFFC02D8C
734 #define CAN_MB12_LENGTH 0xFFC02D90
735 #define CAN_MB12_TIMESTAMP 0xFFC02D94
736 #define CAN_MB12_ID0 0xFFC02D98
737 #define CAN_MB12_ID1 0xFFC02D9C
739 #define CAN_MB13_DATA0 0xFFC02DA0
740 #define CAN_MB13_DATA1 0xFFC02DA4
741 #define CAN_MB13_DATA2 0xFFC02DA8
742 #define CAN_MB13_DATA3 0xFFC02DAC
743 #define CAN_MB13_LENGTH 0xFFC02DB0
744 #define CAN_MB13_TIMESTAMP 0xFFC02DB4
745 #define CAN_MB13_ID0 0xFFC02DB8
746 #define CAN_MB13_ID1 0xFFC02DBC
748 #define CAN_MB14_DATA0 0xFFC02DC0
749 #define CAN_MB14_DATA1 0xFFC02DC4
750 #define CAN_MB14_DATA2 0xFFC02DC8
751 #define CAN_MB14_DATA3 0xFFC02DCC
752 #define CAN_MB14_LENGTH 0xFFC02DD0
753 #define CAN_MB14_TIMESTAMP 0xFFC02DD4
754 #define CAN_MB14_ID0 0xFFC02DD8
755 #define CAN_MB14_ID1 0xFFC02DDC
757 #define CAN_MB15_DATA0 0xFFC02DE0
758 #define CAN_MB15_DATA1 0xFFC02DE4
759 #define CAN_MB15_DATA2 0xFFC02DE8
760 #define CAN_MB15_DATA3 0xFFC02DEC
761 #define CAN_MB15_LENGTH 0xFFC02DF0
762 #define CAN_MB15_TIMESTAMP 0xFFC02DF4
763 #define CAN_MB15_ID0 0xFFC02DF8
764 #define CAN_MB15_ID1 0xFFC02DFC
766 #define CAN_MB16_DATA0 0xFFC02E00
767 #define CAN_MB16_DATA1 0xFFC02E04
768 #define CAN_MB16_DATA2 0xFFC02E08
769 #define CAN_MB16_DATA3 0xFFC02E0C
770 #define CAN_MB16_LENGTH 0xFFC02E10
771 #define CAN_MB16_TIMESTAMP 0xFFC02E14
772 #define CAN_MB16_ID0 0xFFC02E18
773 #define CAN_MB16_ID1 0xFFC02E1C
775 #define CAN_MB17_DATA0 0xFFC02E20
776 #define CAN_MB17_DATA1 0xFFC02E24
777 #define CAN_MB17_DATA2 0xFFC02E28
778 #define CAN_MB17_DATA3 0xFFC02E2C
779 #define CAN_MB17_LENGTH 0xFFC02E30
780 #define CAN_MB17_TIMESTAMP 0xFFC02E34
781 #define CAN_MB17_ID0 0xFFC02E38
782 #define CAN_MB17_ID1 0xFFC02E3C
784 #define CAN_MB18_DATA0 0xFFC02E40
785 #define CAN_MB18_DATA1 0xFFC02E44
786 #define CAN_MB18_DATA2 0xFFC02E48
787 #define CAN_MB18_DATA3 0xFFC02E4C
788 #define CAN_MB18_LENGTH 0xFFC02E50
789 #define CAN_MB18_TIMESTAMP 0xFFC02E54
790 #define CAN_MB18_ID0 0xFFC02E58
791 #define CAN_MB18_ID1 0xFFC02E5C
793 #define CAN_MB19_DATA0 0xFFC02E60
794 #define CAN_MB19_DATA1 0xFFC02E64
795 #define CAN_MB19_DATA2 0xFFC02E68
796 #define CAN_MB19_DATA3 0xFFC02E6C
797 #define CAN_MB19_LENGTH 0xFFC02E70
798 #define CAN_MB19_TIMESTAMP 0xFFC02E74
799 #define CAN_MB19_ID0 0xFFC02E78
800 #define CAN_MB19_ID1 0xFFC02E7C
802 #define CAN_MB20_DATA0 0xFFC02E80
803 #define CAN_MB20_DATA1 0xFFC02E84
804 #define CAN_MB20_DATA2 0xFFC02E88
805 #define CAN_MB20_DATA3 0xFFC02E8C
806 #define CAN_MB20_LENGTH 0xFFC02E90
807 #define CAN_MB20_TIMESTAMP 0xFFC02E94
808 #define CAN_MB20_ID0 0xFFC02E98
809 #define CAN_MB20_ID1 0xFFC02E9C
811 #define CAN_MB21_DATA0 0xFFC02EA0
812 #define CAN_MB21_DATA1 0xFFC02EA4
813 #define CAN_MB21_DATA2 0xFFC02EA8
814 #define CAN_MB21_DATA3 0xFFC02EAC
815 #define CAN_MB21_LENGTH 0xFFC02EB0
816 #define CAN_MB21_TIMESTAMP 0xFFC02EB4
817 #define CAN_MB21_ID0 0xFFC02EB8
818 #define CAN_MB21_ID1 0xFFC02EBC
820 #define CAN_MB22_DATA0 0xFFC02EC0
821 #define CAN_MB22_DATA1 0xFFC02EC4
822 #define CAN_MB22_DATA2 0xFFC02EC8
823 #define CAN_MB22_DATA3 0xFFC02ECC
824 #define CAN_MB22_LENGTH 0xFFC02ED0
825 #define CAN_MB22_TIMESTAMP 0xFFC02ED4
826 #define CAN_MB22_ID0 0xFFC02ED8
827 #define CAN_MB22_ID1 0xFFC02EDC
829 #define CAN_MB23_DATA0 0xFFC02EE0
830 #define CAN_MB23_DATA1 0xFFC02EE4
831 #define CAN_MB23_DATA2 0xFFC02EE8
832 #define CAN_MB23_DATA3 0xFFC02EEC
833 #define CAN_MB23_LENGTH 0xFFC02EF0
834 #define CAN_MB23_TIMESTAMP 0xFFC02EF4
835 #define CAN_MB23_ID0 0xFFC02EF8
836 #define CAN_MB23_ID1 0xFFC02EFC
838 #define CAN_MB24_DATA0 0xFFC02F00
839 #define CAN_MB24_DATA1 0xFFC02F04
840 #define CAN_MB24_DATA2 0xFFC02F08
841 #define CAN_MB24_DATA3 0xFFC02F0C
842 #define CAN_MB24_LENGTH 0xFFC02F10
843 #define CAN_MB24_TIMESTAMP 0xFFC02F14
844 #define CAN_MB24_ID0 0xFFC02F18
845 #define CAN_MB24_ID1 0xFFC02F1C
847 #define CAN_MB25_DATA0 0xFFC02F20
848 #define CAN_MB25_DATA1 0xFFC02F24
849 #define CAN_MB25_DATA2 0xFFC02F28
850 #define CAN_MB25_DATA3 0xFFC02F2C
851 #define CAN_MB25_LENGTH 0xFFC02F30
852 #define CAN_MB25_TIMESTAMP 0xFFC02F34
853 #define CAN_MB25_ID0 0xFFC02F38
854 #define CAN_MB25_ID1 0xFFC02F3C
856 #define CAN_MB26_DATA0 0xFFC02F40
857 #define CAN_MB26_DATA1 0xFFC02F44
858 #define CAN_MB26_DATA2 0xFFC02F48
859 #define CAN_MB26_DATA3 0xFFC02F4C
860 #define CAN_MB26_LENGTH 0xFFC02F50
861 #define CAN_MB26_TIMESTAMP 0xFFC02F54
862 #define CAN_MB26_ID0 0xFFC02F58
863 #define CAN_MB26_ID1 0xFFC02F5C
865 #define CAN_MB27_DATA0 0xFFC02F60
866 #define CAN_MB27_DATA1 0xFFC02F64
867 #define CAN_MB27_DATA2 0xFFC02F68
868 #define CAN_MB27_DATA3 0xFFC02F6C
869 #define CAN_MB27_LENGTH 0xFFC02F70
870 #define CAN_MB27_TIMESTAMP 0xFFC02F74
871 #define CAN_MB27_ID0 0xFFC02F78
872 #define CAN_MB27_ID1 0xFFC02F7C
874 #define CAN_MB28_DATA0 0xFFC02F80
875 #define CAN_MB28_DATA1 0xFFC02F84
876 #define CAN_MB28_DATA2 0xFFC02F88
877 #define CAN_MB28_DATA3 0xFFC02F8C
878 #define CAN_MB28_LENGTH 0xFFC02F90
879 #define CAN_MB28_TIMESTAMP 0xFFC02F94
880 #define CAN_MB28_ID0 0xFFC02F98
881 #define CAN_MB28_ID1 0xFFC02F9C
883 #define CAN_MB29_DATA0 0xFFC02FA0
884 #define CAN_MB29_DATA1 0xFFC02FA4
885 #define CAN_MB29_DATA2 0xFFC02FA8
886 #define CAN_MB29_DATA3 0xFFC02FAC
887 #define CAN_MB29_LENGTH 0xFFC02FB0
888 #define CAN_MB29_TIMESTAMP 0xFFC02FB4
889 #define CAN_MB29_ID0 0xFFC02FB8
890 #define CAN_MB29_ID1 0xFFC02FBC
892 #define CAN_MB30_DATA0 0xFFC02FC0
893 #define CAN_MB30_DATA1 0xFFC02FC4
894 #define CAN_MB30_DATA2 0xFFC02FC8
895 #define CAN_MB30_DATA3 0xFFC02FCC
896 #define CAN_MB30_LENGTH 0xFFC02FD0
897 #define CAN_MB30_TIMESTAMP 0xFFC02FD4
898 #define CAN_MB30_ID0 0xFFC02FD8
899 #define CAN_MB30_ID1 0xFFC02FDC
901 #define CAN_MB31_DATA0 0xFFC02FE0
902 #define CAN_MB31_DATA1 0xFFC02FE4
903 #define CAN_MB31_DATA2 0xFFC02FE8
904 #define CAN_MB31_DATA3 0xFFC02FEC
905 #define CAN_MB31_LENGTH 0xFFC02FF0
906 #define CAN_MB31_TIMESTAMP 0xFFC02FF4
907 #define CAN_MB31_ID0 0xFFC02FF8
908 #define CAN_MB31_ID1 0xFFC02FFC
911 #define CAN_MB_ID1(x) (CAN_MB00_ID1+((x)*0x20))
912 #define CAN_MB_ID0(x) (CAN_MB00_ID0+((x)*0x20))
913 #define CAN_MB_TIMESTAMP(x) (CAN_MB00_TIMESTAMP+((x)*0x20))
914 #define CAN_MB_LENGTH(x) (CAN_MB00_LENGTH+((x)*0x20))
915 #define CAN_MB_DATA3(x) (CAN_MB00_DATA3+((x)*0x20))
916 #define CAN_MB_DATA2(x) (CAN_MB00_DATA2+((x)*0x20))
917 #define CAN_MB_DATA1(x) (CAN_MB00_DATA1+((x)*0x20))
918 #define CAN_MB_DATA0(x) (CAN_MB00_DATA0+((x)*0x20))
921 #define PORTF_FER 0xFFC03200
922 #define PORTG_FER 0xFFC03204
923 #define PORTH_FER 0xFFC03208
924 #define BFIN_PORT_MUX 0xFFC0320C
927 #define HMDMA0_CONTROL 0xFFC03300
928 #define HMDMA0_ECINIT 0xFFC03304
929 #define HMDMA0_BCINIT 0xFFC03308
930 #define HMDMA0_ECURGENT 0xFFC0330C
931 #define HMDMA0_ECOVERFLOW 0xFFC03310
932 #define HMDMA0_ECOUNT 0xFFC03314
933 #define HMDMA0_BCOUNT 0xFFC03318
935 #define HMDMA1_CONTROL 0xFFC03340
936 #define HMDMA1_ECINIT 0xFFC03344
937 #define HMDMA1_BCINIT 0xFFC03348
938 #define HMDMA1_ECURGENT 0xFFC0334C
939 #define HMDMA1_ECOVERFLOW 0xFFC03350
940 #define HMDMA1_ECOUNT 0xFFC03354
941 #define HMDMA1_BCOUNT 0xFFC03358
956 #define CHIPID_VERSION 0xF0000000
957 #define CHIPID_FAMILY 0x0FFFF000
958 #define CHIPID_MANUFACTURE 0x00000FFE
961 #define SYSTEM_RESET 0x0007
962 #define DOUBLE_FAULT 0x0008
963 #define RESET_DOUBLE 0x2000
964 #define RESET_WDOG 0x4000
965 #define RESET_SOFTWARE 0x8000
969 #define NOBOOT 0x0010
974 #define P0_IVG(x) (((x)&0xF)-7)
975 #define P1_IVG(x) (((x)&0xF)-7) << 0x4
976 #define P2_IVG(x) (((x)&0xF)-7) << 0x8
977 #define P3_IVG(x) (((x)&0xF)-7) << 0xC
978 #define P4_IVG(x) (((x)&0xF)-7) << 0x10
979 #define P5_IVG(x) (((x)&0xF)-7) << 0x14
980 #define P6_IVG(x) (((x)&0xF)-7) << 0x18
981 #define P7_IVG(x) (((x)&0xF)-7) << 0x1C
984 #define P8_IVG(x) (((x)&0xF)-7)
985 #define P9_IVG(x) (((x)&0xF)-7) << 0x4
986 #define P10_IVG(x) (((x)&0xF)-7) << 0x8
987 #define P11_IVG(x) (((x)&0xF)-7) << 0xC
988 #define P12_IVG(x) (((x)&0xF)-7) << 0x10
989 #define P13_IVG(x) (((x)&0xF)-7) << 0x14
990 #define P14_IVG(x) (((x)&0xF)-7) << 0x18
991 #define P15_IVG(x) (((x)&0xF)-7) << 0x1C
994 #define P16_IVG(x) (((x)&0xF)-7)
995 #define P17_IVG(x) (((x)&0xF)-7) << 0x4
996 #define P18_IVG(x) (((x)&0xF)-7) << 0x8
997 #define P19_IVG(x) (((x)&0xF)-7) << 0xC
998 #define P20_IVG(x) (((x)&0xF)-7) << 0x10
999 #define P21_IVG(x) (((x)&0xF)-7) << 0x14
1000 #define P22_IVG(x) (((x)&0xF)-7) << 0x18
1001 #define P23_IVG(x) (((x)&0xF)-7) << 0x1C
1004 #define P24_IVG(x) (((x)&0xF)-7)
1005 #define P25_IVG(x) (((x)&0xF)-7) << 0x4
1006 #define P26_IVG(x) (((x)&0xF)-7) << 0x8
1007 #define P27_IVG(x) (((x)&0xF)-7) << 0xC
1008 #define P28_IVG(x) (((x)&0xF)-7) << 0x10
1009 #define P29_IVG(x) (((x)&0xF)-7) << 0x14
1010 #define P30_IVG(x) (((x)&0xF)-7) << 0x18
1011 #define P31_IVG(x) (((x)&0xF)-7) << 0x1C
1014 #define SIC_UNMASK_ALL 0x00000000
1015 #define SIC_MASK_ALL 0xFFFFFFFF
1016 #define SIC_MASK(x) (1 << ((x)&0x1F))
1017 #define SIC_UNMASK(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F)))
1020 #define IWR_DISABLE_ALL 0x00000000
1021 #define IWR_ENABLE_ALL 0xFFFFFFFF
1022 #define IWR_ENABLE(x) (1 << ((x)&0x1F))
1023 #define IWR_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F)))
1027 #define TIMEN0 0x0001
1028 #define TIMEN1 0x0002
1029 #define TIMEN2 0x0004
1030 #define TIMEN3 0x0008
1031 #define TIMEN4 0x0010
1032 #define TIMEN5 0x0020
1033 #define TIMEN6 0x0040
1034 #define TIMEN7 0x0080
1037 #define TIMDIS0 TIMEN0
1038 #define TIMDIS1 TIMEN1
1039 #define TIMDIS2 TIMEN2
1040 #define TIMDIS3 TIMEN3
1041 #define TIMDIS4 TIMEN4
1042 #define TIMDIS5 TIMEN5
1043 #define TIMDIS6 TIMEN6
1044 #define TIMDIS7 TIMEN7
1047 #define TIMIL0 0x00000001
1048 #define TIMIL1 0x00000002
1049 #define TIMIL2 0x00000004
1050 #define TIMIL3 0x00000008
1051 #define TOVF_ERR0 0x00000010
1052 #define TOVF_ERR1 0x00000020
1053 #define TOVF_ERR2 0x00000040
1054 #define TOVF_ERR3 0x00000080
1055 #define TRUN0 0x00001000
1056 #define TRUN1 0x00002000
1057 #define TRUN2 0x00004000
1058 #define TRUN3 0x00008000
1059 #define TIMIL4 0x00010000
1060 #define TIMIL5 0x00020000
1061 #define TIMIL6 0x00040000
1062 #define TIMIL7 0x00080000
1063 #define TOVF_ERR4 0x00100000
1064 #define TOVF_ERR5 0x00200000
1065 #define TOVF_ERR6 0x00400000
1066 #define TOVF_ERR7 0x00800000
1067 #define TRUN4 0x10000000
1068 #define TRUN5 0x20000000
1069 #define TRUN6 0x40000000
1070 #define TRUN7 0x80000000
1073 #define TOVL_ERR0 TOVF_ERR0
1074 #define TOVL_ERR1 TOVF_ERR1
1075 #define TOVL_ERR2 TOVF_ERR2
1076 #define TOVL_ERR3 TOVF_ERR3
1077 #define TOVL_ERR4 TOVF_ERR4
1078 #define TOVL_ERR5 TOVF_ERR5
1079 #define TOVL_ERR6 TOVF_ERR6
1080 #define TOVL_ERR7 TOVF_ERR7
1082 #define PWM_OUT 0x0001
1083 #define WDTH_CAP 0x0002
1084 #define EXT_CLK 0x0003
1085 #define PULSE_HI 0x0004
1086 #define PERIOD_CNT 0x0008
1087 #define IRQ_ENA 0x0010
1088 #define TIN_SEL 0x0020
1089 #define OUT_DIS 0x0040
1090 #define CLK_SEL 0x0080
1091 #define TOGGLE_HI 0x0100
1092 #define EMU_RUN 0x0200
1093 #define ERR_TYP 0xC000
1097 #define AMCKEN 0x0001
1098 #define AMBEN_NONE 0x0000
1099 #define AMBEN_B0 0x0002
1100 #define AMBEN_B0_B1 0x0004
1101 #define AMBEN_B0_B1_B2 0x0006
1102 #define AMBEN_ALL 0x0008
1105 #define B0RDYEN 0x00000001
1106 #define B0RDYPOL 0x00000002
1107 #define B0TT_1 0x00000004
1108 #define B0TT_2 0x00000008
1109 #define B0TT_3 0x0000000C
1110 #define B0TT_4 0x00000000
1111 #define B0ST_1 0x00000010
1112 #define B0ST_2 0x00000020
1113 #define B0ST_3 0x00000030
1114 #define B0ST_4 0x00000000
1115 #define B0HT_1 0x00000040
1116 #define B0HT_2 0x00000080
1117 #define B0HT_3 0x000000C0
1118 #define B0HT_0 0x00000000
1119 #define B0RAT_1 0x00000100
1120 #define B0RAT_2 0x00000200
1121 #define B0RAT_3 0x00000300
1122 #define B0RAT_4 0x00000400
1123 #define B0RAT_5 0x00000500
1124 #define B0RAT_6 0x00000600
1125 #define B0RAT_7 0x00000700
1126 #define B0RAT_8 0x00000800
1127 #define B0RAT_9 0x00000900
1128 #define B0RAT_10 0x00000A00
1129 #define B0RAT_11 0x00000B00
1130 #define B0RAT_12 0x00000C00
1131 #define B0RAT_13 0x00000D00
1132 #define B0RAT_14 0x00000E00
1133 #define B0RAT_15 0x00000F00
1134 #define B0WAT_1 0x00001000
1135 #define B0WAT_2 0x00002000
1136 #define B0WAT_3 0x00003000
1137 #define B0WAT_4 0x00004000
1138 #define B0WAT_5 0x00005000
1139 #define B0WAT_6 0x00006000
1140 #define B0WAT_7 0x00007000
1141 #define B0WAT_8 0x00008000
1142 #define B0WAT_9 0x00009000
1143 #define B0WAT_10 0x0000A000
1144 #define B0WAT_11 0x0000B000
1145 #define B0WAT_12 0x0000C000
1146 #define B0WAT_13 0x0000D000
1147 #define B0WAT_14 0x0000E000
1148 #define B0WAT_15 0x0000F000
1150 #define B1RDYEN 0x00010000
1151 #define B1RDYPOL 0x00020000
1152 #define B1TT_1 0x00040000
1153 #define B1TT_2 0x00080000
1154 #define B1TT_3 0x000C0000
1155 #define B1TT_4 0x00000000
1156 #define B1ST_1 0x00100000
1157 #define B1ST_2 0x00200000
1158 #define B1ST_3 0x00300000
1159 #define B1ST_4 0x00000000
1160 #define B1HT_1 0x00400000
1161 #define B1HT_2 0x00800000
1162 #define B1HT_3 0x00C00000
1163 #define B1HT_0 0x00000000
1164 #define B1RAT_1 0x01000000
1165 #define B1RAT_2 0x02000000
1166 #define B1RAT_3 0x03000000
1167 #define B1RAT_4 0x04000000
1168 #define B1RAT_5 0x05000000
1169 #define B1RAT_6 0x06000000
1170 #define B1RAT_7 0x07000000
1171 #define B1RAT_8 0x08000000
1172 #define B1RAT_9 0x09000000
1173 #define B1RAT_10 0x0A000000
1174 #define B1RAT_11 0x0B000000
1175 #define B1RAT_12 0x0C000000
1176 #define B1RAT_13 0x0D000000
1177 #define B1RAT_14 0x0E000000
1178 #define B1RAT_15 0x0F000000
1179 #define B1WAT_1 0x10000000
1180 #define B1WAT_2 0x20000000
1181 #define B1WAT_3 0x30000000
1182 #define B1WAT_4 0x40000000
1183 #define B1WAT_5 0x50000000
1184 #define B1WAT_6 0x60000000
1185 #define B1WAT_7 0x70000000
1186 #define B1WAT_8 0x80000000
1187 #define B1WAT_9 0x90000000
1188 #define B1WAT_10 0xA0000000
1189 #define B1WAT_11 0xB0000000
1190 #define B1WAT_12 0xC0000000
1191 #define B1WAT_13 0xD0000000
1192 #define B1WAT_14 0xE0000000
1193 #define B1WAT_15 0xF0000000
1196 #define B2RDYEN 0x00000001
1197 #define B2RDYPOL 0x00000002
1198 #define B2TT_1 0x00000004
1199 #define B2TT_2 0x00000008
1200 #define B2TT_3 0x0000000C
1201 #define B2TT_4 0x00000000
1202 #define B2ST_1 0x00000010
1203 #define B2ST_2 0x00000020
1204 #define B2ST_3 0x00000030
1205 #define B2ST_4 0x00000000
1206 #define B2HT_1 0x00000040
1207 #define B2HT_2 0x00000080
1208 #define B2HT_3 0x000000C0
1209 #define B2HT_0 0x00000000
1210 #define B2RAT_1 0x00000100
1211 #define B2RAT_2 0x00000200
1212 #define B2RAT_3 0x00000300
1213 #define B2RAT_4 0x00000400
1214 #define B2RAT_5 0x00000500
1215 #define B2RAT_6 0x00000600
1216 #define B2RAT_7 0x00000700
1217 #define B2RAT_8 0x00000800
1218 #define B2RAT_9 0x00000900
1219 #define B2RAT_10 0x00000A00
1220 #define B2RAT_11 0x00000B00
1221 #define B2RAT_12 0x00000C00
1222 #define B2RAT_13 0x00000D00
1223 #define B2RAT_14 0x00000E00
1224 #define B2RAT_15 0x00000F00
1225 #define B2WAT_1 0x00001000
1226 #define B2WAT_2 0x00002000
1227 #define B2WAT_3 0x00003000
1228 #define B2WAT_4 0x00004000
1229 #define B2WAT_5 0x00005000
1230 #define B2WAT_6 0x00006000
1231 #define B2WAT_7 0x00007000
1232 #define B2WAT_8 0x00008000
1233 #define B2WAT_9 0x00009000
1234 #define B2WAT_10 0x0000A000
1235 #define B2WAT_11 0x0000B000
1236 #define B2WAT_12 0x0000C000
1237 #define B2WAT_13 0x0000D000
1238 #define B2WAT_14 0x0000E000
1239 #define B2WAT_15 0x0000F000
1241 #define B3RDYEN 0x00010000
1242 #define B3RDYPOL 0x00020000
1243 #define B3TT_1 0x00040000
1244 #define B3TT_2 0x00080000
1245 #define B3TT_3 0x000C0000
1246 #define B3TT_4 0x00000000
1247 #define B3ST_1 0x00100000
1248 #define B3ST_2 0x00200000
1249 #define B3ST_3 0x00300000
1250 #define B3ST_4 0x00000000
1251 #define B3HT_1 0x00400000
1252 #define B3HT_2 0x00800000
1253 #define B3HT_3 0x00C00000
1254 #define B3HT_0 0x00000000
1255 #define B3RAT_1 0x01000000
1256 #define B3RAT_2 0x02000000
1257 #define B3RAT_3 0x03000000
1258 #define B3RAT_4 0x04000000
1259 #define B3RAT_5 0x05000000
1260 #define B3RAT_6 0x06000000
1261 #define B3RAT_7 0x07000000
1262 #define B3RAT_8 0x08000000
1263 #define B3RAT_9 0x09000000
1264 #define B3RAT_10 0x0A000000
1265 #define B3RAT_11 0x0B000000
1266 #define B3RAT_12 0x0C000000
1267 #define B3RAT_13 0x0D000000
1268 #define B3RAT_14 0x0E000000
1269 #define B3RAT_15 0x0F000000
1270 #define B3WAT_1 0x10000000
1271 #define B3WAT_2 0x20000000
1272 #define B3WAT_3 0x30000000
1273 #define B3WAT_4 0x40000000
1274 #define B3WAT_5 0x50000000
1275 #define B3WAT_6 0x60000000
1276 #define B3WAT_7 0x70000000
1277 #define B3WAT_8 0x80000000
1278 #define B3WAT_9 0x90000000
1279 #define B3WAT_10 0xA0000000
1280 #define B3WAT_11 0xB0000000
1281 #define B3WAT_12 0xC0000000
1282 #define B3WAT_13 0xD0000000
1283 #define B3WAT_14 0xE0000000
1284 #define B3WAT_15 0xF0000000
1288 #define SCTLE 0x00000001
1289 #define CL_2 0x00000008
1290 #define CL_3 0x0000000C
1291 #define PASR_ALL 0x00000000
1292 #define PASR_B0_B1 0x00000010
1293 #define PASR_B0 0x00000020
1294 #define TRAS_1 0x00000040
1295 #define TRAS_2 0x00000080
1296 #define TRAS_3 0x000000C0
1297 #define TRAS_4 0x00000100
1298 #define TRAS_5 0x00000140
1299 #define TRAS_6 0x00000180
1300 #define TRAS_7 0x000001C0
1301 #define TRAS_8 0x00000200
1302 #define TRAS_9 0x00000240
1303 #define TRAS_10 0x00000280
1304 #define TRAS_11 0x000002C0
1305 #define TRAS_12 0x00000300
1306 #define TRAS_13 0x00000340
1307 #define TRAS_14 0x00000380
1308 #define TRAS_15 0x000003C0
1309 #define TRP_1 0x00000800
1310 #define TRP_2 0x00001000
1311 #define TRP_3 0x00001800
1312 #define TRP_4 0x00002000
1313 #define TRP_5 0x00002800
1314 #define TRP_6 0x00003000
1315 #define TRP_7 0x00003800
1316 #define TRCD_1 0x00008000
1317 #define TRCD_2 0x00010000
1318 #define TRCD_3 0x00018000
1319 #define TRCD_4 0x00020000
1320 #define TRCD_5 0x00028000
1321 #define TRCD_6 0x00030000
1322 #define TRCD_7 0x00038000
1323 #define TWR_1 0x00080000
1324 #define TWR_2 0x00100000
1325 #define TWR_3 0x00180000
1326 #define PUPSD 0x00200000
1327 #define PSM 0x00400000
1328 #define PSS 0x00800000
1329 #define SRFS 0x01000000
1330 #define EBUFE 0x02000000
1331 #define FBBRW 0x04000000
1332 #define EMREN 0x10000000
1333 #define TCSR 0x20000000
1334 #define CDDBG 0x40000000
1338 #define EBSZ_16 0x0000
1339 #define EBSZ_32 0x0002
1340 #define EBSZ_64 0x0004
1341 #define EBSZ_128 0x0006
1342 #define EBSZ_256 0x0008
1343 #define EBSZ_512 0x000A
1344 #define EBCAW_8 0x0000
1345 #define EBCAW_9 0x0010
1346 #define EBCAW_10 0x0020
1347 #define EBCAW_11 0x0030
1351 #define SDSRA 0x0002
1352 #define SDPUA 0x0004
1354 #define SDEASE 0x0010
1355 #define BGSTAT 0x0020
1360 #define CTYPE 0x0040
1362 #define PMAP_PPI 0x0000
1363 #define PMAP_EMACRX 0x1000
1364 #define PMAP_EMACTX 0x2000
1365 #define PMAP_SPORT0RX 0x3000
1366 #define PMAP_SPORT0TX 0x4000
1367 #define PMAP_SPORT1RX 0x5000
1368 #define PMAP_SPORT1TX 0x6000
1369 #define PMAP_SPI 0x7000
1370 #define PMAP_UART0RX 0x8000
1371 #define PMAP_UART0TX 0x9000
1372 #define PMAP_UART1RX 0xA000
1373 #define PMAP_UART1TX 0xB000
1377 #define PORT_EN 0x0001
1378 #define PORT_DIR 0x0002
1379 #define XFR_TYPE 0x000C
1380 #define PORT_CFG 0x0030
1381 #define FLD_SEL 0x0040
1382 #define PACK_EN 0x0080
1383 #define DMA32 0x0100
1384 #define SKIP_EN 0x0200
1385 #define SKIP_EO 0x0400
1386 #define DLENGTH 0x3800
1387 #define DLEN_8 0x0000
1388 #define DLEN_10 0x0800
1389 #define DLEN_11 0x1000
1390 #define DLEN_12 0x1800
1391 #define DLEN_13 0x2000
1392 #define DLEN_14 0x2800
1393 #define DLEN_15 0x3000
1394 #define DLEN_16 0x3800
1400 #define FT_ERR 0x0800
1403 #define ERR_DET 0x4000
1404 #define ERR_NCOR 0x8000
1410 #define PJSE_SPORT 0x0000
1411 #define PJSE_SPI 0x0001
1413 #define PJCE(x) (((x)&0x3)<<1)
1414 #define PJCE_SPORT 0x0000
1415 #define PJCE_CAN 0x0002
1416 #define PJCE_SPI 0x0004
1419 #define PFDE_UART 0x0000
1420 #define PFDE_DMA 0x0008
1423 #define PFTE_UART 0x0000
1424 #define PFTE_TIMER 0x0010
1426 #define PFS6E 0x0020
1427 #define PFS6E_TIMER 0x0000
1428 #define PFS6E_SPI 0x0020
1430 #define PFS5E 0x0040
1431 #define PFS5E_TIMER 0x0000
1432 #define PFS5E_SPI 0x0040
1434 #define PFS4E 0x0080
1435 #define PFS4E_TIMER 0x0000
1436 #define PFS4E_SPI 0x0080
1439 #define PFFE_TIMER 0x0000
1440 #define PFFE_PPI 0x0100
1443 #define PGSE_PPI 0x0000
1444 #define PGSE_SPORT 0x0200
1447 #define PGRE_PPI 0x0000
1448 #define PGRE_SPORT 0x0400
1451 #define PGTE_PPI 0x0000
1452 #define PGTE_SPORT 0x0800
1456 #define _BOOTROM_RESET 0xEF000000
1457 #define _BOOTROM_FINAL_INIT 0xEF000002
1458 #define _BOOTROM_DO_MEMORY_DMA 0xEF000006
1459 #define _BOOTROM_BOOT_DXE_FLASH 0xEF000008
1460 #define _BOOTROM_BOOT_DXE_SPI 0xEF00000A
1461 #define _BOOTROM_BOOT_DXE_TWI 0xEF00000C
1462 #define _BOOTROM_GET_DXE_ADDRESS_FLASH 0xEF000010
1463 #define _BOOTROM_GET_DXE_ADDRESS_SPI 0xEF000012
1464 #define _BOOTROM_GET_DXE_ADDRESS_TWI 0xEF000014
1467 #define PGDE_UART PFDE_UART
1468 #define PGDE_DMA PFDE_DMA
1469 #define CKELOW SCKELOW