source: trunk/libs/newlib/src/libgloss/bfin/include/cdefBF542.h @ 503

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

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

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