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

Subversion Repositories openrisc

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

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
** Copyright (C) 2008 Analog Devices, Inc.
15
**
16
************************************************************************************
17
**
18
** This include file contains a list of macro "defines" to enable the programmer
19
** to use symbolic names for the ADSP-BF527 peripherals.
20
**
21
************************************************************************************
22
** System MMR Register Map
23
************************************************************************************/
24
 
25
#ifndef _CDEF_BF527_H
26
#define _CDEF_BF527_H
27
 
28
/* include all Core registers and bit definitions */
29
#include <defBF527.h>
30
 
31
/* include core specific register pointer definitions */
32
#include <cdef_LPBlackfin.h>
33
 
34
/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF527 */
35
 
36
/* include cdefBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */
37
#include <cdefBF52x_base.h>
38
 
39
/* The following are the #defines needed by ADSP-BF527 that are not in the common header */
40
 
41
/* 10/100 Ethernet Controller   (0xFFC03000 - 0xFFC031FF) */
42
 
43
#define pEMAC_OPMODE            ((volatile unsigned long  *)EMAC_OPMODE)
44
#define pEMAC_ADDRLO            ((volatile unsigned long  *)EMAC_ADDRLO)
45
#define pEMAC_ADDRHI            ((volatile unsigned long  *)EMAC_ADDRHI)
46
#define pEMAC_HASHLO            ((volatile unsigned long  *)EMAC_HASHLO)
47
#define pEMAC_HASHHI            ((volatile unsigned long  *)EMAC_HASHHI)
48
#define pEMAC_STAADD            ((volatile unsigned long  *)EMAC_STAADD)
49
#define pEMAC_STADAT            ((volatile unsigned long  *)EMAC_STADAT)
50
#define pEMAC_FLC               ((volatile unsigned long  *)EMAC_FLC)
51
#define pEMAC_VLAN1             ((volatile unsigned long  *)EMAC_VLAN1)
52
#define pEMAC_VLAN2             ((volatile unsigned long  *)EMAC_VLAN2)
53
#define pEMAC_WKUP_CTL          ((volatile unsigned long  *)EMAC_WKUP_CTL)
54
#define pEMAC_WKUP_FFMSK0       ((volatile unsigned long  *)EMAC_WKUP_FFMSK0)
55
#define pEMAC_WKUP_FFMSK1       ((volatile unsigned long  *)EMAC_WKUP_FFMSK1)
56
#define pEMAC_WKUP_FFMSK2       ((volatile unsigned long  *)EMAC_WKUP_FFMSK2)
57
#define pEMAC_WKUP_FFMSK3       ((volatile unsigned long  *)EMAC_WKUP_FFMSK3)
58
#define pEMAC_WKUP_FFCMD        ((volatile unsigned long  *)EMAC_WKUP_FFCMD)
59
#define pEMAC_WKUP_FFOFF        ((volatile unsigned long  *)EMAC_WKUP_FFOFF)
60
#define pEMAC_WKUP_FFCRC0       ((volatile unsigned long  *)EMAC_WKUP_FFCRC0)
61
#define pEMAC_WKUP_FFCRC1       ((volatile unsigned long  *)EMAC_WKUP_FFCRC1)
62
 
63
#define pEMAC_SYSCTL            ((volatile unsigned long  *)EMAC_SYSCTL)
64
#define pEMAC_SYSTAT            ((volatile unsigned long  *)EMAC_SYSTAT)
65
#define pEMAC_RX_STAT           ((volatile unsigned long  *)EMAC_RX_STAT)
66
#define pEMAC_RX_STKY           ((volatile unsigned long  *)EMAC_RX_STKY)
67
#define pEMAC_RX_IRQE           ((volatile unsigned long  *)EMAC_RX_IRQE)
68
#define pEMAC_TX_STAT           ((volatile unsigned long  *)EMAC_TX_STAT)
69
#define pEMAC_TX_STKY           ((volatile unsigned long  *)EMAC_TX_STKY)
70
#define pEMAC_TX_IRQE           ((volatile unsigned long  *)EMAC_TX_IRQE)
71
 
72
#define pEMAC_MMC_CTL           ((volatile unsigned long  *)EMAC_MMC_CTL)
73
#define pEMAC_MMC_RIRQS         ((volatile unsigned long  *)EMAC_MMC_RIRQS)
74
#define pEMAC_MMC_RIRQE         ((volatile unsigned long  *)EMAC_MMC_RIRQE)
75
#define pEMAC_MMC_TIRQS         ((volatile unsigned long  *)EMAC_MMC_TIRQS)
76
#define pEMAC_MMC_TIRQE         ((volatile unsigned long  *)EMAC_MMC_TIRQE)
77
 
78
#define pEMAC_RXC_OK            ((volatile unsigned long  *)EMAC_RXC_OK)
79
#define pEMAC_RXC_FCS           ((volatile unsigned long  *)EMAC_RXC_FCS)
80
#define pEMAC_RXC_ALIGN         ((volatile unsigned long  *)EMAC_RXC_ALIGN)
81
#define pEMAC_RXC_OCTET         ((volatile unsigned long  *)EMAC_RXC_OCTET)
82
#define pEMAC_RXC_DMAOVF        ((volatile unsigned long  *)EMAC_RXC_DMAOVF)
83
#define pEMAC_RXC_UNICST        ((volatile unsigned long  *)EMAC_RXC_UNICST)
84
#define pEMAC_RXC_MULTI         ((volatile unsigned long  *)EMAC_RXC_MULTI)
85
#define pEMAC_RXC_BROAD         ((volatile unsigned long  *)EMAC_RXC_BROAD)
86
#define pEMAC_RXC_LNERRI        ((volatile unsigned long  *)EMAC_RXC_LNERRI)
87
#define pEMAC_RXC_LNERRO        ((volatile unsigned long  *)EMAC_RXC_LNERRO)
88
#define pEMAC_RXC_LONG          ((volatile unsigned long  *)EMAC_RXC_LONG)
89
#define pEMAC_RXC_MACCTL        ((volatile unsigned long  *)EMAC_RXC_MACCTL)
90
#define pEMAC_RXC_OPCODE        ((volatile unsigned long  *)EMAC_RXC_OPCODE)
91
#define pEMAC_RXC_PAUSE         ((volatile unsigned long  *)EMAC_RXC_PAUSE)
92
#define pEMAC_RXC_ALLFRM        ((volatile unsigned long  *)EMAC_RXC_ALLFRM)
93
#define pEMAC_RXC_ALLOCT        ((volatile unsigned long  *)EMAC_RXC_ALLOCT)
94
#define pEMAC_RXC_TYPED         ((volatile unsigned long  *)EMAC_RXC_TYPED)
95
#define pEMAC_RXC_SHORT         ((volatile unsigned long  *)EMAC_RXC_SHORT)
96
#define pEMAC_RXC_EQ64          ((volatile unsigned long  *)EMAC_RXC_EQ64)
97
#define pEMAC_RXC_LT128         ((volatile unsigned long  *)EMAC_RXC_LT128)
98
#define pEMAC_RXC_LT256         ((volatile unsigned long  *)EMAC_RXC_LT256)
99
#define pEMAC_RXC_LT512         ((volatile unsigned long  *)EMAC_RXC_LT512)
100
#define pEMAC_RXC_LT1024        ((volatile unsigned long  *)EMAC_RXC_LT1024)
101
#define pEMAC_RXC_GE1024        ((volatile unsigned long  *)EMAC_RXC_GE1024)
102
 
103
#define pEMAC_TXC_OK            ((volatile unsigned long  *)EMAC_TXC_OK)
104
#define pEMAC_TXC_1COL          ((volatile unsigned long  *)EMAC_TXC_1COL)
105
#define pEMAC_TXC_GT1COL        ((volatile unsigned long  *)EMAC_TXC_GT1COL)
106
#define pEMAC_TXC_OCTET         ((volatile unsigned long  *)EMAC_TXC_OCTET)
107
#define pEMAC_TXC_DEFER         ((volatile unsigned long  *)EMAC_TXC_DEFER)
108
#define pEMAC_TXC_LATECL        ((volatile unsigned long  *)EMAC_TXC_LATECL)
109
#define pEMAC_TXC_XS_COL        ((volatile unsigned long  *)EMAC_TXC_XS_COL)
110
#define pEMAC_TXC_DMAUND        ((volatile unsigned long  *)EMAC_TXC_DMAUND)
111
#define pEMAC_TXC_CRSERR        ((volatile unsigned long  *)EMAC_TXC_CRSERR)
112
#define pEMAC_TXC_UNICST        ((volatile unsigned long  *)EMAC_TXC_UNICST)
113
#define pEMAC_TXC_MULTI         ((volatile unsigned long  *)EMAC_TXC_MULTI)
114
#define pEMAC_TXC_BROAD         ((volatile unsigned long  *)EMAC_TXC_BROAD)
115
#define pEMAC_TXC_XS_DFR        ((volatile unsigned long  *)EMAC_TXC_XS_DFR)
116
#define pEMAC_TXC_MACCTL        ((volatile unsigned long  *)EMAC_TXC_MACCTL)
117
#define pEMAC_TXC_ALLFRM        ((volatile unsigned long  *)EMAC_TXC_ALLFRM)
118
#define pEMAC_TXC_ALLOCT        ((volatile unsigned long  *)EMAC_TXC_ALLOCT)
119
#define pEMAC_TXC_EQ64          ((volatile unsigned long  *)EMAC_TXC_EQ64)
120
#define pEMAC_TXC_LT128         ((volatile unsigned long  *)EMAC_TXC_LT128)
121
#define pEMAC_TXC_LT256         ((volatile unsigned long  *)EMAC_TXC_LT256)
122
#define pEMAC_TXC_LT512         ((volatile unsigned long  *)EMAC_TXC_LT512)
123
#define pEMAC_TXC_LT1024        ((volatile unsigned long  *)EMAC_TXC_LT1024)
124
#define pEMAC_TXC_GE1024        ((volatile unsigned long  *)EMAC_TXC_GE1024)
125
#define pEMAC_TXC_ABORT         ((volatile unsigned long  *)EMAC_TXC_ABORT)
126
 
127
/* USB Control Registers */
128
 
129
#define                        pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
130
#define                        pUSB_POWER ((volatile unsigned short *)USB_POWER)
131
#define                       pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
132
#define                       pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
133
#define                      pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
134
#define                      pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
135
#define                      pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
136
#define                     pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
137
#define                        pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
138
#define                        pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
139
#define                     pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
140
#define                     pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
141
#define                   pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
142
 
143
/* USB Packet Control Registers */
144
 
145
#define                pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
146
#define                         pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
147
#define                        pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
148
#define                pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
149
#define                        pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
150
#define                       pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
151
#define                      pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
152
#define                       pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
153
#define                    pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
154
#define                   pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
155
#define                       pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
156
#define                   pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
157
#define                      pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
158
 
159
/* USB Endpoint FIFO Registers */
160
 
161
#define                     pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
162
#define                     pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
163
#define                     pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
164
#define                     pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
165
#define                     pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
166
#define                     pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
167
#define                     pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
168
#define                     pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
169
 
170
/* USB OTG Control Registers */
171
 
172
#define                  pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
173
#define                 pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
174
#define                pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
175
 
176
/* USB Phy Control Registers */
177
 
178
#define                     pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
179
#define                        pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
180
#define                      pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
181
#define                      pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
182
#define                      pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
183
 
184
/* (APHY_CNTRL is for ADI usage only) */
185
 
186
#define                   pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
187
 
188
/* (APHY_CALIB is for ADI usage only) */
189
 
190
#define                   pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
191
 
192
#define                  pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
193
 
194
/* (PHY_TEST is for ADI usage only) */
195
 
196
#define                     pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
197
 
198
#define                  pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
199
#define                   pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
200
 
201
/* USB Endpoint 0 Control Registers */
202
 
203
#define                pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
204
#define                 pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
205
#define                pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
206
#define                 pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
207
#define               pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
208
#define                pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
209
#define            pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
210
#define                pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
211
#define            pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
212
#define               pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
213
 
214
/* USB Endpoint 1 Control Registers */
215
 
216
#define                pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
217
#define                 pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
218
#define                pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
219
#define                 pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
220
#define               pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
221
#define                pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
222
#define            pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
223
#define                pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
224
#define            pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
225
#define               pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
226
 
227
/* USB Endpoint 2 Control Registers */
228
 
229
#define                pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
230
#define                 pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
231
#define                pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
232
#define                 pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
233
#define               pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
234
#define                pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
235
#define            pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
236
#define                pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
237
#define            pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
238
#define               pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
239
 
240
/* USB Endpoint 3 Control Registers */
241
 
242
#define                pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
243
#define                 pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
244
#define                pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
245
#define                 pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
246
#define               pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
247
#define                pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
248
#define            pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
249
#define                pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
250
#define            pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
251
#define               pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
252
 
253
/* USB Endpoint 4 Control Registers */
254
 
255
#define                pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
256
#define                 pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
257
#define                pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
258
#define                 pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
259
#define               pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
260
#define                pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
261
#define            pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
262
#define                pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
263
#define            pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
264
#define               pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
265
 
266
/* USB Endpoint 5 Control Registers */
267
 
268
#define                pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
269
#define                 pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
270
#define                pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
271
#define                 pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
272
#define               pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
273
#define                pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
274
#define            pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
275
#define                pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
276
#define            pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
277
#define               pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
278
 
279
/* USB Endpoint 6 Control Registers */
280
 
281
#define                pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
282
#define                 pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
283
#define                pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
284
#define                 pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
285
#define               pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
286
#define                pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
287
#define            pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
288
#define                pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
289
#define            pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
290
#define               pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
291
 
292
/* USB Endpoint 7 Control Registers */
293
 
294
#define                pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
295
#define                 pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
296
#define                pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
297
#define                 pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
298
#define               pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
299
#define                pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
300
#define            pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
301
#define                pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
302
#define            pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
303
#define               pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
304
 
305
#define                pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
306
 
307
/* USB Channel 0 Config Registers */
308
 
309
#define                  pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
310
#define                  pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
311
#define                 pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
312
#define                 pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
313
#define                pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
314
 
315
/* USB Channel 1 Config Registers */
316
 
317
#define                  pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
318
#define                  pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
319
#define                 pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
320
#define                 pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
321
#define                pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
322
 
323
/* USB Channel 2 Config Registers */
324
 
325
#define                  pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
326
#define                  pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
327
#define                 pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
328
#define                 pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
329
#define                pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
330
 
331
/* USB Channel 3 Config Registers */
332
 
333
#define                  pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
334
#define                  pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
335
#define                 pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
336
#define                 pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
337
#define                pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
338
 
339
/* USB Channel 4 Config Registers */
340
 
341
#define                  pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
342
#define                  pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
343
#define                 pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
344
#define                 pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
345
#define                pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
346
 
347
/* USB Channel 5 Config Registers */
348
 
349
#define                  pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
350
#define                  pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
351
#define                 pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
352
#define                 pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
353
#define                pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
354
 
355
/* USB Channel 6 Config Registers */
356
 
357
#define                  pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
358
#define                  pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
359
#define                 pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
360
#define                 pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
361
#define                pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
362
 
363
/* USB Channel 7 Config Registers */
364
 
365
#define                  pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
366
#define                  pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
367
#define                 pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
368
#define                 pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
369
#define                pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
370
 
371
#endif /* _CDEF_BF527_H */

powered by: WebSVN 2.1.0

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