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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [bfin/] [include/] [cdefBF547.h] - Blame information for rev 300

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
** cdefBF547.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-BF547 peripherals.
22
**
23
************************************************************************************
24
** System MMR Register Map
25
************************************************************************************/
26
 
27
#ifndef _CDEF_BF547_H
28
#define _CDEF_BF547_H
29
 
30
/* include all Core registers and bit definitions */
31
#include <defBF547.h>
32
 
33
/* include core specific register pointer definitions */
34
#include <cdef_LPBlackfin.h>
35
 
36
/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF547 */
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-BF547 that are not in the common header */
42
 
43
/* Timer Registers */
44
 
45
#define                    pTIMER8_CONFIG ((volatile unsigned short *)TIMER8_CONFIG)
46
#define                   pTIMER8_COUNTER ((volatile unsigned long *)TIMER8_COUNTER)
47
#define                    pTIMER8_PERIOD ((volatile unsigned long *)TIMER8_PERIOD)
48
#define                     pTIMER8_WIDTH ((volatile unsigned long *)TIMER8_WIDTH)
49
#define                    pTIMER9_CONFIG ((volatile unsigned short *)TIMER9_CONFIG)
50
#define                   pTIMER9_COUNTER ((volatile unsigned long *)TIMER9_COUNTER)
51
#define                    pTIMER9_PERIOD ((volatile unsigned long *)TIMER9_PERIOD)
52
#define                     pTIMER9_WIDTH ((volatile unsigned long *)TIMER9_WIDTH)
53
#define                   pTIMER10_CONFIG ((volatile unsigned short *)TIMER10_CONFIG)
54
#define                  pTIMER10_COUNTER ((volatile unsigned long *)TIMER10_COUNTER)
55
#define                   pTIMER10_PERIOD ((volatile unsigned long *)TIMER10_PERIOD)
56
#define                    pTIMER10_WIDTH ((volatile unsigned long *)TIMER10_WIDTH)
57
 
58
/* Timer Group of 3 */
59
 
60
#define                    pTIMER_ENABLE1 ((volatile unsigned short *)TIMER_ENABLE1)
61
#define                   pTIMER_DISABLE1 ((volatile unsigned short *)TIMER_DISABLE1)
62
#define                    pTIMER_STATUS1 ((volatile unsigned long *)TIMER_STATUS1)
63
 
64
/* SPORT0 Registers */
65
 
66
#define                      pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
67
#define                      pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
68
#define                   pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
69
#define                    pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
70
#define                        pSPORT0_TX ((volatile unsigned long *)SPORT0_TX)
71
#define                        pSPORT0_RX ((volatile unsigned long *)SPORT0_RX)
72
#define                      pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
73
#define                      pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
74
#define                   pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
75
#define                    pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
76
#define                      pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
77
#define                      pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
78
#define                     pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
79
#define                     pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
80
#define                     pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
81
#define                     pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
82
#define                     pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
83
#define                     pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
84
#define                     pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
85
#define                     pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
86
#define                     pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
87
#define                     pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
88
 
89
/* EPPI0 Registers */
90
 
91
#define                     pEPPI0_STATUS ((volatile unsigned short *)EPPI0_STATUS)
92
#define                     pEPPI0_HCOUNT ((volatile unsigned short *)EPPI0_HCOUNT)
93
#define                     pEPPI0_HDELAY ((volatile unsigned short *)EPPI0_HDELAY)
94
#define                     pEPPI0_VCOUNT ((volatile unsigned short *)EPPI0_VCOUNT)
95
#define                     pEPPI0_VDELAY ((volatile unsigned short *)EPPI0_VDELAY)
96
#define                      pEPPI0_FRAME ((volatile unsigned short *)EPPI0_FRAME)
97
#define                       pEPPI0_LINE ((volatile unsigned short *)EPPI0_LINE)
98
#define                     pEPPI0_CLKDIV ((volatile unsigned short *)EPPI0_CLKDIV)
99
#define                    pEPPI0_CONTROL ((volatile unsigned long *)EPPI0_CONTROL)
100
#define                   pEPPI0_FS1W_HBL ((volatile unsigned long *)EPPI0_FS1W_HBL)
101
#define                  pEPPI0_FS1P_AVPL ((volatile unsigned long *)EPPI0_FS1P_AVPL)
102
#define                   pEPPI0_FS2W_LVB ((volatile unsigned long *)EPPI0_FS2W_LVB)
103
#define                  pEPPI0_FS2P_LAVF ((volatile unsigned long *)EPPI0_FS2P_LAVF)
104
#define                       pEPPI0_CLIP ((volatile unsigned long *)EPPI0_CLIP)
105
 
106
/* UART2 Registers */
107
 
108
#define                        pUART2_DLL ((volatile unsigned short *)UART2_DLL)
109
#define                        pUART2_DLH ((volatile unsigned short *)UART2_DLH)
110
#define                       pUART2_GCTL ((volatile unsigned short *)UART2_GCTL)
111
#define                        pUART2_LCR ((volatile unsigned short *)UART2_LCR)
112
#define                        pUART2_MCR ((volatile unsigned short *)UART2_MCR)
113
#define                        pUART2_LSR ((volatile unsigned short *)UART2_LSR)
114
#define                        pUART2_MSR ((volatile unsigned short *)UART2_MSR)
115
#define                        pUART2_SCR ((volatile unsigned short *)UART2_SCR)
116
#define                    pUART2_IER_SET ((volatile unsigned short *)UART2_IER_SET)
117
#define                  pUART2_IER_CLEAR ((volatile unsigned short *)UART2_IER_CLEAR)
118
#define                        pUART2_THR ((volatile unsigned short *)UART2_THR)
119
#define                        pUART2_RBR ((volatile unsigned short *)UART2_RBR)
120
 
121
/* Two Wire Interface Registers (TWI1) */
122
 
123
#define                      pTWI1_CLKDIV ((volatile unsigned short *)TWI1_CLKDIV)
124
#define                     pTWI1_CONTROL ((volatile unsigned short *)TWI1_CONTROL)
125
#define                   pTWI1_SLAVE_CTL ((volatile unsigned short *)TWI1_SLAVE_CTL)
126
#define                  pTWI1_SLAVE_STAT ((volatile unsigned short *)TWI1_SLAVE_STAT)
127
#define                  pTWI1_SLAVE_ADDR ((volatile unsigned short *)TWI1_SLAVE_ADDR)
128
#define                  pTWI1_MASTER_CTL ((volatile unsigned short *)TWI1_MASTER_CTL)
129
#define                 pTWI1_MASTER_STAT ((volatile unsigned short *)TWI1_MASTER_STAT)
130
#define                 pTWI1_MASTER_ADDR ((volatile unsigned short *)TWI1_MASTER_ADDR)
131
#define                    pTWI1_INT_STAT ((volatile unsigned short *)TWI1_INT_STAT)
132
#define                    pTWI1_INT_MASK ((volatile unsigned short *)TWI1_INT_MASK)
133
#define                    pTWI1_FIFO_CTL ((volatile unsigned short *)TWI1_FIFO_CTL)
134
#define                   pTWI1_FIFO_STAT ((volatile unsigned short *)TWI1_FIFO_STAT)
135
#define                   pTWI1_XMT_DATA8 ((volatile unsigned short *)TWI1_XMT_DATA8)
136
#define                  pTWI1_XMT_DATA16 ((volatile unsigned short *)TWI1_XMT_DATA16)
137
#define                   pTWI1_RCV_DATA8 ((volatile unsigned short *)TWI1_RCV_DATA8)
138
#define                  pTWI1_RCV_DATA16 ((volatile unsigned short *)TWI1_RCV_DATA16)
139
 
140
/* SPI2  Registers */
141
 
142
#define                         pSPI2_CTL ((volatile unsigned short *)SPI2_CTL)
143
#define                         pSPI2_FLG ((volatile unsigned short *)SPI2_FLG)
144
#define                        pSPI2_STAT ((volatile unsigned short *)SPI2_STAT)
145
#define                        pSPI2_TDBR ((volatile unsigned short *)SPI2_TDBR)
146
#define                        pSPI2_RDBR ((volatile unsigned short *)SPI2_RDBR)
147
#define                        pSPI2_BAUD ((volatile unsigned short *)SPI2_BAUD)
148
#define                      pSPI2_SHADOW ((volatile unsigned short *)SPI2_SHADOW)
149
 
150
/* ATAPI Registers */
151
 
152
#define                    pATAPI_CONTROL ((volatile unsigned short *)ATAPI_CONTROL)
153
#define                     pATAPI_STATUS ((volatile unsigned short *)ATAPI_STATUS)
154
#define                   pATAPI_DEV_ADDR ((volatile unsigned short *)ATAPI_DEV_ADDR)
155
#define                  pATAPI_DEV_TXBUF ((volatile unsigned short *)ATAPI_DEV_TXBUF)
156
#define                  pATAPI_DEV_RXBUF ((volatile unsigned short *)ATAPI_DEV_RXBUF)
157
#define                   pATAPI_INT_MASK ((volatile unsigned short *)ATAPI_INT_MASK)
158
#define                 pATAPI_INT_STATUS ((volatile unsigned short *)ATAPI_INT_STATUS)
159
#define                   pATAPI_XFER_LEN ((volatile unsigned short *)ATAPI_XFER_LEN)
160
#define                pATAPI_LINE_STATUS ((volatile unsigned short *)ATAPI_LINE_STATUS)
161
#define                   pATAPI_SM_STATE ((volatile unsigned short *)ATAPI_SM_STATE)
162
#define                  pATAPI_TERMINATE ((volatile unsigned short *)ATAPI_TERMINATE)
163
#define                 pATAPI_PIO_TFRCNT ((volatile unsigned short *)ATAPI_PIO_TFRCNT)
164
#define                 pATAPI_DMA_TFRCNT ((volatile unsigned short *)ATAPI_DMA_TFRCNT)
165
#define               pATAPI_UMAIN_TFRCNT ((volatile unsigned short *)ATAPI_UMAIN_TFRCNT)
166
#define             pATAPI_UDMAOUT_TFRCNT ((volatile unsigned short *)ATAPI_UDMAOUT_TFRCNT)
167
#define                  pATAPI_REG_TIM_0 ((volatile unsigned short *)ATAPI_REG_TIM_0)
168
#define                  pATAPI_PIO_TIM_0 ((volatile unsigned short *)ATAPI_PIO_TIM_0)
169
#define                  pATAPI_PIO_TIM_1 ((volatile unsigned short *)ATAPI_PIO_TIM_1)
170
#define                pATAPI_MULTI_TIM_0 ((volatile unsigned short *)ATAPI_MULTI_TIM_0)
171
#define                pATAPI_MULTI_TIM_1 ((volatile unsigned short *)ATAPI_MULTI_TIM_1)
172
#define                pATAPI_MULTI_TIM_2 ((volatile unsigned short *)ATAPI_MULTI_TIM_2)
173
#define                pATAPI_ULTRA_TIM_0 ((volatile unsigned short *)ATAPI_ULTRA_TIM_0)
174
#define                pATAPI_ULTRA_TIM_1 ((volatile unsigned short *)ATAPI_ULTRA_TIM_1)
175
#define                pATAPI_ULTRA_TIM_2 ((volatile unsigned short *)ATAPI_ULTRA_TIM_2)
176
#define                pATAPI_ULTRA_TIM_3 ((volatile unsigned short *)ATAPI_ULTRA_TIM_3)
177
 
178
/* SDH Registers */
179
 
180
#define                      pSDH_PWR_CTL ((volatile unsigned short *)SDH_PWR_CTL)
181
#define                      pSDH_CLK_CTL ((volatile unsigned short *)SDH_CLK_CTL)
182
#define                     pSDH_ARGUMENT ((volatile unsigned long *)SDH_ARGUMENT)
183
#define                      pSDH_COMMAND ((volatile unsigned short *)SDH_COMMAND)
184
#define                     pSDH_RESP_CMD ((volatile unsigned short *)SDH_RESP_CMD)
185
#define                    pSDH_RESPONSE0 ((volatile unsigned long *)SDH_RESPONSE0)
186
#define                    pSDH_RESPONSE1 ((volatile unsigned long *)SDH_RESPONSE1)
187
#define                    pSDH_RESPONSE2 ((volatile unsigned long *)SDH_RESPONSE2)
188
#define                    pSDH_RESPONSE3 ((volatile unsigned long *)SDH_RESPONSE3)
189
#define                   pSDH_DATA_TIMER ((volatile unsigned long *)SDH_DATA_TIMER)
190
#define                    pSDH_DATA_LGTH ((volatile unsigned short *)SDH_DATA_LGTH)
191
#define                     pSDH_DATA_CTL ((volatile unsigned short *)SDH_DATA_CTL)
192
#define                     pSDH_DATA_CNT ((volatile unsigned short *)SDH_DATA_CNT)
193
#define                       pSDH_STATUS ((volatile unsigned long *)SDH_STATUS)
194
#define                   pSDH_STATUS_CLR ((volatile unsigned short *)SDH_STATUS_CLR)
195
#define                        pSDH_MASK0 ((volatile unsigned long *)SDH_MASK0)
196
#define                        pSDH_MASK1 ((volatile unsigned long *)SDH_MASK1)
197
#define                     pSDH_FIFO_CNT ((volatile unsigned short *)SDH_FIFO_CNT)
198
#define                         pSDH_FIFO ((volatile unsigned long *)SDH_FIFO)
199
#define                     pSDH_E_STATUS ((volatile unsigned short *)SDH_E_STATUS)
200
#define                       pSDH_E_MASK ((volatile unsigned short *)SDH_E_MASK)
201
#define                          pSDH_CFG ((volatile unsigned short *)SDH_CFG)
202
#define                   pSDH_RD_WAIT_EN ((volatile unsigned short *)SDH_RD_WAIT_EN)
203
#define                         pSDH_PID0 ((volatile unsigned short *)SDH_PID0)
204
#define                         pSDH_PID1 ((volatile unsigned short *)SDH_PID1)
205
#define                         pSDH_PID2 ((volatile unsigned short *)SDH_PID2)
206
#define                         pSDH_PID3 ((volatile unsigned short *)SDH_PID3)
207
#define                         pSDH_PID4 ((volatile unsigned short *)SDH_PID4)
208
#define                         pSDH_PID5 ((volatile unsigned short *)SDH_PID5)
209
#define                         pSDH_PID6 ((volatile unsigned short *)SDH_PID6)
210
#define                         pSDH_PID7 ((volatile unsigned short *)SDH_PID7)
211
 
212
/* HOST Port Registers */
213
 
214
#define                     pHOST_CONTROL ((volatile unsigned short *)HOST_CONTROL)
215
#define                      pHOST_STATUS ((volatile unsigned short *)HOST_STATUS)
216
#define                     pHOST_TIMEOUT ((volatile unsigned short *)HOST_TIMEOUT)
217
 
218
/* USB Control Registers */
219
 
220
#define                        pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
221
#define                        pUSB_POWER ((volatile unsigned short *)USB_POWER)
222
#define                       pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
223
#define                       pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
224
#define                      pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
225
#define                      pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
226
#define                      pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
227
#define                     pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
228
#define                        pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
229
#define                        pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
230
#define                     pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
231
#define                     pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
232
#define                   pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
233
 
234
/* USB Packet Control Registers */
235
 
236
#define                pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
237
#define                         pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
238
#define                        pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
239
#define                pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
240
#define                        pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
241
#define                       pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
242
#define                      pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
243
#define                       pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
244
#define                    pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
245
#define                   pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
246
#define                       pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
247
#define                   pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
248
#define                      pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
249
 
250
/* USB Endpoint FIFO Registers */
251
 
252
#define                     pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
253
#define                     pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
254
#define                     pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
255
#define                     pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
256
#define                     pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
257
#define                     pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
258
#define                     pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
259
#define                     pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
260
 
261
/* USB OTG Control Registers */
262
 
263
#define                  pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
264
#define                 pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
265
#define                pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
266
 
267
/* USB Phy Control Registers */
268
 
269
#define                     pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
270
#define                        pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
271
#define                      pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
272
#define                      pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
273
#define                      pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
274
 
275
/* (APHY_CNTRL is for ADI usage only) */
276
 
277
#define                   pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
278
 
279
/* (APHY_CALIB is for ADI usage only) */
280
 
281
#define                   pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
282
#define                  pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
283
 
284
/* (PHY_TEST is for ADI usage only) */
285
 
286
#define                     pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
287
#define                  pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
288
#define                   pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
289
 
290
/* USB Endpoint 0 Control Registers */
291
 
292
#define                pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
293
#define                 pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
294
#define                pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
295
#define                 pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
296
#define               pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
297
#define                pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
298
#define            pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
299
#define                pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
300
#define            pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
301
 
302
/* USB Endpoint 1 Control Registers */
303
 
304
#define               pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
305
#define                pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
306
#define                 pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
307
#define                pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
308
#define                 pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
309
#define               pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
310
#define                pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
311
#define            pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
312
#define                pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
313
#define            pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
314
 
315
/* USB Endpoint 2 Control Registers */
316
 
317
#define               pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
318
#define                pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
319
#define                 pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
320
#define                pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
321
#define                 pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
322
#define               pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
323
#define                pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
324
#define            pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
325
#define                pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
326
#define            pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
327
 
328
/* USB Endpoint 3 Control Registers */
329
 
330
#define               pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
331
#define                pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
332
#define                 pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
333
#define                pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
334
#define                 pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
335
#define               pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
336
#define                pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
337
#define            pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
338
#define                pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
339
#define            pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
340
 
341
/* USB Endpoint 4 Control Registers */
342
 
343
#define               pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
344
#define                pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
345
#define                 pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
346
#define                pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
347
#define                 pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
348
#define               pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
349
#define                pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
350
#define            pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
351
#define                pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
352
#define            pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
353
 
354
/* USB Endpoint 5 Control Registers */
355
 
356
#define               pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
357
#define                pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
358
#define                 pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
359
#define                pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
360
#define                 pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
361
#define               pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
362
#define                pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
363
#define            pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
364
#define                pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
365
#define            pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
366
 
367
/* USB Endpoint 6 Control Registers */
368
 
369
#define               pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
370
#define                pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
371
#define                 pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
372
#define                pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
373
#define                 pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
374
#define               pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
375
#define                pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
376
#define            pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
377
#define                pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
378
#define            pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
379
 
380
/* USB Endpoint 7 Control Registers */
381
 
382
#define               pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
383
#define                pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
384
#define                 pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
385
#define                pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
386
#define                 pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
387
#define               pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
388
#define                pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
389
#define            pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
390
#define                pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
391
#define            pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
392
#define               pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
393
#define                pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
394
 
395
/* USB Channel 0 Config Registers */
396
 
397
#define                  pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
398
#define                  pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
399
#define                 pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
400
#define                 pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
401
#define                pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
402
 
403
/* USB Channel 1 Config Registers */
404
 
405
#define                  pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
406
#define                  pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
407
#define                 pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
408
#define                 pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
409
#define                pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
410
 
411
/* USB Channel 2 Config Registers */
412
 
413
#define                  pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
414
#define                  pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
415
#define                 pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
416
#define                 pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
417
#define                pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
418
 
419
/* USB Channel 3 Config Registers */
420
 
421
#define                  pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
422
#define                  pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
423
#define                 pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
424
#define                 pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
425
#define                pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
426
 
427
/* USB Channel 4 Config Registers */
428
 
429
#define                  pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
430
#define                  pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
431
#define                 pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
432
#define                 pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
433
#define                pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
434
 
435
/* USB Channel 5 Config Registers */
436
 
437
#define                  pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
438
#define                  pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
439
#define                 pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
440
#define                 pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
441
#define                pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
442
 
443
/* USB Channel 6 Config Registers */
444
 
445
#define                  pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
446
#define                  pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
447
#define                 pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
448
#define                 pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
449
#define                pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
450
 
451
/* USB Channel 7 Config Registers */
452
 
453
#define                  pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
454
#define                  pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
455
#define                 pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
456
#define                 pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
457
#define                pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
458
 
459
/* Keypad Registers */
460
 
461
#define                         pKPAD_CTL ((volatile unsigned short *)KPAD_CTL)
462
#define                    pKPAD_PRESCALE ((volatile unsigned short *)KPAD_PRESCALE)
463
#define                        pKPAD_MSEL ((volatile unsigned short *)KPAD_MSEL)
464
#define                      pKPAD_ROWCOL ((volatile unsigned short *)KPAD_ROWCOL)
465
#define                        pKPAD_STAT ((volatile unsigned short *)KPAD_STAT)
466
#define                    pKPAD_SOFTEVAL ((volatile unsigned short *)KPAD_SOFTEVAL)
467
 
468
/* Pixel Compositor (PIXC) Registers */
469
 
470
#define                         pPIXC_CTL ((volatile unsigned short *)PIXC_CTL)
471
#define                         pPIXC_PPL ((volatile unsigned short *)PIXC_PPL)
472
#define                         pPIXC_LPF ((volatile unsigned short *)PIXC_LPF)
473
#define                     pPIXC_AHSTART ((volatile unsigned short *)PIXC_AHSTART)
474
#define                       pPIXC_AHEND ((volatile unsigned short *)PIXC_AHEND)
475
#define                     pPIXC_AVSTART ((volatile unsigned short *)PIXC_AVSTART)
476
#define                       pPIXC_AVEND ((volatile unsigned short *)PIXC_AVEND)
477
#define                     pPIXC_ATRANSP ((volatile unsigned short *)PIXC_ATRANSP)
478
#define                     pPIXC_BHSTART ((volatile unsigned short *)PIXC_BHSTART)
479
#define                       pPIXC_BHEND ((volatile unsigned short *)PIXC_BHEND)
480
#define                     pPIXC_BVSTART ((volatile unsigned short *)PIXC_BVSTART)
481
#define                       pPIXC_BVEND ((volatile unsigned short *)PIXC_BVEND)
482
#define                     pPIXC_BTRANSP ((volatile unsigned short *)PIXC_BTRANSP)
483
#define                    pPIXC_INTRSTAT ((volatile unsigned short *)PIXC_INTRSTAT)
484
#define                       pPIXC_RYCON ((volatile unsigned long *)PIXC_RYCON)
485
#define                       pPIXC_GUCON ((volatile unsigned long *)PIXC_GUCON)
486
#define                       pPIXC_BVCON ((volatile unsigned long *)PIXC_BVCON)
487
#define                      pPIXC_CCBIAS ((volatile unsigned long *)PIXC_CCBIAS)
488
#define                          pPIXC_TC ((volatile unsigned long *)PIXC_TC)
489
 
490
#endif /* _CDEF_BF547_H */

powered by: WebSVN 2.1.0

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