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 |
|
|
** cdefBF52x_base.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 registers common to the ADSP-BF52x peripherals.
|
22 |
|
|
**
|
23 |
|
|
***************************************************************/
|
24 |
|
|
|
25 |
|
|
#ifndef _CDEF_BF52X_H
|
26 |
|
|
#define _CDEF_BF52X_H
|
27 |
|
|
|
28 |
|
|
#include <defBF52x_base.h>
|
29 |
|
|
|
30 |
|
|
/* ==== begin from cdefBF534.h ==== */
|
31 |
|
|
|
32 |
|
|
#ifndef _PTR_TO_VOL_VOID_PTR
|
33 |
|
|
#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
|
34 |
|
|
#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
|
35 |
|
|
#else
|
36 |
|
|
#define _PTR_TO_VOL_VOID_PTR (volatile void **)
|
37 |
|
|
#endif
|
38 |
|
|
#endif
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
/* Clock and System Control (0xFFC00000 - 0xFFC000FF) */
|
42 |
|
|
#define pPLL_CTL ((volatile unsigned short *)PLL_CTL)
|
43 |
|
|
#define pPLL_DIV ((volatile unsigned short *)PLL_DIV)
|
44 |
|
|
#define pVR_CTL ((volatile unsigned short *)VR_CTL)
|
45 |
|
|
#define pPLL_STAT ((volatile unsigned short *)PLL_STAT)
|
46 |
|
|
#define pPLL_LOCKCNT ((volatile unsigned short *)PLL_LOCKCNT)
|
47 |
|
|
#define pCHIPID ((volatile unsigned long*)CHIPID)
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
/* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */
|
51 |
|
|
#define pSWRST ((volatile unsigned short *)SWRST)
|
52 |
|
|
#define pSYSCR ((volatile unsigned short *)SYSCR)
|
53 |
|
|
|
54 |
|
|
#define pSIC_RVECT (_PTR_TO_VOL_VOID_PTR SIC_RVECT)
|
55 |
|
|
#define pSIC_IMASK0 ((volatile unsigned long *)SIC_IMASK0)
|
56 |
|
|
/* legacy register name (below) provided for backwards code compatibility */
|
57 |
|
|
#define pSIC_IMASK ((volatile unsigned long *)SIC_IMASK0)
|
58 |
|
|
|
59 |
|
|
#define pSIC_IAR0 ((volatile unsigned long *)SIC_IAR0)
|
60 |
|
|
#define pSIC_IAR1 ((volatile unsigned long *)SIC_IAR1)
|
61 |
|
|
#define pSIC_IAR2 ((volatile unsigned long *)SIC_IAR2)
|
62 |
|
|
#define pSIC_IAR3 ((volatile unsigned long *)SIC_IAR3)
|
63 |
|
|
|
64 |
|
|
#define pSIC_ISR0 ((volatile unsigned long *)SIC_ISR0)
|
65 |
|
|
/* legacy register name (below) provided for backwards code compatibility */
|
66 |
|
|
#define pSIC_ISR ((volatile unsigned long *)SIC_ISR0)
|
67 |
|
|
|
68 |
|
|
#define pSIC_IWR0 ((volatile unsigned long *)SIC_IWR0)
|
69 |
|
|
/* legacy register name (below) provided for backwards code compatibility */
|
70 |
|
|
#define pSIC_IWR ((volatile unsigned long *)SIC_IWR0)
|
71 |
|
|
|
72 |
|
|
/* SIC Additions to ADSP-BF52x (0xFFC0014C - 0xFFC00162) */
|
73 |
|
|
|
74 |
|
|
#define pSIC_IMASK1 ((volatile unsigned long *)SIC_IMASK1)
|
75 |
|
|
#define pSIC_IAR4 ((volatile unsigned long *)SIC_IAR4)
|
76 |
|
|
#define pSIC_IAR5 ((volatile unsigned long *)SIC_IAR5)
|
77 |
|
|
#define pSIC_IAR6 ((volatile unsigned long *)SIC_IAR6)
|
78 |
|
|
#define pSIC_IAR7 ((volatile unsigned long *)SIC_IAR7)
|
79 |
|
|
#define pSIC_ISR1 ((volatile unsigned long *)SIC_ISR1)
|
80 |
|
|
#define pSIC_IWR1 ((volatile unsigned long *)SIC_IWR1)
|
81 |
|
|
|
82 |
|
|
/* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */
|
83 |
|
|
#define pWDOG_CTL ((volatile unsigned short *)WDOG_CTL)
|
84 |
|
|
#define pWDOG_CNT ((volatile unsigned long *)WDOG_CNT)
|
85 |
|
|
#define pWDOG_STAT ((volatile unsigned long *)WDOG_STAT)
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
/* Real Time Clock (0xFFC00300 - 0xFFC003FF) */
|
89 |
|
|
#define pRTC_STAT ((volatile unsigned long *)RTC_STAT)
|
90 |
|
|
#define pRTC_ICTL ((volatile unsigned short *)RTC_ICTL)
|
91 |
|
|
#define pRTC_ISTAT ((volatile unsigned short *)RTC_ISTAT)
|
92 |
|
|
#define pRTC_SWCNT ((volatile unsigned short *)RTC_SWCNT)
|
93 |
|
|
#define pRTC_ALARM ((volatile unsigned long *)RTC_ALARM)
|
94 |
|
|
#define pRTC_FAST ((volatile unsigned short *)RTC_FAST)
|
95 |
|
|
#define pRTC_PREN ((volatile unsigned short *)RTC_PREN)
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
/* UART0 Controller (0xFFC00400 - 0xFFC004FF) */
|
99 |
|
|
#define pUART0_THR ((volatile unsigned short *)UART0_THR)
|
100 |
|
|
#define pUART0_RBR ((volatile unsigned short *)UART0_RBR)
|
101 |
|
|
#define pUART0_DLL ((volatile unsigned short *)UART0_DLL)
|
102 |
|
|
#define pUART0_IER ((volatile unsigned short *)UART0_IER)
|
103 |
|
|
#define pUART0_DLH ((volatile unsigned short *)UART0_DLH)
|
104 |
|
|
#define pUART0_IIR ((volatile unsigned short *)UART0_IIR)
|
105 |
|
|
#define pUART0_LCR ((volatile unsigned short *)UART0_LCR)
|
106 |
|
|
#define pUART0_MCR ((volatile unsigned short *)UART0_MCR)
|
107 |
|
|
#define pUART0_LSR ((volatile unsigned short *)UART0_LSR)
|
108 |
|
|
#define pUART0_MSR ((volatile unsigned short *)UART0_LSR)
|
109 |
|
|
#define pUART0_SCR ((volatile unsigned short *)UART0_SCR)
|
110 |
|
|
#define pUART0_GCTL ((volatile unsigned short *)UART0_GCTL)
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
/* SPI Controller (0xFFC00500 - 0xFFC005FF) */
|
114 |
|
|
#define pSPI_CTL ((volatile unsigned short *)SPI_CTL)
|
115 |
|
|
#define pSPI_FLG ((volatile unsigned short *)SPI_FLG)
|
116 |
|
|
#define pSPI_STAT ((volatile unsigned short *)SPI_STAT)
|
117 |
|
|
#define pSPI_TDBR ((volatile unsigned short *)SPI_TDBR)
|
118 |
|
|
#define pSPI_RDBR ((volatile unsigned short *)SPI_RDBR)
|
119 |
|
|
#define pSPI_BAUD ((volatile unsigned short *)SPI_BAUD)
|
120 |
|
|
#define pSPI_SHADOW ((volatile unsigned short *)SPI_SHADOW)
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
/* TIMER0-7 Registers (0xFFC00600 - 0xFFC006FF) */
|
124 |
|
|
#define pTIMER0_CONFIG ((volatile unsigned short *)TIMER0_CONFIG)
|
125 |
|
|
#define pTIMER0_COUNTER ((volatile unsigned long *)TIMER0_COUNTER)
|
126 |
|
|
#define pTIMER0_PERIOD ((volatile unsigned long *)TIMER0_PERIOD)
|
127 |
|
|
#define pTIMER0_WIDTH ((volatile unsigned long *)TIMER0_WIDTH)
|
128 |
|
|
|
129 |
|
|
#define pTIMER1_CONFIG ((volatile unsigned short *)TIMER1_CONFIG)
|
130 |
|
|
#define pTIMER1_COUNTER ((volatile unsigned long *)TIMER1_COUNTER)
|
131 |
|
|
#define pTIMER1_PERIOD ((volatile unsigned long *)TIMER1_PERIOD)
|
132 |
|
|
#define pTIMER1_WIDTH ((volatile unsigned long *)TIMER1_WIDTH)
|
133 |
|
|
|
134 |
|
|
#define pTIMER2_CONFIG ((volatile unsigned short *)TIMER2_CONFIG)
|
135 |
|
|
#define pTIMER2_COUNTER ((volatile unsigned long *)TIMER2_COUNTER)
|
136 |
|
|
#define pTIMER2_PERIOD ((volatile unsigned long *)TIMER2_PERIOD)
|
137 |
|
|
#define pTIMER2_WIDTH ((volatile unsigned long *)TIMER2_WIDTH)
|
138 |
|
|
|
139 |
|
|
#define pTIMER3_CONFIG ((volatile unsigned short *)TIMER3_CONFIG)
|
140 |
|
|
#define pTIMER3_COUNTER ((volatile unsigned long *)TIMER3_COUNTER)
|
141 |
|
|
#define pTIMER3_PERIOD ((volatile unsigned long *)TIMER3_PERIOD)
|
142 |
|
|
#define pTIMER3_WIDTH ((volatile unsigned long *)TIMER3_WIDTH)
|
143 |
|
|
|
144 |
|
|
#define pTIMER4_CONFIG ((volatile unsigned short *)TIMER4_CONFIG)
|
145 |
|
|
#define pTIMER4_COUNTER ((volatile unsigned long *)TIMER4_COUNTER)
|
146 |
|
|
#define pTIMER4_PERIOD ((volatile unsigned long *)TIMER4_PERIOD)
|
147 |
|
|
#define pTIMER4_WIDTH ((volatile unsigned long *)TIMER4_WIDTH)
|
148 |
|
|
|
149 |
|
|
#define pTIMER5_CONFIG ((volatile unsigned short *)TIMER5_CONFIG)
|
150 |
|
|
#define pTIMER5_COUNTER ((volatile unsigned long *)TIMER5_COUNTER)
|
151 |
|
|
#define pTIMER5_PERIOD ((volatile unsigned long *)TIMER5_PERIOD)
|
152 |
|
|
#define pTIMER5_WIDTH ((volatile unsigned long *)TIMER5_WIDTH)
|
153 |
|
|
|
154 |
|
|
#define pTIMER6_CONFIG ((volatile unsigned short *)TIMER6_CONFIG)
|
155 |
|
|
#define pTIMER6_COUNTER ((volatile unsigned long *)TIMER6_COUNTER)
|
156 |
|
|
#define pTIMER6_PERIOD ((volatile unsigned long *)TIMER6_PERIOD)
|
157 |
|
|
#define pTIMER6_WIDTH ((volatile unsigned long *)TIMER6_WIDTH)
|
158 |
|
|
|
159 |
|
|
#define pTIMER7_CONFIG ((volatile unsigned short *)TIMER7_CONFIG)
|
160 |
|
|
#define pTIMER7_COUNTER ((volatile unsigned long *)TIMER7_COUNTER)
|
161 |
|
|
#define pTIMER7_PERIOD ((volatile unsigned long *)TIMER7_PERIOD)
|
162 |
|
|
#define pTIMER7_WIDTH ((volatile unsigned long *)TIMER7_WIDTH)
|
163 |
|
|
|
164 |
|
|
#define pTIMER_ENABLE ((volatile unsigned short *)TIMER_ENABLE)
|
165 |
|
|
#define pTIMER_DISABLE ((volatile unsigned short *)TIMER_DISABLE)
|
166 |
|
|
#define pTIMER_STATUS ((volatile unsigned long *)TIMER_STATUS)
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
/* General Purpose I/O Port F (0xFFC00700 - 0xFFC007FF) */
|
170 |
|
|
#define pPORTFIO ((volatile unsigned short *)PORTFIO)
|
171 |
|
|
#define pPORTFIO_CLEAR ((volatile unsigned short *)PORTFIO_CLEAR)
|
172 |
|
|
#define pPORTFIO_SET ((volatile unsigned short *)PORTFIO_SET)
|
173 |
|
|
#define pPORTFIO_TOGGLE ((volatile unsigned short *)PORTFIO_TOGGLE)
|
174 |
|
|
#define pPORTFIO_MASKA ((volatile unsigned short *)PORTFIO_MASKA)
|
175 |
|
|
#define pPORTFIO_MASKA_CLEAR ((volatile unsigned short *)PORTFIO_MASKA_CLEAR)
|
176 |
|
|
#define pPORTFIO_MASKA_SET ((volatile unsigned short *)PORTFIO_MASKA_SET)
|
177 |
|
|
#define pPORTFIO_MASKA_TOGGLE ((volatile unsigned short *)PORTFIO_MASKA_TOGGLE)
|
178 |
|
|
#define pPORTFIO_MASKB ((volatile unsigned short *)PORTFIO_MASKB)
|
179 |
|
|
#define pPORTFIO_MASKB_CLEAR ((volatile unsigned short *)PORTFIO_MASKB_CLEAR)
|
180 |
|
|
#define pPORTFIO_MASKB_SET ((volatile unsigned short *)PORTFIO_MASKB_SET)
|
181 |
|
|
#define pPORTFIO_MASKB_TOGGLE ((volatile unsigned short *)PORTFIO_MASKB_TOGGLE)
|
182 |
|
|
#define pPORTFIO_DIR ((volatile unsigned short *)PORTFIO_DIR)
|
183 |
|
|
#define pPORTFIO_POLAR ((volatile unsigned short *)PORTFIO_POLAR)
|
184 |
|
|
#define pPORTFIO_EDGE ((volatile unsigned short *)PORTFIO_EDGE)
|
185 |
|
|
#define pPORTFIO_BOTH ((volatile unsigned short *)PORTFIO_BOTH)
|
186 |
|
|
#define pPORTFIO_INEN ((volatile unsigned short *)PORTFIO_INEN)
|
187 |
|
|
|
188 |
|
|
|
189 |
|
|
/* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */
|
190 |
|
|
#define pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
|
191 |
|
|
#define pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
|
192 |
|
|
#define pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
|
193 |
|
|
#define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
|
194 |
|
|
#define pSPORT0_TX ((volatile unsigned long *)SPORT0_TX)
|
195 |
|
|
#define pSPORT0_RX ((volatile unsigned long *)SPORT0_RX)
|
196 |
|
|
#define pSPORT0_TX32 ((volatile unsigned long *)SPORT0_TX)
|
197 |
|
|
#define pSPORT0_RX32 ((volatile unsigned long *)SPORT0_RX)
|
198 |
|
|
#define pSPORT0_TX16 ((volatile unsigned short *)SPORT0_TX)
|
199 |
|
|
#define pSPORT0_RX16 ((volatile unsigned short *)SPORT0_RX)
|
200 |
|
|
#define pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
|
201 |
|
|
#define pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
|
202 |
|
|
#define pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
|
203 |
|
|
#define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
|
204 |
|
|
#define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
|
205 |
|
|
#define pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
|
206 |
|
|
#define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
|
207 |
|
|
#define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
|
208 |
|
|
#define pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
|
209 |
|
|
#define pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
|
210 |
|
|
#define pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
|
211 |
|
|
#define pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
|
212 |
|
|
#define pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
|
213 |
|
|
#define pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
|
214 |
|
|
#define pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
|
215 |
|
|
#define pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
/* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */
|
219 |
|
|
#define pSPORT1_TCR1 ((volatile unsigned short *)SPORT1_TCR1)
|
220 |
|
|
#define pSPORT1_TCR2 ((volatile unsigned short *)SPORT1_TCR2)
|
221 |
|
|
#define pSPORT1_TCLKDIV ((volatile unsigned short *)SPORT1_TCLKDIV)
|
222 |
|
|
#define pSPORT1_TFSDIV ((volatile unsigned short *)SPORT1_TFSDIV)
|
223 |
|
|
#define pSPORT1_TX ((volatile unsigned long *)SPORT1_TX)
|
224 |
|
|
#define pSPORT1_RX ((volatile unsigned long *)SPORT1_RX)
|
225 |
|
|
#define pSPORT1_TX32 ((volatile unsigned long *)SPORT1_TX)
|
226 |
|
|
#define pSPORT1_RX32 ((volatile unsigned long *)SPORT1_RX)
|
227 |
|
|
#define pSPORT1_TX16 ((volatile unsigned short *)SPORT1_TX)
|
228 |
|
|
#define pSPORT1_RX16 ((volatile unsigned short *)SPORT1_RX)
|
229 |
|
|
#define pSPORT1_RCR1 ((volatile unsigned short *)SPORT1_RCR1)
|
230 |
|
|
#define pSPORT1_RCR2 ((volatile unsigned short *)SPORT1_RCR2)
|
231 |
|
|
#define pSPORT1_RCLKDIV ((volatile unsigned short *)SPORT1_RCLKDIV)
|
232 |
|
|
#define pSPORT1_RFSDIV ((volatile unsigned short *)SPORT1_RFSDIV)
|
233 |
|
|
#define pSPORT1_STAT ((volatile unsigned short *)SPORT1_STAT)
|
234 |
|
|
#define pSPORT1_CHNL ((volatile unsigned short *)SPORT1_CHNL)
|
235 |
|
|
#define pSPORT1_MCMC1 ((volatile unsigned short *)SPORT1_MCMC1)
|
236 |
|
|
#define pSPORT1_MCMC2 ((volatile unsigned short *)SPORT1_MCMC2)
|
237 |
|
|
#define pSPORT1_MTCS0 ((volatile unsigned long *)SPORT1_MTCS0)
|
238 |
|
|
#define pSPORT1_MTCS1 ((volatile unsigned long *)SPORT1_MTCS1)
|
239 |
|
|
#define pSPORT1_MTCS2 ((volatile unsigned long *)SPORT1_MTCS2)
|
240 |
|
|
#define pSPORT1_MTCS3 ((volatile unsigned long *)SPORT1_MTCS3)
|
241 |
|
|
#define pSPORT1_MRCS0 ((volatile unsigned long *)SPORT1_MRCS0)
|
242 |
|
|
#define pSPORT1_MRCS1 ((volatile unsigned long *)SPORT1_MRCS1)
|
243 |
|
|
#define pSPORT1_MRCS2 ((volatile unsigned long *)SPORT1_MRCS2)
|
244 |
|
|
#define pSPORT1_MRCS3 ((volatile unsigned long *)SPORT1_MRCS3)
|
245 |
|
|
|
246 |
|
|
|
247 |
|
|
/* External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */
|
248 |
|
|
#define pEBIU_AMGCTL ((volatile unsigned short *)EBIU_AMGCTL)
|
249 |
|
|
#define pEBIU_AMBCTL0 ((volatile unsigned long *)EBIU_AMBCTL0)
|
250 |
|
|
#define pEBIU_AMBCTL1 ((volatile unsigned long *)EBIU_AMBCTL1)
|
251 |
|
|
#define pEBIU_SDGCTL ((volatile unsigned long *)EBIU_SDGCTL)
|
252 |
|
|
#define pEBIU_SDBCTL ((volatile unsigned short *)EBIU_SDBCTL)
|
253 |
|
|
#define pEBIU_SDRRC ((volatile unsigned short *)EBIU_SDRRC)
|
254 |
|
|
#define pEBIU_SDSTAT ((volatile unsigned short *)EBIU_SDSTAT)
|
255 |
|
|
|
256 |
|
|
|
257 |
|
|
/* DMA Traffic Control Registers */
|
258 |
|
|
#define pDMA_TC_PER ((volatile unsigned short *)DMA_TC_PER)
|
259 |
|
|
#define pDMA_TC_CNT ((volatile unsigned short *)DMA_TC_CNT)
|
260 |
|
|
|
261 |
|
|
/* Alternate deprecated register names (below) provided for backwards code compatibility */
|
262 |
|
|
#define pDMA_TCPER ((volatile unsigned short *)DMA_TCPER)
|
263 |
|
|
#define pDMA_TCCNT ((volatile unsigned short *)DMA_TCCNT)
|
264 |
|
|
|
265 |
|
|
/* DMA Controller */
|
266 |
|
|
#define pDMA0_CONFIG ((volatile unsigned short *)DMA0_CONFIG)
|
267 |
|
|
#define pDMA0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_NEXT_DESC_PTR)
|
268 |
|
|
#define pDMA0_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_START_ADDR)
|
269 |
|
|
#define pDMA0_X_COUNT ((volatile unsigned short *)DMA0_X_COUNT)
|
270 |
|
|
#define pDMA0_Y_COUNT ((volatile unsigned short *)DMA0_Y_COUNT)
|
271 |
|
|
#define pDMA0_X_MODIFY ((volatile signed short *)DMA0_X_MODIFY)
|
272 |
|
|
#define pDMA0_Y_MODIFY ((volatile signed short *)DMA0_Y_MODIFY)
|
273 |
|
|
#define pDMA0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_DESC_PTR)
|
274 |
|
|
#define pDMA0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA0_CURR_ADDR)
|
275 |
|
|
#define pDMA0_CURR_X_COUNT ((volatile unsigned short *)DMA0_CURR_X_COUNT)
|
276 |
|
|
#define pDMA0_CURR_Y_COUNT ((volatile unsigned short *)DMA0_CURR_Y_COUNT)
|
277 |
|
|
#define pDMA0_IRQ_STATUS ((volatile unsigned short *)DMA0_IRQ_STATUS)
|
278 |
|
|
#define pDMA0_PERIPHERAL_MAP ((volatile unsigned short *)DMA0_PERIPHERAL_MAP)
|
279 |
|
|
|
280 |
|
|
#define pDMA1_CONFIG ((volatile unsigned short *)DMA1_CONFIG)
|
281 |
|
|
#define pDMA1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_NEXT_DESC_PTR)
|
282 |
|
|
#define pDMA1_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_START_ADDR)
|
283 |
|
|
#define pDMA1_X_COUNT ((volatile unsigned short *)DMA1_X_COUNT)
|
284 |
|
|
#define pDMA1_Y_COUNT ((volatile unsigned short *)DMA1_Y_COUNT)
|
285 |
|
|
#define pDMA1_X_MODIFY ((volatile signed short *)DMA1_X_MODIFY)
|
286 |
|
|
#define pDMA1_Y_MODIFY ((volatile signed short *)DMA1_Y_MODIFY)
|
287 |
|
|
#define pDMA1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_DESC_PTR)
|
288 |
|
|
#define pDMA1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA1_CURR_ADDR)
|
289 |
|
|
#define pDMA1_CURR_X_COUNT ((volatile unsigned short *)DMA1_CURR_X_COUNT)
|
290 |
|
|
#define pDMA1_CURR_Y_COUNT ((volatile unsigned short *)DMA1_CURR_Y_COUNT)
|
291 |
|
|
#define pDMA1_IRQ_STATUS ((volatile unsigned short *)DMA1_IRQ_STATUS)
|
292 |
|
|
#define pDMA1_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_PERIPHERAL_MAP)
|
293 |
|
|
|
294 |
|
|
#define pDMA2_CONFIG ((volatile unsigned short *)DMA2_CONFIG)
|
295 |
|
|
#define pDMA2_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_NEXT_DESC_PTR)
|
296 |
|
|
#define pDMA2_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_START_ADDR)
|
297 |
|
|
#define pDMA2_X_COUNT ((volatile unsigned short *)DMA2_X_COUNT)
|
298 |
|
|
#define pDMA2_Y_COUNT ((volatile unsigned short *)DMA2_Y_COUNT)
|
299 |
|
|
#define pDMA2_X_MODIFY ((volatile signed short *)DMA2_X_MODIFY)
|
300 |
|
|
#define pDMA2_Y_MODIFY ((volatile signed short *)DMA2_Y_MODIFY)
|
301 |
|
|
#define pDMA2_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_DESC_PTR)
|
302 |
|
|
#define pDMA2_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA2_CURR_ADDR)
|
303 |
|
|
#define pDMA2_CURR_X_COUNT ((volatile unsigned short *)DMA2_CURR_X_COUNT)
|
304 |
|
|
#define pDMA2_CURR_Y_COUNT ((volatile unsigned short *)DMA2_CURR_Y_COUNT)
|
305 |
|
|
#define pDMA2_IRQ_STATUS ((volatile unsigned short *)DMA2_IRQ_STATUS)
|
306 |
|
|
#define pDMA2_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_PERIPHERAL_MAP)
|
307 |
|
|
|
308 |
|
|
#define pDMA3_CONFIG ((volatile unsigned short *)DMA3_CONFIG)
|
309 |
|
|
#define pDMA3_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_NEXT_DESC_PTR)
|
310 |
|
|
#define pDMA3_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_START_ADDR)
|
311 |
|
|
#define pDMA3_X_COUNT ((volatile unsigned short *)DMA3_X_COUNT)
|
312 |
|
|
#define pDMA3_Y_COUNT ((volatile unsigned short *)DMA3_Y_COUNT)
|
313 |
|
|
#define pDMA3_X_MODIFY ((volatile signed short *)DMA3_X_MODIFY)
|
314 |
|
|
#define pDMA3_Y_MODIFY ((volatile signed short *)DMA3_Y_MODIFY)
|
315 |
|
|
#define pDMA3_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_DESC_PTR)
|
316 |
|
|
#define pDMA3_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA3_CURR_ADDR)
|
317 |
|
|
#define pDMA3_CURR_X_COUNT ((volatile unsigned short *)DMA3_CURR_X_COUNT)
|
318 |
|
|
#define pDMA3_CURR_Y_COUNT ((volatile unsigned short *)DMA3_CURR_Y_COUNT)
|
319 |
|
|
#define pDMA3_IRQ_STATUS ((volatile unsigned short *)DMA3_IRQ_STATUS)
|
320 |
|
|
#define pDMA3_PERIPHERAL_MAP ((volatile unsigned short *)DMA3_PERIPHERAL_MAP)
|
321 |
|
|
|
322 |
|
|
#define pDMA4_CONFIG ((volatile unsigned short *)DMA4_CONFIG)
|
323 |
|
|
#define pDMA4_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_NEXT_DESC_PTR)
|
324 |
|
|
#define pDMA4_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_START_ADDR)
|
325 |
|
|
#define pDMA4_X_COUNT ((volatile unsigned short *)DMA4_X_COUNT)
|
326 |
|
|
#define pDMA4_Y_COUNT ((volatile unsigned short *)DMA4_Y_COUNT)
|
327 |
|
|
#define pDMA4_X_MODIFY ((volatile signed short *)DMA4_X_MODIFY)
|
328 |
|
|
#define pDMA4_Y_MODIFY ((volatile signed short *)DMA4_Y_MODIFY)
|
329 |
|
|
#define pDMA4_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_DESC_PTR)
|
330 |
|
|
#define pDMA4_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA4_CURR_ADDR)
|
331 |
|
|
#define pDMA4_CURR_X_COUNT ((volatile unsigned short *)DMA4_CURR_X_COUNT)
|
332 |
|
|
#define pDMA4_CURR_Y_COUNT ((volatile unsigned short *)DMA4_CURR_Y_COUNT)
|
333 |
|
|
#define pDMA4_IRQ_STATUS ((volatile unsigned short *)DMA4_IRQ_STATUS)
|
334 |
|
|
#define pDMA4_PERIPHERAL_MAP ((volatile unsigned short *)DMA4_PERIPHERAL_MAP)
|
335 |
|
|
|
336 |
|
|
#define pDMA5_CONFIG ((volatile unsigned short *)DMA5_CONFIG)
|
337 |
|
|
#define pDMA5_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_NEXT_DESC_PTR)
|
338 |
|
|
#define pDMA5_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_START_ADDR)
|
339 |
|
|
#define pDMA5_X_COUNT ((volatile unsigned short *)DMA5_X_COUNT)
|
340 |
|
|
#define pDMA5_Y_COUNT ((volatile unsigned short *)DMA5_Y_COUNT)
|
341 |
|
|
#define pDMA5_X_MODIFY ((volatile signed short *)DMA5_X_MODIFY)
|
342 |
|
|
#define pDMA5_Y_MODIFY ((volatile signed short *)DMA5_Y_MODIFY)
|
343 |
|
|
#define pDMA5_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_DESC_PTR)
|
344 |
|
|
#define pDMA5_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA5_CURR_ADDR)
|
345 |
|
|
#define pDMA5_CURR_X_COUNT ((volatile unsigned short *)DMA5_CURR_X_COUNT)
|
346 |
|
|
#define pDMA5_CURR_Y_COUNT ((volatile unsigned short *)DMA5_CURR_Y_COUNT)
|
347 |
|
|
#define pDMA5_IRQ_STATUS ((volatile unsigned short *)DMA5_IRQ_STATUS)
|
348 |
|
|
#define pDMA5_PERIPHERAL_MAP ((volatile unsigned short *)DMA5_PERIPHERAL_MAP)
|
349 |
|
|
|
350 |
|
|
#define pDMA6_CONFIG ((volatile unsigned short *)DMA6_CONFIG)
|
351 |
|
|
#define pDMA6_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_NEXT_DESC_PTR)
|
352 |
|
|
#define pDMA6_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_START_ADDR)
|
353 |
|
|
#define pDMA6_X_COUNT ((volatile unsigned short *)DMA6_X_COUNT)
|
354 |
|
|
#define pDMA6_Y_COUNT ((volatile unsigned short *)DMA6_Y_COUNT)
|
355 |
|
|
#define pDMA6_X_MODIFY ((volatile signed short *)DMA6_X_MODIFY)
|
356 |
|
|
#define pDMA6_Y_MODIFY ((volatile signed short *)DMA6_Y_MODIFY)
|
357 |
|
|
#define pDMA6_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_DESC_PTR)
|
358 |
|
|
#define pDMA6_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA6_CURR_ADDR)
|
359 |
|
|
#define pDMA6_CURR_X_COUNT ((volatile unsigned short *)DMA6_CURR_X_COUNT)
|
360 |
|
|
#define pDMA6_CURR_Y_COUNT ((volatile unsigned short *)DMA6_CURR_Y_COUNT)
|
361 |
|
|
#define pDMA6_IRQ_STATUS ((volatile unsigned short *)DMA6_IRQ_STATUS)
|
362 |
|
|
#define pDMA6_PERIPHERAL_MAP ((volatile unsigned short *)DMA6_PERIPHERAL_MAP)
|
363 |
|
|
|
364 |
|
|
#define pDMA7_CONFIG ((volatile unsigned short *)DMA7_CONFIG)
|
365 |
|
|
#define pDMA7_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_NEXT_DESC_PTR)
|
366 |
|
|
#define pDMA7_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_START_ADDR)
|
367 |
|
|
#define pDMA7_X_COUNT ((volatile unsigned short *)DMA7_X_COUNT)
|
368 |
|
|
#define pDMA7_Y_COUNT ((volatile unsigned short *)DMA7_Y_COUNT)
|
369 |
|
|
#define pDMA7_X_MODIFY ((volatile signed short *)DMA7_X_MODIFY)
|
370 |
|
|
#define pDMA7_Y_MODIFY ((volatile signed short *)DMA7_Y_MODIFY)
|
371 |
|
|
#define pDMA7_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_DESC_PTR)
|
372 |
|
|
#define pDMA7_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA7_CURR_ADDR)
|
373 |
|
|
#define pDMA7_CURR_X_COUNT ((volatile unsigned short *)DMA7_CURR_X_COUNT)
|
374 |
|
|
#define pDMA7_CURR_Y_COUNT ((volatile unsigned short *)DMA7_CURR_Y_COUNT)
|
375 |
|
|
#define pDMA7_IRQ_STATUS ((volatile unsigned short *)DMA7_IRQ_STATUS)
|
376 |
|
|
#define pDMA7_PERIPHERAL_MAP ((volatile unsigned short *)DMA7_PERIPHERAL_MAP)
|
377 |
|
|
|
378 |
|
|
#define pDMA8_CONFIG ((volatile unsigned short *)DMA8_CONFIG)
|
379 |
|
|
#define pDMA8_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA8_NEXT_DESC_PTR)
|
380 |
|
|
#define pDMA8_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA8_START_ADDR)
|
381 |
|
|
#define pDMA8_X_COUNT ((volatile unsigned short *)DMA8_X_COUNT)
|
382 |
|
|
#define pDMA8_Y_COUNT ((volatile unsigned short *)DMA8_Y_COUNT)
|
383 |
|
|
#define pDMA8_X_MODIFY ((volatile signed short *)DMA8_X_MODIFY)
|
384 |
|
|
#define pDMA8_Y_MODIFY ((volatile signed short *)DMA8_Y_MODIFY)
|
385 |
|
|
#define pDMA8_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA8_CURR_DESC_PTR)
|
386 |
|
|
#define pDMA8_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA8_CURR_ADDR)
|
387 |
|
|
#define pDMA8_CURR_X_COUNT ((volatile unsigned short *)DMA8_CURR_X_COUNT)
|
388 |
|
|
#define pDMA8_CURR_Y_COUNT ((volatile unsigned short *)DMA8_CURR_Y_COUNT)
|
389 |
|
|
#define pDMA8_IRQ_STATUS ((volatile unsigned short *)DMA8_IRQ_STATUS)
|
390 |
|
|
#define pDMA8_PERIPHERAL_MAP ((volatile unsigned short *)DMA8_PERIPHERAL_MAP)
|
391 |
|
|
|
392 |
|
|
#define pDMA9_CONFIG ((volatile unsigned short *)DMA9_CONFIG)
|
393 |
|
|
#define pDMA9_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA9_NEXT_DESC_PTR)
|
394 |
|
|
#define pDMA9_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA9_START_ADDR)
|
395 |
|
|
#define pDMA9_X_COUNT ((volatile unsigned short *)DMA9_X_COUNT)
|
396 |
|
|
#define pDMA9_Y_COUNT ((volatile unsigned short *)DMA9_Y_COUNT)
|
397 |
|
|
#define pDMA9_X_MODIFY ((volatile signed short *)DMA9_X_MODIFY)
|
398 |
|
|
#define pDMA9_Y_MODIFY ((volatile signed short *)DMA9_Y_MODIFY)
|
399 |
|
|
#define pDMA9_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA9_CURR_DESC_PTR)
|
400 |
|
|
#define pDMA9_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA9_CURR_ADDR)
|
401 |
|
|
#define pDMA9_CURR_X_COUNT ((volatile unsigned short *)DMA9_CURR_X_COUNT)
|
402 |
|
|
#define pDMA9_CURR_Y_COUNT ((volatile unsigned short *)DMA9_CURR_Y_COUNT)
|
403 |
|
|
#define pDMA9_IRQ_STATUS ((volatile unsigned short *)DMA9_IRQ_STATUS)
|
404 |
|
|
#define pDMA9_PERIPHERAL_MAP ((volatile unsigned short *)DMA9_PERIPHERAL_MAP)
|
405 |
|
|
|
406 |
|
|
#define pDMA10_CONFIG ((volatile unsigned short *)DMA10_CONFIG)
|
407 |
|
|
#define pDMA10_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA10_NEXT_DESC_PTR)
|
408 |
|
|
#define pDMA10_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA10_START_ADDR)
|
409 |
|
|
#define pDMA10_X_COUNT ((volatile unsigned short *)DMA10_X_COUNT)
|
410 |
|
|
#define pDMA10_Y_COUNT ((volatile unsigned short *)DMA10_Y_COUNT)
|
411 |
|
|
#define pDMA10_X_MODIFY ((volatile signed short *)DMA10_X_MODIFY)
|
412 |
|
|
#define pDMA10_Y_MODIFY ((volatile signed short *)DMA10_Y_MODIFY)
|
413 |
|
|
#define pDMA10_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA10_CURR_DESC_PTR)
|
414 |
|
|
#define pDMA10_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA10_CURR_ADDR)
|
415 |
|
|
#define pDMA10_CURR_X_COUNT ((volatile unsigned short *)DMA10_CURR_X_COUNT)
|
416 |
|
|
#define pDMA10_CURR_Y_COUNT ((volatile unsigned short *)DMA10_CURR_Y_COUNT)
|
417 |
|
|
#define pDMA10_IRQ_STATUS ((volatile unsigned short *)DMA10_IRQ_STATUS)
|
418 |
|
|
#define pDMA10_PERIPHERAL_MAP ((volatile unsigned short *)DMA10_PERIPHERAL_MAP)
|
419 |
|
|
|
420 |
|
|
#define pDMA11_CONFIG ((volatile unsigned short *)DMA11_CONFIG)
|
421 |
|
|
#define pDMA11_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA11_NEXT_DESC_PTR)
|
422 |
|
|
#define pDMA11_START_ADDR (_PTR_TO_VOL_VOID_PTR DMA11_START_ADDR)
|
423 |
|
|
#define pDMA11_X_COUNT ((volatile unsigned short *)DMA11_X_COUNT)
|
424 |
|
|
#define pDMA11_Y_COUNT ((volatile unsigned short *)DMA11_Y_COUNT)
|
425 |
|
|
#define pDMA11_X_MODIFY ((volatile signed short *)DMA11_X_MODIFY)
|
426 |
|
|
#define pDMA11_Y_MODIFY ((volatile signed short *)DMA11_Y_MODIFY)
|
427 |
|
|
#define pDMA11_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR DMA11_CURR_DESC_PTR)
|
428 |
|
|
#define pDMA11_CURR_ADDR (_PTR_TO_VOL_VOID_PTR DMA11_CURR_ADDR)
|
429 |
|
|
#define pDMA11_CURR_X_COUNT ((volatile unsigned short *)DMA11_CURR_X_COUNT)
|
430 |
|
|
#define pDMA11_CURR_Y_COUNT ((volatile unsigned short *)DMA11_CURR_Y_COUNT)
|
431 |
|
|
#define pDMA11_IRQ_STATUS ((volatile unsigned short *)DMA11_IRQ_STATUS)
|
432 |
|
|
#define pDMA11_PERIPHERAL_MAP ((volatile unsigned short *)DMA11_PERIPHERAL_MAP)
|
433 |
|
|
|
434 |
|
|
#define pMDMA_D0_CONFIG ((volatile unsigned short *)MDMA_D0_CONFIG)
|
435 |
|
|
#define pMDMA_D0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_NEXT_DESC_PTR)
|
436 |
|
|
#define pMDMA_D0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_START_ADDR)
|
437 |
|
|
#define pMDMA_D0_X_COUNT ((volatile unsigned short *)MDMA_D0_X_COUNT)
|
438 |
|
|
#define pMDMA_D0_Y_COUNT ((volatile unsigned short *)MDMA_D0_Y_COUNT)
|
439 |
|
|
#define pMDMA_D0_X_MODIFY ((volatile signed short *)MDMA_D0_X_MODIFY)
|
440 |
|
|
#define pMDMA_D0_Y_MODIFY ((volatile signed short *)MDMA_D0_Y_MODIFY)
|
441 |
|
|
#define pMDMA_D0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_DESC_PTR)
|
442 |
|
|
#define pMDMA_D0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D0_CURR_ADDR)
|
443 |
|
|
#define pMDMA_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA_D0_CURR_X_COUNT)
|
444 |
|
|
#define pMDMA_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D0_CURR_Y_COUNT)
|
445 |
|
|
#define pMDMA_D0_IRQ_STATUS ((volatile unsigned short *)MDMA_D0_IRQ_STATUS)
|
446 |
|
|
#define pMDMA_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D0_PERIPHERAL_MAP)
|
447 |
|
|
|
448 |
|
|
#define pMDMA_S0_CONFIG ((volatile unsigned short *)MDMA_S0_CONFIG)
|
449 |
|
|
#define pMDMA_S0_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_NEXT_DESC_PTR)
|
450 |
|
|
#define pMDMA_S0_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_START_ADDR)
|
451 |
|
|
#define pMDMA_S0_X_COUNT ((volatile unsigned short *)MDMA_S0_X_COUNT)
|
452 |
|
|
#define pMDMA_S0_Y_COUNT ((volatile unsigned short *)MDMA_S0_Y_COUNT)
|
453 |
|
|
#define pMDMA_S0_X_MODIFY ((volatile signed short *)MDMA_S0_X_MODIFY)
|
454 |
|
|
#define pMDMA_S0_Y_MODIFY ((volatile signed short *)MDMA_S0_Y_MODIFY)
|
455 |
|
|
#define pMDMA_S0_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_DESC_PTR)
|
456 |
|
|
#define pMDMA_S0_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S0_CURR_ADDR)
|
457 |
|
|
#define pMDMA_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA_S0_CURR_X_COUNT)
|
458 |
|
|
#define pMDMA_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S0_CURR_Y_COUNT)
|
459 |
|
|
#define pMDMA_S0_IRQ_STATUS ((volatile unsigned short *)MDMA_S0_IRQ_STATUS)
|
460 |
|
|
#define pMDMA_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S0_PERIPHERAL_MAP)
|
461 |
|
|
|
462 |
|
|
#define pMDMA_D1_CONFIG ((volatile unsigned short *)MDMA_D1_CONFIG)
|
463 |
|
|
#define pMDMA_D1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_NEXT_DESC_PTR)
|
464 |
|
|
#define pMDMA_D1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_START_ADDR)
|
465 |
|
|
#define pMDMA_D1_X_COUNT ((volatile unsigned short *)MDMA_D1_X_COUNT)
|
466 |
|
|
#define pMDMA_D1_Y_COUNT ((volatile unsigned short *)MDMA_D1_Y_COUNT)
|
467 |
|
|
#define pMDMA_D1_X_MODIFY ((volatile signed short *)MDMA_D1_X_MODIFY)
|
468 |
|
|
#define pMDMA_D1_Y_MODIFY ((volatile signed short *)MDMA_D1_Y_MODIFY)
|
469 |
|
|
#define pMDMA_D1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_DESC_PTR)
|
470 |
|
|
#define pMDMA_D1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_D1_CURR_ADDR)
|
471 |
|
|
#define pMDMA_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA_D1_CURR_X_COUNT)
|
472 |
|
|
#define pMDMA_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D1_CURR_Y_COUNT)
|
473 |
|
|
#define pMDMA_D1_IRQ_STATUS ((volatile unsigned short *)MDMA_D1_IRQ_STATUS)
|
474 |
|
|
#define pMDMA_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D1_PERIPHERAL_MAP)
|
475 |
|
|
|
476 |
|
|
#define pMDMA_S1_CONFIG ((volatile unsigned short *)MDMA_S1_CONFIG)
|
477 |
|
|
#define pMDMA_S1_NEXT_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_NEXT_DESC_PTR)
|
478 |
|
|
#define pMDMA_S1_START_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_START_ADDR)
|
479 |
|
|
#define pMDMA_S1_X_COUNT ((volatile unsigned short *)MDMA_S1_X_COUNT)
|
480 |
|
|
#define pMDMA_S1_Y_COUNT ((volatile unsigned short *)MDMA_S1_Y_COUNT)
|
481 |
|
|
#define pMDMA_S1_X_MODIFY ((volatile signed short *)MDMA_S1_X_MODIFY)
|
482 |
|
|
#define pMDMA_S1_Y_MODIFY ((volatile signed short *)MDMA_S1_Y_MODIFY)
|
483 |
|
|
#define pMDMA_S1_CURR_DESC_PTR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_DESC_PTR)
|
484 |
|
|
#define pMDMA_S1_CURR_ADDR (_PTR_TO_VOL_VOID_PTR MDMA_S1_CURR_ADDR)
|
485 |
|
|
#define pMDMA_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA_S1_CURR_X_COUNT)
|
486 |
|
|
#define pMDMA_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S1_CURR_Y_COUNT)
|
487 |
|
|
#define pMDMA_S1_IRQ_STATUS ((volatile unsigned short *)MDMA_S1_IRQ_STATUS)
|
488 |
|
|
#define pMDMA_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S1_PERIPHERAL_MAP)
|
489 |
|
|
|
490 |
|
|
|
491 |
|
|
/* Parallel Peripheral Interface (0xFFC01000 - 0xFFC010FF) */
|
492 |
|
|
#define pPPI_CONTROL ((volatile unsigned short *)PPI_CONTROL)
|
493 |
|
|
#define pPPI_STATUS ((volatile unsigned short *)PPI_STATUS)
|
494 |
|
|
#define pPPI_DELAY ((volatile unsigned short *)PPI_DELAY)
|
495 |
|
|
#define pPPI_COUNT ((volatile unsigned short *)PPI_COUNT)
|
496 |
|
|
#define pPPI_FRAME ((volatile unsigned short *)PPI_FRAME)
|
497 |
|
|
|
498 |
|
|
|
499 |
|
|
/* Two-Wire Interface (0xFFC01400 - 0xFFC014FF) */
|
500 |
|
|
#define pTWI_CLKDIV ((volatile unsigned short *)TWI_CLKDIV)
|
501 |
|
|
#define pTWI_CONTROL ((volatile unsigned short *)TWI_CONTROL)
|
502 |
|
|
#define pTWI_SLAVE_CTL ((volatile unsigned short *)TWI_SLAVE_CTL)
|
503 |
|
|
#define pTWI_SLAVE_STAT ((volatile unsigned short *)TWI_SLAVE_STAT)
|
504 |
|
|
#define pTWI_SLAVE_ADDR ((volatile unsigned short *)TWI_SLAVE_ADDR)
|
505 |
|
|
#define pTWI_MASTER_CTL ((volatile unsigned short *)TWI_MASTER_CTL)
|
506 |
|
|
#define pTWI_MASTER_STAT ((volatile unsigned short *)TWI_MASTER_STAT)
|
507 |
|
|
#define pTWI_MASTER_ADDR ((volatile unsigned short *)TWI_MASTER_ADDR)
|
508 |
|
|
#define pTWI_INT_STAT ((volatile unsigned short *)TWI_INT_STAT)
|
509 |
|
|
#define pTWI_INT_MASK ((volatile unsigned short *)TWI_INT_MASK)
|
510 |
|
|
#define pTWI_FIFO_CTL ((volatile unsigned short *)TWI_FIFO_CTL)
|
511 |
|
|
#define pTWI_FIFO_STAT ((volatile unsigned short *)TWI_FIFO_STAT)
|
512 |
|
|
#define pTWI_XMT_DATA8 ((volatile unsigned short *)TWI_XMT_DATA8)
|
513 |
|
|
#define pTWI_XMT_DATA16 ((volatile unsigned short *)TWI_XMT_DATA16)
|
514 |
|
|
#define pTWI_RCV_DATA8 ((volatile unsigned short *)TWI_RCV_DATA8)
|
515 |
|
|
#define pTWI_RCV_DATA16 ((volatile unsigned short *)TWI_RCV_DATA16)
|
516 |
|
|
|
517 |
|
|
|
518 |
|
|
/* General Purpose I/O Port G (0xFFC01500 - 0xFFC015FF) */
|
519 |
|
|
#define pPORTGIO ((volatile unsigned short *)PORTGIO)
|
520 |
|
|
#define pPORTGIO_CLEAR ((volatile unsigned short *)PORTGIO_CLEAR)
|
521 |
|
|
#define pPORTGIO_SET ((volatile unsigned short *)PORTGIO_SET)
|
522 |
|
|
#define pPORTGIO_TOGGLE ((volatile unsigned short *)PORTGIO_TOGGLE)
|
523 |
|
|
#define pPORTGIO_MASKA ((volatile unsigned short *)PORTGIO_MASKA)
|
524 |
|
|
#define pPORTGIO_MASKA_CLEAR ((volatile unsigned short *)PORTGIO_MASKA_CLEAR)
|
525 |
|
|
#define pPORTGIO_MASKA_SET ((volatile unsigned short *)PORTGIO_MASKA_SET)
|
526 |
|
|
#define pPORTGIO_MASKA_TOGGLE ((volatile unsigned short *)PORTGIO_MASKA_TOGGLE)
|
527 |
|
|
#define pPORTGIO_MASKB ((volatile unsigned short *)PORTGIO_MASKB)
|
528 |
|
|
#define pPORTGIO_MASKB_CLEAR ((volatile unsigned short *)PORTGIO_MASKB_CLEAR)
|
529 |
|
|
#define pPORTGIO_MASKB_SET ((volatile unsigned short *)PORTGIO_MASKB_SET)
|
530 |
|
|
#define pPORTGIO_MASKB_TOGGLE ((volatile unsigned short *)PORTGIO_MASKB_TOGGLE)
|
531 |
|
|
#define pPORTGIO_DIR ((volatile unsigned short *)PORTGIO_DIR)
|
532 |
|
|
#define pPORTGIO_POLAR ((volatile unsigned short *)PORTGIO_POLAR)
|
533 |
|
|
#define pPORTGIO_EDGE ((volatile unsigned short *)PORTGIO_EDGE)
|
534 |
|
|
#define pPORTGIO_BOTH ((volatile unsigned short *)PORTGIO_BOTH)
|
535 |
|
|
#define pPORTGIO_INEN ((volatile unsigned short *)PORTGIO_INEN)
|
536 |
|
|
|
537 |
|
|
|
538 |
|
|
/* General Purpose I/O Port H (0xFFC01700 - 0xFFC017FF) */
|
539 |
|
|
#define pPORTHIO ((volatile unsigned short *)PORTHIO)
|
540 |
|
|
#define pPORTHIO_CLEAR ((volatile unsigned short *)PORTHIO_CLEAR)
|
541 |
|
|
#define pPORTHIO_SET ((volatile unsigned short *)PORTHIO_SET)
|
542 |
|
|
#define pPORTHIO_TOGGLE ((volatile unsigned short *)PORTHIO_TOGGLE)
|
543 |
|
|
#define pPORTHIO_MASKA ((volatile unsigned short *)PORTHIO_MASKA)
|
544 |
|
|
#define pPORTHIO_MASKA_CLEAR ((volatile unsigned short *)PORTHIO_MASKA_CLEAR)
|
545 |
|
|
#define pPORTHIO_MASKA_SET ((volatile unsigned short *)PORTHIO_MASKA_SET)
|
546 |
|
|
#define pPORTHIO_MASKA_TOGGLE ((volatile unsigned short *)PORTHIO_MASKA_TOGGLE)
|
547 |
|
|
#define pPORTHIO_MASKB ((volatile unsigned short *)PORTHIO_MASKB)
|
548 |
|
|
#define pPORTHIO_MASKB_CLEAR ((volatile unsigned short *)PORTHIO_MASKB_CLEAR)
|
549 |
|
|
#define pPORTHIO_MASKB_SET ((volatile unsigned short *)PORTHIO_MASKB_SET)
|
550 |
|
|
#define pPORTHIO_MASKB_TOGGLE ((volatile unsigned short *)PORTHIO_MASKB_TOGGLE)
|
551 |
|
|
#define pPORTHIO_DIR ((volatile unsigned short *)PORTHIO_DIR)
|
552 |
|
|
#define pPORTHIO_POLAR ((volatile unsigned short *)PORTHIO_POLAR)
|
553 |
|
|
#define pPORTHIO_EDGE ((volatile unsigned short *)PORTHIO_EDGE)
|
554 |
|
|
#define pPORTHIO_BOTH ((volatile unsigned short *)PORTHIO_BOTH)
|
555 |
|
|
#define pPORTHIO_INEN ((volatile unsigned short *)PORTHIO_INEN)
|
556 |
|
|
|
557 |
|
|
|
558 |
|
|
/* UART1 Controller (0xFFC02000 - 0xFFC020FF) */
|
559 |
|
|
#define pUART1_THR ((volatile unsigned short *)UART1_THR)
|
560 |
|
|
#define pUART1_RBR ((volatile unsigned short *)UART1_RBR)
|
561 |
|
|
#define pUART1_DLL ((volatile unsigned short *)UART1_DLL)
|
562 |
|
|
#define pUART1_IER ((volatile unsigned short *)UART1_IER)
|
563 |
|
|
#define pUART1_DLH ((volatile unsigned short *)UART1_DLH)
|
564 |
|
|
#define pUART1_IIR ((volatile unsigned short *)UART1_IIR)
|
565 |
|
|
#define pUART1_LCR ((volatile unsigned short *)UART1_LCR)
|
566 |
|
|
#define pUART1_MCR ((volatile unsigned short *)UART1_MCR)
|
567 |
|
|
#define pUART1_LSR ((volatile unsigned short *)UART1_LSR)
|
568 |
|
|
#define pUART1_MSR ((volatile unsigned short *)UART1_LSR)
|
569 |
|
|
#define pUART1_SCR ((volatile unsigned short *)UART1_SCR)
|
570 |
|
|
#define pUART1_GCTL ((volatile unsigned short *)UART1_GCTL)
|
571 |
|
|
|
572 |
|
|
/* Omit CAN register sets from the cdefBF534.h (CAN is not in the ADSP-BF52x processor) */
|
573 |
|
|
|
574 |
|
|
/* Pin Control Registers (0xFFC03200 - 0xFFC032FF) */
|
575 |
|
|
#define pPORTF_FER ((volatile unsigned short *)PORTF_FER)
|
576 |
|
|
#define pPORTG_FER ((volatile unsigned short *)PORTG_FER)
|
577 |
|
|
#define pPORTH_FER ((volatile unsigned short *)PORTH_FER)
|
578 |
|
|
|
579 |
|
|
|
580 |
|
|
/* Handshake MDMA Registers (0xFFC03300 - 0xFFC033FF) */
|
581 |
|
|
#define pHMDMA0_CONTROL ((volatile unsigned short *)HMDMA0_CONTROL)
|
582 |
|
|
#define pHMDMA0_ECINIT ((volatile unsigned short *)HMDMA0_ECINIT)
|
583 |
|
|
#define pHMDMA0_BCINIT ((volatile unsigned short *)HMDMA0_BCINIT)
|
584 |
|
|
#define pHMDMA0_ECURGENT ((volatile unsigned short *)HMDMA0_ECURGENT)
|
585 |
|
|
#define pHMDMA0_ECOVERFLOW ((volatile unsigned short *)HMDMA0_ECOVERFLOW)
|
586 |
|
|
#define pHMDMA0_ECOUNT ((volatile unsigned short *)HMDMA0_ECOUNT)
|
587 |
|
|
#define pHMDMA0_BCOUNT ((volatile unsigned short *)HMDMA0_BCOUNT)
|
588 |
|
|
|
589 |
|
|
#define pHMDMA1_CONTROL ((volatile unsigned short *)HMDMA1_CONTROL)
|
590 |
|
|
#define pHMDMA1_ECINIT ((volatile unsigned short *)HMDMA1_ECINIT)
|
591 |
|
|
#define pHMDMA1_BCINIT ((volatile unsigned short *)HMDMA1_BCINIT)
|
592 |
|
|
#define pHMDMA1_ECURGENT ((volatile unsigned short *)HMDMA1_ECURGENT)
|
593 |
|
|
#define pHMDMA1_ECOVERFLOW ((volatile unsigned short *)HMDMA1_ECOVERFLOW)
|
594 |
|
|
#define pHMDMA1_ECOUNT ((volatile unsigned short *)HMDMA1_ECOUNT)
|
595 |
|
|
#define pHMDMA1_BCOUNT ((volatile unsigned short *)HMDMA1_BCOUNT)
|
596 |
|
|
|
597 |
|
|
/* ==== end from cdefBF534.h ==== */
|
598 |
|
|
|
599 |
|
|
/* GPIO PIN mux (0xFFC03210 - OxFFC03288) */
|
600 |
|
|
|
601 |
|
|
#define pPORTF_MUX ((volatile unsigned short *)PORTF_MUX)
|
602 |
|
|
#define pPORTG_MUX ((volatile unsigned short *)PORTG_MUX)
|
603 |
|
|
#define pPORTH_MUX ((volatile unsigned short *)PORTH_MUX)
|
604 |
|
|
|
605 |
|
|
#define pPORTF_DRIVE ((volatile unsigned short *)PORTF_DRIVE)
|
606 |
|
|
#define pPORTG_DRIVE ((volatile unsigned short *)PORTG_DRIVE)
|
607 |
|
|
#define pPORTH_DRIVE ((volatile unsigned short *)PORTH_DRIVE)
|
608 |
|
|
#define pPORTF_SLEW ((volatile unsigned short *)PORTF_SLEW)
|
609 |
|
|
#define pPORTG_SLEW ((volatile unsigned short *)PORTG_SLEW)
|
610 |
|
|
#define pPORTH_SLEW ((volatile unsigned short *)PORTH_SLEW)
|
611 |
|
|
#define pPORTF_HYSTERESIS ((volatile unsigned short *)PORTF_HYSTERESIS)
|
612 |
|
|
#define pPORTG_HYSTERESIS ((volatile unsigned short *)PORTG_HYSTERESIS)
|
613 |
|
|
#define pPORTH_HYSTERESIS ((volatile unsigned short *)PORTH_HYSTERESIS)
|
614 |
|
|
#define pNONGPIO_DRIVE ((volatile unsigned short *)NONGPIO_DRIVE)
|
615 |
|
|
#define pNONGPIO_SLEW ((volatile unsigned short *)NONGPIO_SLEW)
|
616 |
|
|
#define pNONGPIO_HYSTERESIS ((volatile unsigned short *)NONGPIO_HYSTERESIS)
|
617 |
|
|
|
618 |
|
|
/* HOST Port Registers */
|
619 |
|
|
|
620 |
|
|
#define pHOST_CONTROL ((volatile unsigned short *)HOST_CONTROL)
|
621 |
|
|
#define pHOST_STATUS ((volatile unsigned short *)HOST_STATUS)
|
622 |
|
|
#define pHOST_TIMEOUT ((volatile unsigned short *)HOST_TIMEOUT)
|
623 |
|
|
|
624 |
|
|
/* Counter Registers */
|
625 |
|
|
|
626 |
|
|
#define pCNT_CONFIG ((volatile unsigned short *)CNT_CONFIG)
|
627 |
|
|
#define pCNT_IMASK ((volatile unsigned short *)CNT_IMASK)
|
628 |
|
|
#define pCNT_STATUS ((volatile unsigned short *)CNT_STATUS)
|
629 |
|
|
#define pCNT_COMMAND ((volatile unsigned short *)CNT_COMMAND)
|
630 |
|
|
#define pCNT_DEBOUNCE ((volatile unsigned short *)CNT_DEBOUNCE)
|
631 |
|
|
#define pCNT_COUNTER ((volatile unsigned long *)CNT_COUNTER)
|
632 |
|
|
#define pCNT_MAX ((volatile unsigned long *)CNT_MAX)
|
633 |
|
|
#define pCNT_MIN ((volatile unsigned long *)CNT_MIN)
|
634 |
|
|
|
635 |
|
|
/* OTP/FUSE Registers */
|
636 |
|
|
|
637 |
|
|
#define pOTP_CONTROL ((volatile unsigned short *)OTP_CONTROL)
|
638 |
|
|
#define pOTP_BEN ((volatile unsigned short *)OTP_BEN)
|
639 |
|
|
#define pOTP_STATUS ((volatile unsigned short *)OTP_STATUS)
|
640 |
|
|
#define pOTP_TIMING ((volatile unsigned long *)OTP_TIMING)
|
641 |
|
|
|
642 |
|
|
/* Security Registers */
|
643 |
|
|
|
644 |
|
|
#define pSECURE_SYSSWT ((volatile unsigned long *)SECURE_SYSSWT)
|
645 |
|
|
#define pSECURE_CONTROL ((volatile unsigned short *)SECURE_CONTROL)
|
646 |
|
|
#define pSECURE_STATUS ((volatile unsigned short *)SECURE_STATUS)
|
647 |
|
|
|
648 |
|
|
/* OTP Read/Write Data Buffer Registers */
|
649 |
|
|
|
650 |
|
|
#define pOTP_DATA0 ((volatile unsigned long *)OTP_DATA0)
|
651 |
|
|
#define pOTP_DATA1 ((volatile unsigned long *)OTP_DATA1)
|
652 |
|
|
#define pOTP_DATA2 ((volatile unsigned long *)OTP_DATA2)
|
653 |
|
|
#define pOTP_DATA3 ((volatile unsigned long *)OTP_DATA3)
|
654 |
|
|
|
655 |
|
|
/* NFC Registers */
|
656 |
|
|
|
657 |
|
|
#define pNFC_CTL ((volatile unsigned short *)NFC_CTL)
|
658 |
|
|
#define pNFC_STAT ((volatile unsigned short *)NFC_STAT)
|
659 |
|
|
#define pNFC_IRQSTAT ((volatile unsigned short *)NFC_IRQSTAT)
|
660 |
|
|
#define pNFC_IRQMASK ((volatile unsigned short *)NFC_IRQMASK)
|
661 |
|
|
#define pNFC_ECC0 ((volatile unsigned short *)NFC_ECC0)
|
662 |
|
|
#define pNFC_ECC1 ((volatile unsigned short *)NFC_ECC1)
|
663 |
|
|
#define pNFC_ECC2 ((volatile unsigned short *)NFC_ECC2)
|
664 |
|
|
#define pNFC_ECC3 ((volatile unsigned short *)NFC_ECC3)
|
665 |
|
|
#define pNFC_COUNT ((volatile unsigned short *)NFC_COUNT)
|
666 |
|
|
#define pNFC_RST ((volatile unsigned short *)NFC_RST)
|
667 |
|
|
#define pNFC_PGCTL ((volatile unsigned short *)NFC_PGCTL)
|
668 |
|
|
#define pNFC_READ ((volatile unsigned short *)NFC_READ)
|
669 |
|
|
#define pNFC_ADDR ((volatile unsigned short *)NFC_ADDR)
|
670 |
|
|
#define pNFC_CMD ((volatile unsigned short *)NFC_CMD)
|
671 |
|
|
#define pNFC_DATA_WR ((volatile unsigned short *)NFC_DATA_WR)
|
672 |
|
|
#define pNFC_DATA_RD ((volatile unsigned short *)NFC_DATA_RD)
|
673 |
|
|
|
674 |
|
|
#endif /* _CDEF_BF52X_H */
|