OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [bfin/] [include/] [cdefBF542.h] - Blame information for rev 862

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
/*
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
** cdefBF542.h
15
**
16
** Copyright (C) 2008 Analog Devices, Inc.
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-BF542 peripherals.
22
**
23
************************************************************************************
24
** System MMR Register Map
25
************************************************************************************/
26
 
27
#ifndef _CDEF_BF542_H
28
#define _CDEF_BF542_H
29
 
30
/* include all Core registers and bit definitions */
31
#include <defBF542.h>
32
 
33
/* include core specific register pointer definitions */
34
#include <cdef_LPBlackfin.h>
35
 
36
/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF542 */
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
/* The following are the #defines needed by ADSP-BF542 that are not in the common header */
42
 
43
/* ATAPI Registers */
44
 
45
#define                    pATAPI_CONTROL ((volatile unsigned short *)ATAPI_CONTROL)
46
#define                     pATAPI_STATUS ((volatile unsigned short *)ATAPI_STATUS)
47
#define                   pATAPI_DEV_ADDR ((volatile unsigned short *)ATAPI_DEV_ADDR)
48
#define                  pATAPI_DEV_TXBUF ((volatile unsigned short *)ATAPI_DEV_TXBUF)
49
#define                  pATAPI_DEV_RXBUF ((volatile unsigned short *)ATAPI_DEV_RXBUF)
50
#define                   pATAPI_INT_MASK ((volatile unsigned short *)ATAPI_INT_MASK)
51
#define                 pATAPI_INT_STATUS ((volatile unsigned short *)ATAPI_INT_STATUS)
52
#define                   pATAPI_XFER_LEN ((volatile unsigned short *)ATAPI_XFER_LEN)
53
#define                pATAPI_LINE_STATUS ((volatile unsigned short *)ATAPI_LINE_STATUS)
54
#define                   pATAPI_SM_STATE ((volatile unsigned short *)ATAPI_SM_STATE)
55
#define                  pATAPI_TERMINATE ((volatile unsigned short *)ATAPI_TERMINATE)
56
#define                 pATAPI_PIO_TFRCNT ((volatile unsigned short *)ATAPI_PIO_TFRCNT)
57
#define                 pATAPI_DMA_TFRCNT ((volatile unsigned short *)ATAPI_DMA_TFRCNT)
58
#define               pATAPI_UMAIN_TFRCNT ((volatile unsigned short *)ATAPI_UMAIN_TFRCNT)
59
#define             pATAPI_UDMAOUT_TFRCNT ((volatile unsigned short *)ATAPI_UDMAOUT_TFRCNT)
60
#define                  pATAPI_REG_TIM_0 ((volatile unsigned short *)ATAPI_REG_TIM_0)
61
#define                  pATAPI_PIO_TIM_0 ((volatile unsigned short *)ATAPI_PIO_TIM_0)
62
#define                  pATAPI_PIO_TIM_1 ((volatile unsigned short *)ATAPI_PIO_TIM_1)
63
#define                pATAPI_MULTI_TIM_0 ((volatile unsigned short *)ATAPI_MULTI_TIM_0)
64
#define                pATAPI_MULTI_TIM_1 ((volatile unsigned short *)ATAPI_MULTI_TIM_1)
65
#define                pATAPI_MULTI_TIM_2 ((volatile unsigned short *)ATAPI_MULTI_TIM_2)
66
#define                pATAPI_ULTRA_TIM_0 ((volatile unsigned short *)ATAPI_ULTRA_TIM_0)
67
#define                pATAPI_ULTRA_TIM_1 ((volatile unsigned short *)ATAPI_ULTRA_TIM_1)
68
#define                pATAPI_ULTRA_TIM_2 ((volatile unsigned short *)ATAPI_ULTRA_TIM_2)
69
#define                pATAPI_ULTRA_TIM_3 ((volatile unsigned short *)ATAPI_ULTRA_TIM_3)
70
 
71
/* SDH Registers */
72
 
73
#define                      pSDH_PWR_CTL ((volatile unsigned short *)SDH_PWR_CTL)
74
#define                      pSDH_CLK_CTL ((volatile unsigned short *)SDH_CLK_CTL)
75
#define                     pSDH_ARGUMENT ((volatile unsigned long *)SDH_ARGUMENT)
76
#define                      pSDH_COMMAND ((volatile unsigned short *)SDH_COMMAND)
77
#define                     pSDH_RESP_CMD ((volatile unsigned short *)SDH_RESP_CMD)
78
#define                    pSDH_RESPONSE0 ((volatile unsigned long *)SDH_RESPONSE0)
79
#define                    pSDH_RESPONSE1 ((volatile unsigned long *)SDH_RESPONSE1)
80
#define                    pSDH_RESPONSE2 ((volatile unsigned long *)SDH_RESPONSE2)
81
#define                    pSDH_RESPONSE3 ((volatile unsigned long *)SDH_RESPONSE3)
82
#define                   pSDH_DATA_TIMER ((volatile unsigned long *)SDH_DATA_TIMER)
83
#define                    pSDH_DATA_LGTH ((volatile unsigned short *)SDH_DATA_LGTH)
84
#define                     pSDH_DATA_CTL ((volatile unsigned short *)SDH_DATA_CTL)
85
#define                     pSDH_DATA_CNT ((volatile unsigned short *)SDH_DATA_CNT)
86
#define                       pSDH_STATUS ((volatile unsigned long *)SDH_STATUS)
87
#define                   pSDH_STATUS_CLR ((volatile unsigned short *)SDH_STATUS_CLR)
88
#define                        pSDH_MASK0 ((volatile unsigned long *)SDH_MASK0)
89
#define                        pSDH_MASK1 ((volatile unsigned long *)SDH_MASK1)
90
#define                     pSDH_FIFO_CNT ((volatile unsigned short *)SDH_FIFO_CNT)
91
#define                         pSDH_FIFO ((volatile unsigned long *)SDH_FIFO)
92
#define                     pSDH_E_STATUS ((volatile unsigned short *)SDH_E_STATUS)
93
#define                       pSDH_E_MASK ((volatile unsigned short *)SDH_E_MASK)
94
#define                          pSDH_CFG ((volatile unsigned short *)SDH_CFG)
95
#define                   pSDH_RD_WAIT_EN ((volatile unsigned short *)SDH_RD_WAIT_EN)
96
#define                         pSDH_PID0 ((volatile unsigned short *)SDH_PID0)
97
#define                         pSDH_PID1 ((volatile unsigned short *)SDH_PID1)
98
#define                         pSDH_PID2 ((volatile unsigned short *)SDH_PID2)
99
#define                         pSDH_PID3 ((volatile unsigned short *)SDH_PID3)
100
#define                         pSDH_PID4 ((volatile unsigned short *)SDH_PID4)
101
#define                         pSDH_PID5 ((volatile unsigned short *)SDH_PID5)
102
#define                         pSDH_PID6 ((volatile unsigned short *)SDH_PID6)
103
#define                         pSDH_PID7 ((volatile unsigned short *)SDH_PID7)
104
 
105
/* USB Control Registers */
106
 
107
#define                        pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
108
#define                        pUSB_POWER ((volatile unsigned short *)USB_POWER)
109
#define                       pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
110
#define                       pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
111
#define                      pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
112
#define                      pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
113
#define                      pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
114
#define                     pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
115
#define                        pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
116
#define                        pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
117
#define                     pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
118
#define                     pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
119
#define                   pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
120
 
121
/* USB Packet Control Registers */
122
 
123
#define                pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
124
#define                         pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
125
#define                        pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
126
#define                pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
127
#define                        pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
128
#define                       pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
129
#define                      pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
130
#define                       pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
131
#define                    pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
132
#define                   pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
133
#define                       pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
134
#define                   pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
135
#define                      pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
136
 
137
/* USB Endpoint FIFO Registers */
138
 
139
#define                     pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
140
#define                     pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
141
#define                     pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
142
#define                     pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
143
#define                     pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
144
#define                     pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
145
#define                     pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
146
#define                     pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
147
 
148
/* USB OTG Control Registers */
149
 
150
#define                  pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
151
#define                 pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
152
#define                pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
153
 
154
/* USB Phy Control Registers */
155
 
156
#define                     pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
157
#define                        pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
158
#define                      pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
159
#define                      pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
160
#define                      pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
161
 
162
/* (APHY_CNTRL is for ADI usage only) */
163
 
164
#define                   pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
165
 
166
/* (APHY_CALIB is for ADI usage only) */
167
 
168
#define                   pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
169
#define                  pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
170
 
171
/* (PHY_TEST is for ADI usage only) */
172
 
173
#define                     pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
174
#define                  pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
175
#define                   pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
176
 
177
/* USB Endpoint 0 Control Registers */
178
 
179
#define                pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
180
#define                 pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
181
#define                pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
182
#define                 pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
183
#define               pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
184
#define                pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
185
#define            pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
186
#define                pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
187
#define            pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
188
 
189
/* USB Endpoint 1 Control Registers */
190
 
191
#define               pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
192
#define                pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
193
#define                 pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
194
#define                pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
195
#define                 pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
196
#define               pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
197
#define                pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
198
#define            pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
199
#define                pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
200
#define            pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
201
 
202
/* USB Endpoint 2 Control Registers */
203
 
204
#define               pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
205
#define                pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
206
#define                 pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
207
#define                pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
208
#define                 pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
209
#define               pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
210
#define                pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
211
#define            pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
212
#define                pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
213
#define            pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
214
 
215
/* USB Endpoint 3 Control Registers */
216
 
217
#define               pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
218
#define                pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
219
#define                 pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
220
#define                pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
221
#define                 pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
222
#define               pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
223
#define                pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
224
#define            pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
225
#define                pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
226
#define            pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
227
 
228
/* USB Endpoint 4 Control Registers */
229
 
230
#define               pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
231
#define                pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
232
#define                 pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
233
#define                pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
234
#define                 pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
235
#define               pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
236
#define                pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
237
#define            pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
238
#define                pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
239
#define            pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
240
 
241
/* USB Endpoint 5 Control Registers */
242
 
243
#define               pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
244
#define                pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
245
#define                 pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
246
#define                pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
247
#define                 pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
248
#define               pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
249
#define                pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
250
#define            pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
251
#define                pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
252
#define            pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
253
 
254
/* USB Endpoint 6 Control Registers */
255
 
256
#define               pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
257
#define                pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
258
#define                 pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
259
#define                pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
260
#define                 pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
261
#define               pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
262
#define                pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
263
#define            pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
264
#define                pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
265
#define            pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
266
 
267
/* USB Endpoint 7 Control Registers */
268
 
269
#define               pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
270
#define                pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
271
#define                 pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
272
#define                pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
273
#define                 pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
274
#define               pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
275
#define                pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
276
#define            pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
277
#define                pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
278
#define            pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
279
#define               pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
280
#define                pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
281
 
282
/* USB Channel 0 Config Registers */
283
 
284
#define                  pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
285
#define                  pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
286
#define                 pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
287
#define                 pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
288
#define                pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
289
 
290
/* USB Channel 1 Config Registers */
291
 
292
#define                  pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
293
#define                  pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
294
#define                 pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
295
#define                 pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
296
#define                pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
297
 
298
/* USB Channel 2 Config Registers */
299
 
300
#define                  pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
301
#define                  pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
302
#define                 pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
303
#define                 pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
304
#define                pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
305
 
306
/* USB Channel 3 Config Registers */
307
 
308
#define                  pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
309
#define                  pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
310
#define                 pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
311
#define                 pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
312
#define                pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
313
 
314
/* USB Channel 4 Config Registers */
315
 
316
#define                  pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
317
#define                  pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
318
#define                 pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
319
#define                 pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
320
#define                pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
321
 
322
/* USB Channel 5 Config Registers */
323
 
324
#define                  pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
325
#define                  pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
326
#define                 pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
327
#define                 pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
328
#define                pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
329
 
330
/* USB Channel 6 Config Registers */
331
 
332
#define                  pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
333
#define                  pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
334
#define                 pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
335
#define                 pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
336
#define                pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
337
 
338
/* USB Channel 7 Config Registers */
339
 
340
#define                  pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
341
#define                  pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
342
#define                 pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
343
#define                 pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
344
#define                pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
345
 
346
/* Keypad Registers */
347
 
348
#define                         pKPAD_CTL ((volatile unsigned short *)KPAD_CTL)
349
#define                    pKPAD_PRESCALE ((volatile unsigned short *)KPAD_PRESCALE)
350
#define                        pKPAD_MSEL ((volatile unsigned short *)KPAD_MSEL)
351
#define                      pKPAD_ROWCOL ((volatile unsigned short *)KPAD_ROWCOL)
352
#define                        pKPAD_STAT ((volatile unsigned short *)KPAD_STAT)
353
#define                    pKPAD_SOFTEVAL ((volatile unsigned short *)KPAD_SOFTEVAL)
354
 
355
#endif /* _CDEF_BF542_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.