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

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

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

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