source: trunk/libs/newlib/src/libgloss/bfin/include/cdefBF54x_base.h @ 478

Last change on this file since 478 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 105.3 KB
Line 
1/*
2 * The authors hereby grant permission to use, copy, modify, distribute,
3 * and license this software and its documentation for any purpose, provided
4 * that existing copyright notices are retained in all copies and that this
5 * notice is included verbatim in any distributions. No written agreement,
6 * license, or royalty fee is required for any of the authorized uses.
7 * Modifications to this software may be copyrighted by their authors
8 * and need not follow the licensing terms described here, provided that
9 * the new terms are clearly indicated on the first page of each file where
10 * they apply.
11 */
12
13/*
14** cdefBF54x_base.h
15**
16** Copyright (C) 2006-2007 Analog Devices Inc., All Rights Reserved.
17**
18************************************************************************************
19**
20** This include file contains a list of macro "defines" to enable the programmer
21** to use symbolic names for the registers common to the ADSP-BF54x peripherals.
22**
23***************************************************************/
24
25#ifndef _CDEF_BF54X_H
26#define _CDEF_BF54X_H
27
28#include <defBF54x_base.h>
29
30#ifdef _MISRA_RULES
31#pragma diag(push)
32#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
33#endif /* _MISRA_RULES */
34
35/* ************************************************************** */
36/*   SYSTEM & MMR ADDRESS DEFINITIONS COMMON TO ALL ADSP-BF54x    */
37/* ************************************************************** */
38
39/* PLL Registers */
40
41#define                          pPLL_CTL ((volatile unsigned short *)PLL_CTL)
42#define                          pPLL_DIV ((volatile unsigned short *)PLL_DIV)
43#define                           pVR_CTL ((volatile unsigned short *)VR_CTL)
44#define                         pPLL_STAT ((volatile unsigned short *)PLL_STAT)
45#define                      pPLL_LOCKCNT ((volatile unsigned short *)PLL_LOCKCNT)
46
47/* Debug/MP/Emulation Registers (0xFFC00014 - 0xFFC00014) */
48
49#define                           pCHIPID ((volatile unsigned long *)CHIPID)
50
51/* System Reset and Interrupt Controller (0xFFC00100 - 0xFFC00104) */
52
53#define                            pSWRST ((volatile unsigned short *)SWRST)
54#define                            pSYSCR ((volatile unsigned short *)SYSCR)
55
56/* SIC Registers */
57
58#define                       pSIC_IMASK0 ((volatile unsigned long *)SIC_IMASK0)
59#define                       pSIC_IMASK1 ((volatile unsigned long *)SIC_IMASK1)
60#define                       pSIC_IMASK2 ((volatile unsigned long *)SIC_IMASK2)
61#define                         pSIC_ISR0 ((volatile unsigned long *)SIC_ISR0)
62#define                         pSIC_ISR1 ((volatile unsigned long *)SIC_ISR1)
63#define                         pSIC_ISR2 ((volatile unsigned long *)SIC_ISR2)
64#define                         pSIC_IWR0 ((volatile unsigned long *)SIC_IWR0)
65#define                         pSIC_IWR1 ((volatile unsigned long *)SIC_IWR1)
66#define                         pSIC_IWR2 ((volatile unsigned long *)SIC_IWR2)
67#define                         pSIC_IAR0 ((volatile unsigned long *)SIC_IAR0)
68#define                         pSIC_IAR1 ((volatile unsigned long *)SIC_IAR1)
69#define                         pSIC_IAR2 ((volatile unsigned long *)SIC_IAR2)
70#define                         pSIC_IAR3 ((volatile unsigned long *)SIC_IAR3)
71#define                         pSIC_IAR4 ((volatile unsigned long *)SIC_IAR4)
72#define                         pSIC_IAR5 ((volatile unsigned long *)SIC_IAR5)
73#define                         pSIC_IAR6 ((volatile unsigned long *)SIC_IAR6)
74#define                         pSIC_IAR7 ((volatile unsigned long *)SIC_IAR7)
75#define                         pSIC_IAR8 ((volatile unsigned long *)SIC_IAR8)
76#define                         pSIC_IAR9 ((volatile unsigned long *)SIC_IAR9)
77#define                        pSIC_IAR10 ((volatile unsigned long *)SIC_IAR10)
78#define                        pSIC_IAR11 ((volatile unsigned long *)SIC_IAR11)
79
80/* Watchdog Timer Registers */
81
82#define                         pWDOG_CTL ((volatile unsigned short *)WDOG_CTL)
83#define                         pWDOG_CNT ((volatile unsigned long *)WDOG_CNT)
84#define                        pWDOG_STAT ((volatile unsigned long *)WDOG_STAT)
85
86/* RTC Registers */
87
88#define                         pRTC_STAT ((volatile unsigned long *)RTC_STAT)
89#define                         pRTC_ICTL ((volatile unsigned short *)RTC_ICTL)
90#define                        pRTC_ISTAT ((volatile unsigned short *)RTC_ISTAT)
91#define                        pRTC_SWCNT ((volatile unsigned short *)RTC_SWCNT)
92#define                        pRTC_ALARM ((volatile unsigned long *)RTC_ALARM)
93#define                         pRTC_PREN ((volatile unsigned short *)RTC_PREN)
94
95/* UART0 Registers */
96
97#define                        pUART0_DLL ((volatile unsigned short *)UART0_DLL)
98#define                        pUART0_DLH ((volatile unsigned short *)UART0_DLH)
99#define                       pUART0_GCTL ((volatile unsigned short *)UART0_GCTL)
100#define                        pUART0_LCR ((volatile unsigned short *)UART0_LCR)
101#define                        pUART0_MCR ((volatile unsigned short *)UART0_MCR)
102#define                        pUART0_LSR ((volatile unsigned short *)UART0_LSR)
103#define                        pUART0_MSR ((volatile unsigned short *)UART0_MSR)
104#define                        pUART0_SCR ((volatile unsigned short *)UART0_SCR)
105#define                    pUART0_IER_SET ((volatile unsigned short *)UART0_IER_SET)
106#define                  pUART0_IER_CLEAR ((volatile unsigned short *)UART0_IER_CLEAR)
107#define                        pUART0_THR ((volatile unsigned short *)UART0_THR)
108#define                        pUART0_RBR ((volatile unsigned short *)UART0_RBR)
109
110/* SPI0 Registers */
111
112#define                         pSPI0_CTL ((volatile unsigned short *)SPI0_CTL)
113#define                         pSPI0_FLG ((volatile unsigned short *)SPI0_FLG)
114#define                        pSPI0_STAT ((volatile unsigned short *)SPI0_STAT)
115#define                        pSPI0_TDBR ((volatile unsigned short *)SPI0_TDBR)
116#define                        pSPI0_RDBR ((volatile unsigned short *)SPI0_RDBR)
117#define                        pSPI0_BAUD ((volatile unsigned short *)SPI0_BAUD)
118#define                      pSPI0_SHADOW ((volatile unsigned short *)SPI0_SHADOW)
119
120/* Timer Group of 3 registers are not defined in the shared file because they are not available on the ADSP-BF542 processor */
121
122/* Two Wire Interface Registers (TWI0) */
123
124#define                      pTWI0_CLKDIV ((volatile unsigned short *)TWI0_CLKDIV)
125#define                     pTWI0_CONTROL ((volatile unsigned short *)TWI0_CONTROL)
126#define                   pTWI0_SLAVE_CTL ((volatile unsigned short *)TWI0_SLAVE_CTL)
127#define                  pTWI0_SLAVE_STAT ((volatile unsigned short *)TWI0_SLAVE_STAT)
128#define                  pTWI0_SLAVE_ADDR ((volatile unsigned short *)TWI0_SLAVE_ADDR)
129#define                  pTWI0_MASTER_CTL ((volatile unsigned short *)TWI0_MASTER_CTL)
130#define                 pTWI0_MASTER_STAT ((volatile unsigned short *)TWI0_MASTER_STAT)
131#define                 pTWI0_MASTER_ADDR ((volatile unsigned short *)TWI0_MASTER_ADDR)
132#define                    pTWI0_INT_STAT ((volatile unsigned short *)TWI0_INT_STAT)
133#define                    pTWI0_INT_MASK ((volatile unsigned short *)TWI0_INT_MASK)
134#define                    pTWI0_FIFO_CTL ((volatile unsigned short *)TWI0_FIFO_CTL)
135#define                   pTWI0_FIFO_STAT ((volatile unsigned short *)TWI0_FIFO_STAT)
136#define                   pTWI0_XMT_DATA8 ((volatile unsigned short *)TWI0_XMT_DATA8)
137#define                  pTWI0_XMT_DATA16 ((volatile unsigned short *)TWI0_XMT_DATA16)
138#define                   pTWI0_RCV_DATA8 ((volatile unsigned short *)TWI0_RCV_DATA8)
139#define                  pTWI0_RCV_DATA16 ((volatile unsigned short *)TWI0_RCV_DATA16)
140
141/* SPORT0 is not defined in the shared file because it is not available on the ADSP-BF542 and ADSP-BF544 processors */
142
143/* SPORT1 Registers */
144
145#define                      pSPORT1_TCR1 ((volatile unsigned short *)SPORT1_TCR1)
146#define                      pSPORT1_TCR2 ((volatile unsigned short *)SPORT1_TCR2)
147#define                   pSPORT1_TCLKDIV ((volatile unsigned short *)SPORT1_TCLKDIV)
148#define                    pSPORT1_TFSDIV ((volatile unsigned short *)SPORT1_TFSDIV)
149#define                        pSPORT1_TX ((volatile unsigned long *)SPORT1_TX)
150#define                        pSPORT1_RX ((volatile unsigned long *)SPORT1_RX)
151#define                      pSPORT1_RCR1 ((volatile unsigned short *)SPORT1_RCR1)
152#define                      pSPORT1_RCR2 ((volatile unsigned short *)SPORT1_RCR2)
153#define                   pSPORT1_RCLKDIV ((volatile unsigned short *)SPORT1_RCLKDIV)
154#define                    pSPORT1_RFSDIV ((volatile unsigned short *)SPORT1_RFSDIV)
155#define                      pSPORT1_STAT ((volatile unsigned short *)SPORT1_STAT)
156#define                      pSPORT1_CHNL ((volatile unsigned short *)SPORT1_CHNL)
157#define                     pSPORT1_MCMC1 ((volatile unsigned short *)SPORT1_MCMC1)
158#define                     pSPORT1_MCMC2 ((volatile unsigned short *)SPORT1_MCMC2)
159#define                     pSPORT1_MTCS0 ((volatile unsigned long *)SPORT1_MTCS0)
160#define                     pSPORT1_MTCS1 ((volatile unsigned long *)SPORT1_MTCS1)
161#define                     pSPORT1_MTCS2 ((volatile unsigned long *)SPORT1_MTCS2)
162#define                     pSPORT1_MTCS3 ((volatile unsigned long *)SPORT1_MTCS3)
163#define                     pSPORT1_MRCS0 ((volatile unsigned long *)SPORT1_MRCS0)
164#define                     pSPORT1_MRCS1 ((volatile unsigned long *)SPORT1_MRCS1)
165#define                     pSPORT1_MRCS2 ((volatile unsigned long *)SPORT1_MRCS2)
166#define                     pSPORT1_MRCS3 ((volatile unsigned long *)SPORT1_MRCS3)
167
168/* Asynchronous Memory Control Registers */
169
170#define                      pEBIU_AMGCTL ((volatile unsigned short *)EBIU_AMGCTL)
171#define                     pEBIU_AMBCTL0 ((volatile unsigned long *)EBIU_AMBCTL0)
172#define                     pEBIU_AMBCTL1 ((volatile unsigned long *)EBIU_AMBCTL1)
173#define                      pEBIU_MBSCTL ((volatile unsigned long *)EBIU_MBSCTL)
174#define                     pEBIU_ARBSTAT ((volatile unsigned long *)EBIU_ARBSTAT)
175#define                        pEBIU_MODE ((volatile unsigned long *)EBIU_MODE)
176#define                        pEBIU_FCTL ((volatile unsigned long *)EBIU_FCTL)
177
178/* DDR Memory Control Registers */
179
180#define                     pEBIU_DDRCTL0 ((volatile unsigned long *)EBIU_DDRCTL0)
181#define                     pEBIU_DDRCTL1 ((volatile unsigned long *)EBIU_DDRCTL1)
182#define                     pEBIU_DDRCTL2 ((volatile unsigned long *)EBIU_DDRCTL2)
183#define                     pEBIU_DDRCTL3 ((volatile unsigned long *)EBIU_DDRCTL3)
184#define                      pEBIU_DDRQUE ((volatile unsigned long *)EBIU_DDRQUE)
185#define                      pEBIU_ERRADD ((void *volatile *)EBIU_ERRADD)
186#define                      pEBIU_ERRMST ((volatile unsigned short *)EBIU_ERRMST)
187#define                      pEBIU_RSTCTL ((volatile unsigned short *)EBIU_RSTCTL)
188
189/* DDR BankRead and Write Count Registers */
190
191#define                     pEBIU_DDRBRC0 ((volatile unsigned long *)EBIU_DDRBRC0)
192#define                     pEBIU_DDRBRC1 ((volatile unsigned long *)EBIU_DDRBRC1)
193#define                     pEBIU_DDRBRC2 ((volatile unsigned long *)EBIU_DDRBRC2)
194#define                     pEBIU_DDRBRC3 ((volatile unsigned long *)EBIU_DDRBRC3)
195#define                     pEBIU_DDRBRC4 ((volatile unsigned long *)EBIU_DDRBRC4)
196#define                     pEBIU_DDRBRC5 ((volatile unsigned long *)EBIU_DDRBRC5)
197#define                     pEBIU_DDRBRC6 ((volatile unsigned long *)EBIU_DDRBRC6)
198#define                     pEBIU_DDRBRC7 ((volatile unsigned long *)EBIU_DDRBRC7)
199#define                     pEBIU_DDRBWC0 ((volatile unsigned long *)EBIU_DDRBWC0)
200#define                     pEBIU_DDRBWC1 ((volatile unsigned long *)EBIU_DDRBWC1)
201#define                     pEBIU_DDRBWC2 ((volatile unsigned long *)EBIU_DDRBWC2)
202#define                     pEBIU_DDRBWC3 ((volatile unsigned long *)EBIU_DDRBWC3)
203#define                     pEBIU_DDRBWC4 ((volatile unsigned long *)EBIU_DDRBWC4)
204#define                     pEBIU_DDRBWC5 ((volatile unsigned long *)EBIU_DDRBWC5)
205#define                     pEBIU_DDRBWC6 ((volatile unsigned long *)EBIU_DDRBWC6)
206#define                     pEBIU_DDRBWC7 ((volatile unsigned long *)EBIU_DDRBWC7)
207#define                     pEBIU_DDRACCT ((volatile unsigned long *)EBIU_DDRACCT)
208#define                     pEBIU_DDRTACT ((volatile unsigned long *)EBIU_DDRTACT)
209#define                     pEBIU_DDRARCT ((volatile unsigned long *)EBIU_DDRARCT)
210#define                      pEBIU_DDRGC0 ((volatile unsigned long *)EBIU_DDRGC0)
211#define                      pEBIU_DDRGC1 ((volatile unsigned long *)EBIU_DDRGC1)
212#define                      pEBIU_DDRGC2 ((volatile unsigned long *)EBIU_DDRGC2)
213#define                      pEBIU_DDRGC3 ((volatile unsigned long *)EBIU_DDRGC3)
214#define                     pEBIU_DDRMCEN ((volatile unsigned long *)EBIU_DDRMCEN)
215#define                     pEBIU_DDRMCCL ((volatile unsigned long *)EBIU_DDRMCCL)
216
217/* DMAC0 Registers */
218
219#define                      pDMAC0_TCPER ((volatile unsigned short *)DMAC0_TCPER)
220#define                      pDMAC0_TCCNT ((volatile unsigned short *)DMAC0_TCCNT)
221
222/* DMA Channel 0 Registers */
223
224#define               pDMA0_NEXT_DESC_PTR ((void *volatile *)DMA0_NEXT_DESC_PTR)
225#define                  pDMA0_START_ADDR ((void *volatile *)DMA0_START_ADDR)
226#define                      pDMA0_CONFIG ((volatile unsigned short *)DMA0_CONFIG)
227#define                     pDMA0_X_COUNT ((volatile unsigned short *)DMA0_X_COUNT)
228#define                    pDMA0_X_MODIFY ((volatile signed short *)DMA0_X_MODIFY)
229#define                     pDMA0_Y_COUNT ((volatile unsigned short *)DMA0_Y_COUNT)
230#define                    pDMA0_Y_MODIFY ((volatile signed short *)DMA0_Y_MODIFY)
231#define               pDMA0_CURR_DESC_PTR ((void *volatile *)DMA0_CURR_DESC_PTR)
232#define                   pDMA0_CURR_ADDR ((void *volatile *)DMA0_CURR_ADDR)
233#define                  pDMA0_IRQ_STATUS ((volatile unsigned short *)DMA0_IRQ_STATUS)
234#define              pDMA0_PERIPHERAL_MAP ((volatile unsigned short *)DMA0_PERIPHERAL_MAP)
235#define                pDMA0_CURR_X_COUNT ((volatile unsigned short *)DMA0_CURR_X_COUNT)
236#define                pDMA0_CURR_Y_COUNT ((volatile unsigned short *)DMA0_CURR_Y_COUNT)
237
238/* DMA Channel 1 Registers */
239
240#define               pDMA1_NEXT_DESC_PTR ((void *volatile *)DMA1_NEXT_DESC_PTR)
241#define                  pDMA1_START_ADDR ((void *volatile *)DMA1_START_ADDR)
242#define                      pDMA1_CONFIG ((volatile unsigned short *)DMA1_CONFIG)
243#define                     pDMA1_X_COUNT ((volatile unsigned short *)DMA1_X_COUNT)
244#define                    pDMA1_X_MODIFY ((volatile signed short *)DMA1_X_MODIFY)
245#define                     pDMA1_Y_COUNT ((volatile unsigned short *)DMA1_Y_COUNT)
246#define                    pDMA1_Y_MODIFY ((volatile signed short *)DMA1_Y_MODIFY)
247#define               pDMA1_CURR_DESC_PTR ((void *volatile *)DMA1_CURR_DESC_PTR)
248#define                   pDMA1_CURR_ADDR ((void *volatile *)DMA1_CURR_ADDR)
249#define                  pDMA1_IRQ_STATUS ((volatile unsigned short *)DMA1_IRQ_STATUS)
250#define              pDMA1_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_PERIPHERAL_MAP)
251#define                pDMA1_CURR_X_COUNT ((volatile unsigned short *)DMA1_CURR_X_COUNT)
252#define                pDMA1_CURR_Y_COUNT ((volatile unsigned short *)DMA1_CURR_Y_COUNT)
253
254/* DMA Channel 2 Registers */
255
256#define               pDMA2_NEXT_DESC_PTR ((void *volatile *)DMA2_NEXT_DESC_PTR)
257#define                  pDMA2_START_ADDR ((void *volatile *)DMA2_START_ADDR)
258#define                      pDMA2_CONFIG ((volatile unsigned short *)DMA2_CONFIG)
259#define                     pDMA2_X_COUNT ((volatile unsigned short *)DMA2_X_COUNT)
260#define                    pDMA2_X_MODIFY ((volatile signed short *)DMA2_X_MODIFY)
261#define                     pDMA2_Y_COUNT ((volatile unsigned short *)DMA2_Y_COUNT)
262#define                    pDMA2_Y_MODIFY ((volatile signed short *)DMA2_Y_MODIFY)
263#define               pDMA2_CURR_DESC_PTR ((void *volatile *)DMA2_CURR_DESC_PTR)
264#define                   pDMA2_CURR_ADDR ((void *volatile *)DMA2_CURR_ADDR)
265#define                  pDMA2_IRQ_STATUS ((volatile unsigned short *)DMA2_IRQ_STATUS)
266#define              pDMA2_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_PERIPHERAL_MAP)
267#define                pDMA2_CURR_X_COUNT ((volatile unsigned short *)DMA2_CURR_X_COUNT)
268#define                pDMA2_CURR_Y_COUNT ((volatile unsigned short *)DMA2_CURR_Y_COUNT)
269
270/* DMA Channel 3 Registers */
271
272#define               pDMA3_NEXT_DESC_PTR ((void *volatile *)DMA3_NEXT_DESC_PTR)
273#define                  pDMA3_START_ADDR ((void *volatile *)DMA3_START_ADDR)
274#define                      pDMA3_CONFIG ((volatile unsigned short *)DMA3_CONFIG)
275#define                     pDMA3_X_COUNT ((volatile unsigned short *)DMA3_X_COUNT)
276#define                    pDMA3_X_MODIFY ((volatile signed short *)DMA3_X_MODIFY)
277#define                     pDMA3_Y_COUNT ((volatile unsigned short *)DMA3_Y_COUNT)
278#define                    pDMA3_Y_MODIFY ((volatile signed short *)DMA3_Y_MODIFY)
279#define               pDMA3_CURR_DESC_PTR ((void *volatile *)DMA3_CURR_DESC_PTR)
280#define                   pDMA3_CURR_ADDR ((void *volatile *)DMA3_CURR_ADDR)
281#define                  pDMA3_IRQ_STATUS ((volatile unsigned short *)DMA3_IRQ_STATUS)
282#define              pDMA3_PERIPHERAL_MAP ((volatile unsigned short *)DMA3_PERIPHERAL_MAP)
283#define                pDMA3_CURR_X_COUNT ((volatile unsigned short *)DMA3_CURR_X_COUNT)
284#define                pDMA3_CURR_Y_COUNT ((volatile unsigned short *)DMA3_CURR_Y_COUNT)
285
286/* DMA Channel 4 Registers */
287
288#define               pDMA4_NEXT_DESC_PTR ((void *volatile *)DMA4_NEXT_DESC_PTR)
289#define                  pDMA4_START_ADDR ((void *volatile *)DMA4_START_ADDR)
290#define                      pDMA4_CONFIG ((volatile unsigned short *)DMA4_CONFIG)
291#define                     pDMA4_X_COUNT ((volatile unsigned short *)DMA4_X_COUNT)
292#define                    pDMA4_X_MODIFY ((volatile signed short *)DMA4_X_MODIFY)
293#define                     pDMA4_Y_COUNT ((volatile unsigned short *)DMA4_Y_COUNT)
294#define                    pDMA4_Y_MODIFY ((volatile signed short *)DMA4_Y_MODIFY)
295#define               pDMA4_CURR_DESC_PTR ((void *volatile *)DMA4_CURR_DESC_PTR)
296#define                   pDMA4_CURR_ADDR ((void *volatile *)DMA4_CURR_ADDR)
297#define                  pDMA4_IRQ_STATUS ((volatile unsigned short *)DMA4_IRQ_STATUS)
298#define              pDMA4_PERIPHERAL_MAP ((volatile unsigned short *)DMA4_PERIPHERAL_MAP)
299#define                pDMA4_CURR_X_COUNT ((volatile unsigned short *)DMA4_CURR_X_COUNT)
300#define                pDMA4_CURR_Y_COUNT ((volatile unsigned short *)DMA4_CURR_Y_COUNT)
301
302/* DMA Channel 5 Registers */
303
304#define               pDMA5_NEXT_DESC_PTR ((void *volatile *)DMA5_NEXT_DESC_PTR)
305#define                  pDMA5_START_ADDR ((void *volatile *)DMA5_START_ADDR)
306#define                      pDMA5_CONFIG ((volatile unsigned short *)DMA5_CONFIG)
307#define                     pDMA5_X_COUNT ((volatile unsigned short *)DMA5_X_COUNT)
308#define                    pDMA5_X_MODIFY ((volatile signed short *)DMA5_X_MODIFY)
309#define                     pDMA5_Y_COUNT ((volatile unsigned short *)DMA5_Y_COUNT)
310#define                    pDMA5_Y_MODIFY ((volatile signed short *)DMA5_Y_MODIFY)
311#define               pDMA5_CURR_DESC_PTR ((void *volatile *)DMA5_CURR_DESC_PTR)
312#define                   pDMA5_CURR_ADDR ((void *volatile *)DMA5_CURR_ADDR)
313#define                  pDMA5_IRQ_STATUS ((volatile unsigned short *)DMA5_IRQ_STATUS)
314#define              pDMA5_PERIPHERAL_MAP ((volatile unsigned short *)DMA5_PERIPHERAL_MAP)
315#define                pDMA5_CURR_X_COUNT ((volatile unsigned short *)DMA5_CURR_X_COUNT)
316#define                pDMA5_CURR_Y_COUNT ((volatile unsigned short *)DMA5_CURR_Y_COUNT)
317
318/* DMA Channel 6 Registers */
319
320#define               pDMA6_NEXT_DESC_PTR ((void *volatile *)DMA6_NEXT_DESC_PTR)
321#define                  pDMA6_START_ADDR ((void *volatile *)DMA6_START_ADDR)
322#define                      pDMA6_CONFIG ((volatile unsigned short *)DMA6_CONFIG)
323#define                     pDMA6_X_COUNT ((volatile unsigned short *)DMA6_X_COUNT)
324#define                    pDMA6_X_MODIFY ((volatile signed short *)DMA6_X_MODIFY)
325#define                     pDMA6_Y_COUNT ((volatile unsigned short *)DMA6_Y_COUNT)
326#define                    pDMA6_Y_MODIFY ((volatile signed short *)DMA6_Y_MODIFY)
327#define               pDMA6_CURR_DESC_PTR ((void *volatile *)DMA6_CURR_DESC_PTR)
328#define                   pDMA6_CURR_ADDR ((void *volatile *)DMA6_CURR_ADDR)
329#define                  pDMA6_IRQ_STATUS ((volatile unsigned short *)DMA6_IRQ_STATUS)
330#define              pDMA6_PERIPHERAL_MAP ((volatile unsigned short *)DMA6_PERIPHERAL_MAP)
331#define                pDMA6_CURR_X_COUNT ((volatile unsigned short *)DMA6_CURR_X_COUNT)
332#define                pDMA6_CURR_Y_COUNT ((volatile unsigned short *)DMA6_CURR_Y_COUNT)
333
334/* DMA Channel 7 Registers */
335
336#define               pDMA7_NEXT_DESC_PTR ((void *volatile *)DMA7_NEXT_DESC_PTR)
337#define                  pDMA7_START_ADDR ((void *volatile *)DMA7_START_ADDR)
338#define                      pDMA7_CONFIG ((volatile unsigned short *)DMA7_CONFIG)
339#define                     pDMA7_X_COUNT ((volatile unsigned short *)DMA7_X_COUNT)
340#define                    pDMA7_X_MODIFY ((volatile signed short *)DMA7_X_MODIFY)
341#define                     pDMA7_Y_COUNT ((volatile unsigned short *)DMA7_Y_COUNT)
342#define                    pDMA7_Y_MODIFY ((volatile signed short *)DMA7_Y_MODIFY)
343#define               pDMA7_CURR_DESC_PTR ((void *volatile *)DMA7_CURR_DESC_PTR)
344#define                   pDMA7_CURR_ADDR ((void *volatile *)DMA7_CURR_ADDR)
345#define                  pDMA7_IRQ_STATUS ((volatile unsigned short *)DMA7_IRQ_STATUS)
346#define              pDMA7_PERIPHERAL_MAP ((volatile unsigned short *)DMA7_PERIPHERAL_MAP)
347#define                pDMA7_CURR_X_COUNT ((volatile unsigned short *)DMA7_CURR_X_COUNT)
348#define                pDMA7_CURR_Y_COUNT ((volatile unsigned short *)DMA7_CURR_Y_COUNT)
349
350/* DMA Channel 8 Registers */
351
352#define               pDMA8_NEXT_DESC_PTR ((void *volatile *)DMA8_NEXT_DESC_PTR)
353#define                  pDMA8_START_ADDR ((void *volatile *)DMA8_START_ADDR)
354#define                      pDMA8_CONFIG ((volatile unsigned short *)DMA8_CONFIG)
355#define                     pDMA8_X_COUNT ((volatile unsigned short *)DMA8_X_COUNT)
356#define                    pDMA8_X_MODIFY ((volatile signed short *)DMA8_X_MODIFY)
357#define                     pDMA8_Y_COUNT ((volatile unsigned short *)DMA8_Y_COUNT)
358#define                    pDMA8_Y_MODIFY ((volatile signed short *)DMA8_Y_MODIFY)
359#define               pDMA8_CURR_DESC_PTR ((void *volatile *)DMA8_CURR_DESC_PTR)
360#define                   pDMA8_CURR_ADDR ((void *volatile *)DMA8_CURR_ADDR)
361#define                  pDMA8_IRQ_STATUS ((volatile unsigned short *)DMA8_IRQ_STATUS)
362#define              pDMA8_PERIPHERAL_MAP ((volatile unsigned short *)DMA8_PERIPHERAL_MAP)
363#define                pDMA8_CURR_X_COUNT ((volatile unsigned short *)DMA8_CURR_X_COUNT)
364#define                pDMA8_CURR_Y_COUNT ((volatile unsigned short *)DMA8_CURR_Y_COUNT)
365
366/* DMA Channel 9 Registers */
367
368#define               pDMA9_NEXT_DESC_PTR ((void *volatile *)DMA9_NEXT_DESC_PTR)
369#define                  pDMA9_START_ADDR ((void *volatile *)DMA9_START_ADDR)
370#define                      pDMA9_CONFIG ((volatile unsigned short *)DMA9_CONFIG)
371#define                     pDMA9_X_COUNT ((volatile unsigned short *)DMA9_X_COUNT)
372#define                    pDMA9_X_MODIFY ((volatile signed short *)DMA9_X_MODIFY)
373#define                     pDMA9_Y_COUNT ((volatile unsigned short *)DMA9_Y_COUNT)
374#define                    pDMA9_Y_MODIFY ((volatile signed short *)DMA9_Y_MODIFY)
375#define               pDMA9_CURR_DESC_PTR ((void *volatile *)DMA9_CURR_DESC_PTR)
376#define                   pDMA9_CURR_ADDR ((void *volatile *)DMA9_CURR_ADDR)
377#define                  pDMA9_IRQ_STATUS ((volatile unsigned short *)DMA9_IRQ_STATUS)
378#define              pDMA9_PERIPHERAL_MAP ((volatile unsigned short *)DMA9_PERIPHERAL_MAP)
379#define                pDMA9_CURR_X_COUNT ((volatile unsigned short *)DMA9_CURR_X_COUNT)
380#define                pDMA9_CURR_Y_COUNT ((volatile unsigned short *)DMA9_CURR_Y_COUNT)
381
382/* DMA Channel 10 Registers */
383
384#define              pDMA10_NEXT_DESC_PTR ((void *volatile *)DMA10_NEXT_DESC_PTR)
385#define                 pDMA10_START_ADDR ((void *volatile *)DMA10_START_ADDR)
386#define                     pDMA10_CONFIG ((volatile unsigned short *)DMA10_CONFIG)
387#define                    pDMA10_X_COUNT ((volatile unsigned short *)DMA10_X_COUNT)
388#define                   pDMA10_X_MODIFY ((volatile signed short *)DMA10_X_MODIFY)
389#define                    pDMA10_Y_COUNT ((volatile unsigned short *)DMA10_Y_COUNT)
390#define                   pDMA10_Y_MODIFY ((volatile signed short *)DMA10_Y_MODIFY)
391#define              pDMA10_CURR_DESC_PTR ((void *volatile *)DMA10_CURR_DESC_PTR)
392#define                  pDMA10_CURR_ADDR ((void *volatile *)DMA10_CURR_ADDR)
393#define                 pDMA10_IRQ_STATUS ((volatile unsigned short *)DMA10_IRQ_STATUS)
394#define             pDMA10_PERIPHERAL_MAP ((volatile unsigned short *)DMA10_PERIPHERAL_MAP)
395#define               pDMA10_CURR_X_COUNT ((volatile unsigned short *)DMA10_CURR_X_COUNT)
396#define               pDMA10_CURR_Y_COUNT ((volatile unsigned short *)DMA10_CURR_Y_COUNT)
397
398/* DMA Channel 11 Registers */
399
400#define              pDMA11_NEXT_DESC_PTR ((void *volatile *)DMA11_NEXT_DESC_PTR)
401#define                 pDMA11_START_ADDR ((void *volatile *)DMA11_START_ADDR)
402#define                     pDMA11_CONFIG ((volatile unsigned short *)DMA11_CONFIG)
403#define                    pDMA11_X_COUNT ((volatile unsigned short *)DMA11_X_COUNT)
404#define                   pDMA11_X_MODIFY ((volatile signed short *)DMA11_X_MODIFY)
405#define                    pDMA11_Y_COUNT ((volatile unsigned short *)DMA11_Y_COUNT)
406#define                   pDMA11_Y_MODIFY ((volatile signed short *)DMA11_Y_MODIFY)
407#define              pDMA11_CURR_DESC_PTR ((void *volatile *)DMA11_CURR_DESC_PTR)
408#define                  pDMA11_CURR_ADDR ((void *volatile *)DMA11_CURR_ADDR)
409#define                 pDMA11_IRQ_STATUS ((volatile unsigned short *)DMA11_IRQ_STATUS)
410#define             pDMA11_PERIPHERAL_MAP ((volatile unsigned short *)DMA11_PERIPHERAL_MAP)
411#define               pDMA11_CURR_X_COUNT ((volatile unsigned short *)DMA11_CURR_X_COUNT)
412#define               pDMA11_CURR_Y_COUNT ((volatile unsigned short *)DMA11_CURR_Y_COUNT)
413
414/* MDMA Stream 0 Registers */
415
416#define            pMDMA_D0_NEXT_DESC_PTR ((void *volatile *)MDMA_D0_NEXT_DESC_PTR)
417#define               pMDMA_D0_START_ADDR ((void *volatile *)MDMA_D0_START_ADDR)
418#define                   pMDMA_D0_CONFIG ((volatile unsigned short *)MDMA_D0_CONFIG)
419#define                  pMDMA_D0_X_COUNT ((volatile unsigned short *)MDMA_D0_X_COUNT)
420#define                 pMDMA_D0_X_MODIFY ((volatile signed short *)MDMA_D0_X_MODIFY)
421#define                  pMDMA_D0_Y_COUNT ((volatile unsigned short *)MDMA_D0_Y_COUNT)
422#define                 pMDMA_D0_Y_MODIFY ((volatile signed short *)MDMA_D0_Y_MODIFY)
423#define            pMDMA_D0_CURR_DESC_PTR ((void *volatile *)MDMA_D0_CURR_DESC_PTR)
424#define                pMDMA_D0_CURR_ADDR ((void *volatile *)MDMA_D0_CURR_ADDR)
425#define               pMDMA_D0_IRQ_STATUS ((volatile unsigned short *)MDMA_D0_IRQ_STATUS)
426#define           pMDMA_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D0_PERIPHERAL_MAP)
427#define             pMDMA_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA_D0_CURR_X_COUNT)
428#define             pMDMA_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D0_CURR_Y_COUNT)
429#define            pMDMA_S0_NEXT_DESC_PTR ((void *volatile *)MDMA_S0_NEXT_DESC_PTR)
430#define               pMDMA_S0_START_ADDR ((void *volatile *)MDMA_S0_START_ADDR)
431#define                   pMDMA_S0_CONFIG ((volatile unsigned short *)MDMA_S0_CONFIG)
432#define                  pMDMA_S0_X_COUNT ((volatile unsigned short *)MDMA_S0_X_COUNT)
433#define                 pMDMA_S0_X_MODIFY ((volatile signed short *)MDMA_S0_X_MODIFY)
434#define                  pMDMA_S0_Y_COUNT ((volatile unsigned short *)MDMA_S0_Y_COUNT)
435#define                 pMDMA_S0_Y_MODIFY ((volatile signed short *)MDMA_S0_Y_MODIFY)
436#define            pMDMA_S0_CURR_DESC_PTR ((void *volatile *)MDMA_S0_CURR_DESC_PTR)
437#define                pMDMA_S0_CURR_ADDR ((void *volatile *)MDMA_S0_CURR_ADDR)
438#define               pMDMA_S0_IRQ_STATUS ((volatile unsigned short *)MDMA_S0_IRQ_STATUS)
439#define           pMDMA_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S0_PERIPHERAL_MAP)
440#define             pMDMA_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA_S0_CURR_X_COUNT)
441#define             pMDMA_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S0_CURR_Y_COUNT)
442
443/* MDMA Stream 1 Registers */
444
445#define            pMDMA_D1_NEXT_DESC_PTR ((void *volatile *)MDMA_D1_NEXT_DESC_PTR)
446#define               pMDMA_D1_START_ADDR ((void *volatile *)MDMA_D1_START_ADDR)
447#define                   pMDMA_D1_CONFIG ((volatile unsigned short *)MDMA_D1_CONFIG)
448#define                  pMDMA_D1_X_COUNT ((volatile unsigned short *)MDMA_D1_X_COUNT)
449#define                 pMDMA_D1_X_MODIFY ((volatile signed short *)MDMA_D1_X_MODIFY)
450#define                  pMDMA_D1_Y_COUNT ((volatile unsigned short *)MDMA_D1_Y_COUNT)
451#define                 pMDMA_D1_Y_MODIFY ((volatile signed short *)MDMA_D1_Y_MODIFY)
452#define            pMDMA_D1_CURR_DESC_PTR ((void *volatile *)MDMA_D1_CURR_DESC_PTR)
453#define                pMDMA_D1_CURR_ADDR ((void *volatile *)MDMA_D1_CURR_ADDR)
454#define               pMDMA_D1_IRQ_STATUS ((volatile unsigned short *)MDMA_D1_IRQ_STATUS)
455#define           pMDMA_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D1_PERIPHERAL_MAP)
456#define             pMDMA_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA_D1_CURR_X_COUNT)
457#define             pMDMA_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D1_CURR_Y_COUNT)
458#define            pMDMA_S1_NEXT_DESC_PTR ((void *volatile *)MDMA_S1_NEXT_DESC_PTR)
459#define               pMDMA_S1_START_ADDR ((void *volatile *)MDMA_S1_START_ADDR)
460#define                   pMDMA_S1_CONFIG ((volatile unsigned short *)MDMA_S1_CONFIG)
461#define                  pMDMA_S1_X_COUNT ((volatile unsigned short *)MDMA_S1_X_COUNT)
462#define                 pMDMA_S1_X_MODIFY ((volatile signed short *)MDMA_S1_X_MODIFY)
463#define                  pMDMA_S1_Y_COUNT ((volatile unsigned short *)MDMA_S1_Y_COUNT)
464#define                 pMDMA_S1_Y_MODIFY ((volatile signed short *)MDMA_S1_Y_MODIFY)
465#define            pMDMA_S1_CURR_DESC_PTR ((void *volatile *)MDMA_S1_CURR_DESC_PTR)
466#define                pMDMA_S1_CURR_ADDR ((void *volatile *)MDMA_S1_CURR_ADDR)
467#define               pMDMA_S1_IRQ_STATUS ((volatile unsigned short *)MDMA_S1_IRQ_STATUS)
468#define           pMDMA_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S1_PERIPHERAL_MAP)
469#define             pMDMA_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA_S1_CURR_X_COUNT)
470#define             pMDMA_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S1_CURR_Y_COUNT)
471
472/* EPPI1 Registers */
473
474#define                     pEPPI1_STATUS ((volatile unsigned short *)EPPI1_STATUS)
475#define                     pEPPI1_HCOUNT ((volatile unsigned short *)EPPI1_HCOUNT)
476#define                     pEPPI1_HDELAY ((volatile unsigned short *)EPPI1_HDELAY)
477#define                     pEPPI1_VCOUNT ((volatile unsigned short *)EPPI1_VCOUNT)
478#define                     pEPPI1_VDELAY ((volatile unsigned short *)EPPI1_VDELAY)
479#define                      pEPPI1_FRAME ((volatile unsigned short *)EPPI1_FRAME)
480#define                       pEPPI1_LINE ((volatile unsigned short *)EPPI1_LINE)
481#define                     pEPPI1_CLKDIV ((volatile unsigned short *)EPPI1_CLKDIV)
482#define                    pEPPI1_CONTROL ((volatile unsigned long *)EPPI1_CONTROL)
483#define                   pEPPI1_FS1W_HBL ((volatile unsigned long *)EPPI1_FS1W_HBL)
484#define                  pEPPI1_FS1P_AVPL ((volatile unsigned long *)EPPI1_FS1P_AVPL)
485#define                   pEPPI1_FS2W_LVB ((volatile unsigned long *)EPPI1_FS2W_LVB)
486#define                  pEPPI1_FS2P_LAVF ((volatile unsigned long *)EPPI1_FS2P_LAVF)
487#define                       pEPPI1_CLIP ((volatile unsigned long *)EPPI1_CLIP)
488
489/* Port Interrupt 0 Registers (32-bit) */
490
491#define                   pPINT0_MASK_SET ((volatile unsigned long *)PINT0_MASK_SET)
492#define                 pPINT0_MASK_CLEAR ((volatile unsigned long *)PINT0_MASK_CLEAR)
493#define                    pPINT0_REQUEST ((volatile unsigned long *)PINT0_REQUEST)
494#define                     pPINT0_ASSIGN ((volatile unsigned long *)PINT0_ASSIGN)
495#define                   pPINT0_EDGE_SET ((volatile unsigned long *)PINT0_EDGE_SET)
496#define                 pPINT0_EDGE_CLEAR ((volatile unsigned long *)PINT0_EDGE_CLEAR)
497#define                 pPINT0_INVERT_SET ((volatile unsigned long *)PINT0_INVERT_SET)
498#define               pPINT0_INVERT_CLEAR ((volatile unsigned long *)PINT0_INVERT_CLEAR)
499#define                   pPINT0_PINSTATE ((volatile unsigned long *)PINT0_PINSTATE)
500#define                      pPINT0_LATCH ((volatile unsigned long *)PINT0_LATCH)
501
502/* Port Interrupt 1 Registers (32-bit) */
503
504#define                   pPINT1_MASK_SET ((volatile unsigned long *)PINT1_MASK_SET)
505#define                 pPINT1_MASK_CLEAR ((volatile unsigned long *)PINT1_MASK_CLEAR)
506#define                    pPINT1_REQUEST ((volatile unsigned long *)PINT1_REQUEST)
507#define                     pPINT1_ASSIGN ((volatile unsigned long *)PINT1_ASSIGN)
508#define                   pPINT1_EDGE_SET ((volatile unsigned long *)PINT1_EDGE_SET)
509#define                 pPINT1_EDGE_CLEAR ((volatile unsigned long *)PINT1_EDGE_CLEAR)
510#define                 pPINT1_INVERT_SET ((volatile unsigned long *)PINT1_INVERT_SET)
511#define               pPINT1_INVERT_CLEAR ((volatile unsigned long *)PINT1_INVERT_CLEAR)
512#define                   pPINT1_PINSTATE ((volatile unsigned long *)PINT1_PINSTATE)
513#define                      pPINT1_LATCH ((volatile unsigned long *)PINT1_LATCH)
514
515/* Port Interrupt 2 Registers (32-bit) */
516
517#define                   pPINT2_MASK_SET ((volatile unsigned long *)PINT2_MASK_SET)
518#define                 pPINT2_MASK_CLEAR ((volatile unsigned long *)PINT2_MASK_CLEAR)
519#define                    pPINT2_REQUEST ((volatile unsigned long *)PINT2_REQUEST)
520#define                     pPINT2_ASSIGN ((volatile unsigned long *)PINT2_ASSIGN)
521#define                   pPINT2_EDGE_SET ((volatile unsigned long *)PINT2_EDGE_SET)
522#define                 pPINT2_EDGE_CLEAR ((volatile unsigned long *)PINT2_EDGE_CLEAR)
523#define                 pPINT2_INVERT_SET ((volatile unsigned long *)PINT2_INVERT_SET)
524#define               pPINT2_INVERT_CLEAR ((volatile unsigned long *)PINT2_INVERT_CLEAR)
525#define                   pPINT2_PINSTATE ((volatile unsigned long *)PINT2_PINSTATE)
526#define                      pPINT2_LATCH ((volatile unsigned long *)PINT2_LATCH)
527
528/* Port Interrupt 3 Registers (32-bit) */
529
530#define                   pPINT3_MASK_SET ((volatile unsigned long *)PINT3_MASK_SET)
531#define                 pPINT3_MASK_CLEAR ((volatile unsigned long *)PINT3_MASK_CLEAR)
532#define                    pPINT3_REQUEST ((volatile unsigned long *)PINT3_REQUEST)
533#define                     pPINT3_ASSIGN ((volatile unsigned long *)PINT3_ASSIGN)
534#define                   pPINT3_EDGE_SET ((volatile unsigned long *)PINT3_EDGE_SET)
535#define                 pPINT3_EDGE_CLEAR ((volatile unsigned long *)PINT3_EDGE_CLEAR)
536#define                 pPINT3_INVERT_SET ((volatile unsigned long *)PINT3_INVERT_SET)
537#define               pPINT3_INVERT_CLEAR ((volatile unsigned long *)PINT3_INVERT_CLEAR)
538#define                   pPINT3_PINSTATE ((volatile unsigned long *)PINT3_PINSTATE)
539#define                      pPINT3_LATCH ((volatile unsigned long *)PINT3_LATCH)
540
541/* Port A Registers */
542
543#define                        pPORTA_FER ((volatile unsigned short *)PORTA_FER)
544#define                            pPORTA ((volatile unsigned short *)PORTA)
545#define                        pPORTA_SET ((volatile unsigned short *)PORTA_SET)
546#define                      pPORTA_CLEAR ((volatile unsigned short *)PORTA_CLEAR)
547#define                    pPORTA_DIR_SET ((volatile unsigned short *)PORTA_DIR_SET)
548#define                  pPORTA_DIR_CLEAR ((volatile unsigned short *)PORTA_DIR_CLEAR)
549#define                       pPORTA_INEN ((volatile unsigned short *)PORTA_INEN)
550#define                        pPORTA_MUX ((volatile unsigned long *)PORTA_MUX)
551
552/* Port B Registers */
553
554#define                        pPORTB_FER ((volatile unsigned short *)PORTB_FER)
555#define                            pPORTB ((volatile unsigned short *)PORTB)
556#define                        pPORTB_SET ((volatile unsigned short *)PORTB_SET)
557#define                      pPORTB_CLEAR ((volatile unsigned short *)PORTB_CLEAR)
558#define                    pPORTB_DIR_SET ((volatile unsigned short *)PORTB_DIR_SET)
559#define                  pPORTB_DIR_CLEAR ((volatile unsigned short *)PORTB_DIR_CLEAR)
560#define                       pPORTB_INEN ((volatile unsigned short *)PORTB_INEN)
561#define                        pPORTB_MUX ((volatile unsigned long *)PORTB_MUX)
562
563/* Port C Registers */
564
565#define                        pPORTC_FER ((volatile unsigned short *)PORTC_FER)
566#define                            pPORTC ((volatile unsigned short *)PORTC)
567#define                        pPORTC_SET ((volatile unsigned short *)PORTC_SET)
568#define                      pPORTC_CLEAR ((volatile unsigned short *)PORTC_CLEAR)
569#define                    pPORTC_DIR_SET ((volatile unsigned short *)PORTC_DIR_SET)
570#define                  pPORTC_DIR_CLEAR ((volatile unsigned short *)PORTC_DIR_CLEAR)
571#define                       pPORTC_INEN ((volatile unsigned short *)PORTC_INEN)
572#define                        pPORTC_MUX ((volatile unsigned long *)PORTC_MUX)
573
574/* Port D Registers */
575
576#define                        pPORTD_FER ((volatile unsigned short *)PORTD_FER)
577#define                            pPORTD ((volatile unsigned short *)PORTD)
578#define                        pPORTD_SET ((volatile unsigned short *)PORTD_SET)
579#define                      pPORTD_CLEAR ((volatile unsigned short *)PORTD_CLEAR)
580#define                    pPORTD_DIR_SET ((volatile unsigned short *)PORTD_DIR_SET)
581#define                  pPORTD_DIR_CLEAR ((volatile unsigned short *)PORTD_DIR_CLEAR)
582#define                       pPORTD_INEN ((volatile unsigned short *)PORTD_INEN)
583#define                        pPORTD_MUX ((volatile unsigned long *)PORTD_MUX)
584
585/* Port E Registers */
586
587#define                        pPORTE_FER ((volatile unsigned short *)PORTE_FER)
588#define                            pPORTE ((volatile unsigned short *)PORTE)
589#define                        pPORTE_SET ((volatile unsigned short *)PORTE_SET)
590#define                      pPORTE_CLEAR ((volatile unsigned short *)PORTE_CLEAR)
591#define                    pPORTE_DIR_SET ((volatile unsigned short *)PORTE_DIR_SET)
592#define                  pPORTE_DIR_CLEAR ((volatile unsigned short *)PORTE_DIR_CLEAR)
593#define                       pPORTE_INEN ((volatile unsigned short *)PORTE_INEN)
594#define                        pPORTE_MUX ((volatile unsigned long *)PORTE_MUX)
595
596/* Port F Registers */
597
598#define                        pPORTF_FER ((volatile unsigned short *)PORTF_FER)
599#define                            pPORTF ((volatile unsigned short *)PORTF)
600#define                        pPORTF_SET ((volatile unsigned short *)PORTF_SET)
601#define                      pPORTF_CLEAR ((volatile unsigned short *)PORTF_CLEAR)
602#define                    pPORTF_DIR_SET ((volatile unsigned short *)PORTF_DIR_SET)
603#define                  pPORTF_DIR_CLEAR ((volatile unsigned short *)PORTF_DIR_CLEAR)
604#define                       pPORTF_INEN ((volatile unsigned short *)PORTF_INEN)
605#define                        pPORTF_MUX ((volatile unsigned long *)PORTF_MUX)
606
607/* Port G Registers */
608
609#define                        pPORTG_FER ((volatile unsigned short *)PORTG_FER)
610#define                            pPORTG ((volatile unsigned short *)PORTG)
611#define                        pPORTG_SET ((volatile unsigned short *)PORTG_SET)
612#define                      pPORTG_CLEAR ((volatile unsigned short *)PORTG_CLEAR)
613#define                    pPORTG_DIR_SET ((volatile unsigned short *)PORTG_DIR_SET)
614#define                  pPORTG_DIR_CLEAR ((volatile unsigned short *)PORTG_DIR_CLEAR)
615#define                       pPORTG_INEN ((volatile unsigned short *)PORTG_INEN)
616#define                        pPORTG_MUX ((volatile unsigned long *)PORTG_MUX)
617
618/* Port H Registers */
619
620#define                        pPORTH_FER ((volatile unsigned short *)PORTH_FER)
621#define                            pPORTH ((volatile unsigned short *)PORTH)
622#define                        pPORTH_SET ((volatile unsigned short *)PORTH_SET)
623#define                      pPORTH_CLEAR ((volatile unsigned short *)PORTH_CLEAR)
624#define                    pPORTH_DIR_SET ((volatile unsigned short *)PORTH_DIR_SET)
625#define                  pPORTH_DIR_CLEAR ((volatile unsigned short *)PORTH_DIR_CLEAR)
626#define                       pPORTH_INEN ((volatile unsigned short *)PORTH_INEN)
627#define                        pPORTH_MUX ((volatile unsigned long *)PORTH_MUX)
628
629/* Port I Registers */
630
631#define                        pPORTI_FER ((volatile unsigned short *)PORTI_FER)
632#define                            pPORTI ((volatile unsigned short *)PORTI)
633#define                        pPORTI_SET ((volatile unsigned short *)PORTI_SET)
634#define                      pPORTI_CLEAR ((volatile unsigned short *)PORTI_CLEAR)
635#define                    pPORTI_DIR_SET ((volatile unsigned short *)PORTI_DIR_SET)
636#define                  pPORTI_DIR_CLEAR ((volatile unsigned short *)PORTI_DIR_CLEAR)
637#define                       pPORTI_INEN ((volatile unsigned short *)PORTI_INEN)
638#define                        pPORTI_MUX ((volatile unsigned long *)PORTI_MUX)
639
640/* Port J Registers */
641
642#define                        pPORTJ_FER ((volatile unsigned short *)PORTJ_FER)
643#define                            pPORTJ ((volatile unsigned short *)PORTJ)
644#define                        pPORTJ_SET ((volatile unsigned short *)PORTJ_SET)
645#define                      pPORTJ_CLEAR ((volatile unsigned short *)PORTJ_CLEAR)
646#define                    pPORTJ_DIR_SET ((volatile unsigned short *)PORTJ_DIR_SET)
647#define                  pPORTJ_DIR_CLEAR ((volatile unsigned short *)PORTJ_DIR_CLEAR)
648#define                       pPORTJ_INEN ((volatile unsigned short *)PORTJ_INEN)
649#define                        pPORTJ_MUX ((volatile unsigned long *)PORTJ_MUX)
650
651/* PWM Timer Registers */
652
653#define                    pTIMER0_CONFIG ((volatile unsigned short *)TIMER0_CONFIG)
654#define                   pTIMER0_COUNTER ((volatile unsigned long *)TIMER0_COUNTER)
655#define                    pTIMER0_PERIOD ((volatile unsigned long *)TIMER0_PERIOD)
656#define                     pTIMER0_WIDTH ((volatile unsigned long *)TIMER0_WIDTH)
657#define                    pTIMER1_CONFIG ((volatile unsigned short *)TIMER1_CONFIG)
658#define                   pTIMER1_COUNTER ((volatile unsigned long *)TIMER1_COUNTER)
659#define                    pTIMER1_PERIOD ((volatile unsigned long *)TIMER1_PERIOD)
660#define                     pTIMER1_WIDTH ((volatile unsigned long *)TIMER1_WIDTH)
661#define                    pTIMER2_CONFIG ((volatile unsigned short *)TIMER2_CONFIG)
662#define                   pTIMER2_COUNTER ((volatile unsigned long *)TIMER2_COUNTER)
663#define                    pTIMER2_PERIOD ((volatile unsigned long *)TIMER2_PERIOD)
664#define                     pTIMER2_WIDTH ((volatile unsigned long *)TIMER2_WIDTH)
665#define                    pTIMER3_CONFIG ((volatile unsigned short *)TIMER3_CONFIG)
666#define                   pTIMER3_COUNTER ((volatile unsigned long *)TIMER3_COUNTER)
667#define                    pTIMER3_PERIOD ((volatile unsigned long *)TIMER3_PERIOD)
668#define                     pTIMER3_WIDTH ((volatile unsigned long *)TIMER3_WIDTH)
669#define                    pTIMER4_CONFIG ((volatile unsigned short *)TIMER4_CONFIG)
670#define                   pTIMER4_COUNTER ((volatile unsigned long *)TIMER4_COUNTER)
671#define                    pTIMER4_PERIOD ((volatile unsigned long *)TIMER4_PERIOD)
672#define                     pTIMER4_WIDTH ((volatile unsigned long *)TIMER4_WIDTH)
673#define                    pTIMER5_CONFIG ((volatile unsigned short *)TIMER5_CONFIG)
674#define                   pTIMER5_COUNTER ((volatile unsigned long *)TIMER5_COUNTER)
675#define                    pTIMER5_PERIOD ((volatile unsigned long *)TIMER5_PERIOD)
676#define                     pTIMER5_WIDTH ((volatile unsigned long *)TIMER5_WIDTH)
677#define                    pTIMER6_CONFIG ((volatile unsigned short *)TIMER6_CONFIG)
678#define                   pTIMER6_COUNTER ((volatile unsigned long *)TIMER6_COUNTER)
679#define                    pTIMER6_PERIOD ((volatile unsigned long *)TIMER6_PERIOD)
680#define                     pTIMER6_WIDTH ((volatile unsigned long *)TIMER6_WIDTH)
681#define                    pTIMER7_CONFIG ((volatile unsigned short *)TIMER7_CONFIG)
682#define                   pTIMER7_COUNTER ((volatile unsigned long *)TIMER7_COUNTER)
683#define                    pTIMER7_PERIOD ((volatile unsigned long *)TIMER7_PERIOD)
684#define                     pTIMER7_WIDTH ((volatile unsigned long *)TIMER7_WIDTH)
685
686/* Timer Group of 8 */
687
688#define                    pTIMER_ENABLE0 ((volatile unsigned short *)TIMER_ENABLE0)
689#define                   pTIMER_DISABLE0 ((volatile unsigned short *)TIMER_DISABLE0)
690#define                    pTIMER_STATUS0 ((volatile unsigned long *)TIMER_STATUS0)
691
692/* DMAC1 Registers */
693
694#define                      pDMAC1_TCPER ((volatile unsigned short *)DMAC1_TCPER)
695#define                      pDMAC1_TCCNT ((volatile unsigned short *)DMAC1_TCCNT)
696
697/* DMA Channel 12 Registers */
698
699#define              pDMA12_NEXT_DESC_PTR ((void *volatile *)DMA12_NEXT_DESC_PTR)
700#define                 pDMA12_START_ADDR ((void *volatile *)DMA12_START_ADDR)
701#define                     pDMA12_CONFIG ((volatile unsigned short *)DMA12_CONFIG)
702#define                    pDMA12_X_COUNT ((volatile unsigned short *)DMA12_X_COUNT)
703#define                   pDMA12_X_MODIFY ((volatile signed short *)DMA12_X_MODIFY)
704#define                    pDMA12_Y_COUNT ((volatile unsigned short *)DMA12_Y_COUNT)
705#define                   pDMA12_Y_MODIFY ((volatile signed short *)DMA12_Y_MODIFY)
706#define              pDMA12_CURR_DESC_PTR ((void *volatile *)DMA12_CURR_DESC_PTR)
707#define                  pDMA12_CURR_ADDR ((void *volatile *)DMA12_CURR_ADDR)
708#define                 pDMA12_IRQ_STATUS ((volatile unsigned short *)DMA12_IRQ_STATUS)
709#define             pDMA12_PERIPHERAL_MAP ((volatile unsigned short *)DMA12_PERIPHERAL_MAP)
710#define               pDMA12_CURR_X_COUNT ((volatile unsigned short *)DMA12_CURR_X_COUNT)
711#define               pDMA12_CURR_Y_COUNT ((volatile unsigned short *)DMA12_CURR_Y_COUNT)
712
713/* DMA Channel 13 Registers */
714
715#define              pDMA13_NEXT_DESC_PTR ((void *volatile *)DMA13_NEXT_DESC_PTR)
716#define                 pDMA13_START_ADDR ((void *volatile *)DMA13_START_ADDR)
717#define                     pDMA13_CONFIG ((volatile unsigned short *)DMA13_CONFIG)
718#define                    pDMA13_X_COUNT ((volatile unsigned short *)DMA13_X_COUNT)
719#define                   pDMA13_X_MODIFY ((volatile signed short *)DMA13_X_MODIFY)
720#define                    pDMA13_Y_COUNT ((volatile unsigned short *)DMA13_Y_COUNT)
721#define                   pDMA13_Y_MODIFY ((volatile signed short *)DMA13_Y_MODIFY)
722#define              pDMA13_CURR_DESC_PTR ((void *volatile *)DMA13_CURR_DESC_PTR)
723#define                  pDMA13_CURR_ADDR ((void *volatile *)DMA13_CURR_ADDR)
724#define                 pDMA13_IRQ_STATUS ((volatile unsigned short *)DMA13_IRQ_STATUS)
725#define             pDMA13_PERIPHERAL_MAP ((volatile unsigned short *)DMA13_PERIPHERAL_MAP)
726#define               pDMA13_CURR_X_COUNT ((volatile unsigned short *)DMA13_CURR_X_COUNT)
727#define               pDMA13_CURR_Y_COUNT ((volatile unsigned short *)DMA13_CURR_Y_COUNT)
728
729/* DMA Channel 14 Registers */
730
731#define              pDMA14_NEXT_DESC_PTR ((void *volatile *)DMA14_NEXT_DESC_PTR)
732#define                 pDMA14_START_ADDR ((void *volatile *)DMA14_START_ADDR)
733#define                     pDMA14_CONFIG ((volatile unsigned short *)DMA14_CONFIG)
734#define                    pDMA14_X_COUNT ((volatile unsigned short *)DMA14_X_COUNT)
735#define                   pDMA14_X_MODIFY ((volatile signed short *)DMA14_X_MODIFY)
736#define                    pDMA14_Y_COUNT ((volatile unsigned short *)DMA14_Y_COUNT)
737#define                   pDMA14_Y_MODIFY ((volatile signed short *)DMA14_Y_MODIFY)
738#define              pDMA14_CURR_DESC_PTR ((void *volatile *)DMA14_CURR_DESC_PTR)
739#define                  pDMA14_CURR_ADDR ((void *volatile *)DMA14_CURR_ADDR)
740#define                 pDMA14_IRQ_STATUS ((volatile unsigned short *)DMA14_IRQ_STATUS)
741#define             pDMA14_PERIPHERAL_MAP ((volatile unsigned short *)DMA14_PERIPHERAL_MAP)
742#define               pDMA14_CURR_X_COUNT ((volatile unsigned short *)DMA14_CURR_X_COUNT)
743#define               pDMA14_CURR_Y_COUNT ((volatile unsigned short *)DMA14_CURR_Y_COUNT)
744
745/* DMA Channel 15 Registers */
746
747#define              pDMA15_NEXT_DESC_PTR ((void *volatile *)DMA15_NEXT_DESC_PTR)
748#define                 pDMA15_START_ADDR ((void *volatile *)DMA15_START_ADDR)
749#define                     pDMA15_CONFIG ((volatile unsigned short *)DMA15_CONFIG)
750#define                    pDMA15_X_COUNT ((volatile unsigned short *)DMA15_X_COUNT)
751#define                   pDMA15_X_MODIFY ((volatile signed short *)DMA15_X_MODIFY)
752#define                    pDMA15_Y_COUNT ((volatile unsigned short *)DMA15_Y_COUNT)
753#define                   pDMA15_Y_MODIFY ((volatile signed short *)DMA15_Y_MODIFY)
754#define              pDMA15_CURR_DESC_PTR ((void *volatile *)DMA15_CURR_DESC_PTR)
755#define                  pDMA15_CURR_ADDR ((void *volatile *)DMA15_CURR_ADDR)
756#define                 pDMA15_IRQ_STATUS ((volatile unsigned short *)DMA15_IRQ_STATUS)
757#define             pDMA15_PERIPHERAL_MAP ((volatile unsigned short *)DMA15_PERIPHERAL_MAP)
758#define               pDMA15_CURR_X_COUNT ((volatile unsigned short *)DMA15_CURR_X_COUNT)
759#define               pDMA15_CURR_Y_COUNT ((volatile unsigned short *)DMA15_CURR_Y_COUNT)
760
761/* DMA Channel 16 Registers */
762
763#define              pDMA16_NEXT_DESC_PTR ((void *volatile *)DMA16_NEXT_DESC_PTR)
764#define                 pDMA16_START_ADDR ((void *volatile *)DMA16_START_ADDR)
765#define                     pDMA16_CONFIG ((volatile unsigned short *)DMA16_CONFIG)
766#define                    pDMA16_X_COUNT ((volatile unsigned short *)DMA16_X_COUNT)
767#define                   pDMA16_X_MODIFY ((volatile signed short *)DMA16_X_MODIFY)
768#define                    pDMA16_Y_COUNT ((volatile unsigned short *)DMA16_Y_COUNT)
769#define                   pDMA16_Y_MODIFY ((volatile signed short *)DMA16_Y_MODIFY)
770#define              pDMA16_CURR_DESC_PTR ((void *volatile *)DMA16_CURR_DESC_PTR)
771#define                  pDMA16_CURR_ADDR ((void *volatile *)DMA16_CURR_ADDR)
772#define                 pDMA16_IRQ_STATUS ((volatile unsigned short *)DMA16_IRQ_STATUS)
773#define             pDMA16_PERIPHERAL_MAP ((volatile unsigned short *)DMA16_PERIPHERAL_MAP)
774#define               pDMA16_CURR_X_COUNT ((volatile unsigned short *)DMA16_CURR_X_COUNT)
775#define               pDMA16_CURR_Y_COUNT ((volatile unsigned short *)DMA16_CURR_Y_COUNT)
776
777/* DMA Channel 17 Registers */
778
779#define              pDMA17_NEXT_DESC_PTR ((void *volatile *)DMA17_NEXT_DESC_PTR)
780#define                 pDMA17_START_ADDR ((void *volatile *)DMA17_START_ADDR)
781#define                     pDMA17_CONFIG ((volatile unsigned short *)DMA17_CONFIG)
782#define                    pDMA17_X_COUNT ((volatile unsigned short *)DMA17_X_COUNT)
783#define                   pDMA17_X_MODIFY ((volatile signed short *)DMA17_X_MODIFY)
784#define                    pDMA17_Y_COUNT ((volatile unsigned short *)DMA17_Y_COUNT)
785#define                   pDMA17_Y_MODIFY ((volatile signed short *)DMA17_Y_MODIFY)
786#define              pDMA17_CURR_DESC_PTR ((void *volatile *)DMA17_CURR_DESC_PTR)
787#define                  pDMA17_CURR_ADDR ((void *volatile *)DMA17_CURR_ADDR)
788#define                 pDMA17_IRQ_STATUS ((volatile unsigned short *)DMA17_IRQ_STATUS)
789#define             pDMA17_PERIPHERAL_MAP ((volatile unsigned short *)DMA17_PERIPHERAL_MAP)
790#define               pDMA17_CURR_X_COUNT ((volatile unsigned short *)DMA17_CURR_X_COUNT)
791#define               pDMA17_CURR_Y_COUNT ((volatile unsigned short *)DMA17_CURR_Y_COUNT)
792
793/* DMA Channel 18 Registers */
794
795#define              pDMA18_NEXT_DESC_PTR ((void *volatile *)DMA18_NEXT_DESC_PTR)
796#define                 pDMA18_START_ADDR ((void *volatile *)DMA18_START_ADDR)
797#define                     pDMA18_CONFIG ((volatile unsigned short *)DMA18_CONFIG)
798#define                    pDMA18_X_COUNT ((volatile unsigned short *)DMA18_X_COUNT)
799#define                   pDMA18_X_MODIFY ((volatile signed short *)DMA18_X_MODIFY)
800#define                    pDMA18_Y_COUNT ((volatile unsigned short *)DMA18_Y_COUNT)
801#define                   pDMA18_Y_MODIFY ((volatile signed short *)DMA18_Y_MODIFY)
802#define              pDMA18_CURR_DESC_PTR ((void *volatile *)DMA18_CURR_DESC_PTR)
803#define                  pDMA18_CURR_ADDR ((void *volatile *)DMA18_CURR_ADDR)
804#define                 pDMA18_IRQ_STATUS ((volatile unsigned short *)DMA18_IRQ_STATUS)
805#define             pDMA18_PERIPHERAL_MAP ((volatile unsigned short *)DMA18_PERIPHERAL_MAP)
806#define               pDMA18_CURR_X_COUNT ((volatile unsigned short *)DMA18_CURR_X_COUNT)
807#define               pDMA18_CURR_Y_COUNT ((volatile unsigned short *)DMA18_CURR_Y_COUNT)
808
809/* DMA Channel 19 Registers */
810
811#define              pDMA19_NEXT_DESC_PTR ((void *volatile *)DMA19_NEXT_DESC_PTR)
812#define                 pDMA19_START_ADDR ((void *volatile *)DMA19_START_ADDR)
813#define                     pDMA19_CONFIG ((volatile unsigned short *)DMA19_CONFIG)
814#define                    pDMA19_X_COUNT ((volatile unsigned short *)DMA19_X_COUNT)
815#define                   pDMA19_X_MODIFY ((volatile signed short *)DMA19_X_MODIFY)
816#define                    pDMA19_Y_COUNT ((volatile unsigned short *)DMA19_Y_COUNT)
817#define                   pDMA19_Y_MODIFY ((volatile signed short *)DMA19_Y_MODIFY)
818#define              pDMA19_CURR_DESC_PTR ((void *volatile *)DMA19_CURR_DESC_PTR)
819#define                  pDMA19_CURR_ADDR ((void *volatile *)DMA19_CURR_ADDR)
820#define                 pDMA19_IRQ_STATUS ((volatile unsigned short *)DMA19_IRQ_STATUS)
821#define             pDMA19_PERIPHERAL_MAP ((volatile unsigned short *)DMA19_PERIPHERAL_MAP)
822#define               pDMA19_CURR_X_COUNT ((volatile unsigned short *)DMA19_CURR_X_COUNT)
823#define               pDMA19_CURR_Y_COUNT ((volatile unsigned short *)DMA19_CURR_Y_COUNT)
824
825/* DMA Channel 20 Registers */
826
827#define              pDMA20_NEXT_DESC_PTR ((void *volatile *)DMA20_NEXT_DESC_PTR)
828#define                 pDMA20_START_ADDR ((void *volatile *)DMA20_START_ADDR)
829#define                     pDMA20_CONFIG ((volatile unsigned short *)DMA20_CONFIG)
830#define                    pDMA20_X_COUNT ((volatile unsigned short *)DMA20_X_COUNT)
831#define                   pDMA20_X_MODIFY ((volatile signed short *)DMA20_X_MODIFY)
832#define                    pDMA20_Y_COUNT ((volatile unsigned short *)DMA20_Y_COUNT)
833#define                   pDMA20_Y_MODIFY ((volatile signed short *)DMA20_Y_MODIFY)
834#define              pDMA20_CURR_DESC_PTR ((void *volatile *)DMA20_CURR_DESC_PTR)
835#define                  pDMA20_CURR_ADDR ((void *volatile *)DMA20_CURR_ADDR)
836#define                 pDMA20_IRQ_STATUS ((volatile unsigned short *)DMA20_IRQ_STATUS)
837#define             pDMA20_PERIPHERAL_MAP ((volatile unsigned short *)DMA20_PERIPHERAL_MAP)
838#define               pDMA20_CURR_X_COUNT ((volatile unsigned short *)DMA20_CURR_X_COUNT)
839#define               pDMA20_CURR_Y_COUNT ((volatile unsigned short *)DMA20_CURR_Y_COUNT)
840
841/* DMA Channel 21 Registers */
842
843#define              pDMA21_NEXT_DESC_PTR ((void *volatile *)DMA21_NEXT_DESC_PTR)
844#define                 pDMA21_START_ADDR ((void *volatile *)DMA21_START_ADDR)
845#define                     pDMA21_CONFIG ((volatile unsigned short *)DMA21_CONFIG)
846#define                    pDMA21_X_COUNT ((volatile unsigned short *)DMA21_X_COUNT)
847#define                   pDMA21_X_MODIFY ((volatile signed short *)DMA21_X_MODIFY)
848#define                    pDMA21_Y_COUNT ((volatile unsigned short *)DMA21_Y_COUNT)
849#define                   pDMA21_Y_MODIFY ((volatile signed short *)DMA21_Y_MODIFY)
850#define              pDMA21_CURR_DESC_PTR ((void *volatile *)DMA21_CURR_DESC_PTR)
851#define                  pDMA21_CURR_ADDR ((void *volatile *)DMA21_CURR_ADDR)
852#define                 pDMA21_IRQ_STATUS ((volatile unsigned short *)DMA21_IRQ_STATUS)
853#define             pDMA21_PERIPHERAL_MAP ((volatile unsigned short *)DMA21_PERIPHERAL_MAP)
854#define               pDMA21_CURR_X_COUNT ((volatile unsigned short *)DMA21_CURR_X_COUNT)
855#define               pDMA21_CURR_Y_COUNT ((volatile unsigned short *)DMA21_CURR_Y_COUNT)
856
857/* DMA Channel 22 Registers */
858
859#define              pDMA22_NEXT_DESC_PTR ((void *volatile *)DMA22_NEXT_DESC_PTR)
860#define                 pDMA22_START_ADDR ((void *volatile *)DMA22_START_ADDR)
861#define                     pDMA22_CONFIG ((volatile unsigned short *)DMA22_CONFIG)
862#define                    pDMA22_X_COUNT ((volatile unsigned short *)DMA22_X_COUNT)
863#define                   pDMA22_X_MODIFY ((volatile signed short *)DMA22_X_MODIFY)
864#define                    pDMA22_Y_COUNT ((volatile unsigned short *)DMA22_Y_COUNT)
865#define                   pDMA22_Y_MODIFY ((volatile signed short *)DMA22_Y_MODIFY)
866#define              pDMA22_CURR_DESC_PTR ((void *volatile *)DMA22_CURR_DESC_PTR)
867#define                  pDMA22_CURR_ADDR ((void *volatile *)DMA22_CURR_ADDR)
868#define                 pDMA22_IRQ_STATUS ((volatile unsigned short *)DMA22_IRQ_STATUS)
869#define             pDMA22_PERIPHERAL_MAP ((volatile unsigned short *)DMA22_PERIPHERAL_MAP)
870#define               pDMA22_CURR_X_COUNT ((volatile unsigned short *)DMA22_CURR_X_COUNT)
871#define               pDMA22_CURR_Y_COUNT ((volatile unsigned short *)DMA22_CURR_Y_COUNT)
872
873/* DMA Channel 23 Registers */
874
875#define              pDMA23_NEXT_DESC_PTR ((void *volatile *)DMA23_NEXT_DESC_PTR)
876#define                 pDMA23_START_ADDR ((void *volatile *)DMA23_START_ADDR)
877#define                     pDMA23_CONFIG ((volatile unsigned short *)DMA23_CONFIG)
878#define                    pDMA23_X_COUNT ((volatile unsigned short *)DMA23_X_COUNT)
879#define                   pDMA23_X_MODIFY ((volatile signed short *)DMA23_X_MODIFY)
880#define                    pDMA23_Y_COUNT ((volatile unsigned short *)DMA23_Y_COUNT)
881#define                   pDMA23_Y_MODIFY ((volatile signed short *)DMA23_Y_MODIFY)
882#define              pDMA23_CURR_DESC_PTR ((void *volatile *)DMA23_CURR_DESC_PTR)
883#define                  pDMA23_CURR_ADDR ((void *volatile *)DMA23_CURR_ADDR)
884#define                 pDMA23_IRQ_STATUS ((volatile unsigned short *)DMA23_IRQ_STATUS)
885#define             pDMA23_PERIPHERAL_MAP ((volatile unsigned short *)DMA23_PERIPHERAL_MAP)
886#define               pDMA23_CURR_X_COUNT ((volatile unsigned short *)DMA23_CURR_X_COUNT)
887#define               pDMA23_CURR_Y_COUNT ((volatile unsigned short *)DMA23_CURR_Y_COUNT)
888
889/* MDMA Stream 2 Registers */
890
891#define            pMDMA_D2_NEXT_DESC_PTR ((void *volatile *)MDMA_D2_NEXT_DESC_PTR)
892#define               pMDMA_D2_START_ADDR ((void *volatile *)MDMA_D2_START_ADDR)
893#define                   pMDMA_D2_CONFIG ((volatile unsigned short *)MDMA_D2_CONFIG)
894#define                  pMDMA_D2_X_COUNT ((volatile unsigned short *)MDMA_D2_X_COUNT)
895#define                 pMDMA_D2_X_MODIFY ((volatile signed short *)MDMA_D2_X_MODIFY)
896#define                  pMDMA_D2_Y_COUNT ((volatile unsigned short *)MDMA_D2_Y_COUNT)
897#define                 pMDMA_D2_Y_MODIFY ((volatile signed short *)MDMA_D2_Y_MODIFY)
898#define            pMDMA_D2_CURR_DESC_PTR ((void *volatile *)MDMA_D2_CURR_DESC_PTR)
899#define                pMDMA_D2_CURR_ADDR ((void *volatile *)MDMA_D2_CURR_ADDR)
900#define               pMDMA_D2_IRQ_STATUS ((volatile unsigned short *)MDMA_D2_IRQ_STATUS)
901#define           pMDMA_D2_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D2_PERIPHERAL_MAP)
902#define             pMDMA_D2_CURR_X_COUNT ((volatile unsigned short *)MDMA_D2_CURR_X_COUNT)
903#define             pMDMA_D2_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D2_CURR_Y_COUNT)
904#define            pMDMA_S2_NEXT_DESC_PTR ((void *volatile *)MDMA_S2_NEXT_DESC_PTR)
905#define               pMDMA_S2_START_ADDR ((void *volatile *)MDMA_S2_START_ADDR)
906#define                   pMDMA_S2_CONFIG ((volatile unsigned short *)MDMA_S2_CONFIG)
907#define                  pMDMA_S2_X_COUNT ((volatile unsigned short *)MDMA_S2_X_COUNT)
908#define                 pMDMA_S2_X_MODIFY ((volatile signed short *)MDMA_S2_X_MODIFY)
909#define                  pMDMA_S2_Y_COUNT ((volatile unsigned short *)MDMA_S2_Y_COUNT)
910#define                 pMDMA_S2_Y_MODIFY ((volatile signed short *)MDMA_S2_Y_MODIFY)
911#define            pMDMA_S2_CURR_DESC_PTR ((void *volatile *)MDMA_S2_CURR_DESC_PTR)
912#define                pMDMA_S2_CURR_ADDR ((void *volatile *)MDMA_S2_CURR_ADDR)
913#define               pMDMA_S2_IRQ_STATUS ((volatile unsigned short *)MDMA_S2_IRQ_STATUS)
914#define           pMDMA_S2_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S2_PERIPHERAL_MAP)
915#define             pMDMA_S2_CURR_X_COUNT ((volatile unsigned short *)MDMA_S2_CURR_X_COUNT)
916#define             pMDMA_S2_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S2_CURR_Y_COUNT)
917
918/* MDMA Stream 3 Registers */
919
920#define            pMDMA_D3_NEXT_DESC_PTR ((void *volatile *)MDMA_D3_NEXT_DESC_PTR)
921#define               pMDMA_D3_START_ADDR ((void *volatile *)MDMA_D3_START_ADDR)
922#define                   pMDMA_D3_CONFIG ((volatile unsigned short *)MDMA_D3_CONFIG)
923#define                  pMDMA_D3_X_COUNT ((volatile unsigned short *)MDMA_D3_X_COUNT)
924#define                 pMDMA_D3_X_MODIFY ((volatile signed short *)MDMA_D3_X_MODIFY)
925#define                  pMDMA_D3_Y_COUNT ((volatile unsigned short *)MDMA_D3_Y_COUNT)
926#define                 pMDMA_D3_Y_MODIFY ((volatile signed short *)MDMA_D3_Y_MODIFY)
927#define            pMDMA_D3_CURR_DESC_PTR ((void *volatile *)MDMA_D3_CURR_DESC_PTR)
928#define                pMDMA_D3_CURR_ADDR ((void *volatile *)MDMA_D3_CURR_ADDR)
929#define               pMDMA_D3_IRQ_STATUS ((volatile unsigned short *)MDMA_D3_IRQ_STATUS)
930#define           pMDMA_D3_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D3_PERIPHERAL_MAP)
931#define             pMDMA_D3_CURR_X_COUNT ((volatile unsigned short *)MDMA_D3_CURR_X_COUNT)
932#define             pMDMA_D3_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D3_CURR_Y_COUNT)
933#define            pMDMA_S3_NEXT_DESC_PTR ((void *volatile *)MDMA_S3_NEXT_DESC_PTR)
934#define               pMDMA_S3_START_ADDR ((void *volatile *)MDMA_S3_START_ADDR)
935#define                   pMDMA_S3_CONFIG ((volatile unsigned short *)MDMA_S3_CONFIG)
936#define                  pMDMA_S3_X_COUNT ((volatile unsigned short *)MDMA_S3_X_COUNT)
937#define                 pMDMA_S3_X_MODIFY ((volatile signed short *)MDMA_S3_X_MODIFY)
938#define                  pMDMA_S3_Y_COUNT ((volatile unsigned short *)MDMA_S3_Y_COUNT)
939#define                 pMDMA_S3_Y_MODIFY ((volatile signed short *)MDMA_S3_Y_MODIFY)
940#define            pMDMA_S3_CURR_DESC_PTR ((void *volatile *)MDMA_S3_CURR_DESC_PTR)
941#define                pMDMA_S3_CURR_ADDR ((void *volatile *)MDMA_S3_CURR_ADDR)
942#define               pMDMA_S3_IRQ_STATUS ((volatile unsigned short *)MDMA_S3_IRQ_STATUS)
943#define           pMDMA_S3_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S3_PERIPHERAL_MAP)
944#define             pMDMA_S3_CURR_X_COUNT ((volatile unsigned short *)MDMA_S3_CURR_X_COUNT)
945#define             pMDMA_S3_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S3_CURR_Y_COUNT)
946
947/* UART1 Registers */
948
949#define                        pUART1_DLL ((volatile unsigned short *)UART1_DLL)
950#define                        pUART1_DLH ((volatile unsigned short *)UART1_DLH)
951#define                       pUART1_GCTL ((volatile unsigned short *)UART1_GCTL)
952#define                        pUART1_LCR ((volatile unsigned short *)UART1_LCR)
953#define                        pUART1_MCR ((volatile unsigned short *)UART1_MCR)
954#define                        pUART1_LSR ((volatile unsigned short *)UART1_LSR)
955#define                        pUART1_MSR ((volatile unsigned short *)UART1_MSR)
956#define                        pUART1_SCR ((volatile unsigned short *)UART1_SCR)
957#define                    pUART1_IER_SET ((volatile unsigned short *)UART1_IER_SET)
958#define                  pUART1_IER_CLEAR ((volatile unsigned short *)UART1_IER_CLEAR)
959#define                        pUART1_THR ((volatile unsigned short *)UART1_THR)
960#define                        pUART1_RBR ((volatile unsigned short *)UART1_RBR)
961
962/* UART2 is not defined in the shared file because it is not available on the ADSP-BF542 and ADSP-BF544 processors */
963
964/* SPI1 Registers */
965
966#define                         pSPI1_CTL ((volatile unsigned short *)SPI1_CTL)
967#define                         pSPI1_FLG ((volatile unsigned short *)SPI1_FLG)
968#define                        pSPI1_STAT ((volatile unsigned short *)SPI1_STAT)
969#define                        pSPI1_TDBR ((volatile unsigned short *)SPI1_TDBR)
970#define                        pSPI1_RDBR ((volatile unsigned short *)SPI1_RDBR)
971#define                        pSPI1_BAUD ((volatile unsigned short *)SPI1_BAUD)
972#define                      pSPI1_SHADOW ((volatile unsigned short *)SPI1_SHADOW)
973
974/* SPORT2 Registers */
975
976#define                      pSPORT2_TCR1 ((volatile unsigned short *)SPORT2_TCR1)
977#define                      pSPORT2_TCR2 ((volatile unsigned short *)SPORT2_TCR2)
978#define                   pSPORT2_TCLKDIV ((volatile unsigned short *)SPORT2_TCLKDIV)
979#define                    pSPORT2_TFSDIV ((volatile unsigned short *)SPORT2_TFSDIV)
980#define                        pSPORT2_TX ((volatile unsigned long *)SPORT2_TX)
981#define                        pSPORT2_RX ((volatile unsigned long *)SPORT2_RX)
982#define                      pSPORT2_RCR1 ((volatile unsigned short *)SPORT2_RCR1)
983#define                      pSPORT2_RCR2 ((volatile unsigned short *)SPORT2_RCR2)
984#define                   pSPORT2_RCLKDIV ((volatile unsigned short *)SPORT2_RCLKDIV)
985#define                    pSPORT2_RFSDIV ((volatile unsigned short *)SPORT2_RFSDIV)
986#define                      pSPORT2_STAT ((volatile unsigned short *)SPORT2_STAT)
987#define                      pSPORT2_CHNL ((volatile unsigned short *)SPORT2_CHNL)
988#define                     pSPORT2_MCMC1 ((volatile unsigned short *)SPORT2_MCMC1)
989#define                     pSPORT2_MCMC2 ((volatile unsigned short *)SPORT2_MCMC2)
990#define                     pSPORT2_MTCS0 ((volatile unsigned long *)SPORT2_MTCS0)
991#define                     pSPORT2_MTCS1 ((volatile unsigned long *)SPORT2_MTCS1)
992#define                     pSPORT2_MTCS2 ((volatile unsigned long *)SPORT2_MTCS2)
993#define                     pSPORT2_MTCS3 ((volatile unsigned long *)SPORT2_MTCS3)
994#define                     pSPORT2_MRCS0 ((volatile unsigned long *)SPORT2_MRCS0)
995#define                     pSPORT2_MRCS1 ((volatile unsigned long *)SPORT2_MRCS1)
996#define                     pSPORT2_MRCS2 ((volatile unsigned long *)SPORT2_MRCS2)
997#define                     pSPORT2_MRCS3 ((volatile unsigned long *)SPORT2_MRCS3)
998
999/* SPORT3 Registers */
1000
1001#define                      pSPORT3_TCR1 ((volatile unsigned short *)SPORT3_TCR1)
1002#define                      pSPORT3_TCR2 ((volatile unsigned short *)SPORT3_TCR2)
1003#define                   pSPORT3_TCLKDIV ((volatile unsigned short *)SPORT3_TCLKDIV)
1004#define                    pSPORT3_TFSDIV ((volatile unsigned short *)SPORT3_TFSDIV)
1005#define                        pSPORT3_TX ((volatile unsigned long *)SPORT3_TX)
1006#define                        pSPORT3_RX ((volatile unsigned long *)SPORT3_RX)
1007#define                      pSPORT3_RCR1 ((volatile unsigned short *)SPORT3_RCR1)
1008#define                      pSPORT3_RCR2 ((volatile unsigned short *)SPORT3_RCR2)
1009#define                   pSPORT3_RCLKDIV ((volatile unsigned short *)SPORT3_RCLKDIV)
1010#define                    pSPORT3_RFSDIV ((volatile unsigned short *)SPORT3_RFSDIV)
1011#define                      pSPORT3_STAT ((volatile unsigned short *)SPORT3_STAT)
1012#define                      pSPORT3_CHNL ((volatile unsigned short *)SPORT3_CHNL)
1013#define                     pSPORT3_MCMC1 ((volatile unsigned short *)SPORT3_MCMC1)
1014#define                     pSPORT3_MCMC2 ((volatile unsigned short *)SPORT3_MCMC2)
1015#define                     pSPORT3_MTCS0 ((volatile unsigned long *)SPORT3_MTCS0)
1016#define                     pSPORT3_MTCS1 ((volatile unsigned long *)SPORT3_MTCS1)
1017#define                     pSPORT3_MTCS2 ((volatile unsigned long *)SPORT3_MTCS2)
1018#define                     pSPORT3_MTCS3 ((volatile unsigned long *)SPORT3_MTCS3)
1019#define                     pSPORT3_MRCS0 ((volatile unsigned long *)SPORT3_MRCS0)
1020#define                     pSPORT3_MRCS1 ((volatile unsigned long *)SPORT3_MRCS1)
1021#define                     pSPORT3_MRCS2 ((volatile unsigned long *)SPORT3_MRCS2)
1022#define                     pSPORT3_MRCS3 ((volatile unsigned long *)SPORT3_MRCS3)
1023
1024/* EPPI2 Registers */
1025
1026#define                     pEPPI2_STATUS ((volatile unsigned short *)EPPI2_STATUS)
1027#define                     pEPPI2_HCOUNT ((volatile unsigned short *)EPPI2_HCOUNT)
1028#define                     pEPPI2_HDELAY ((volatile unsigned short *)EPPI2_HDELAY)
1029#define                     pEPPI2_VCOUNT ((volatile unsigned short *)EPPI2_VCOUNT)
1030#define                     pEPPI2_VDELAY ((volatile unsigned short *)EPPI2_VDELAY)
1031#define                      pEPPI2_FRAME ((volatile unsigned short *)EPPI2_FRAME)
1032#define                       pEPPI2_LINE ((volatile unsigned short *)EPPI2_LINE)
1033#define                     pEPPI2_CLKDIV ((volatile unsigned short *)EPPI2_CLKDIV)
1034#define                    pEPPI2_CONTROL ((volatile unsigned long *)EPPI2_CONTROL)
1035#define                   pEPPI2_FS1W_HBL ((volatile unsigned long *)EPPI2_FS1W_HBL)
1036#define                  pEPPI2_FS1P_AVPL ((volatile unsigned long *)EPPI2_FS1P_AVPL)
1037#define                   pEPPI2_FS2W_LVB ((volatile unsigned long *)EPPI2_FS2W_LVB)
1038#define                  pEPPI2_FS2P_LAVF ((volatile unsigned long *)EPPI2_FS2P_LAVF)
1039#define                       pEPPI2_CLIP ((volatile unsigned long *)EPPI2_CLIP)
1040
1041/* CAN Controller 0 Config 1 Registers */
1042
1043#define                         pCAN0_MC1 ((volatile unsigned short *)CAN0_MC1)
1044#define                         pCAN0_MD1 ((volatile unsigned short *)CAN0_MD1)
1045#define                        pCAN0_TRS1 ((volatile unsigned short *)CAN0_TRS1)
1046#define                        pCAN0_TRR1 ((volatile unsigned short *)CAN0_TRR1)
1047#define                         pCAN0_TA1 ((volatile unsigned short *)CAN0_TA1)
1048#define                         pCAN0_AA1 ((volatile unsigned short *)CAN0_AA1)
1049#define                        pCAN0_RMP1 ((volatile unsigned short *)CAN0_RMP1)
1050#define                        pCAN0_RML1 ((volatile unsigned short *)CAN0_RML1)
1051#define                      pCAN0_MBTIF1 ((volatile unsigned short *)CAN0_MBTIF1)
1052#define                      pCAN0_MBRIF1 ((volatile unsigned short *)CAN0_MBRIF1)
1053#define                       pCAN0_MBIM1 ((volatile unsigned short *)CAN0_MBIM1)
1054#define                        pCAN0_RFH1 ((volatile unsigned short *)CAN0_RFH1)
1055#define                       pCAN0_OPSS1 ((volatile unsigned short *)CAN0_OPSS1)
1056
1057/* CAN Controller 0 Config 2 Registers */
1058
1059#define                         pCAN0_MC2 ((volatile unsigned short *)CAN0_MC2)
1060#define                         pCAN0_MD2 ((volatile unsigned short *)CAN0_MD2)
1061#define                        pCAN0_TRS2 ((volatile unsigned short *)CAN0_TRS2)
1062#define                        pCAN0_TRR2 ((volatile unsigned short *)CAN0_TRR2)
1063#define                         pCAN0_TA2 ((volatile unsigned short *)CAN0_TA2)
1064#define                         pCAN0_AA2 ((volatile unsigned short *)CAN0_AA2)
1065#define                        pCAN0_RMP2 ((volatile unsigned short *)CAN0_RMP2)
1066#define                        pCAN0_RML2 ((volatile unsigned short *)CAN0_RML2)
1067#define                      pCAN0_MBTIF2 ((volatile unsigned short *)CAN0_MBTIF2)
1068#define                      pCAN0_MBRIF2 ((volatile unsigned short *)CAN0_MBRIF2)
1069#define                       pCAN0_MBIM2 ((volatile unsigned short *)CAN0_MBIM2)
1070#define                        pCAN0_RFH2 ((volatile unsigned short *)CAN0_RFH2)
1071#define                       pCAN0_OPSS2 ((volatile unsigned short *)CAN0_OPSS2)
1072
1073/* CAN Controller 0 Clock/Interrupt/Counter Registers */
1074
1075#define                       pCAN0_CLOCK ((volatile unsigned short *)CAN0_CLOCK)
1076#define                      pCAN0_TIMING ((volatile unsigned short *)CAN0_TIMING)
1077#define                       pCAN0_DEBUG ((volatile unsigned short *)CAN0_DEBUG)
1078#define                      pCAN0_STATUS ((volatile unsigned short *)CAN0_STATUS)
1079#define                         pCAN0_CEC ((volatile unsigned short *)CAN0_CEC)
1080#define                         pCAN0_GIS ((volatile unsigned short *)CAN0_GIS)
1081#define                         pCAN0_GIM ((volatile unsigned short *)CAN0_GIM)
1082#define                         pCAN0_GIF ((volatile unsigned short *)CAN0_GIF)
1083#define                     pCAN0_CONTROL ((volatile unsigned short *)CAN0_CONTROL)
1084#define                        pCAN0_INTR ((volatile unsigned short *)CAN0_INTR)
1085#define                        pCAN0_MBTD ((volatile unsigned short *)CAN0_MBTD)
1086#define                         pCAN0_EWR ((volatile unsigned short *)CAN0_EWR)
1087#define                         pCAN0_ESR ((volatile unsigned short *)CAN0_ESR)
1088#define                       pCAN0_UCCNT ((volatile unsigned short *)CAN0_UCCNT)
1089#define                        pCAN0_UCRC ((volatile unsigned short *)CAN0_UCRC)
1090#define                       pCAN0_UCCNF ((volatile unsigned short *)CAN0_UCCNF)
1091
1092/* CAN Controller 0 Acceptance Registers */
1093
1094#define                       pCAN0_AM00L ((volatile unsigned short *)CAN0_AM00L)
1095#define                       pCAN0_AM00H ((volatile unsigned short *)CAN0_AM00H)
1096#define                       pCAN0_AM01L ((volatile unsigned short *)CAN0_AM01L)
1097#define                       pCAN0_AM01H ((volatile unsigned short *)CAN0_AM01H)
1098#define                       pCAN0_AM02L ((volatile unsigned short *)CAN0_AM02L)
1099#define                       pCAN0_AM02H ((volatile unsigned short *)CAN0_AM02H)
1100#define                       pCAN0_AM03L ((volatile unsigned short *)CAN0_AM03L)
1101#define                       pCAN0_AM03H ((volatile unsigned short *)CAN0_AM03H)
1102#define                       pCAN0_AM04L ((volatile unsigned short *)CAN0_AM04L)
1103#define                       pCAN0_AM04H ((volatile unsigned short *)CAN0_AM04H)
1104#define                       pCAN0_AM05L ((volatile unsigned short *)CAN0_AM05L)
1105#define                       pCAN0_AM05H ((volatile unsigned short *)CAN0_AM05H)
1106#define                       pCAN0_AM06L ((volatile unsigned short *)CAN0_AM06L)
1107#define                       pCAN0_AM06H ((volatile unsigned short *)CAN0_AM06H)
1108#define                       pCAN0_AM07L ((volatile unsigned short *)CAN0_AM07L)
1109#define                       pCAN0_AM07H ((volatile unsigned short *)CAN0_AM07H)
1110#define                       pCAN0_AM08L ((volatile unsigned short *)CAN0_AM08L)
1111#define                       pCAN0_AM08H ((volatile unsigned short *)CAN0_AM08H)
1112#define                       pCAN0_AM09L ((volatile unsigned short *)CAN0_AM09L)
1113#define                       pCAN0_AM09H ((volatile unsigned short *)CAN0_AM09H)
1114#define                       pCAN0_AM10L ((volatile unsigned short *)CAN0_AM10L)
1115#define                       pCAN0_AM10H ((volatile unsigned short *)CAN0_AM10H)
1116#define                       pCAN0_AM11L ((volatile unsigned short *)CAN0_AM11L)
1117#define                       pCAN0_AM11H ((volatile unsigned short *)CAN0_AM11H)
1118#define                       pCAN0_AM12L ((volatile unsigned short *)CAN0_AM12L)
1119#define                       pCAN0_AM12H ((volatile unsigned short *)CAN0_AM12H)
1120#define                       pCAN0_AM13L ((volatile unsigned short *)CAN0_AM13L)
1121#define                       pCAN0_AM13H ((volatile unsigned short *)CAN0_AM13H)
1122#define                       pCAN0_AM14L ((volatile unsigned short *)CAN0_AM14L)
1123#define                       pCAN0_AM14H ((volatile unsigned short *)CAN0_AM14H)
1124#define                       pCAN0_AM15L ((volatile unsigned short *)CAN0_AM15L)
1125#define                       pCAN0_AM15H ((volatile unsigned short *)CAN0_AM15H)
1126
1127/* CAN Controller 0 Acceptance Registers */
1128
1129#define                       pCAN0_AM16L ((volatile unsigned short *)CAN0_AM16L)
1130#define                       pCAN0_AM16H ((volatile unsigned short *)CAN0_AM16H)
1131#define                       pCAN0_AM17L ((volatile unsigned short *)CAN0_AM17L)
1132#define                       pCAN0_AM17H ((volatile unsigned short *)CAN0_AM17H)
1133#define                       pCAN0_AM18L ((volatile unsigned short *)CAN0_AM18L)
1134#define                       pCAN0_AM18H ((volatile unsigned short *)CAN0_AM18H)
1135#define                       pCAN0_AM19L ((volatile unsigned short *)CAN0_AM19L)
1136#define                       pCAN0_AM19H ((volatile unsigned short *)CAN0_AM19H)
1137#define                       pCAN0_AM20L ((volatile unsigned short *)CAN0_AM20L)
1138#define                       pCAN0_AM20H ((volatile unsigned short *)CAN0_AM20H)
1139#define                       pCAN0_AM21L ((volatile unsigned short *)CAN0_AM21L)
1140#define                       pCAN0_AM21H ((volatile unsigned short *)CAN0_AM21H)
1141#define                       pCAN0_AM22L ((volatile unsigned short *)CAN0_AM22L)
1142#define                       pCAN0_AM22H ((volatile unsigned short *)CAN0_AM22H)
1143#define                       pCAN0_AM23L ((volatile unsigned short *)CAN0_AM23L)
1144#define                       pCAN0_AM23H ((volatile unsigned short *)CAN0_AM23H)
1145#define                       pCAN0_AM24L ((volatile unsigned short *)CAN0_AM24L)
1146#define                       pCAN0_AM24H ((volatile unsigned short *)CAN0_AM24H)
1147#define                       pCAN0_AM25L ((volatile unsigned short *)CAN0_AM25L)
1148#define                       pCAN0_AM25H ((volatile unsigned short *)CAN0_AM25H)
1149#define                       pCAN0_AM26L ((volatile unsigned short *)CAN0_AM26L)
1150#define                       pCAN0_AM26H ((volatile unsigned short *)CAN0_AM26H)
1151#define                       pCAN0_AM27L ((volatile unsigned short *)CAN0_AM27L)
1152#define                       pCAN0_AM27H ((volatile unsigned short *)CAN0_AM27H)
1153#define                       pCAN0_AM28L ((volatile unsigned short *)CAN0_AM28L)
1154#define                       pCAN0_AM28H ((volatile unsigned short *)CAN0_AM28H)
1155#define                       pCAN0_AM29L ((volatile unsigned short *)CAN0_AM29L)
1156#define                       pCAN0_AM29H ((volatile unsigned short *)CAN0_AM29H)
1157#define                       pCAN0_AM30L ((volatile unsigned short *)CAN0_AM30L)
1158#define                       pCAN0_AM30H ((volatile unsigned short *)CAN0_AM30H)
1159#define                       pCAN0_AM31L ((volatile unsigned short *)CAN0_AM31L)
1160#define                       pCAN0_AM31H ((volatile unsigned short *)CAN0_AM31H)
1161
1162/* CAN Controller 0 Mailbox Data Registers */
1163
1164#define                  pCAN0_MB00_DATA0 ((volatile unsigned short *)CAN0_MB00_DATA0)
1165#define                  pCAN0_MB00_DATA1 ((volatile unsigned short *)CAN0_MB00_DATA1)
1166#define                  pCAN0_MB00_DATA2 ((volatile unsigned short *)CAN0_MB00_DATA2)
1167#define                  pCAN0_MB00_DATA3 ((volatile unsigned short *)CAN0_MB00_DATA3)
1168#define                 pCAN0_MB00_LENGTH ((volatile unsigned short *)CAN0_MB00_LENGTH)
1169#define              pCAN0_MB00_TIMESTAMP ((volatile unsigned short *)CAN0_MB00_TIMESTAMP)
1170#define                    pCAN0_MB00_ID0 ((volatile unsigned short *)CAN0_MB00_ID0)
1171#define                    pCAN0_MB00_ID1 ((volatile unsigned short *)CAN0_MB00_ID1)
1172#define                  pCAN0_MB01_DATA0 ((volatile unsigned short *)CAN0_MB01_DATA0)
1173#define                  pCAN0_MB01_DATA1 ((volatile unsigned short *)CAN0_MB01_DATA1)
1174#define                  pCAN0_MB01_DATA2 ((volatile unsigned short *)CAN0_MB01_DATA2)
1175#define                  pCAN0_MB01_DATA3 ((volatile unsigned short *)CAN0_MB01_DATA3)
1176#define                 pCAN0_MB01_LENGTH ((volatile unsigned short *)CAN0_MB01_LENGTH)
1177#define              pCAN0_MB01_TIMESTAMP ((volatile unsigned short *)CAN0_MB01_TIMESTAMP)
1178#define                    pCAN0_MB01_ID0 ((volatile unsigned short *)CAN0_MB01_ID0)
1179#define                    pCAN0_MB01_ID1 ((volatile unsigned short *)CAN0_MB01_ID1)
1180#define                  pCAN0_MB02_DATA0 ((volatile unsigned short *)CAN0_MB02_DATA0)
1181#define                  pCAN0_MB02_DATA1 ((volatile unsigned short *)CAN0_MB02_DATA1)
1182#define                  pCAN0_MB02_DATA2 ((volatile unsigned short *)CAN0_MB02_DATA2)
1183#define                  pCAN0_MB02_DATA3 ((volatile unsigned short *)CAN0_MB02_DATA3)
1184#define                 pCAN0_MB02_LENGTH ((volatile unsigned short *)CAN0_MB02_LENGTH)
1185#define              pCAN0_MB02_TIMESTAMP ((volatile unsigned short *)CAN0_MB02_TIMESTAMP)
1186#define                    pCAN0_MB02_ID0 ((volatile unsigned short *)CAN0_MB02_ID0)
1187#define                    pCAN0_MB02_ID1 ((volatile unsigned short *)CAN0_MB02_ID1)
1188#define                  pCAN0_MB03_DATA0 ((volatile unsigned short *)CAN0_MB03_DATA0)
1189#define                  pCAN0_MB03_DATA1 ((volatile unsigned short *)CAN0_MB03_DATA1)
1190#define                  pCAN0_MB03_DATA2 ((volatile unsigned short *)CAN0_MB03_DATA2)
1191#define                  pCAN0_MB03_DATA3 ((volatile unsigned short *)CAN0_MB03_DATA3)
1192#define                 pCAN0_MB03_LENGTH ((volatile unsigned short *)CAN0_MB03_LENGTH)
1193#define              pCAN0_MB03_TIMESTAMP ((volatile unsigned short *)CAN0_MB03_TIMESTAMP)
1194#define                    pCAN0_MB03_ID0 ((volatile unsigned short *)CAN0_MB03_ID0)
1195#define                    pCAN0_MB03_ID1 ((volatile unsigned short *)CAN0_MB03_ID1)
1196#define                  pCAN0_MB04_DATA0 ((volatile unsigned short *)CAN0_MB04_DATA0)
1197#define                  pCAN0_MB04_DATA1 ((volatile unsigned short *)CAN0_MB04_DATA1)
1198#define                  pCAN0_MB04_DATA2 ((volatile unsigned short *)CAN0_MB04_DATA2)
1199#define                  pCAN0_MB04_DATA3 ((volatile unsigned short *)CAN0_MB04_DATA3)
1200#define                 pCAN0_MB04_LENGTH ((volatile unsigned short *)CAN0_MB04_LENGTH)
1201#define              pCAN0_MB04_TIMESTAMP ((volatile unsigned short *)CAN0_MB04_TIMESTAMP)
1202#define                    pCAN0_MB04_ID0 ((volatile unsigned short *)CAN0_MB04_ID0)
1203#define                    pCAN0_MB04_ID1 ((volatile unsigned short *)CAN0_MB04_ID1)
1204#define                  pCAN0_MB05_DATA0 ((volatile unsigned short *)CAN0_MB05_DATA0)
1205#define                  pCAN0_MB05_DATA1 ((volatile unsigned short *)CAN0_MB05_DATA1)
1206#define                  pCAN0_MB05_DATA2 ((volatile unsigned short *)CAN0_MB05_DATA2)
1207#define                  pCAN0_MB05_DATA3 ((volatile unsigned short *)CAN0_MB05_DATA3)
1208#define                 pCAN0_MB05_LENGTH ((volatile unsigned short *)CAN0_MB05_LENGTH)
1209#define              pCAN0_MB05_TIMESTAMP ((volatile unsigned short *)CAN0_MB05_TIMESTAMP)
1210#define                    pCAN0_MB05_ID0 ((volatile unsigned short *)CAN0_MB05_ID0)
1211#define                    pCAN0_MB05_ID1 ((volatile unsigned short *)CAN0_MB05_ID1)
1212#define                  pCAN0_MB06_DATA0 ((volatile unsigned short *)CAN0_MB06_DATA0)
1213#define                  pCAN0_MB06_DATA1 ((volatile unsigned short *)CAN0_MB06_DATA1)
1214#define                  pCAN0_MB06_DATA2 ((volatile unsigned short *)CAN0_MB06_DATA2)
1215#define                  pCAN0_MB06_DATA3 ((volatile unsigned short *)CAN0_MB06_DATA3)
1216#define                 pCAN0_MB06_LENGTH ((volatile unsigned short *)CAN0_MB06_LENGTH)
1217#define              pCAN0_MB06_TIMESTAMP ((volatile unsigned short *)CAN0_MB06_TIMESTAMP)
1218#define                    pCAN0_MB06_ID0 ((volatile unsigned short *)CAN0_MB06_ID0)
1219#define                    pCAN0_MB06_ID1 ((volatile unsigned short *)CAN0_MB06_ID1)
1220#define                  pCAN0_MB07_DATA0 ((volatile unsigned short *)CAN0_MB07_DATA0)
1221#define                  pCAN0_MB07_DATA1 ((volatile unsigned short *)CAN0_MB07_DATA1)
1222#define                  pCAN0_MB07_DATA2 ((volatile unsigned short *)CAN0_MB07_DATA2)
1223#define                  pCAN0_MB07_DATA3 ((volatile unsigned short *)CAN0_MB07_DATA3)
1224#define                 pCAN0_MB07_LENGTH ((volatile unsigned short *)CAN0_MB07_LENGTH)
1225#define              pCAN0_MB07_TIMESTAMP ((volatile unsigned short *)CAN0_MB07_TIMESTAMP)
1226#define                    pCAN0_MB07_ID0 ((volatile unsigned short *)CAN0_MB07_ID0)
1227#define                    pCAN0_MB07_ID1 ((volatile unsigned short *)CAN0_MB07_ID1)
1228#define                  pCAN0_MB08_DATA0 ((volatile unsigned short *)CAN0_MB08_DATA0)
1229#define                  pCAN0_MB08_DATA1 ((volatile unsigned short *)CAN0_MB08_DATA1)
1230#define                  pCAN0_MB08_DATA2 ((volatile unsigned short *)CAN0_MB08_DATA2)
1231#define                  pCAN0_MB08_DATA3 ((volatile unsigned short *)CAN0_MB08_DATA3)
1232#define                 pCAN0_MB08_LENGTH ((volatile unsigned short *)CAN0_MB08_LENGTH)
1233#define              pCAN0_MB08_TIMESTAMP ((volatile unsigned short *)CAN0_MB08_TIMESTAMP)
1234#define                    pCAN0_MB08_ID0 ((volatile unsigned short *)CAN0_MB08_ID0)
1235#define                    pCAN0_MB08_ID1 ((volatile unsigned short *)CAN0_MB08_ID1)
1236#define                  pCAN0_MB09_DATA0 ((volatile unsigned short *)CAN0_MB09_DATA0)
1237#define                  pCAN0_MB09_DATA1 ((volatile unsigned short *)CAN0_MB09_DATA1)
1238#define                  pCAN0_MB09_DATA2 ((volatile unsigned short *)CAN0_MB09_DATA2)
1239#define                  pCAN0_MB09_DATA3 ((volatile unsigned short *)CAN0_MB09_DATA3)
1240#define                 pCAN0_MB09_LENGTH ((volatile unsigned short *)CAN0_MB09_LENGTH)
1241#define              pCAN0_MB09_TIMESTAMP ((volatile unsigned short *)CAN0_MB09_TIMESTAMP)
1242#define                    pCAN0_MB09_ID0 ((volatile unsigned short *)CAN0_MB09_ID0)
1243#define                    pCAN0_MB09_ID1 ((volatile unsigned short *)CAN0_MB09_ID1)
1244#define                  pCAN0_MB10_DATA0 ((volatile unsigned short *)CAN0_MB10_DATA0)
1245#define                  pCAN0_MB10_DATA1 ((volatile unsigned short *)CAN0_MB10_DATA1)
1246#define                  pCAN0_MB10_DATA2 ((volatile unsigned short *)CAN0_MB10_DATA2)
1247#define                  pCAN0_MB10_DATA3 ((volatile unsigned short *)CAN0_MB10_DATA3)
1248#define                 pCAN0_MB10_LENGTH ((volatile unsigned short *)CAN0_MB10_LENGTH)
1249#define              pCAN0_MB10_TIMESTAMP ((volatile unsigned short *)CAN0_MB10_TIMESTAMP)
1250#define                    pCAN0_MB10_ID0 ((volatile unsigned short *)CAN0_MB10_ID0)
1251#define                    pCAN0_MB10_ID1 ((volatile unsigned short *)CAN0_MB10_ID1)
1252#define                  pCAN0_MB11_DATA0 ((volatile unsigned short *)CAN0_MB11_DATA0)
1253#define                  pCAN0_MB11_DATA1 ((volatile unsigned short *)CAN0_MB11_DATA1)
1254#define                  pCAN0_MB11_DATA2 ((volatile unsigned short *)CAN0_MB11_DATA2)
1255#define                  pCAN0_MB11_DATA3 ((volatile unsigned short *)CAN0_MB11_DATA3)
1256#define                 pCAN0_MB11_LENGTH ((volatile unsigned short *)CAN0_MB11_LENGTH)
1257#define              pCAN0_MB11_TIMESTAMP ((volatile unsigned short *)CAN0_MB11_TIMESTAMP)
1258#define                    pCAN0_MB11_ID0 ((volatile unsigned short *)CAN0_MB11_ID0)
1259#define                    pCAN0_MB11_ID1 ((volatile unsigned short *)CAN0_MB11_ID1)
1260#define                  pCAN0_MB12_DATA0 ((volatile unsigned short *)CAN0_MB12_DATA0)
1261#define                  pCAN0_MB12_DATA1 ((volatile unsigned short *)CAN0_MB12_DATA1)
1262#define                  pCAN0_MB12_DATA2 ((volatile unsigned short *)CAN0_MB12_DATA2)
1263#define                  pCAN0_MB12_DATA3 ((volatile unsigned short *)CAN0_MB12_DATA3)
1264#define                 pCAN0_MB12_LENGTH ((volatile unsigned short *)CAN0_MB12_LENGTH)
1265#define              pCAN0_MB12_TIMESTAMP ((volatile unsigned short *)CAN0_MB12_TIMESTAMP)
1266#define                    pCAN0_MB12_ID0 ((volatile unsigned short *)CAN0_MB12_ID0)
1267#define                    pCAN0_MB12_ID1 ((volatile unsigned short *)CAN0_MB12_ID1)
1268#define                  pCAN0_MB13_DATA0 ((volatile unsigned short *)CAN0_MB13_DATA0)
1269#define                  pCAN0_MB13_DATA1 ((volatile unsigned short *)CAN0_MB13_DATA1)
1270#define                  pCAN0_MB13_DATA2 ((volatile unsigned short *)CAN0_MB13_DATA2)
1271#define                  pCAN0_MB13_DATA3 ((volatile unsigned short *)CAN0_MB13_DATA3)
1272#define                 pCAN0_MB13_LENGTH ((volatile unsigned short *)CAN0_MB13_LENGTH)
1273#define              pCAN0_MB13_TIMESTAMP ((volatile unsigned short *)CAN0_MB13_TIMESTAMP)
1274#define                    pCAN0_MB13_ID0 ((volatile unsigned short *)CAN0_MB13_ID0)
1275#define                    pCAN0_MB13_ID1 ((volatile unsigned short *)CAN0_MB13_ID1)
1276#define                  pCAN0_MB14_DATA0 ((volatile unsigned short *)CAN0_MB14_DATA0)
1277#define                  pCAN0_MB14_DATA1 ((volatile unsigned short *)CAN0_MB14_DATA1)
1278#define                  pCAN0_MB14_DATA2 ((volatile unsigned short *)CAN0_MB14_DATA2)
1279#define                  pCAN0_MB14_DATA3 ((volatile unsigned short *)CAN0_MB14_DATA3)
1280#define                 pCAN0_MB14_LENGTH ((volatile unsigned short *)CAN0_MB14_LENGTH)
1281#define              pCAN0_MB14_TIMESTAMP ((volatile unsigned short *)CAN0_MB14_TIMESTAMP)
1282#define                    pCAN0_MB14_ID0 ((volatile unsigned short *)CAN0_MB14_ID0)
1283#define                    pCAN0_MB14_ID1 ((volatile unsigned short *)CAN0_MB14_ID1)
1284#define                  pCAN0_MB15_DATA0 ((volatile unsigned short *)CAN0_MB15_DATA0)
1285#define                  pCAN0_MB15_DATA1 ((volatile unsigned short *)CAN0_MB15_DATA1)
1286#define                  pCAN0_MB15_DATA2 ((volatile unsigned short *)CAN0_MB15_DATA2)
1287#define                  pCAN0_MB15_DATA3 ((volatile unsigned short *)CAN0_MB15_DATA3)
1288#define                 pCAN0_MB15_LENGTH ((volatile unsigned short *)CAN0_MB15_LENGTH)
1289#define              pCAN0_MB15_TIMESTAMP ((volatile unsigned short *)CAN0_MB15_TIMESTAMP)
1290#define                    pCAN0_MB15_ID0 ((volatile unsigned short *)CAN0_MB15_ID0)
1291#define                    pCAN0_MB15_ID1 ((volatile unsigned short *)CAN0_MB15_ID1)
1292
1293/* CAN Controller 0 Mailbox Data Registers */
1294
1295#define                  pCAN0_MB16_DATA0 ((volatile unsigned short *)CAN0_MB16_DATA0)
1296#define                  pCAN0_MB16_DATA1 ((volatile unsigned short *)CAN0_MB16_DATA1)
1297#define                  pCAN0_MB16_DATA2 ((volatile unsigned short *)CAN0_MB16_DATA2)
1298#define                  pCAN0_MB16_DATA3 ((volatile unsigned short *)CAN0_MB16_DATA3)
1299#define                 pCAN0_MB16_LENGTH ((volatile unsigned short *)CAN0_MB16_LENGTH)
1300#define              pCAN0_MB16_TIMESTAMP ((volatile unsigned short *)CAN0_MB16_TIMESTAMP)
1301#define                    pCAN0_MB16_ID0 ((volatile unsigned short *)CAN0_MB16_ID0)
1302#define                    pCAN0_MB16_ID1 ((volatile unsigned short *)CAN0_MB16_ID1)
1303#define                  pCAN0_MB17_DATA0 ((volatile unsigned short *)CAN0_MB17_DATA0)
1304#define                  pCAN0_MB17_DATA1 ((volatile unsigned short *)CAN0_MB17_DATA1)
1305#define                  pCAN0_MB17_DATA2 ((volatile unsigned short *)CAN0_MB17_DATA2)
1306#define                  pCAN0_MB17_DATA3 ((volatile unsigned short *)CAN0_MB17_DATA3)
1307#define                 pCAN0_MB17_LENGTH ((volatile unsigned short *)CAN0_MB17_LENGTH)
1308#define              pCAN0_MB17_TIMESTAMP ((volatile unsigned short *)CAN0_MB17_TIMESTAMP)
1309#define                    pCAN0_MB17_ID0 ((volatile unsigned short *)CAN0_MB17_ID0)
1310#define                    pCAN0_MB17_ID1 ((volatile unsigned short *)CAN0_MB17_ID1)
1311#define                  pCAN0_MB18_DATA0 ((volatile unsigned short *)CAN0_MB18_DATA0)
1312#define                  pCAN0_MB18_DATA1 ((volatile unsigned short *)CAN0_MB18_DATA1)
1313#define                  pCAN0_MB18_DATA2 ((volatile unsigned short *)CAN0_MB18_DATA2)
1314#define                  pCAN0_MB18_DATA3 ((volatile unsigned short *)CAN0_MB18_DATA3)
1315#define                 pCAN0_MB18_LENGTH ((volatile unsigned short *)CAN0_MB18_LENGTH)
1316#define              pCAN0_MB18_TIMESTAMP ((volatile unsigned short *)CAN0_MB18_TIMESTAMP)
1317#define                    pCAN0_MB18_ID0 ((volatile unsigned short *)CAN0_MB18_ID0)
1318#define                    pCAN0_MB18_ID1 ((volatile unsigned short *)CAN0_MB18_ID1)
1319#define                  pCAN0_MB19_DATA0 ((volatile unsigned short *)CAN0_MB19_DATA0)
1320#define                  pCAN0_MB19_DATA1 ((volatile unsigned short *)CAN0_MB19_DATA1)
1321#define                  pCAN0_MB19_DATA2 ((volatile unsigned short *)CAN0_MB19_DATA2)
1322#define                  pCAN0_MB19_DATA3 ((volatile unsigned short *)CAN0_MB19_DATA3)
1323#define                 pCAN0_MB19_LENGTH ((volatile unsigned short *)CAN0_MB19_LENGTH)
1324#define              pCAN0_MB19_TIMESTAMP ((volatile unsigned short *)CAN0_MB19_TIMESTAMP)
1325#define                    pCAN0_MB19_ID0 ((volatile unsigned short *)CAN0_MB19_ID0)
1326#define                    pCAN0_MB19_ID1 ((volatile unsigned short *)CAN0_MB19_ID1)
1327#define                  pCAN0_MB20_DATA0 ((volatile unsigned short *)CAN0_MB20_DATA0)
1328#define                  pCAN0_MB20_DATA1 ((volatile unsigned short *)CAN0_MB20_DATA1)
1329#define                  pCAN0_MB20_DATA2 ((volatile unsigned short *)CAN0_MB20_DATA2)
1330#define                  pCAN0_MB20_DATA3 ((volatile unsigned short *)CAN0_MB20_DATA3)
1331#define                 pCAN0_MB20_LENGTH ((volatile unsigned short *)CAN0_MB20_LENGTH)
1332#define              pCAN0_MB20_TIMESTAMP ((volatile unsigned short *)CAN0_MB20_TIMESTAMP)
1333#define                    pCAN0_MB20_ID0 ((volatile unsigned short *)CAN0_MB20_ID0)
1334#define                    pCAN0_MB20_ID1 ((volatile unsigned short *)CAN0_MB20_ID1)
1335#define                  pCAN0_MB21_DATA0 ((volatile unsigned short *)CAN0_MB21_DATA0)
1336#define                  pCAN0_MB21_DATA1 ((volatile unsigned short *)CAN0_MB21_DATA1)
1337#define                  pCAN0_MB21_DATA2 ((volatile unsigned short *)CAN0_MB21_DATA2)
1338#define                  pCAN0_MB21_DATA3 ((volatile unsigned short *)CAN0_MB21_DATA3)
1339#define                 pCAN0_MB21_LENGTH ((volatile unsigned short *)CAN0_MB21_LENGTH)
1340#define              pCAN0_MB21_TIMESTAMP ((volatile unsigned short *)CAN0_MB21_TIMESTAMP)
1341#define                    pCAN0_MB21_ID0 ((volatile unsigned short *)CAN0_MB21_ID0)
1342#define                    pCAN0_MB21_ID1 ((volatile unsigned short *)CAN0_MB21_ID1)
1343#define                  pCAN0_MB22_DATA0 ((volatile unsigned short *)CAN0_MB22_DATA0)
1344#define                  pCAN0_MB22_DATA1 ((volatile unsigned short *)CAN0_MB22_DATA1)
1345#define                  pCAN0_MB22_DATA2 ((volatile unsigned short *)CAN0_MB22_DATA2)
1346#define                  pCAN0_MB22_DATA3 ((volatile unsigned short *)CAN0_MB22_DATA3)
1347#define                 pCAN0_MB22_LENGTH ((volatile unsigned short *)CAN0_MB22_LENGTH)
1348#define              pCAN0_MB22_TIMESTAMP ((volatile unsigned short *)CAN0_MB22_TIMESTAMP)
1349#define                    pCAN0_MB22_ID0 ((volatile unsigned short *)CAN0_MB22_ID0)
1350#define                    pCAN0_MB22_ID1 ((volatile unsigned short *)CAN0_MB22_ID1)
1351#define                  pCAN0_MB23_DATA0 ((volatile unsigned short *)CAN0_MB23_DATA0)
1352#define                  pCAN0_MB23_DATA1 ((volatile unsigned short *)CAN0_MB23_DATA1)
1353#define                  pCAN0_MB23_DATA2 ((volatile unsigned short *)CAN0_MB23_DATA2)
1354#define                  pCAN0_MB23_DATA3 ((volatile unsigned short *)CAN0_MB23_DATA3)
1355#define                 pCAN0_MB23_LENGTH ((volatile unsigned short *)CAN0_MB23_LENGTH)
1356#define              pCAN0_MB23_TIMESTAMP ((volatile unsigned short *)CAN0_MB23_TIMESTAMP)
1357#define                    pCAN0_MB23_ID0 ((volatile unsigned short *)CAN0_MB23_ID0)
1358#define                    pCAN0_MB23_ID1 ((volatile unsigned short *)CAN0_MB23_ID1)
1359#define                  pCAN0_MB24_DATA0 ((volatile unsigned short *)CAN0_MB24_DATA0)
1360#define                  pCAN0_MB24_DATA1 ((volatile unsigned short *)CAN0_MB24_DATA1)
1361#define                  pCAN0_MB24_DATA2 ((volatile unsigned short *)CAN0_MB24_DATA2)
1362#define                  pCAN0_MB24_DATA3 ((volatile unsigned short *)CAN0_MB24_DATA3)
1363#define                 pCAN0_MB24_LENGTH ((volatile unsigned short *)CAN0_MB24_LENGTH)
1364#define              pCAN0_MB24_TIMESTAMP ((volatile unsigned short *)CAN0_MB24_TIMESTAMP)
1365#define                    pCAN0_MB24_ID0 ((volatile unsigned short *)CAN0_MB24_ID0)
1366#define                    pCAN0_MB24_ID1 ((volatile unsigned short *)CAN0_MB24_ID1)
1367#define                  pCAN0_MB25_DATA0 ((volatile unsigned short *)CAN0_MB25_DATA0)
1368#define                  pCAN0_MB25_DATA1 ((volatile unsigned short *)CAN0_MB25_DATA1)
1369#define                  pCAN0_MB25_DATA2 ((volatile unsigned short *)CAN0_MB25_DATA2)
1370#define                  pCAN0_MB25_DATA3 ((volatile unsigned short *)CAN0_MB25_DATA3)
1371#define                 pCAN0_MB25_LENGTH ((volatile unsigned short *)CAN0_MB25_LENGTH)
1372#define              pCAN0_MB25_TIMESTAMP ((volatile unsigned short *)CAN0_MB25_TIMESTAMP)
1373#define                    pCAN0_MB25_ID0 ((volatile unsigned short *)CAN0_MB25_ID0)
1374#define                    pCAN0_MB25_ID1 ((volatile unsigned short *)CAN0_MB25_ID1)
1375#define                  pCAN0_MB26_DATA0 ((volatile unsigned short *)CAN0_MB26_DATA0)
1376#define                  pCAN0_MB26_DATA1 ((volatile unsigned short *)CAN0_MB26_DATA1)
1377#define                  pCAN0_MB26_DATA2 ((volatile unsigned short *)CAN0_MB26_DATA2)
1378#define                  pCAN0_MB26_DATA3 ((volatile unsigned short *)CAN0_MB26_DATA3)
1379#define                 pCAN0_MB26_LENGTH ((volatile unsigned short *)CAN0_MB26_LENGTH)
1380#define              pCAN0_MB26_TIMESTAMP ((volatile unsigned short *)CAN0_MB26_TIMESTAMP)
1381#define                    pCAN0_MB26_ID0 ((volatile unsigned short *)CAN0_MB26_ID0)
1382#define                    pCAN0_MB26_ID1 ((volatile unsigned short *)CAN0_MB26_ID1)
1383#define                  pCAN0_MB27_DATA0 ((volatile unsigned short *)CAN0_MB27_DATA0)
1384#define                  pCAN0_MB27_DATA1 ((volatile unsigned short *)CAN0_MB27_DATA1)
1385#define                  pCAN0_MB27_DATA2 ((volatile unsigned short *)CAN0_MB27_DATA2)
1386#define                  pCAN0_MB27_DATA3 ((volatile unsigned short *)CAN0_MB27_DATA3)
1387#define                 pCAN0_MB27_LENGTH ((volatile unsigned short *)CAN0_MB27_LENGTH)
1388#define              pCAN0_MB27_TIMESTAMP ((volatile unsigned short *)CAN0_MB27_TIMESTAMP)
1389#define                    pCAN0_MB27_ID0 ((volatile unsigned short *)CAN0_MB27_ID0)
1390#define                    pCAN0_MB27_ID1 ((volatile unsigned short *)CAN0_MB27_ID1)
1391#define                  pCAN0_MB28_DATA0 ((volatile unsigned short *)CAN0_MB28_DATA0)
1392#define                  pCAN0_MB28_DATA1 ((volatile unsigned short *)CAN0_MB28_DATA1)
1393#define                  pCAN0_MB28_DATA2 ((volatile unsigned short *)CAN0_MB28_DATA2)
1394#define                  pCAN0_MB28_DATA3 ((volatile unsigned short *)CAN0_MB28_DATA3)
1395#define                 pCAN0_MB28_LENGTH ((volatile unsigned short *)CAN0_MB28_LENGTH)
1396#define              pCAN0_MB28_TIMESTAMP ((volatile unsigned short *)CAN0_MB28_TIMESTAMP)
1397#define                    pCAN0_MB28_ID0 ((volatile unsigned short *)CAN0_MB28_ID0)
1398#define                    pCAN0_MB28_ID1 ((volatile unsigned short *)CAN0_MB28_ID1)
1399#define                  pCAN0_MB29_DATA0 ((volatile unsigned short *)CAN0_MB29_DATA0)
1400#define                  pCAN0_MB29_DATA1 ((volatile unsigned short *)CAN0_MB29_DATA1)
1401#define                  pCAN0_MB29_DATA2 ((volatile unsigned short *)CAN0_MB29_DATA2)
1402#define                  pCAN0_MB29_DATA3 ((volatile unsigned short *)CAN0_MB29_DATA3)
1403#define                 pCAN0_MB29_LENGTH ((volatile unsigned short *)CAN0_MB29_LENGTH)
1404#define              pCAN0_MB29_TIMESTAMP ((volatile unsigned short *)CAN0_MB29_TIMESTAMP)
1405#define                    pCAN0_MB29_ID0 ((volatile unsigned short *)CAN0_MB29_ID0)
1406#define                    pCAN0_MB29_ID1 ((volatile unsigned short *)CAN0_MB29_ID1)
1407#define                  pCAN0_MB30_DATA0 ((volatile unsigned short *)CAN0_MB30_DATA0)
1408#define                  pCAN0_MB30_DATA1 ((volatile unsigned short *)CAN0_MB30_DATA1)
1409#define                  pCAN0_MB30_DATA2 ((volatile unsigned short *)CAN0_MB30_DATA2)
1410#define                  pCAN0_MB30_DATA3 ((volatile unsigned short *)CAN0_MB30_DATA3)
1411#define                 pCAN0_MB30_LENGTH ((volatile unsigned short *)CAN0_MB30_LENGTH)
1412#define              pCAN0_MB30_TIMESTAMP ((volatile unsigned short *)CAN0_MB30_TIMESTAMP)
1413#define                    pCAN0_MB30_ID0 ((volatile unsigned short *)CAN0_MB30_ID0)
1414#define                    pCAN0_MB30_ID1 ((volatile unsigned short *)CAN0_MB30_ID1)
1415#define                  pCAN0_MB31_DATA0 ((volatile unsigned short *)CAN0_MB31_DATA0)
1416#define                  pCAN0_MB31_DATA1 ((volatile unsigned short *)CAN0_MB31_DATA1)
1417#define                  pCAN0_MB31_DATA2 ((volatile unsigned short *)CAN0_MB31_DATA2)
1418#define                  pCAN0_MB31_DATA3 ((volatile unsigned short *)CAN0_MB31_DATA3)
1419#define                 pCAN0_MB31_LENGTH ((volatile unsigned short *)CAN0_MB31_LENGTH)
1420#define              pCAN0_MB31_TIMESTAMP ((volatile unsigned short *)CAN0_MB31_TIMESTAMP)
1421#define                    pCAN0_MB31_ID0 ((volatile unsigned short *)CAN0_MB31_ID0)
1422#define                    pCAN0_MB31_ID1 ((volatile unsigned short *)CAN0_MB31_ID1)
1423
1424/* UART3 Registers */
1425
1426#define                        pUART3_DLL ((volatile unsigned short *)UART3_DLL)
1427#define                        pUART3_DLH ((volatile unsigned short *)UART3_DLH)
1428#define                       pUART3_GCTL ((volatile unsigned short *)UART3_GCTL)
1429#define                        pUART3_LCR ((volatile unsigned short *)UART3_LCR)
1430#define                        pUART3_MCR ((volatile unsigned short *)UART3_MCR)
1431#define                        pUART3_LSR ((volatile unsigned short *)UART3_LSR)
1432#define                        pUART3_MSR ((volatile unsigned short *)UART3_MSR)
1433#define                        pUART3_SCR ((volatile unsigned short *)UART3_SCR)
1434#define                    pUART3_IER_SET ((volatile unsigned short *)UART3_IER_SET)
1435#define                  pUART3_IER_CLEAR ((volatile unsigned short *)UART3_IER_CLEAR)
1436#define                        pUART3_THR ((volatile unsigned short *)UART3_THR)
1437#define                        pUART3_RBR ((volatile unsigned short *)UART3_RBR)
1438
1439/* NFC Registers */
1440
1441#define                          pNFC_CTL ((volatile unsigned short *)NFC_CTL)
1442#define                         pNFC_STAT ((volatile unsigned short *)NFC_STAT)
1443#define                      pNFC_IRQSTAT ((volatile unsigned short *)NFC_IRQSTAT)
1444#define                      pNFC_IRQMASK ((volatile unsigned short *)NFC_IRQMASK)
1445#define                         pNFC_ECC0 ((volatile unsigned short *)NFC_ECC0)
1446#define                         pNFC_ECC1 ((volatile unsigned short *)NFC_ECC1)
1447#define                         pNFC_ECC2 ((volatile unsigned short *)NFC_ECC2)
1448#define                         pNFC_ECC3 ((volatile unsigned short *)NFC_ECC3)
1449#define                        pNFC_COUNT ((volatile unsigned short *)NFC_COUNT)
1450#define                          pNFC_RST ((volatile unsigned short *)NFC_RST)
1451#define                        pNFC_PGCTL ((volatile unsigned short *)NFC_PGCTL)
1452#define                         pNFC_READ ((volatile unsigned short *)NFC_READ)
1453#define                         pNFC_ADDR ((volatile unsigned short *)NFC_ADDR)
1454#define                          pNFC_CMD ((volatile unsigned short *)NFC_CMD)
1455#define                      pNFC_DATA_WR ((volatile unsigned short *)NFC_DATA_WR)
1456#define                      pNFC_DATA_RD ((volatile unsigned short *)NFC_DATA_RD)
1457
1458/* Counter Registers */
1459
1460#define                       pCNT_CONFIG ((volatile unsigned short *)CNT_CONFIG)
1461#define                        pCNT_IMASK ((volatile unsigned short *)CNT_IMASK)
1462#define                       pCNT_STATUS ((volatile unsigned short *)CNT_STATUS)
1463#define                      pCNT_COMMAND ((volatile unsigned short *)CNT_COMMAND)
1464#define                     pCNT_DEBOUNCE ((volatile unsigned short *)CNT_DEBOUNCE)
1465#define                      pCNT_COUNTER ((volatile unsigned long *)CNT_COUNTER)
1466#define                          pCNT_MAX ((volatile unsigned long *)CNT_MAX)
1467#define                          pCNT_MIN ((volatile unsigned long *)CNT_MIN)
1468
1469/* Security Registers */
1470
1471#define                    pSECURE_SYSSWT ((volatile unsigned long *)SECURE_SYSSWT)
1472#define                   pSECURE_CONTROL ((volatile unsigned short *)SECURE_CONTROL)
1473#define                    pSECURE_STATUS ((volatile unsigned short *)SECURE_STATUS)
1474
1475/* DMA Peripheral Mux Register */
1476
1477#define                    pDMAC1_PERIMUX ((volatile unsigned short *)DMAC1_PERIMUX)
1478
1479/* OTP Read/Write Data Buffer Registers */
1480
1481#define                        pOTP_DATA0 ((volatile unsigned long *)OTP_DATA0)
1482#define                        pOTP_DATA1 ((volatile unsigned long *)OTP_DATA1)
1483#define                        pOTP_DATA2 ((volatile unsigned long *)OTP_DATA2)
1484#define                        pOTP_DATA3 ((volatile unsigned long *)OTP_DATA3)
1485
1486/* Handshake MDMA 0 Registers */
1487
1488#define                   pHMDMA0_CONTROL ((volatile unsigned short *)HMDMA0_CONTROL)
1489#define                    pHMDMA0_ECINIT ((volatile unsigned short *)HMDMA0_ECINIT)
1490#define                    pHMDMA0_BCINIT ((volatile unsigned short *)HMDMA0_BCINIT)
1491#define                  pHMDMA0_ECURGENT ((volatile unsigned short *)HMDMA0_ECURGENT)
1492#define                pHMDMA0_ECOVERFLOW ((volatile unsigned short *)HMDMA0_ECOVERFLOW)
1493#define                    pHMDMA0_ECOUNT ((volatile unsigned short *)HMDMA0_ECOUNT)
1494#define                    pHMDMA0_BCOUNT ((volatile unsigned short *)HMDMA0_BCOUNT)
1495
1496/* Handshake MDMA 1 Registers */
1497
1498#define                   pHMDMA1_CONTROL ((volatile unsigned short *)HMDMA1_CONTROL)
1499#define                    pHMDMA1_ECINIT ((volatile unsigned short *)HMDMA1_ECINIT)
1500#define                    pHMDMA1_BCINIT ((volatile unsigned short *)HMDMA1_BCINIT)
1501#define                  pHMDMA1_ECURGENT ((volatile unsigned short *)HMDMA1_ECURGENT)
1502#define                pHMDMA1_ECOVERFLOW ((volatile unsigned short *)HMDMA1_ECOVERFLOW)
1503#define                    pHMDMA1_ECOUNT ((volatile unsigned short *)HMDMA1_ECOUNT)
1504#define                    pHMDMA1_BCOUNT ((volatile unsigned short *)HMDMA1_BCOUNT)
1505
1506/* legacy definitions */
1507#define pEBIU_AMCBCTL0 pEBIU_AMBCTL0
1508#define pEBIU_AMCBCTL1 pEBIU_AMBCTL1
1509#define pPINT0_IRQ pPINT0_REQUEST
1510#define pPINT1_IRQ pPINT1_REQUEST
1511#define pPINT2_IRQ pPINT2_REQUEST
1512#define pPINT3_IRQ pPINT3_REQUEST
1513
1514#ifdef _MISRA_RULES
1515#pragma diag(pop)
1516#endif /* _MISRA_RULES */
1517
1518#endif /* _CDEF_BF54X_H */
1519
Note: See TracBrowser for help on using the repository browser.