source: trunk/libs/newlib/src/libgloss/bfin/include/cdefBF549.h @ 688

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

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

File size: 72.2 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** cdefBF549.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 ADSP-BF549 peripherals.
22**
23************************************************************************************
24** System MMR Register Map
25************************************************************************************/
26
27#ifndef _CDEF_BF549_H
28#define _CDEF_BF549_H
29
30/* include all Core registers and bit definitions */
31#include <defBF549.h>
32
33/* include core specific register pointer definitions */
34#include <cdef_LPBlackfin.h>
35
36/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF549 */
37
38/* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
39#include <cdefBF54x_base.h>
40
41#ifdef _MISRA_RULES
42#pragma diag(push)
43#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
44#endif /* _MISRA_RULES */
45
46/* The following are the #defines needed by ADSP-BF549 that are not in the common header */
47
48/* Timer Registers */
49
50#define                    pTIMER8_CONFIG ((volatile unsigned short *)TIMER8_CONFIG)
51#define                   pTIMER8_COUNTER ((volatile unsigned long *)TIMER8_COUNTER)
52#define                    pTIMER8_PERIOD ((volatile unsigned long *)TIMER8_PERIOD)
53#define                     pTIMER8_WIDTH ((volatile unsigned long *)TIMER8_WIDTH)
54#define                    pTIMER9_CONFIG ((volatile unsigned short *)TIMER9_CONFIG)
55#define                   pTIMER9_COUNTER ((volatile unsigned long *)TIMER9_COUNTER)
56#define                    pTIMER9_PERIOD ((volatile unsigned long *)TIMER9_PERIOD)
57#define                     pTIMER9_WIDTH ((volatile unsigned long *)TIMER9_WIDTH)
58#define                   pTIMER10_CONFIG ((volatile unsigned short *)TIMER10_CONFIG)
59#define                  pTIMER10_COUNTER ((volatile unsigned long *)TIMER10_COUNTER)
60#define                   pTIMER10_PERIOD ((volatile unsigned long *)TIMER10_PERIOD)
61#define                    pTIMER10_WIDTH ((volatile unsigned long *)TIMER10_WIDTH)
62
63/* Timer Group of 3 */
64
65#define                    pTIMER_ENABLE1 ((volatile unsigned short *)TIMER_ENABLE1)
66#define                   pTIMER_DISABLE1 ((volatile unsigned short *)TIMER_DISABLE1)
67#define                    pTIMER_STATUS1 ((volatile unsigned long *)TIMER_STATUS1)
68
69/* SPORT0 Registers */
70
71#define                      pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
72#define                      pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
73#define                   pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
74#define                    pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
75#define                        pSPORT0_TX ((volatile unsigned long *)SPORT0_TX)
76#define                        pSPORT0_RX ((volatile unsigned long *)SPORT0_RX)
77#define                      pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
78#define                      pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
79#define                   pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
80#define                    pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
81#define                      pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
82#define                      pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
83#define                     pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
84#define                     pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
85#define                     pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
86#define                     pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
87#define                     pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
88#define                     pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
89#define                     pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
90#define                     pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
91#define                     pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
92#define                     pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
93
94/* EPPI0 Registers */
95
96#define                     pEPPI0_STATUS ((volatile unsigned short *)EPPI0_STATUS)
97#define                     pEPPI0_HCOUNT ((volatile unsigned short *)EPPI0_HCOUNT)
98#define                     pEPPI0_HDELAY ((volatile unsigned short *)EPPI0_HDELAY)
99#define                     pEPPI0_VCOUNT ((volatile unsigned short *)EPPI0_VCOUNT)
100#define                     pEPPI0_VDELAY ((volatile unsigned short *)EPPI0_VDELAY)
101#define                      pEPPI0_FRAME ((volatile unsigned short *)EPPI0_FRAME)
102#define                       pEPPI0_LINE ((volatile unsigned short *)EPPI0_LINE)
103#define                     pEPPI0_CLKDIV ((volatile unsigned short *)EPPI0_CLKDIV)
104#define                    pEPPI0_CONTROL ((volatile unsigned long *)EPPI0_CONTROL)
105#define                   pEPPI0_FS1W_HBL ((volatile unsigned long *)EPPI0_FS1W_HBL)
106#define                  pEPPI0_FS1P_AVPL ((volatile unsigned long *)EPPI0_FS1P_AVPL)
107#define                   pEPPI0_FS2W_LVB ((volatile unsigned long *)EPPI0_FS2W_LVB)
108#define                  pEPPI0_FS2P_LAVF ((volatile unsigned long *)EPPI0_FS2P_LAVF)
109#define                       pEPPI0_CLIP ((volatile unsigned long *)EPPI0_CLIP)
110
111/* UART2 Registers */
112
113#define                        pUART2_DLL ((volatile unsigned short *)UART2_DLL)
114#define                        pUART2_DLH ((volatile unsigned short *)UART2_DLH)
115#define                       pUART2_GCTL ((volatile unsigned short *)UART2_GCTL)
116#define                        pUART2_LCR ((volatile unsigned short *)UART2_LCR)
117#define                        pUART2_MCR ((volatile unsigned short *)UART2_MCR)
118#define                        pUART2_LSR ((volatile unsigned short *)UART2_LSR)
119#define                        pUART2_MSR ((volatile unsigned short *)UART2_MSR)
120#define                        pUART2_SCR ((volatile unsigned short *)UART2_SCR)
121#define                    pUART2_IER_SET ((volatile unsigned short *)UART2_IER_SET)
122#define                  pUART2_IER_CLEAR ((volatile unsigned short *)UART2_IER_CLEAR)
123#define                        pUART2_THR ((volatile unsigned short *)UART2_THR)
124#define                        pUART2_RBR ((volatile unsigned short *)UART2_RBR)
125
126/* Two Wire Interface Registers (TWI1) */
127
128#define                      pTWI1_CLKDIV ((volatile unsigned short *)TWI1_CLKDIV)
129#define                     pTWI1_CONTROL ((volatile unsigned short *)TWI1_CONTROL)
130#define                   pTWI1_SLAVE_CTL ((volatile unsigned short *)TWI1_SLAVE_CTL)
131#define                  pTWI1_SLAVE_STAT ((volatile unsigned short *)TWI1_SLAVE_STAT)
132#define                  pTWI1_SLAVE_ADDR ((volatile unsigned short *)TWI1_SLAVE_ADDR)
133#define                  pTWI1_MASTER_CTL ((volatile unsigned short *)TWI1_MASTER_CTL)
134#define                 pTWI1_MASTER_STAT ((volatile unsigned short *)TWI1_MASTER_STAT)
135#define                 pTWI1_MASTER_ADDR ((volatile unsigned short *)TWI1_MASTER_ADDR)
136#define                    pTWI1_INT_STAT ((volatile unsigned short *)TWI1_INT_STAT)
137#define                    pTWI1_INT_MASK ((volatile unsigned short *)TWI1_INT_MASK)
138#define                    pTWI1_FIFO_CTL ((volatile unsigned short *)TWI1_FIFO_CTL)
139#define                   pTWI1_FIFO_STAT ((volatile unsigned short *)TWI1_FIFO_STAT)
140#define                   pTWI1_XMT_DATA8 ((volatile unsigned short *)TWI1_XMT_DATA8)
141#define                  pTWI1_XMT_DATA16 ((volatile unsigned short *)TWI1_XMT_DATA16)
142#define                   pTWI1_RCV_DATA8 ((volatile unsigned short *)TWI1_RCV_DATA8)
143#define                  pTWI1_RCV_DATA16 ((volatile unsigned short *)TWI1_RCV_DATA16)
144
145/* SPI2 Registers */
146
147#define                         pSPI2_CTL ((volatile unsigned short *)SPI2_CTL)
148#define                         pSPI2_FLG ((volatile unsigned short *)SPI2_FLG)
149#define                        pSPI2_STAT ((volatile unsigned short *)SPI2_STAT)
150#define                        pSPI2_TDBR ((volatile unsigned short *)SPI2_TDBR)
151#define                        pSPI2_RDBR ((volatile unsigned short *)SPI2_RDBR)
152#define                        pSPI2_BAUD ((volatile unsigned short *)SPI2_BAUD)
153#define                      pSPI2_SHADOW ((volatile unsigned short *)SPI2_SHADOW)
154
155/* MXVR Registers */
156
157#define                      pMXVR_CONFIG ((volatile unsigned short *)MXVR_CONFIG)
158#define                     pMXVR_STATE_0 ((volatile unsigned long *)MXVR_STATE_0)
159#define                     pMXVR_STATE_1 ((volatile unsigned long *)MXVR_STATE_1)
160#define                  pMXVR_INT_STAT_0 ((volatile unsigned long *)MXVR_INT_STAT_0)
161#define                  pMXVR_INT_STAT_1 ((volatile unsigned long *)MXVR_INT_STAT_1)
162#define                    pMXVR_INT_EN_0 ((volatile unsigned long *)MXVR_INT_EN_0)
163#define                    pMXVR_INT_EN_1 ((volatile unsigned long *)MXVR_INT_EN_1)
164#define                    pMXVR_POSITION ((volatile unsigned short *)MXVR_POSITION)
165#define                pMXVR_MAX_POSITION ((volatile unsigned short *)MXVR_MAX_POSITION)
166#define                       pMXVR_DELAY ((volatile unsigned short *)MXVR_DELAY)
167#define                   pMXVR_MAX_DELAY ((volatile unsigned short *)MXVR_MAX_DELAY)
168#define                       pMXVR_LADDR ((volatile unsigned long *)MXVR_LADDR)
169#define                       pMXVR_GADDR ((volatile unsigned short *)MXVR_GADDR)
170#define                       pMXVR_AADDR ((volatile unsigned long *)MXVR_AADDR)
171
172/* MXVR Allocation Table Registers */
173
174#define                     pMXVR_ALLOC_0 ((volatile unsigned long *)MXVR_ALLOC_0)
175#define                     pMXVR_ALLOC_1 ((volatile unsigned long *)MXVR_ALLOC_1)
176#define                     pMXVR_ALLOC_2 ((volatile unsigned long *)MXVR_ALLOC_2)
177#define                     pMXVR_ALLOC_3 ((volatile unsigned long *)MXVR_ALLOC_3)
178#define                     pMXVR_ALLOC_4 ((volatile unsigned long *)MXVR_ALLOC_4)
179#define                     pMXVR_ALLOC_5 ((volatile unsigned long *)MXVR_ALLOC_5)
180#define                     pMXVR_ALLOC_6 ((volatile unsigned long *)MXVR_ALLOC_6)
181#define                     pMXVR_ALLOC_7 ((volatile unsigned long *)MXVR_ALLOC_7)
182#define                     pMXVR_ALLOC_8 ((volatile unsigned long *)MXVR_ALLOC_8)
183#define                     pMXVR_ALLOC_9 ((volatile unsigned long *)MXVR_ALLOC_9)
184#define                    pMXVR_ALLOC_10 ((volatile unsigned long *)MXVR_ALLOC_10)
185#define                    pMXVR_ALLOC_11 ((volatile unsigned long *)MXVR_ALLOC_11)
186#define                    pMXVR_ALLOC_12 ((volatile unsigned long *)MXVR_ALLOC_12)
187#define                    pMXVR_ALLOC_13 ((volatile unsigned long *)MXVR_ALLOC_13)
188#define                    pMXVR_ALLOC_14 ((volatile unsigned long *)MXVR_ALLOC_14)
189
190/* MXVR Channel Assign Registers */
191
192#define                pMXVR_SYNC_LCHAN_0 ((volatile unsigned long *)MXVR_SYNC_LCHAN_0)
193#define                pMXVR_SYNC_LCHAN_1 ((volatile unsigned long *)MXVR_SYNC_LCHAN_1)
194#define                pMXVR_SYNC_LCHAN_2 ((volatile unsigned long *)MXVR_SYNC_LCHAN_2)
195#define                pMXVR_SYNC_LCHAN_3 ((volatile unsigned long *)MXVR_SYNC_LCHAN_3)
196#define                pMXVR_SYNC_LCHAN_4 ((volatile unsigned long *)MXVR_SYNC_LCHAN_4)
197#define                pMXVR_SYNC_LCHAN_5 ((volatile unsigned long *)MXVR_SYNC_LCHAN_5)
198#define                pMXVR_SYNC_LCHAN_6 ((volatile unsigned long *)MXVR_SYNC_LCHAN_6)
199#define                pMXVR_SYNC_LCHAN_7 ((volatile unsigned long *)MXVR_SYNC_LCHAN_7)
200
201/* MXVR DMA0 Registers */
202
203#define                 pMXVR_DMA0_CONFIG ((volatile unsigned long *)MXVR_DMA0_CONFIG)
204#define             pMXVR_DMA0_START_ADDR ((void *volatile *)MXVR_DMA0_START_ADDR)
205#define                  pMXVR_DMA0_COUNT ((volatile unsigned short *)MXVR_DMA0_COUNT)
206#define              pMXVR_DMA0_CURR_ADDR ((void *volatile *)MXVR_DMA0_CURR_ADDR)
207#define             pMXVR_DMA0_CURR_COUNT ((volatile unsigned short *)MXVR_DMA0_CURR_COUNT)
208
209/* MXVR DMA1 Registers */
210
211#define                 pMXVR_DMA1_CONFIG ((volatile unsigned long *)MXVR_DMA1_CONFIG)
212#define             pMXVR_DMA1_START_ADDR ((void *volatile *)MXVR_DMA1_START_ADDR)
213#define                  pMXVR_DMA1_COUNT ((volatile unsigned short *)MXVR_DMA1_COUNT)
214#define              pMXVR_DMA1_CURR_ADDR ((void *volatile *)MXVR_DMA1_CURR_ADDR)
215#define             pMXVR_DMA1_CURR_COUNT ((volatile unsigned short *)MXVR_DMA1_CURR_COUNT)
216
217/* MXVR DMA2 Registers */
218
219#define                 pMXVR_DMA2_CONFIG ((volatile unsigned long *)MXVR_DMA2_CONFIG)
220#define             pMXVR_DMA2_START_ADDR ((void *volatile *)MXVR_DMA2_START_ADDR)
221#define                  pMXVR_DMA2_COUNT ((volatile unsigned short *)MXVR_DMA2_COUNT)
222#define              pMXVR_DMA2_CURR_ADDR ((void *volatile *)MXVR_DMA2_CURR_ADDR)
223#define             pMXVR_DMA2_CURR_COUNT ((volatile unsigned short *)MXVR_DMA2_CURR_COUNT)
224
225/* MXVR DMA3 Registers */
226
227#define                 pMXVR_DMA3_CONFIG ((volatile unsigned long *)MXVR_DMA3_CONFIG)
228#define             pMXVR_DMA3_START_ADDR ((void *volatile *)MXVR_DMA3_START_ADDR)
229#define                  pMXVR_DMA3_COUNT ((volatile unsigned short *)MXVR_DMA3_COUNT)
230#define              pMXVR_DMA3_CURR_ADDR ((void *volatile *)MXVR_DMA3_CURR_ADDR)
231#define             pMXVR_DMA3_CURR_COUNT ((volatile unsigned short *)MXVR_DMA3_CURR_COUNT)
232
233/* MXVR DMA4 Registers */
234
235#define                 pMXVR_DMA4_CONFIG ((volatile unsigned long *)MXVR_DMA4_CONFIG)
236#define             pMXVR_DMA4_START_ADDR ((void *volatile *)MXVR_DMA4_START_ADDR)
237#define                  pMXVR_DMA4_COUNT ((volatile unsigned short *)MXVR_DMA4_COUNT)
238#define              pMXVR_DMA4_CURR_ADDR ((void *volatile *)MXVR_DMA4_CURR_ADDR)
239#define             pMXVR_DMA4_CURR_COUNT ((volatile unsigned short *)MXVR_DMA4_CURR_COUNT)
240
241/* MXVR DMA5 Registers */
242
243#define                 pMXVR_DMA5_CONFIG ((volatile unsigned long *)MXVR_DMA5_CONFIG)
244#define             pMXVR_DMA5_START_ADDR ((void *volatile *)MXVR_DMA5_START_ADDR)
245#define                  pMXVR_DMA5_COUNT ((volatile unsigned short *)MXVR_DMA5_COUNT)
246#define              pMXVR_DMA5_CURR_ADDR ((void *volatile *)MXVR_DMA5_CURR_ADDR)
247#define             pMXVR_DMA5_CURR_COUNT ((volatile unsigned short *)MXVR_DMA5_CURR_COUNT)
248
249/* MXVR DMA6 Registers */
250
251#define                 pMXVR_DMA6_CONFIG ((volatile unsigned long *)MXVR_DMA6_CONFIG)
252#define             pMXVR_DMA6_START_ADDR ((void *volatile *)MXVR_DMA6_START_ADDR)
253#define                  pMXVR_DMA6_COUNT ((volatile unsigned short *)MXVR_DMA6_COUNT)
254#define              pMXVR_DMA6_CURR_ADDR ((void *volatile *)MXVR_DMA6_CURR_ADDR)
255#define             pMXVR_DMA6_CURR_COUNT ((volatile unsigned short *)MXVR_DMA6_CURR_COUNT)
256
257/* MXVR DMA7 Registers */
258
259#define                 pMXVR_DMA7_CONFIG ((volatile unsigned long *)MXVR_DMA7_CONFIG)
260#define             pMXVR_DMA7_START_ADDR ((void *volatile *)MXVR_DMA7_START_ADDR)
261#define                  pMXVR_DMA7_COUNT ((volatile unsigned short *)MXVR_DMA7_COUNT)
262#define              pMXVR_DMA7_CURR_ADDR ((void *volatile *)MXVR_DMA7_CURR_ADDR)
263#define             pMXVR_DMA7_CURR_COUNT ((volatile unsigned short *)MXVR_DMA7_CURR_COUNT)
264
265/* MXVR Asynch Packet Registers */
266
267#define                      pMXVR_AP_CTL ((volatile unsigned short *)MXVR_AP_CTL)
268#define             pMXVR_APRB_START_ADDR ((void *volatile *)MXVR_APRB_START_ADDR)
269#define              pMXVR_APRB_CURR_ADDR ((void *volatile *)MXVR_APRB_CURR_ADDR)
270#define             pMXVR_APTB_START_ADDR ((void *volatile *)MXVR_APTB_START_ADDR)
271#define              pMXVR_APTB_CURR_ADDR ((void *volatile *)MXVR_APTB_CURR_ADDR)
272
273/* MXVR Control Message Registers */
274
275#define                      pMXVR_CM_CTL ((volatile unsigned long *)MXVR_CM_CTL)
276#define             pMXVR_CMRB_START_ADDR ((void *volatile *)MXVR_CMRB_START_ADDR)
277#define              pMXVR_CMRB_CURR_ADDR ((void *volatile *)MXVR_CMRB_CURR_ADDR)
278#define             pMXVR_CMTB_START_ADDR ((void *volatile *)MXVR_CMTB_START_ADDR)
279#define              pMXVR_CMTB_CURR_ADDR ((void *volatile *)MXVR_CMTB_CURR_ADDR)
280
281/* MXVR Remote Read Registers */
282
283#define             pMXVR_RRDB_START_ADDR ((void *volatile *)MXVR_RRDB_START_ADDR)
284#define              pMXVR_RRDB_CURR_ADDR ((void *volatile *)MXVR_RRDB_CURR_ADDR)
285
286/* MXVR Pattern Data Registers */
287
288#define                  pMXVR_PAT_DATA_0 ((volatile unsigned long *)MXVR_PAT_DATA_0)
289#define                    pMXVR_PAT_EN_0 ((volatile unsigned long *)MXVR_PAT_EN_0)
290#define                  pMXVR_PAT_DATA_1 ((volatile unsigned long *)MXVR_PAT_DATA_1)
291#define                    pMXVR_PAT_EN_1 ((volatile unsigned long *)MXVR_PAT_EN_1)
292
293/* MXVR Frame Counter Registers */
294
295#define                 pMXVR_FRAME_CNT_0 ((volatile unsigned short *)MXVR_FRAME_CNT_0)
296#define                 pMXVR_FRAME_CNT_1 ((volatile unsigned short *)MXVR_FRAME_CNT_1)
297
298/* MXVR Routing Table Registers */
299
300#define                   pMXVR_ROUTING_0 ((volatile unsigned long *)MXVR_ROUTING_0)
301#define                   pMXVR_ROUTING_1 ((volatile unsigned long *)MXVR_ROUTING_1)
302#define                   pMXVR_ROUTING_2 ((volatile unsigned long *)MXVR_ROUTING_2)
303#define                   pMXVR_ROUTING_3 ((volatile unsigned long *)MXVR_ROUTING_3)
304#define                   pMXVR_ROUTING_4 ((volatile unsigned long *)MXVR_ROUTING_4)
305#define                   pMXVR_ROUTING_5 ((volatile unsigned long *)MXVR_ROUTING_5)
306#define                   pMXVR_ROUTING_6 ((volatile unsigned long *)MXVR_ROUTING_6)
307#define                   pMXVR_ROUTING_7 ((volatile unsigned long *)MXVR_ROUTING_7)
308#define                   pMXVR_ROUTING_8 ((volatile unsigned long *)MXVR_ROUTING_8)
309#define                   pMXVR_ROUTING_9 ((volatile unsigned long *)MXVR_ROUTING_9)
310#define                  pMXVR_ROUTING_10 ((volatile unsigned long *)MXVR_ROUTING_10)
311#define                  pMXVR_ROUTING_11 ((volatile unsigned long *)MXVR_ROUTING_11)
312#define                  pMXVR_ROUTING_12 ((volatile unsigned long *)MXVR_ROUTING_12)
313#define                  pMXVR_ROUTING_13 ((volatile unsigned long *)MXVR_ROUTING_13)
314#define                  pMXVR_ROUTING_14 ((volatile unsigned long *)MXVR_ROUTING_14)
315
316/* MXVR Counter-Clock-Control Registers */
317
318#define                   pMXVR_BLOCK_CNT ((volatile unsigned short *)MXVR_BLOCK_CNT)
319#define                     pMXVR_CLK_CTL ((volatile unsigned long *)MXVR_CLK_CTL)
320#define                  pMXVR_CDRPLL_CTL ((volatile unsigned long *)MXVR_CDRPLL_CTL)
321#define                   pMXVR_FMPLL_CTL ((volatile unsigned long *)MXVR_FMPLL_CTL)
322#define                     pMXVR_PIN_CTL ((volatile unsigned short *)MXVR_PIN_CTL)
323#define                    pMXVR_SCLK_CNT ((volatile unsigned short *)MXVR_SCLK_CNT)
324
325/* CAN Controller 1 Config 1 Registers */
326
327#define                         pCAN1_MC1 ((volatile unsigned short *)CAN1_MC1)
328#define                         pCAN1_MD1 ((volatile unsigned short *)CAN1_MD1)
329#define                        pCAN1_TRS1 ((volatile unsigned short *)CAN1_TRS1)
330#define                        pCAN1_TRR1 ((volatile unsigned short *)CAN1_TRR1)
331#define                         pCAN1_TA1 ((volatile unsigned short *)CAN1_TA1)
332#define                         pCAN1_AA1 ((volatile unsigned short *)CAN1_AA1)
333#define                        pCAN1_RMP1 ((volatile unsigned short *)CAN1_RMP1)
334#define                        pCAN1_RML1 ((volatile unsigned short *)CAN1_RML1)
335#define                      pCAN1_MBTIF1 ((volatile unsigned short *)CAN1_MBTIF1)
336#define                      pCAN1_MBRIF1 ((volatile unsigned short *)CAN1_MBRIF1)
337#define                       pCAN1_MBIM1 ((volatile unsigned short *)CAN1_MBIM1)
338#define                        pCAN1_RFH1 ((volatile unsigned short *)CAN1_RFH1)
339#define                       pCAN1_OPSS1 ((volatile unsigned short *)CAN1_OPSS1)
340
341/* CAN Controller 1 Config 2 Registers */
342
343#define                         pCAN1_MC2 ((volatile unsigned short *)CAN1_MC2)
344#define                         pCAN1_MD2 ((volatile unsigned short *)CAN1_MD2)
345#define                        pCAN1_TRS2 ((volatile unsigned short *)CAN1_TRS2)
346#define                        pCAN1_TRR2 ((volatile unsigned short *)CAN1_TRR2)
347#define                         pCAN1_TA2 ((volatile unsigned short *)CAN1_TA2)
348#define                         pCAN1_AA2 ((volatile unsigned short *)CAN1_AA2)
349#define                        pCAN1_RMP2 ((volatile unsigned short *)CAN1_RMP2)
350#define                        pCAN1_RML2 ((volatile unsigned short *)CAN1_RML2)
351#define                      pCAN1_MBTIF2 ((volatile unsigned short *)CAN1_MBTIF2)
352#define                      pCAN1_MBRIF2 ((volatile unsigned short *)CAN1_MBRIF2)
353#define                       pCAN1_MBIM2 ((volatile unsigned short *)CAN1_MBIM2)
354#define                        pCAN1_RFH2 ((volatile unsigned short *)CAN1_RFH2)
355#define                       pCAN1_OPSS2 ((volatile unsigned short *)CAN1_OPSS2)
356
357/* CAN Controller 1 Clock/Interrupt/Counter Registers */
358
359#define                       pCAN1_CLOCK ((volatile unsigned short *)CAN1_CLOCK)
360#define                      pCAN1_TIMING ((volatile unsigned short *)CAN1_TIMING)
361#define                       pCAN1_DEBUG ((volatile unsigned short *)CAN1_DEBUG)
362#define                      pCAN1_STATUS ((volatile unsigned short *)CAN1_STATUS)
363#define                         pCAN1_CEC ((volatile unsigned short *)CAN1_CEC)
364#define                         pCAN1_GIS ((volatile unsigned short *)CAN1_GIS)
365#define                         pCAN1_GIM ((volatile unsigned short *)CAN1_GIM)
366#define                         pCAN1_GIF ((volatile unsigned short *)CAN1_GIF)
367#define                     pCAN1_CONTROL ((volatile unsigned short *)CAN1_CONTROL)
368#define                        pCAN1_INTR ((volatile unsigned short *)CAN1_INTR)
369#define                        pCAN1_MBTD ((volatile unsigned short *)CAN1_MBTD)
370#define                         pCAN1_EWR ((volatile unsigned short *)CAN1_EWR)
371#define                         pCAN1_ESR ((volatile unsigned short *)CAN1_ESR)
372#define                       pCAN1_UCCNT ((volatile unsigned short *)CAN1_UCCNT)
373#define                        pCAN1_UCRC ((volatile unsigned short *)CAN1_UCRC)
374#define                       pCAN1_UCCNF ((volatile unsigned short *)CAN1_UCCNF)
375
376/* CAN Controller 1 Mailbox Acceptance Registers */
377
378#define                       pCAN1_AM00L ((volatile unsigned short *)CAN1_AM00L)
379#define                       pCAN1_AM00H ((volatile unsigned short *)CAN1_AM00H)
380#define                       pCAN1_AM01L ((volatile unsigned short *)CAN1_AM01L)
381#define                       pCAN1_AM01H ((volatile unsigned short *)CAN1_AM01H)
382#define                       pCAN1_AM02L ((volatile unsigned short *)CAN1_AM02L)
383#define                       pCAN1_AM02H ((volatile unsigned short *)CAN1_AM02H)
384#define                       pCAN1_AM03L ((volatile unsigned short *)CAN1_AM03L)
385#define                       pCAN1_AM03H ((volatile unsigned short *)CAN1_AM03H)
386#define                       pCAN1_AM04L ((volatile unsigned short *)CAN1_AM04L)
387#define                       pCAN1_AM04H ((volatile unsigned short *)CAN1_AM04H)
388#define                       pCAN1_AM05L ((volatile unsigned short *)CAN1_AM05L)
389#define                       pCAN1_AM05H ((volatile unsigned short *)CAN1_AM05H)
390#define                       pCAN1_AM06L ((volatile unsigned short *)CAN1_AM06L)
391#define                       pCAN1_AM06H ((volatile unsigned short *)CAN1_AM06H)
392#define                       pCAN1_AM07L ((volatile unsigned short *)CAN1_AM07L)
393#define                       pCAN1_AM07H ((volatile unsigned short *)CAN1_AM07H)
394#define                       pCAN1_AM08L ((volatile unsigned short *)CAN1_AM08L)
395#define                       pCAN1_AM08H ((volatile unsigned short *)CAN1_AM08H)
396#define                       pCAN1_AM09L ((volatile unsigned short *)CAN1_AM09L)
397#define                       pCAN1_AM09H ((volatile unsigned short *)CAN1_AM09H)
398#define                       pCAN1_AM10L ((volatile unsigned short *)CAN1_AM10L)
399#define                       pCAN1_AM10H ((volatile unsigned short *)CAN1_AM10H)
400#define                       pCAN1_AM11L ((volatile unsigned short *)CAN1_AM11L)
401#define                       pCAN1_AM11H ((volatile unsigned short *)CAN1_AM11H)
402#define                       pCAN1_AM12L ((volatile unsigned short *)CAN1_AM12L)
403#define                       pCAN1_AM12H ((volatile unsigned short *)CAN1_AM12H)
404#define                       pCAN1_AM13L ((volatile unsigned short *)CAN1_AM13L)
405#define                       pCAN1_AM13H ((volatile unsigned short *)CAN1_AM13H)
406#define                       pCAN1_AM14L ((volatile unsigned short *)CAN1_AM14L)
407#define                       pCAN1_AM14H ((volatile unsigned short *)CAN1_AM14H)
408#define                       pCAN1_AM15L ((volatile unsigned short *)CAN1_AM15L)
409#define                       pCAN1_AM15H ((volatile unsigned short *)CAN1_AM15H)
410
411/* CAN Controller 1 Mailbox Acceptance Registers */
412
413#define                       pCAN1_AM16L ((volatile unsigned short *)CAN1_AM16L)
414#define                       pCAN1_AM16H ((volatile unsigned short *)CAN1_AM16H)
415#define                       pCAN1_AM17L ((volatile unsigned short *)CAN1_AM17L)
416#define                       pCAN1_AM17H ((volatile unsigned short *)CAN1_AM17H)
417#define                       pCAN1_AM18L ((volatile unsigned short *)CAN1_AM18L)
418#define                       pCAN1_AM18H ((volatile unsigned short *)CAN1_AM18H)
419#define                       pCAN1_AM19L ((volatile unsigned short *)CAN1_AM19L)
420#define                       pCAN1_AM19H ((volatile unsigned short *)CAN1_AM19H)
421#define                       pCAN1_AM20L ((volatile unsigned short *)CAN1_AM20L)
422#define                       pCAN1_AM20H ((volatile unsigned short *)CAN1_AM20H)
423#define                       pCAN1_AM21L ((volatile unsigned short *)CAN1_AM21L)
424#define                       pCAN1_AM21H ((volatile unsigned short *)CAN1_AM21H)
425#define                       pCAN1_AM22L ((volatile unsigned short *)CAN1_AM22L)
426#define                       pCAN1_AM22H ((volatile unsigned short *)CAN1_AM22H)
427#define                       pCAN1_AM23L ((volatile unsigned short *)CAN1_AM23L)
428#define                       pCAN1_AM23H ((volatile unsigned short *)CAN1_AM23H)
429#define                       pCAN1_AM24L ((volatile unsigned short *)CAN1_AM24L)
430#define                       pCAN1_AM24H ((volatile unsigned short *)CAN1_AM24H)
431#define                       pCAN1_AM25L ((volatile unsigned short *)CAN1_AM25L)
432#define                       pCAN1_AM25H ((volatile unsigned short *)CAN1_AM25H)
433#define                       pCAN1_AM26L ((volatile unsigned short *)CAN1_AM26L)
434#define                       pCAN1_AM26H ((volatile unsigned short *)CAN1_AM26H)
435#define                       pCAN1_AM27L ((volatile unsigned short *)CAN1_AM27L)
436#define                       pCAN1_AM27H ((volatile unsigned short *)CAN1_AM27H)
437#define                       pCAN1_AM28L ((volatile unsigned short *)CAN1_AM28L)
438#define                       pCAN1_AM28H ((volatile unsigned short *)CAN1_AM28H)
439#define                       pCAN1_AM29L ((volatile unsigned short *)CAN1_AM29L)
440#define                       pCAN1_AM29H ((volatile unsigned short *)CAN1_AM29H)
441#define                       pCAN1_AM30L ((volatile unsigned short *)CAN1_AM30L)
442#define                       pCAN1_AM30H ((volatile unsigned short *)CAN1_AM30H)
443#define                       pCAN1_AM31L ((volatile unsigned short *)CAN1_AM31L)
444#define                       pCAN1_AM31H ((volatile unsigned short *)CAN1_AM31H)
445
446/* CAN Controller 1 Mailbox Data Registers */
447
448#define                  pCAN1_MB00_DATA0 ((volatile unsigned short *)CAN1_MB00_DATA0)
449#define                  pCAN1_MB00_DATA1 ((volatile unsigned short *)CAN1_MB00_DATA1)
450#define                  pCAN1_MB00_DATA2 ((volatile unsigned short *)CAN1_MB00_DATA2)
451#define                  pCAN1_MB00_DATA3 ((volatile unsigned short *)CAN1_MB00_DATA3)
452#define                 pCAN1_MB00_LENGTH ((volatile unsigned short *)CAN1_MB00_LENGTH)
453#define              pCAN1_MB00_TIMESTAMP ((volatile unsigned short *)CAN1_MB00_TIMESTAMP)
454#define                    pCAN1_MB00_ID0 ((volatile unsigned short *)CAN1_MB00_ID0)
455#define                    pCAN1_MB00_ID1 ((volatile unsigned short *)CAN1_MB00_ID1)
456#define                  pCAN1_MB01_DATA0 ((volatile unsigned short *)CAN1_MB01_DATA0)
457#define                  pCAN1_MB01_DATA1 ((volatile unsigned short *)CAN1_MB01_DATA1)
458#define                  pCAN1_MB01_DATA2 ((volatile unsigned short *)CAN1_MB01_DATA2)
459#define                  pCAN1_MB01_DATA3 ((volatile unsigned short *)CAN1_MB01_DATA3)
460#define                 pCAN1_MB01_LENGTH ((volatile unsigned short *)CAN1_MB01_LENGTH)
461#define              pCAN1_MB01_TIMESTAMP ((volatile unsigned short *)CAN1_MB01_TIMESTAMP)
462#define                    pCAN1_MB01_ID0 ((volatile unsigned short *)CAN1_MB01_ID0)
463#define                    pCAN1_MB01_ID1 ((volatile unsigned short *)CAN1_MB01_ID1)
464#define                  pCAN1_MB02_DATA0 ((volatile unsigned short *)CAN1_MB02_DATA0)
465#define                  pCAN1_MB02_DATA1 ((volatile unsigned short *)CAN1_MB02_DATA1)
466#define                  pCAN1_MB02_DATA2 ((volatile unsigned short *)CAN1_MB02_DATA2)
467#define                  pCAN1_MB02_DATA3 ((volatile unsigned short *)CAN1_MB02_DATA3)
468#define                 pCAN1_MB02_LENGTH ((volatile unsigned short *)CAN1_MB02_LENGTH)
469#define              pCAN1_MB02_TIMESTAMP ((volatile unsigned short *)CAN1_MB02_TIMESTAMP)
470#define                    pCAN1_MB02_ID0 ((volatile unsigned short *)CAN1_MB02_ID0)
471#define                    pCAN1_MB02_ID1 ((volatile unsigned short *)CAN1_MB02_ID1)
472#define                  pCAN1_MB03_DATA0 ((volatile unsigned short *)CAN1_MB03_DATA0)
473#define                  pCAN1_MB03_DATA1 ((volatile unsigned short *)CAN1_MB03_DATA1)
474#define                  pCAN1_MB03_DATA2 ((volatile unsigned short *)CAN1_MB03_DATA2)
475#define                  pCAN1_MB03_DATA3 ((volatile unsigned short *)CAN1_MB03_DATA3)
476#define                 pCAN1_MB03_LENGTH ((volatile unsigned short *)CAN1_MB03_LENGTH)
477#define              pCAN1_MB03_TIMESTAMP ((volatile unsigned short *)CAN1_MB03_TIMESTAMP)
478#define                    pCAN1_MB03_ID0 ((volatile unsigned short *)CAN1_MB03_ID0)
479#define                    pCAN1_MB03_ID1 ((volatile unsigned short *)CAN1_MB03_ID1)
480#define                  pCAN1_MB04_DATA0 ((volatile unsigned short *)CAN1_MB04_DATA0)
481#define                  pCAN1_MB04_DATA1 ((volatile unsigned short *)CAN1_MB04_DATA1)
482#define                  pCAN1_MB04_DATA2 ((volatile unsigned short *)CAN1_MB04_DATA2)
483#define                  pCAN1_MB04_DATA3 ((volatile unsigned short *)CAN1_MB04_DATA3)
484#define                 pCAN1_MB04_LENGTH ((volatile unsigned short *)CAN1_MB04_LENGTH)
485#define              pCAN1_MB04_TIMESTAMP ((volatile unsigned short *)CAN1_MB04_TIMESTAMP)
486#define                    pCAN1_MB04_ID0 ((volatile unsigned short *)CAN1_MB04_ID0)
487#define                    pCAN1_MB04_ID1 ((volatile unsigned short *)CAN1_MB04_ID1)
488#define                  pCAN1_MB05_DATA0 ((volatile unsigned short *)CAN1_MB05_DATA0)
489#define                  pCAN1_MB05_DATA1 ((volatile unsigned short *)CAN1_MB05_DATA1)
490#define                  pCAN1_MB05_DATA2 ((volatile unsigned short *)CAN1_MB05_DATA2)
491#define                  pCAN1_MB05_DATA3 ((volatile unsigned short *)CAN1_MB05_DATA3)
492#define                 pCAN1_MB05_LENGTH ((volatile unsigned short *)CAN1_MB05_LENGTH)
493#define              pCAN1_MB05_TIMESTAMP ((volatile unsigned short *)CAN1_MB05_TIMESTAMP)
494#define                    pCAN1_MB05_ID0 ((volatile unsigned short *)CAN1_MB05_ID0)
495#define                    pCAN1_MB05_ID1 ((volatile unsigned short *)CAN1_MB05_ID1)
496#define                  pCAN1_MB06_DATA0 ((volatile unsigned short *)CAN1_MB06_DATA0)
497#define                  pCAN1_MB06_DATA1 ((volatile unsigned short *)CAN1_MB06_DATA1)
498#define                  pCAN1_MB06_DATA2 ((volatile unsigned short *)CAN1_MB06_DATA2)
499#define                  pCAN1_MB06_DATA3 ((volatile unsigned short *)CAN1_MB06_DATA3)
500#define                 pCAN1_MB06_LENGTH ((volatile unsigned short *)CAN1_MB06_LENGTH)
501#define              pCAN1_MB06_TIMESTAMP ((volatile unsigned short *)CAN1_MB06_TIMESTAMP)
502#define                    pCAN1_MB06_ID0 ((volatile unsigned short *)CAN1_MB06_ID0)
503#define                    pCAN1_MB06_ID1 ((volatile unsigned short *)CAN1_MB06_ID1)
504#define                  pCAN1_MB07_DATA0 ((volatile unsigned short *)CAN1_MB07_DATA0)
505#define                  pCAN1_MB07_DATA1 ((volatile unsigned short *)CAN1_MB07_DATA1)
506#define                  pCAN1_MB07_DATA2 ((volatile unsigned short *)CAN1_MB07_DATA2)
507#define                  pCAN1_MB07_DATA3 ((volatile unsigned short *)CAN1_MB07_DATA3)
508#define                 pCAN1_MB07_LENGTH ((volatile unsigned short *)CAN1_MB07_LENGTH)
509#define              pCAN1_MB07_TIMESTAMP ((volatile unsigned short *)CAN1_MB07_TIMESTAMP)
510#define                    pCAN1_MB07_ID0 ((volatile unsigned short *)CAN1_MB07_ID0)
511#define                    pCAN1_MB07_ID1 ((volatile unsigned short *)CAN1_MB07_ID1)
512#define                  pCAN1_MB08_DATA0 ((volatile unsigned short *)CAN1_MB08_DATA0)
513#define                  pCAN1_MB08_DATA1 ((volatile unsigned short *)CAN1_MB08_DATA1)
514#define                  pCAN1_MB08_DATA2 ((volatile unsigned short *)CAN1_MB08_DATA2)
515#define                  pCAN1_MB08_DATA3 ((volatile unsigned short *)CAN1_MB08_DATA3)
516#define                 pCAN1_MB08_LENGTH ((volatile unsigned short *)CAN1_MB08_LENGTH)
517#define              pCAN1_MB08_TIMESTAMP ((volatile unsigned short *)CAN1_MB08_TIMESTAMP)
518#define                    pCAN1_MB08_ID0 ((volatile unsigned short *)CAN1_MB08_ID0)
519#define                    pCAN1_MB08_ID1 ((volatile unsigned short *)CAN1_MB08_ID1)
520#define                  pCAN1_MB09_DATA0 ((volatile unsigned short *)CAN1_MB09_DATA0)
521#define                  pCAN1_MB09_DATA1 ((volatile unsigned short *)CAN1_MB09_DATA1)
522#define                  pCAN1_MB09_DATA2 ((volatile unsigned short *)CAN1_MB09_DATA2)
523#define                  pCAN1_MB09_DATA3 ((volatile unsigned short *)CAN1_MB09_DATA3)
524#define                 pCAN1_MB09_LENGTH ((volatile unsigned short *)CAN1_MB09_LENGTH)
525#define              pCAN1_MB09_TIMESTAMP ((volatile unsigned short *)CAN1_MB09_TIMESTAMP)
526#define                    pCAN1_MB09_ID0 ((volatile unsigned short *)CAN1_MB09_ID0)
527#define                    pCAN1_MB09_ID1 ((volatile unsigned short *)CAN1_MB09_ID1)
528#define                  pCAN1_MB10_DATA0 ((volatile unsigned short *)CAN1_MB10_DATA0)
529#define                  pCAN1_MB10_DATA1 ((volatile unsigned short *)CAN1_MB10_DATA1)
530#define                  pCAN1_MB10_DATA2 ((volatile unsigned short *)CAN1_MB10_DATA2)
531#define                  pCAN1_MB10_DATA3 ((volatile unsigned short *)CAN1_MB10_DATA3)
532#define                 pCAN1_MB10_LENGTH ((volatile unsigned short *)CAN1_MB10_LENGTH)
533#define              pCAN1_MB10_TIMESTAMP ((volatile unsigned short *)CAN1_MB10_TIMESTAMP)
534#define                    pCAN1_MB10_ID0 ((volatile unsigned short *)CAN1_MB10_ID0)
535#define                    pCAN1_MB10_ID1 ((volatile unsigned short *)CAN1_MB10_ID1)
536#define                  pCAN1_MB11_DATA0 ((volatile unsigned short *)CAN1_MB11_DATA0)
537#define                  pCAN1_MB11_DATA1 ((volatile unsigned short *)CAN1_MB11_DATA1)
538#define                  pCAN1_MB11_DATA2 ((volatile unsigned short *)CAN1_MB11_DATA2)
539#define                  pCAN1_MB11_DATA3 ((volatile unsigned short *)CAN1_MB11_DATA3)
540#define                 pCAN1_MB11_LENGTH ((volatile unsigned short *)CAN1_MB11_LENGTH)
541#define              pCAN1_MB11_TIMESTAMP ((volatile unsigned short *)CAN1_MB11_TIMESTAMP)
542#define                    pCAN1_MB11_ID0 ((volatile unsigned short *)CAN1_MB11_ID0)
543#define                    pCAN1_MB11_ID1 ((volatile unsigned short *)CAN1_MB11_ID1)
544#define                  pCAN1_MB12_DATA0 ((volatile unsigned short *)CAN1_MB12_DATA0)
545#define                  pCAN1_MB12_DATA1 ((volatile unsigned short *)CAN1_MB12_DATA1)
546#define                  pCAN1_MB12_DATA2 ((volatile unsigned short *)CAN1_MB12_DATA2)
547#define                  pCAN1_MB12_DATA3 ((volatile unsigned short *)CAN1_MB12_DATA3)
548#define                 pCAN1_MB12_LENGTH ((volatile unsigned short *)CAN1_MB12_LENGTH)
549#define              pCAN1_MB12_TIMESTAMP ((volatile unsigned short *)CAN1_MB12_TIMESTAMP)
550#define                    pCAN1_MB12_ID0 ((volatile unsigned short *)CAN1_MB12_ID0)
551#define                    pCAN1_MB12_ID1 ((volatile unsigned short *)CAN1_MB12_ID1)
552#define                  pCAN1_MB13_DATA0 ((volatile unsigned short *)CAN1_MB13_DATA0)
553#define                  pCAN1_MB13_DATA1 ((volatile unsigned short *)CAN1_MB13_DATA1)
554#define                  pCAN1_MB13_DATA2 ((volatile unsigned short *)CAN1_MB13_DATA2)
555#define                  pCAN1_MB13_DATA3 ((volatile unsigned short *)CAN1_MB13_DATA3)
556#define                 pCAN1_MB13_LENGTH ((volatile unsigned short *)CAN1_MB13_LENGTH)
557#define              pCAN1_MB13_TIMESTAMP ((volatile unsigned short *)CAN1_MB13_TIMESTAMP)
558#define                    pCAN1_MB13_ID0 ((volatile unsigned short *)CAN1_MB13_ID0)
559#define                    pCAN1_MB13_ID1 ((volatile unsigned short *)CAN1_MB13_ID1)
560#define                  pCAN1_MB14_DATA0 ((volatile unsigned short *)CAN1_MB14_DATA0)
561#define                  pCAN1_MB14_DATA1 ((volatile unsigned short *)CAN1_MB14_DATA1)
562#define                  pCAN1_MB14_DATA2 ((volatile unsigned short *)CAN1_MB14_DATA2)
563#define                  pCAN1_MB14_DATA3 ((volatile unsigned short *)CAN1_MB14_DATA3)
564#define                 pCAN1_MB14_LENGTH ((volatile unsigned short *)CAN1_MB14_LENGTH)
565#define              pCAN1_MB14_TIMESTAMP ((volatile unsigned short *)CAN1_MB14_TIMESTAMP)
566#define                    pCAN1_MB14_ID0 ((volatile unsigned short *)CAN1_MB14_ID0)
567#define                    pCAN1_MB14_ID1 ((volatile unsigned short *)CAN1_MB14_ID1)
568#define                  pCAN1_MB15_DATA0 ((volatile unsigned short *)CAN1_MB15_DATA0)
569#define                  pCAN1_MB15_DATA1 ((volatile unsigned short *)CAN1_MB15_DATA1)
570#define                  pCAN1_MB15_DATA2 ((volatile unsigned short *)CAN1_MB15_DATA2)
571#define                  pCAN1_MB15_DATA3 ((volatile unsigned short *)CAN1_MB15_DATA3)
572#define                 pCAN1_MB15_LENGTH ((volatile unsigned short *)CAN1_MB15_LENGTH)
573#define              pCAN1_MB15_TIMESTAMP ((volatile unsigned short *)CAN1_MB15_TIMESTAMP)
574#define                    pCAN1_MB15_ID0 ((volatile unsigned short *)CAN1_MB15_ID0)
575#define                    pCAN1_MB15_ID1 ((volatile unsigned short *)CAN1_MB15_ID1)
576
577/* CAN Controller 1 Mailbox Data Registers */
578
579#define                  pCAN1_MB16_DATA0 ((volatile unsigned short *)CAN1_MB16_DATA0)
580#define                  pCAN1_MB16_DATA1 ((volatile unsigned short *)CAN1_MB16_DATA1)
581#define                  pCAN1_MB16_DATA2 ((volatile unsigned short *)CAN1_MB16_DATA2)
582#define                  pCAN1_MB16_DATA3 ((volatile unsigned short *)CAN1_MB16_DATA3)
583#define                 pCAN1_MB16_LENGTH ((volatile unsigned short *)CAN1_MB16_LENGTH)
584#define              pCAN1_MB16_TIMESTAMP ((volatile unsigned short *)CAN1_MB16_TIMESTAMP)
585#define                    pCAN1_MB16_ID0 ((volatile unsigned short *)CAN1_MB16_ID0)
586#define                    pCAN1_MB16_ID1 ((volatile unsigned short *)CAN1_MB16_ID1)
587#define                  pCAN1_MB17_DATA0 ((volatile unsigned short *)CAN1_MB17_DATA0)
588#define                  pCAN1_MB17_DATA1 ((volatile unsigned short *)CAN1_MB17_DATA1)
589#define                  pCAN1_MB17_DATA2 ((volatile unsigned short *)CAN1_MB17_DATA2)
590#define                  pCAN1_MB17_DATA3 ((volatile unsigned short *)CAN1_MB17_DATA3)
591#define                 pCAN1_MB17_LENGTH ((volatile unsigned short *)CAN1_MB17_LENGTH)
592#define              pCAN1_MB17_TIMESTAMP ((volatile unsigned short *)CAN1_MB17_TIMESTAMP)
593#define                    pCAN1_MB17_ID0 ((volatile unsigned short *)CAN1_MB17_ID0)
594#define                    pCAN1_MB17_ID1 ((volatile unsigned short *)CAN1_MB17_ID1)
595#define                  pCAN1_MB18_DATA0 ((volatile unsigned short *)CAN1_MB18_DATA0)
596#define                  pCAN1_MB18_DATA1 ((volatile unsigned short *)CAN1_MB18_DATA1)
597#define                  pCAN1_MB18_DATA2 ((volatile unsigned short *)CAN1_MB18_DATA2)
598#define                  pCAN1_MB18_DATA3 ((volatile unsigned short *)CAN1_MB18_DATA3)
599#define                 pCAN1_MB18_LENGTH ((volatile unsigned short *)CAN1_MB18_LENGTH)
600#define              pCAN1_MB18_TIMESTAMP ((volatile unsigned short *)CAN1_MB18_TIMESTAMP)
601#define                    pCAN1_MB18_ID0 ((volatile unsigned short *)CAN1_MB18_ID0)
602#define                    pCAN1_MB18_ID1 ((volatile unsigned short *)CAN1_MB18_ID1)
603#define                  pCAN1_MB19_DATA0 ((volatile unsigned short *)CAN1_MB19_DATA0)
604#define                  pCAN1_MB19_DATA1 ((volatile unsigned short *)CAN1_MB19_DATA1)
605#define                  pCAN1_MB19_DATA2 ((volatile unsigned short *)CAN1_MB19_DATA2)
606#define                  pCAN1_MB19_DATA3 ((volatile unsigned short *)CAN1_MB19_DATA3)
607#define                 pCAN1_MB19_LENGTH ((volatile unsigned short *)CAN1_MB19_LENGTH)
608#define              pCAN1_MB19_TIMESTAMP ((volatile unsigned short *)CAN1_MB19_TIMESTAMP)
609#define                    pCAN1_MB19_ID0 ((volatile unsigned short *)CAN1_MB19_ID0)
610#define                    pCAN1_MB19_ID1 ((volatile unsigned short *)CAN1_MB19_ID1)
611#define                  pCAN1_MB20_DATA0 ((volatile unsigned short *)CAN1_MB20_DATA0)
612#define                  pCAN1_MB20_DATA1 ((volatile unsigned short *)CAN1_MB20_DATA1)
613#define                  pCAN1_MB20_DATA2 ((volatile unsigned short *)CAN1_MB20_DATA2)
614#define                  pCAN1_MB20_DATA3 ((volatile unsigned short *)CAN1_MB20_DATA3)
615#define                 pCAN1_MB20_LENGTH ((volatile unsigned short *)CAN1_MB20_LENGTH)
616#define              pCAN1_MB20_TIMESTAMP ((volatile unsigned short *)CAN1_MB20_TIMESTAMP)
617#define                    pCAN1_MB20_ID0 ((volatile unsigned short *)CAN1_MB20_ID0)
618#define                    pCAN1_MB20_ID1 ((volatile unsigned short *)CAN1_MB20_ID1)
619#define                  pCAN1_MB21_DATA0 ((volatile unsigned short *)CAN1_MB21_DATA0)
620#define                  pCAN1_MB21_DATA1 ((volatile unsigned short *)CAN1_MB21_DATA1)
621#define                  pCAN1_MB21_DATA2 ((volatile unsigned short *)CAN1_MB21_DATA2)
622#define                  pCAN1_MB21_DATA3 ((volatile unsigned short *)CAN1_MB21_DATA3)
623#define                 pCAN1_MB21_LENGTH ((volatile unsigned short *)CAN1_MB21_LENGTH)
624#define              pCAN1_MB21_TIMESTAMP ((volatile unsigned short *)CAN1_MB21_TIMESTAMP)
625#define                    pCAN1_MB21_ID0 ((volatile unsigned short *)CAN1_MB21_ID0)
626#define                    pCAN1_MB21_ID1 ((volatile unsigned short *)CAN1_MB21_ID1)
627#define                  pCAN1_MB22_DATA0 ((volatile unsigned short *)CAN1_MB22_DATA0)
628#define                  pCAN1_MB22_DATA1 ((volatile unsigned short *)CAN1_MB22_DATA1)
629#define                  pCAN1_MB22_DATA2 ((volatile unsigned short *)CAN1_MB22_DATA2)
630#define                  pCAN1_MB22_DATA3 ((volatile unsigned short *)CAN1_MB22_DATA3)
631#define                 pCAN1_MB22_LENGTH ((volatile unsigned short *)CAN1_MB22_LENGTH)
632#define              pCAN1_MB22_TIMESTAMP ((volatile unsigned short *)CAN1_MB22_TIMESTAMP)
633#define                    pCAN1_MB22_ID0 ((volatile unsigned short *)CAN1_MB22_ID0)
634#define                    pCAN1_MB22_ID1 ((volatile unsigned short *)CAN1_MB22_ID1)
635#define                  pCAN1_MB23_DATA0 ((volatile unsigned short *)CAN1_MB23_DATA0)
636#define                  pCAN1_MB23_DATA1 ((volatile unsigned short *)CAN1_MB23_DATA1)
637#define                  pCAN1_MB23_DATA2 ((volatile unsigned short *)CAN1_MB23_DATA2)
638#define                  pCAN1_MB23_DATA3 ((volatile unsigned short *)CAN1_MB23_DATA3)
639#define                 pCAN1_MB23_LENGTH ((volatile unsigned short *)CAN1_MB23_LENGTH)
640#define              pCAN1_MB23_TIMESTAMP ((volatile unsigned short *)CAN1_MB23_TIMESTAMP)
641#define                    pCAN1_MB23_ID0 ((volatile unsigned short *)CAN1_MB23_ID0)
642#define                    pCAN1_MB23_ID1 ((volatile unsigned short *)CAN1_MB23_ID1)
643#define                  pCAN1_MB24_DATA0 ((volatile unsigned short *)CAN1_MB24_DATA0)
644#define                  pCAN1_MB24_DATA1 ((volatile unsigned short *)CAN1_MB24_DATA1)
645#define                  pCAN1_MB24_DATA2 ((volatile unsigned short *)CAN1_MB24_DATA2)
646#define                  pCAN1_MB24_DATA3 ((volatile unsigned short *)CAN1_MB24_DATA3)
647#define                 pCAN1_MB24_LENGTH ((volatile unsigned short *)CAN1_MB24_LENGTH)
648#define              pCAN1_MB24_TIMESTAMP ((volatile unsigned short *)CAN1_MB24_TIMESTAMP)
649#define                    pCAN1_MB24_ID0 ((volatile unsigned short *)CAN1_MB24_ID0)
650#define                    pCAN1_MB24_ID1 ((volatile unsigned short *)CAN1_MB24_ID1)
651#define                  pCAN1_MB25_DATA0 ((volatile unsigned short *)CAN1_MB25_DATA0)
652#define                  pCAN1_MB25_DATA1 ((volatile unsigned short *)CAN1_MB25_DATA1)
653#define                  pCAN1_MB25_DATA2 ((volatile unsigned short *)CAN1_MB25_DATA2)
654#define                  pCAN1_MB25_DATA3 ((volatile unsigned short *)CAN1_MB25_DATA3)
655#define                 pCAN1_MB25_LENGTH ((volatile unsigned short *)CAN1_MB25_LENGTH)
656#define              pCAN1_MB25_TIMESTAMP ((volatile unsigned short *)CAN1_MB25_TIMESTAMP)
657#define                    pCAN1_MB25_ID0 ((volatile unsigned short *)CAN1_MB25_ID0)
658#define                    pCAN1_MB25_ID1 ((volatile unsigned short *)CAN1_MB25_ID1)
659#define                  pCAN1_MB26_DATA0 ((volatile unsigned short *)CAN1_MB26_DATA0)
660#define                  pCAN1_MB26_DATA1 ((volatile unsigned short *)CAN1_MB26_DATA1)
661#define                  pCAN1_MB26_DATA2 ((volatile unsigned short *)CAN1_MB26_DATA2)
662#define                  pCAN1_MB26_DATA3 ((volatile unsigned short *)CAN1_MB26_DATA3)
663#define                 pCAN1_MB26_LENGTH ((volatile unsigned short *)CAN1_MB26_LENGTH)
664#define              pCAN1_MB26_TIMESTAMP ((volatile unsigned short *)CAN1_MB26_TIMESTAMP)
665#define                    pCAN1_MB26_ID0 ((volatile unsigned short *)CAN1_MB26_ID0)
666#define                    pCAN1_MB26_ID1 ((volatile unsigned short *)CAN1_MB26_ID1)
667#define                  pCAN1_MB27_DATA0 ((volatile unsigned short *)CAN1_MB27_DATA0)
668#define                  pCAN1_MB27_DATA1 ((volatile unsigned short *)CAN1_MB27_DATA1)
669#define                  pCAN1_MB27_DATA2 ((volatile unsigned short *)CAN1_MB27_DATA2)
670#define                  pCAN1_MB27_DATA3 ((volatile unsigned short *)CAN1_MB27_DATA3)
671#define                 pCAN1_MB27_LENGTH ((volatile unsigned short *)CAN1_MB27_LENGTH)
672#define              pCAN1_MB27_TIMESTAMP ((volatile unsigned short *)CAN1_MB27_TIMESTAMP)
673#define                    pCAN1_MB27_ID0 ((volatile unsigned short *)CAN1_MB27_ID0)
674#define                    pCAN1_MB27_ID1 ((volatile unsigned short *)CAN1_MB27_ID1)
675#define                  pCAN1_MB28_DATA0 ((volatile unsigned short *)CAN1_MB28_DATA0)
676#define                  pCAN1_MB28_DATA1 ((volatile unsigned short *)CAN1_MB28_DATA1)
677#define                  pCAN1_MB28_DATA2 ((volatile unsigned short *)CAN1_MB28_DATA2)
678#define                  pCAN1_MB28_DATA3 ((volatile unsigned short *)CAN1_MB28_DATA3)
679#define                 pCAN1_MB28_LENGTH ((volatile unsigned short *)CAN1_MB28_LENGTH)
680#define              pCAN1_MB28_TIMESTAMP ((volatile unsigned short *)CAN1_MB28_TIMESTAMP)
681#define                    pCAN1_MB28_ID0 ((volatile unsigned short *)CAN1_MB28_ID0)
682#define                    pCAN1_MB28_ID1 ((volatile unsigned short *)CAN1_MB28_ID1)
683#define                  pCAN1_MB29_DATA0 ((volatile unsigned short *)CAN1_MB29_DATA0)
684#define                  pCAN1_MB29_DATA1 ((volatile unsigned short *)CAN1_MB29_DATA1)
685#define                  pCAN1_MB29_DATA2 ((volatile unsigned short *)CAN1_MB29_DATA2)
686#define                  pCAN1_MB29_DATA3 ((volatile unsigned short *)CAN1_MB29_DATA3)
687#define                 pCAN1_MB29_LENGTH ((volatile unsigned short *)CAN1_MB29_LENGTH)
688#define              pCAN1_MB29_TIMESTAMP ((volatile unsigned short *)CAN1_MB29_TIMESTAMP)
689#define                    pCAN1_MB29_ID0 ((volatile unsigned short *)CAN1_MB29_ID0)
690#define                    pCAN1_MB29_ID1 ((volatile unsigned short *)CAN1_MB29_ID1)
691#define                  pCAN1_MB30_DATA0 ((volatile unsigned short *)CAN1_MB30_DATA0)
692#define                  pCAN1_MB30_DATA1 ((volatile unsigned short *)CAN1_MB30_DATA1)
693#define                  pCAN1_MB30_DATA2 ((volatile unsigned short *)CAN1_MB30_DATA2)
694#define                  pCAN1_MB30_DATA3 ((volatile unsigned short *)CAN1_MB30_DATA3)
695#define                 pCAN1_MB30_LENGTH ((volatile unsigned short *)CAN1_MB30_LENGTH)
696#define              pCAN1_MB30_TIMESTAMP ((volatile unsigned short *)CAN1_MB30_TIMESTAMP)
697#define                    pCAN1_MB30_ID0 ((volatile unsigned short *)CAN1_MB30_ID0)
698#define                    pCAN1_MB30_ID1 ((volatile unsigned short *)CAN1_MB30_ID1)
699#define                  pCAN1_MB31_DATA0 ((volatile unsigned short *)CAN1_MB31_DATA0)
700#define                  pCAN1_MB31_DATA1 ((volatile unsigned short *)CAN1_MB31_DATA1)
701#define                  pCAN1_MB31_DATA2 ((volatile unsigned short *)CAN1_MB31_DATA2)
702#define                  pCAN1_MB31_DATA3 ((volatile unsigned short *)CAN1_MB31_DATA3)
703#define                 pCAN1_MB31_LENGTH ((volatile unsigned short *)CAN1_MB31_LENGTH)
704#define              pCAN1_MB31_TIMESTAMP ((volatile unsigned short *)CAN1_MB31_TIMESTAMP)
705#define                    pCAN1_MB31_ID0 ((volatile unsigned short *)CAN1_MB31_ID0)
706#define                    pCAN1_MB31_ID1 ((volatile unsigned short *)CAN1_MB31_ID1)
707
708/* ATAPI Registers */
709
710#define                    pATAPI_CONTROL ((volatile unsigned short *)ATAPI_CONTROL)
711#define                     pATAPI_STATUS ((volatile unsigned short *)ATAPI_STATUS)
712#define                   pATAPI_DEV_ADDR ((volatile unsigned short *)ATAPI_DEV_ADDR)
713#define                  pATAPI_DEV_TXBUF ((volatile unsigned short *)ATAPI_DEV_TXBUF)
714#define                  pATAPI_DEV_RXBUF ((volatile unsigned short *)ATAPI_DEV_RXBUF)
715#define                   pATAPI_INT_MASK ((volatile unsigned short *)ATAPI_INT_MASK)
716#define                 pATAPI_INT_STATUS ((volatile unsigned short *)ATAPI_INT_STATUS)
717#define                   pATAPI_XFER_LEN ((volatile unsigned short *)ATAPI_XFER_LEN)
718#define                pATAPI_LINE_STATUS ((volatile unsigned short *)ATAPI_LINE_STATUS)
719#define                   pATAPI_SM_STATE ((volatile unsigned short *)ATAPI_SM_STATE)
720#define                  pATAPI_TERMINATE ((volatile unsigned short *)ATAPI_TERMINATE)
721#define                 pATAPI_PIO_TFRCNT ((volatile unsigned short *)ATAPI_PIO_TFRCNT)
722#define                 pATAPI_DMA_TFRCNT ((volatile unsigned short *)ATAPI_DMA_TFRCNT)
723#define               pATAPI_UMAIN_TFRCNT ((volatile unsigned short *)ATAPI_UMAIN_TFRCNT)
724#define             pATAPI_UDMAOUT_TFRCNT ((volatile unsigned short *)ATAPI_UDMAOUT_TFRCNT)
725#define                  pATAPI_REG_TIM_0 ((volatile unsigned short *)ATAPI_REG_TIM_0)
726#define                  pATAPI_PIO_TIM_0 ((volatile unsigned short *)ATAPI_PIO_TIM_0)
727#define                  pATAPI_PIO_TIM_1 ((volatile unsigned short *)ATAPI_PIO_TIM_1)
728#define                pATAPI_MULTI_TIM_0 ((volatile unsigned short *)ATAPI_MULTI_TIM_0)
729#define                pATAPI_MULTI_TIM_1 ((volatile unsigned short *)ATAPI_MULTI_TIM_1)
730#define                pATAPI_MULTI_TIM_2 ((volatile unsigned short *)ATAPI_MULTI_TIM_2)
731#define                pATAPI_ULTRA_TIM_0 ((volatile unsigned short *)ATAPI_ULTRA_TIM_0)
732#define                pATAPI_ULTRA_TIM_1 ((volatile unsigned short *)ATAPI_ULTRA_TIM_1)
733#define                pATAPI_ULTRA_TIM_2 ((volatile unsigned short *)ATAPI_ULTRA_TIM_2)
734#define                pATAPI_ULTRA_TIM_3 ((volatile unsigned short *)ATAPI_ULTRA_TIM_3)
735
736/* SDH Registers */
737
738#define                      pSDH_PWR_CTL ((volatile unsigned short *)SDH_PWR_CTL)
739#define                      pSDH_CLK_CTL ((volatile unsigned short *)SDH_CLK_CTL)
740#define                     pSDH_ARGUMENT ((volatile unsigned long *)SDH_ARGUMENT)
741#define                      pSDH_COMMAND ((volatile unsigned short *)SDH_COMMAND)
742#define                     pSDH_RESP_CMD ((volatile unsigned short *)SDH_RESP_CMD)
743#define                    pSDH_RESPONSE0 ((volatile unsigned long *)SDH_RESPONSE0)
744#define                    pSDH_RESPONSE1 ((volatile unsigned long *)SDH_RESPONSE1)
745#define                    pSDH_RESPONSE2 ((volatile unsigned long *)SDH_RESPONSE2)
746#define                    pSDH_RESPONSE3 ((volatile unsigned long *)SDH_RESPONSE3)
747#define                   pSDH_DATA_TIMER ((volatile unsigned long *)SDH_DATA_TIMER)
748#define                    pSDH_DATA_LGTH ((volatile unsigned short *)SDH_DATA_LGTH)
749#define                     pSDH_DATA_CTL ((volatile unsigned short *)SDH_DATA_CTL)
750#define                     pSDH_DATA_CNT ((volatile unsigned short *)SDH_DATA_CNT)
751#define                       pSDH_STATUS ((volatile unsigned long *)SDH_STATUS)
752#define                   pSDH_STATUS_CLR ((volatile unsigned short *)SDH_STATUS_CLR)
753#define                        pSDH_MASK0 ((volatile unsigned long *)SDH_MASK0)
754#define                        pSDH_MASK1 ((volatile unsigned long *)SDH_MASK1)
755#define                     pSDH_FIFO_CNT ((volatile unsigned short *)SDH_FIFO_CNT)
756#define                         pSDH_FIFO ((volatile unsigned long *)SDH_FIFO)
757#define                     pSDH_E_STATUS ((volatile unsigned short *)SDH_E_STATUS)
758#define                       pSDH_E_MASK ((volatile unsigned short *)SDH_E_MASK)
759#define                          pSDH_CFG ((volatile unsigned short *)SDH_CFG)
760#define                   pSDH_RD_WAIT_EN ((volatile unsigned short *)SDH_RD_WAIT_EN)
761#define                         pSDH_PID0 ((volatile unsigned short *)SDH_PID0)
762#define                         pSDH_PID1 ((volatile unsigned short *)SDH_PID1)
763#define                         pSDH_PID2 ((volatile unsigned short *)SDH_PID2)
764#define                         pSDH_PID3 ((volatile unsigned short *)SDH_PID3)
765#define                         pSDH_PID4 ((volatile unsigned short *)SDH_PID4)
766#define                         pSDH_PID5 ((volatile unsigned short *)SDH_PID5)
767#define                         pSDH_PID6 ((volatile unsigned short *)SDH_PID6)
768#define                         pSDH_PID7 ((volatile unsigned short *)SDH_PID7)
769
770/* HOST Port Registers */
771
772#define                     pHOST_CONTROL ((volatile unsigned short *)HOST_CONTROL)
773#define                      pHOST_STATUS ((volatile unsigned short *)HOST_STATUS)
774#define                     pHOST_TIMEOUT ((volatile unsigned short *)HOST_TIMEOUT)
775
776/* USB Control Registers */
777
778#define                        pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
779#define                        pUSB_POWER ((volatile unsigned short *)USB_POWER)
780#define                       pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
781#define                       pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
782#define                      pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
783#define                      pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
784#define                      pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
785#define                     pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
786#define                        pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
787#define                        pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
788#define                     pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
789#define                     pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
790#define                   pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
791
792/* USB Packet Control Registers */
793
794#define                pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
795#define                         pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
796#define                        pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
797#define                pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
798#define                        pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
799#define                       pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
800#define                      pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
801#define                       pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
802#define                    pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
803#define                   pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
804#define                       pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
805#define                   pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
806#define                      pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
807
808/* USB Endpoint FIFO Registers */
809
810#define                     pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
811#define                     pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
812#define                     pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
813#define                     pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
814#define                     pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
815#define                     pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
816#define                     pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
817#define                     pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
818
819/* USB OTG Control Registers */
820
821#define                  pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
822#define                 pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
823#define                pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
824
825/* USB Phy Control Registers */
826
827#define                     pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
828#define                        pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
829#define                      pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
830#define                      pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
831#define                      pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
832
833/* (APHY_CNTRL is for ADI usage only) */
834
835#define                   pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
836
837/* (APHY_CALIB is for ADI usage only) */
838
839#define                   pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
840#define                  pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
841
842/* (PHY_TEST is for ADI usage only) */
843
844#define                     pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
845#define                  pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
846#define                   pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
847
848/* USB Endpoint 0 Control Registers */
849
850#define                pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
851#define                 pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
852#define                pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
853#define                 pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
854#define               pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
855#define                pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
856#define            pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
857#define                pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
858#define            pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
859
860/* USB Endpoint 1 Control Registers */
861
862#define               pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
863#define                pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
864#define                 pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
865#define                pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
866#define                 pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
867#define               pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
868#define                pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
869#define            pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
870#define                pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
871#define            pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
872
873/* USB Endpoint 2 Control Registers */
874
875#define               pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
876#define                pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
877#define                 pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
878#define                pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
879#define                 pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
880#define               pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
881#define                pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
882#define            pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
883#define                pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
884#define            pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
885
886/* USB Endpoint 3 Control Registers */
887
888#define               pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
889#define                pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
890#define                 pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
891#define                pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
892#define                 pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
893#define               pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
894#define                pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
895#define            pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
896#define                pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
897#define            pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
898
899/* USB Endpoint 4 Control Registers */
900
901#define               pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
902#define                pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
903#define                 pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
904#define                pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
905#define                 pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
906#define               pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
907#define                pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
908#define            pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
909#define                pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
910#define            pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
911
912/* USB Endpoint 5 Control Registers */
913
914#define               pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
915#define                pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
916#define                 pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
917#define                pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
918#define                 pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
919#define               pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
920#define                pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
921#define            pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
922#define                pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
923#define            pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
924
925/* USB Endpoint 6 Control Registers */
926
927#define               pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
928#define                pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
929#define                 pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
930#define                pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
931#define                 pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
932#define               pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
933#define                pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
934#define            pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
935#define                pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
936#define            pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
937
938/* USB Endpoint 7 Control Registers */
939
940#define               pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
941#define                pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
942#define                 pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
943#define                pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
944#define                 pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
945#define               pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
946#define                pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
947#define            pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
948#define                pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
949#define            pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
950#define               pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
951#define                pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
952
953/* USB Channel 0 Config Registers */
954
955#define                  pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
956#define                  pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
957#define                 pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
958#define                 pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
959#define                pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
960
961/* USB Channel 1 Config Registers */
962
963#define                  pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
964#define                  pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
965#define                 pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
966#define                 pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
967#define                pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
968
969/* USB Channel 2 Config Registers */
970
971#define                  pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
972#define                  pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
973#define                 pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
974#define                 pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
975#define                pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
976
977/* USB Channel 3 Config Registers */
978
979#define                  pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
980#define                  pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
981#define                 pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
982#define                 pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
983#define                pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
984
985/* USB Channel 4 Config Registers */
986
987#define                  pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
988#define                  pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
989#define                 pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
990#define                 pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
991#define                pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
992
993/* USB Channel 5 Config Registers */
994
995#define                  pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
996#define                  pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
997#define                 pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
998#define                 pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
999#define                pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
1000
1001/* USB Channel 6 Config Registers */
1002
1003#define                  pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
1004#define                  pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
1005#define                 pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
1006#define                 pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
1007#define                pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
1008
1009/* USB Channel 7 Config Registers */
1010
1011#define                  pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
1012#define                  pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
1013#define                 pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
1014#define                 pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
1015#define                pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
1016
1017/* Keypad Registers */
1018
1019#define                         pKPAD_CTL ((volatile unsigned short *)KPAD_CTL)
1020#define                    pKPAD_PRESCALE ((volatile unsigned short *)KPAD_PRESCALE)
1021#define                        pKPAD_MSEL ((volatile unsigned short *)KPAD_MSEL)
1022#define                      pKPAD_ROWCOL ((volatile unsigned short *)KPAD_ROWCOL)
1023#define                        pKPAD_STAT ((volatile unsigned short *)KPAD_STAT)
1024#define                    pKPAD_SOFTEVAL ((volatile unsigned short *)KPAD_SOFTEVAL)
1025
1026/* Pixel Compositor (PIXC) Registers */
1027
1028#define                         pPIXC_CTL ((volatile unsigned short *)PIXC_CTL)
1029#define                         pPIXC_PPL ((volatile unsigned short *)PIXC_PPL)
1030#define                         pPIXC_LPF ((volatile unsigned short *)PIXC_LPF)
1031#define                     pPIXC_AHSTART ((volatile unsigned short *)PIXC_AHSTART)
1032#define                       pPIXC_AHEND ((volatile unsigned short *)PIXC_AHEND)
1033#define                     pPIXC_AVSTART ((volatile unsigned short *)PIXC_AVSTART)
1034#define                       pPIXC_AVEND ((volatile unsigned short *)PIXC_AVEND)
1035#define                     pPIXC_ATRANSP ((volatile unsigned short *)PIXC_ATRANSP)
1036#define                     pPIXC_BHSTART ((volatile unsigned short *)PIXC_BHSTART)
1037#define                       pPIXC_BHEND ((volatile unsigned short *)PIXC_BHEND)
1038#define                     pPIXC_BVSTART ((volatile unsigned short *)PIXC_BVSTART)
1039#define                       pPIXC_BVEND ((volatile unsigned short *)PIXC_BVEND)
1040#define                     pPIXC_BTRANSP ((volatile unsigned short *)PIXC_BTRANSP)
1041#define                    pPIXC_INTRSTAT ((volatile unsigned short *)PIXC_INTRSTAT)
1042#define                       pPIXC_RYCON ((volatile unsigned long *)PIXC_RYCON)
1043#define                       pPIXC_GUCON ((volatile unsigned long *)PIXC_GUCON)
1044#define                       pPIXC_BVCON ((volatile unsigned long *)PIXC_BVCON)
1045#define                      pPIXC_CCBIAS ((volatile unsigned long *)PIXC_CCBIAS)
1046#define                          pPIXC_TC ((volatile unsigned long *)PIXC_TC)
1047
1048#ifdef _MISRA_RULES
1049#pragma diag(pop)
1050#endif /* _MISRA_RULES */
1051
1052#endif /* _CDEF_BF549_H */
Note: See TracBrowser for help on using the repository browser.