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 |
|
|
** cdefBF548.h
|
15 |
|
|
**
|
16 |
|
|
** Copyright (C) 2008 Analog Devices, Inc.
|
17 |
|
|
**
|
18 |
|
|
************************************************************************************
|
19 |
|
|
**
|
20 |
|
|
** This include file contains a list of macro "defines" to enable the programmer
|
21 |
|
|
** to use symbolic names for the ADSP-BF548 peripherals.
|
22 |
|
|
**
|
23 |
|
|
************************************************************************************
|
24 |
|
|
** System MMR Register Map
|
25 |
|
|
************************************************************************************/
|
26 |
|
|
|
27 |
|
|
#ifndef _CDEF_BF548_H
|
28 |
|
|
#define _CDEF_BF548_H
|
29 |
|
|
|
30 |
|
|
/* include all Core registers and bit definitions */
|
31 |
|
|
#include <defBF548.h>
|
32 |
|
|
|
33 |
|
|
/* include core specific register pointer definitions */
|
34 |
|
|
#include <cdef_LPBlackfin.h>
|
35 |
|
|
|
36 |
|
|
/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF548 */
|
37 |
|
|
|
38 |
|
|
/* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
|
39 |
|
|
#include <cdefBF54x_base.h>
|
40 |
|
|
|
41 |
|
|
/* The following are the #defines needed by ADSP-BF548 that are not in the common header */
|
42 |
|
|
|
43 |
|
|
/* Timer Registers */
|
44 |
|
|
|
45 |
|
|
#define pTIMER8_CONFIG ((volatile unsigned short *)TIMER8_CONFIG)
|
46 |
|
|
#define pTIMER8_COUNTER ((volatile unsigned long *)TIMER8_COUNTER)
|
47 |
|
|
#define pTIMER8_PERIOD ((volatile unsigned long *)TIMER8_PERIOD)
|
48 |
|
|
#define pTIMER8_WIDTH ((volatile unsigned long *)TIMER8_WIDTH)
|
49 |
|
|
#define pTIMER9_CONFIG ((volatile unsigned short *)TIMER9_CONFIG)
|
50 |
|
|
#define pTIMER9_COUNTER ((volatile unsigned long *)TIMER9_COUNTER)
|
51 |
|
|
#define pTIMER9_PERIOD ((volatile unsigned long *)TIMER9_PERIOD)
|
52 |
|
|
#define pTIMER9_WIDTH ((volatile unsigned long *)TIMER9_WIDTH)
|
53 |
|
|
#define pTIMER10_CONFIG ((volatile unsigned short *)TIMER10_CONFIG)
|
54 |
|
|
#define pTIMER10_COUNTER ((volatile unsigned long *)TIMER10_COUNTER)
|
55 |
|
|
#define pTIMER10_PERIOD ((volatile unsigned long *)TIMER10_PERIOD)
|
56 |
|
|
#define pTIMER10_WIDTH ((volatile unsigned long *)TIMER10_WIDTH)
|
57 |
|
|
|
58 |
|
|
/* Timer Group of 3 */
|
59 |
|
|
|
60 |
|
|
#define pTIMER_ENABLE1 ((volatile unsigned short *)TIMER_ENABLE1)
|
61 |
|
|
#define pTIMER_DISABLE1 ((volatile unsigned short *)TIMER_DISABLE1)
|
62 |
|
|
#define pTIMER_STATUS1 ((volatile unsigned long *)TIMER_STATUS1)
|
63 |
|
|
|
64 |
|
|
/* SPORT0 Registers */
|
65 |
|
|
|
66 |
|
|
#define pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1)
|
67 |
|
|
#define pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2)
|
68 |
|
|
#define pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV)
|
69 |
|
|
#define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV)
|
70 |
|
|
#define pSPORT0_TX ((volatile unsigned long *)SPORT0_TX)
|
71 |
|
|
#define pSPORT0_RX ((volatile unsigned long *)SPORT0_RX)
|
72 |
|
|
#define pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1)
|
73 |
|
|
#define pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2)
|
74 |
|
|
#define pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV)
|
75 |
|
|
#define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV)
|
76 |
|
|
#define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT)
|
77 |
|
|
#define pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL)
|
78 |
|
|
#define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1)
|
79 |
|
|
#define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2)
|
80 |
|
|
#define pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0)
|
81 |
|
|
#define pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1)
|
82 |
|
|
#define pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2)
|
83 |
|
|
#define pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3)
|
84 |
|
|
#define pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0)
|
85 |
|
|
#define pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1)
|
86 |
|
|
#define pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2)
|
87 |
|
|
#define pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3)
|
88 |
|
|
|
89 |
|
|
/* EPPI0 Registers */
|
90 |
|
|
|
91 |
|
|
#define pEPPI0_STATUS ((volatile unsigned short *)EPPI0_STATUS)
|
92 |
|
|
#define pEPPI0_HCOUNT ((volatile unsigned short *)EPPI0_HCOUNT)
|
93 |
|
|
#define pEPPI0_HDELAY ((volatile unsigned short *)EPPI0_HDELAY)
|
94 |
|
|
#define pEPPI0_VCOUNT ((volatile unsigned short *)EPPI0_VCOUNT)
|
95 |
|
|
#define pEPPI0_VDELAY ((volatile unsigned short *)EPPI0_VDELAY)
|
96 |
|
|
#define pEPPI0_FRAME ((volatile unsigned short *)EPPI0_FRAME)
|
97 |
|
|
#define pEPPI0_LINE ((volatile unsigned short *)EPPI0_LINE)
|
98 |
|
|
#define pEPPI0_CLKDIV ((volatile unsigned short *)EPPI0_CLKDIV)
|
99 |
|
|
#define pEPPI0_CONTROL ((volatile unsigned long *)EPPI0_CONTROL)
|
100 |
|
|
#define pEPPI0_FS1W_HBL ((volatile unsigned long *)EPPI0_FS1W_HBL)
|
101 |
|
|
#define pEPPI0_FS1P_AVPL ((volatile unsigned long *)EPPI0_FS1P_AVPL)
|
102 |
|
|
#define pEPPI0_FS2W_LVB ((volatile unsigned long *)EPPI0_FS2W_LVB)
|
103 |
|
|
#define pEPPI0_FS2P_LAVF ((volatile unsigned long *)EPPI0_FS2P_LAVF)
|
104 |
|
|
#define pEPPI0_CLIP ((volatile unsigned long *)EPPI0_CLIP)
|
105 |
|
|
|
106 |
|
|
/* UART2 Registers */
|
107 |
|
|
|
108 |
|
|
#define pUART2_DLL ((volatile unsigned short *)UART2_DLL)
|
109 |
|
|
#define pUART2_DLH ((volatile unsigned short *)UART2_DLH)
|
110 |
|
|
#define pUART2_GCTL ((volatile unsigned short *)UART2_GCTL)
|
111 |
|
|
#define pUART2_LCR ((volatile unsigned short *)UART2_LCR)
|
112 |
|
|
#define pUART2_MCR ((volatile unsigned short *)UART2_MCR)
|
113 |
|
|
#define pUART2_LSR ((volatile unsigned short *)UART2_LSR)
|
114 |
|
|
#define pUART2_MSR ((volatile unsigned short *)UART2_MSR)
|
115 |
|
|
#define pUART2_SCR ((volatile unsigned short *)UART2_SCR)
|
116 |
|
|
#define pUART2_IER_SET ((volatile unsigned short *)UART2_IER_SET)
|
117 |
|
|
#define pUART2_IER_CLEAR ((volatile unsigned short *)UART2_IER_CLEAR)
|
118 |
|
|
#define pUART2_THR ((volatile unsigned short *)UART2_THR)
|
119 |
|
|
#define pUART2_RBR ((volatile unsigned short *)UART2_RBR)
|
120 |
|
|
|
121 |
|
|
/* Two Wire Interface Registers (TWI1) */
|
122 |
|
|
|
123 |
|
|
#define pTWI1_CLKDIV ((volatile unsigned short *)TWI1_CLKDIV)
|
124 |
|
|
#define pTWI1_CONTROL ((volatile unsigned short *)TWI1_CONTROL)
|
125 |
|
|
#define pTWI1_SLAVE_CTL ((volatile unsigned short *)TWI1_SLAVE_CTL)
|
126 |
|
|
#define pTWI1_SLAVE_STAT ((volatile unsigned short *)TWI1_SLAVE_STAT)
|
127 |
|
|
#define pTWI1_SLAVE_ADDR ((volatile unsigned short *)TWI1_SLAVE_ADDR)
|
128 |
|
|
#define pTWI1_MASTER_CTL ((volatile unsigned short *)TWI1_MASTER_CTL)
|
129 |
|
|
#define pTWI1_MASTER_STAT ((volatile unsigned short *)TWI1_MASTER_STAT)
|
130 |
|
|
#define pTWI1_MASTER_ADDR ((volatile unsigned short *)TWI1_MASTER_ADDR)
|
131 |
|
|
#define pTWI1_INT_STAT ((volatile unsigned short *)TWI1_INT_STAT)
|
132 |
|
|
#define pTWI1_INT_MASK ((volatile unsigned short *)TWI1_INT_MASK)
|
133 |
|
|
#define pTWI1_FIFO_CTL ((volatile unsigned short *)TWI1_FIFO_CTL)
|
134 |
|
|
#define pTWI1_FIFO_STAT ((volatile unsigned short *)TWI1_FIFO_STAT)
|
135 |
|
|
#define pTWI1_XMT_DATA8 ((volatile unsigned short *)TWI1_XMT_DATA8)
|
136 |
|
|
#define pTWI1_XMT_DATA16 ((volatile unsigned short *)TWI1_XMT_DATA16)
|
137 |
|
|
#define pTWI1_RCV_DATA8 ((volatile unsigned short *)TWI1_RCV_DATA8)
|
138 |
|
|
#define pTWI1_RCV_DATA16 ((volatile unsigned short *)TWI1_RCV_DATA16)
|
139 |
|
|
|
140 |
|
|
/* SPI2 Registers */
|
141 |
|
|
|
142 |
|
|
#define pSPI2_CTL ((volatile unsigned short *)SPI2_CTL)
|
143 |
|
|
#define pSPI2_FLG ((volatile unsigned short *)SPI2_FLG)
|
144 |
|
|
#define pSPI2_STAT ((volatile unsigned short *)SPI2_STAT)
|
145 |
|
|
#define pSPI2_TDBR ((volatile unsigned short *)SPI2_TDBR)
|
146 |
|
|
#define pSPI2_RDBR ((volatile unsigned short *)SPI2_RDBR)
|
147 |
|
|
#define pSPI2_BAUD ((volatile unsigned short *)SPI2_BAUD)
|
148 |
|
|
#define pSPI2_SHADOW ((volatile unsigned short *)SPI2_SHADOW)
|
149 |
|
|
|
150 |
|
|
/* CAN Controller 1 Config 1 Registers */
|
151 |
|
|
|
152 |
|
|
#define pCAN1_MC1 ((volatile unsigned short *)CAN1_MC1)
|
153 |
|
|
#define pCAN1_MD1 ((volatile unsigned short *)CAN1_MD1)
|
154 |
|
|
#define pCAN1_TRS1 ((volatile unsigned short *)CAN1_TRS1)
|
155 |
|
|
#define pCAN1_TRR1 ((volatile unsigned short *)CAN1_TRR1)
|
156 |
|
|
#define pCAN1_TA1 ((volatile unsigned short *)CAN1_TA1)
|
157 |
|
|
#define pCAN1_AA1 ((volatile unsigned short *)CAN1_AA1)
|
158 |
|
|
#define pCAN1_RMP1 ((volatile unsigned short *)CAN1_RMP1)
|
159 |
|
|
#define pCAN1_RML1 ((volatile unsigned short *)CAN1_RML1)
|
160 |
|
|
#define pCAN1_MBTIF1 ((volatile unsigned short *)CAN1_MBTIF1)
|
161 |
|
|
#define pCAN1_MBRIF1 ((volatile unsigned short *)CAN1_MBRIF1)
|
162 |
|
|
#define pCAN1_MBIM1 ((volatile unsigned short *)CAN1_MBIM1)
|
163 |
|
|
#define pCAN1_RFH1 ((volatile unsigned short *)CAN1_RFH1)
|
164 |
|
|
#define pCAN1_OPSS1 ((volatile unsigned short *)CAN1_OPSS1)
|
165 |
|
|
|
166 |
|
|
/* CAN Controller 1 Config 2 Registers */
|
167 |
|
|
|
168 |
|
|
#define pCAN1_MC2 ((volatile unsigned short *)CAN1_MC2)
|
169 |
|
|
#define pCAN1_MD2 ((volatile unsigned short *)CAN1_MD2)
|
170 |
|
|
#define pCAN1_TRS2 ((volatile unsigned short *)CAN1_TRS2)
|
171 |
|
|
#define pCAN1_TRR2 ((volatile unsigned short *)CAN1_TRR2)
|
172 |
|
|
#define pCAN1_TA2 ((volatile unsigned short *)CAN1_TA2)
|
173 |
|
|
#define pCAN1_AA2 ((volatile unsigned short *)CAN1_AA2)
|
174 |
|
|
#define pCAN1_RMP2 ((volatile unsigned short *)CAN1_RMP2)
|
175 |
|
|
#define pCAN1_RML2 ((volatile unsigned short *)CAN1_RML2)
|
176 |
|
|
#define pCAN1_MBTIF2 ((volatile unsigned short *)CAN1_MBTIF2)
|
177 |
|
|
#define pCAN1_MBRIF2 ((volatile unsigned short *)CAN1_MBRIF2)
|
178 |
|
|
#define pCAN1_MBIM2 ((volatile unsigned short *)CAN1_MBIM2)
|
179 |
|
|
#define pCAN1_RFH2 ((volatile unsigned short *)CAN1_RFH2)
|
180 |
|
|
#define pCAN1_OPSS2 ((volatile unsigned short *)CAN1_OPSS2)
|
181 |
|
|
|
182 |
|
|
/* CAN Controller 1 Clock/Interrupt/Counter Registers */
|
183 |
|
|
|
184 |
|
|
#define pCAN1_CLOCK ((volatile unsigned short *)CAN1_CLOCK)
|
185 |
|
|
#define pCAN1_TIMING ((volatile unsigned short *)CAN1_TIMING)
|
186 |
|
|
#define pCAN1_DEBUG ((volatile unsigned short *)CAN1_DEBUG)
|
187 |
|
|
#define pCAN1_STATUS ((volatile unsigned short *)CAN1_STATUS)
|
188 |
|
|
#define pCAN1_CEC ((volatile unsigned short *)CAN1_CEC)
|
189 |
|
|
#define pCAN1_GIS ((volatile unsigned short *)CAN1_GIS)
|
190 |
|
|
#define pCAN1_GIM ((volatile unsigned short *)CAN1_GIM)
|
191 |
|
|
#define pCAN1_GIF ((volatile unsigned short *)CAN1_GIF)
|
192 |
|
|
#define pCAN1_CONTROL ((volatile unsigned short *)CAN1_CONTROL)
|
193 |
|
|
#define pCAN1_INTR ((volatile unsigned short *)CAN1_INTR)
|
194 |
|
|
#define pCAN1_MBTD ((volatile unsigned short *)CAN1_MBTD)
|
195 |
|
|
#define pCAN1_EWR ((volatile unsigned short *)CAN1_EWR)
|
196 |
|
|
#define pCAN1_ESR ((volatile unsigned short *)CAN1_ESR)
|
197 |
|
|
#define pCAN1_UCCNT ((volatile unsigned short *)CAN1_UCCNT)
|
198 |
|
|
#define pCAN1_UCRC ((volatile unsigned short *)CAN1_UCRC)
|
199 |
|
|
#define pCAN1_UCCNF ((volatile unsigned short *)CAN1_UCCNF)
|
200 |
|
|
|
201 |
|
|
/* CAN Controller 1 Mailbox Acceptance Registers */
|
202 |
|
|
|
203 |
|
|
#define pCAN1_AM00L ((volatile unsigned short *)CAN1_AM00L)
|
204 |
|
|
#define pCAN1_AM00H ((volatile unsigned short *)CAN1_AM00H)
|
205 |
|
|
#define pCAN1_AM01L ((volatile unsigned short *)CAN1_AM01L)
|
206 |
|
|
#define pCAN1_AM01H ((volatile unsigned short *)CAN1_AM01H)
|
207 |
|
|
#define pCAN1_AM02L ((volatile unsigned short *)CAN1_AM02L)
|
208 |
|
|
#define pCAN1_AM02H ((volatile unsigned short *)CAN1_AM02H)
|
209 |
|
|
#define pCAN1_AM03L ((volatile unsigned short *)CAN1_AM03L)
|
210 |
|
|
#define pCAN1_AM03H ((volatile unsigned short *)CAN1_AM03H)
|
211 |
|
|
#define pCAN1_AM04L ((volatile unsigned short *)CAN1_AM04L)
|
212 |
|
|
#define pCAN1_AM04H ((volatile unsigned short *)CAN1_AM04H)
|
213 |
|
|
#define pCAN1_AM05L ((volatile unsigned short *)CAN1_AM05L)
|
214 |
|
|
#define pCAN1_AM05H ((volatile unsigned short *)CAN1_AM05H)
|
215 |
|
|
#define pCAN1_AM06L ((volatile unsigned short *)CAN1_AM06L)
|
216 |
|
|
#define pCAN1_AM06H ((volatile unsigned short *)CAN1_AM06H)
|
217 |
|
|
#define pCAN1_AM07L ((volatile unsigned short *)CAN1_AM07L)
|
218 |
|
|
#define pCAN1_AM07H ((volatile unsigned short *)CAN1_AM07H)
|
219 |
|
|
#define pCAN1_AM08L ((volatile unsigned short *)CAN1_AM08L)
|
220 |
|
|
#define pCAN1_AM08H ((volatile unsigned short *)CAN1_AM08H)
|
221 |
|
|
#define pCAN1_AM09L ((volatile unsigned short *)CAN1_AM09L)
|
222 |
|
|
#define pCAN1_AM09H ((volatile unsigned short *)CAN1_AM09H)
|
223 |
|
|
#define pCAN1_AM10L ((volatile unsigned short *)CAN1_AM10L)
|
224 |
|
|
#define pCAN1_AM10H ((volatile unsigned short *)CAN1_AM10H)
|
225 |
|
|
#define pCAN1_AM11L ((volatile unsigned short *)CAN1_AM11L)
|
226 |
|
|
#define pCAN1_AM11H ((volatile unsigned short *)CAN1_AM11H)
|
227 |
|
|
#define pCAN1_AM12L ((volatile unsigned short *)CAN1_AM12L)
|
228 |
|
|
#define pCAN1_AM12H ((volatile unsigned short *)CAN1_AM12H)
|
229 |
|
|
#define pCAN1_AM13L ((volatile unsigned short *)CAN1_AM13L)
|
230 |
|
|
#define pCAN1_AM13H ((volatile unsigned short *)CAN1_AM13H)
|
231 |
|
|
#define pCAN1_AM14L ((volatile unsigned short *)CAN1_AM14L)
|
232 |
|
|
#define pCAN1_AM14H ((volatile unsigned short *)CAN1_AM14H)
|
233 |
|
|
#define pCAN1_AM15L ((volatile unsigned short *)CAN1_AM15L)
|
234 |
|
|
#define pCAN1_AM15H ((volatile unsigned short *)CAN1_AM15H)
|
235 |
|
|
|
236 |
|
|
/* CAN Controller 1 Mailbox Acceptance Registers */
|
237 |
|
|
|
238 |
|
|
#define pCAN1_AM16L ((volatile unsigned short *)CAN1_AM16L)
|
239 |
|
|
#define pCAN1_AM16H ((volatile unsigned short *)CAN1_AM16H)
|
240 |
|
|
#define pCAN1_AM17L ((volatile unsigned short *)CAN1_AM17L)
|
241 |
|
|
#define pCAN1_AM17H ((volatile unsigned short *)CAN1_AM17H)
|
242 |
|
|
#define pCAN1_AM18L ((volatile unsigned short *)CAN1_AM18L)
|
243 |
|
|
#define pCAN1_AM18H ((volatile unsigned short *)CAN1_AM18H)
|
244 |
|
|
#define pCAN1_AM19L ((volatile unsigned short *)CAN1_AM19L)
|
245 |
|
|
#define pCAN1_AM19H ((volatile unsigned short *)CAN1_AM19H)
|
246 |
|
|
#define pCAN1_AM20L ((volatile unsigned short *)CAN1_AM20L)
|
247 |
|
|
#define pCAN1_AM20H ((volatile unsigned short *)CAN1_AM20H)
|
248 |
|
|
#define pCAN1_AM21L ((volatile unsigned short *)CAN1_AM21L)
|
249 |
|
|
#define pCAN1_AM21H ((volatile unsigned short *)CAN1_AM21H)
|
250 |
|
|
#define pCAN1_AM22L ((volatile unsigned short *)CAN1_AM22L)
|
251 |
|
|
#define pCAN1_AM22H ((volatile unsigned short *)CAN1_AM22H)
|
252 |
|
|
#define pCAN1_AM23L ((volatile unsigned short *)CAN1_AM23L)
|
253 |
|
|
#define pCAN1_AM23H ((volatile unsigned short *)CAN1_AM23H)
|
254 |
|
|
#define pCAN1_AM24L ((volatile unsigned short *)CAN1_AM24L)
|
255 |
|
|
#define pCAN1_AM24H ((volatile unsigned short *)CAN1_AM24H)
|
256 |
|
|
#define pCAN1_AM25L ((volatile unsigned short *)CAN1_AM25L)
|
257 |
|
|
#define pCAN1_AM25H ((volatile unsigned short *)CAN1_AM25H)
|
258 |
|
|
#define pCAN1_AM26L ((volatile unsigned short *)CAN1_AM26L)
|
259 |
|
|
#define pCAN1_AM26H ((volatile unsigned short *)CAN1_AM26H)
|
260 |
|
|
#define pCAN1_AM27L ((volatile unsigned short *)CAN1_AM27L)
|
261 |
|
|
#define pCAN1_AM27H ((volatile unsigned short *)CAN1_AM27H)
|
262 |
|
|
#define pCAN1_AM28L ((volatile unsigned short *)CAN1_AM28L)
|
263 |
|
|
#define pCAN1_AM28H ((volatile unsigned short *)CAN1_AM28H)
|
264 |
|
|
#define pCAN1_AM29L ((volatile unsigned short *)CAN1_AM29L)
|
265 |
|
|
#define pCAN1_AM29H ((volatile unsigned short *)CAN1_AM29H)
|
266 |
|
|
#define pCAN1_AM30L ((volatile unsigned short *)CAN1_AM30L)
|
267 |
|
|
#define pCAN1_AM30H ((volatile unsigned short *)CAN1_AM30H)
|
268 |
|
|
#define pCAN1_AM31L ((volatile unsigned short *)CAN1_AM31L)
|
269 |
|
|
#define pCAN1_AM31H ((volatile unsigned short *)CAN1_AM31H)
|
270 |
|
|
|
271 |
|
|
/* CAN Controller 1 Mailbox Data Registers */
|
272 |
|
|
|
273 |
|
|
#define pCAN1_MB00_DATA0 ((volatile unsigned short *)CAN1_MB00_DATA0)
|
274 |
|
|
#define pCAN1_MB00_DATA1 ((volatile unsigned short *)CAN1_MB00_DATA1)
|
275 |
|
|
#define pCAN1_MB00_DATA2 ((volatile unsigned short *)CAN1_MB00_DATA2)
|
276 |
|
|
#define pCAN1_MB00_DATA3 ((volatile unsigned short *)CAN1_MB00_DATA3)
|
277 |
|
|
#define pCAN1_MB00_LENGTH ((volatile unsigned short *)CAN1_MB00_LENGTH)
|
278 |
|
|
#define pCAN1_MB00_TIMESTAMP ((volatile unsigned short *)CAN1_MB00_TIMESTAMP)
|
279 |
|
|
#define pCAN1_MB00_ID0 ((volatile unsigned short *)CAN1_MB00_ID0)
|
280 |
|
|
#define pCAN1_MB00_ID1 ((volatile unsigned short *)CAN1_MB00_ID1)
|
281 |
|
|
#define pCAN1_MB01_DATA0 ((volatile unsigned short *)CAN1_MB01_DATA0)
|
282 |
|
|
#define pCAN1_MB01_DATA1 ((volatile unsigned short *)CAN1_MB01_DATA1)
|
283 |
|
|
#define pCAN1_MB01_DATA2 ((volatile unsigned short *)CAN1_MB01_DATA2)
|
284 |
|
|
#define pCAN1_MB01_DATA3 ((volatile unsigned short *)CAN1_MB01_DATA3)
|
285 |
|
|
#define pCAN1_MB01_LENGTH ((volatile unsigned short *)CAN1_MB01_LENGTH)
|
286 |
|
|
#define pCAN1_MB01_TIMESTAMP ((volatile unsigned short *)CAN1_MB01_TIMESTAMP)
|
287 |
|
|
#define pCAN1_MB01_ID0 ((volatile unsigned short *)CAN1_MB01_ID0)
|
288 |
|
|
#define pCAN1_MB01_ID1 ((volatile unsigned short *)CAN1_MB01_ID1)
|
289 |
|
|
#define pCAN1_MB02_DATA0 ((volatile unsigned short *)CAN1_MB02_DATA0)
|
290 |
|
|
#define pCAN1_MB02_DATA1 ((volatile unsigned short *)CAN1_MB02_DATA1)
|
291 |
|
|
#define pCAN1_MB02_DATA2 ((volatile unsigned short *)CAN1_MB02_DATA2)
|
292 |
|
|
#define pCAN1_MB02_DATA3 ((volatile unsigned short *)CAN1_MB02_DATA3)
|
293 |
|
|
#define pCAN1_MB02_LENGTH ((volatile unsigned short *)CAN1_MB02_LENGTH)
|
294 |
|
|
#define pCAN1_MB02_TIMESTAMP ((volatile unsigned short *)CAN1_MB02_TIMESTAMP)
|
295 |
|
|
#define pCAN1_MB02_ID0 ((volatile unsigned short *)CAN1_MB02_ID0)
|
296 |
|
|
#define pCAN1_MB02_ID1 ((volatile unsigned short *)CAN1_MB02_ID1)
|
297 |
|
|
#define pCAN1_MB03_DATA0 ((volatile unsigned short *)CAN1_MB03_DATA0)
|
298 |
|
|
#define pCAN1_MB03_DATA1 ((volatile unsigned short *)CAN1_MB03_DATA1)
|
299 |
|
|
#define pCAN1_MB03_DATA2 ((volatile unsigned short *)CAN1_MB03_DATA2)
|
300 |
|
|
#define pCAN1_MB03_DATA3 ((volatile unsigned short *)CAN1_MB03_DATA3)
|
301 |
|
|
#define pCAN1_MB03_LENGTH ((volatile unsigned short *)CAN1_MB03_LENGTH)
|
302 |
|
|
#define pCAN1_MB03_TIMESTAMP ((volatile unsigned short *)CAN1_MB03_TIMESTAMP)
|
303 |
|
|
#define pCAN1_MB03_ID0 ((volatile unsigned short *)CAN1_MB03_ID0)
|
304 |
|
|
#define pCAN1_MB03_ID1 ((volatile unsigned short *)CAN1_MB03_ID1)
|
305 |
|
|
#define pCAN1_MB04_DATA0 ((volatile unsigned short *)CAN1_MB04_DATA0)
|
306 |
|
|
#define pCAN1_MB04_DATA1 ((volatile unsigned short *)CAN1_MB04_DATA1)
|
307 |
|
|
#define pCAN1_MB04_DATA2 ((volatile unsigned short *)CAN1_MB04_DATA2)
|
308 |
|
|
#define pCAN1_MB04_DATA3 ((volatile unsigned short *)CAN1_MB04_DATA3)
|
309 |
|
|
#define pCAN1_MB04_LENGTH ((volatile unsigned short *)CAN1_MB04_LENGTH)
|
310 |
|
|
#define pCAN1_MB04_TIMESTAMP ((volatile unsigned short *)CAN1_MB04_TIMESTAMP)
|
311 |
|
|
#define pCAN1_MB04_ID0 ((volatile unsigned short *)CAN1_MB04_ID0)
|
312 |
|
|
#define pCAN1_MB04_ID1 ((volatile unsigned short *)CAN1_MB04_ID1)
|
313 |
|
|
#define pCAN1_MB05_DATA0 ((volatile unsigned short *)CAN1_MB05_DATA0)
|
314 |
|
|
#define pCAN1_MB05_DATA1 ((volatile unsigned short *)CAN1_MB05_DATA1)
|
315 |
|
|
#define pCAN1_MB05_DATA2 ((volatile unsigned short *)CAN1_MB05_DATA2)
|
316 |
|
|
#define pCAN1_MB05_DATA3 ((volatile unsigned short *)CAN1_MB05_DATA3)
|
317 |
|
|
#define pCAN1_MB05_LENGTH ((volatile unsigned short *)CAN1_MB05_LENGTH)
|
318 |
|
|
#define pCAN1_MB05_TIMESTAMP ((volatile unsigned short *)CAN1_MB05_TIMESTAMP)
|
319 |
|
|
#define pCAN1_MB05_ID0 ((volatile unsigned short *)CAN1_MB05_ID0)
|
320 |
|
|
#define pCAN1_MB05_ID1 ((volatile unsigned short *)CAN1_MB05_ID1)
|
321 |
|
|
#define pCAN1_MB06_DATA0 ((volatile unsigned short *)CAN1_MB06_DATA0)
|
322 |
|
|
#define pCAN1_MB06_DATA1 ((volatile unsigned short *)CAN1_MB06_DATA1)
|
323 |
|
|
#define pCAN1_MB06_DATA2 ((volatile unsigned short *)CAN1_MB06_DATA2)
|
324 |
|
|
#define pCAN1_MB06_DATA3 ((volatile unsigned short *)CAN1_MB06_DATA3)
|
325 |
|
|
#define pCAN1_MB06_LENGTH ((volatile unsigned short *)CAN1_MB06_LENGTH)
|
326 |
|
|
#define pCAN1_MB06_TIMESTAMP ((volatile unsigned short *)CAN1_MB06_TIMESTAMP)
|
327 |
|
|
#define pCAN1_MB06_ID0 ((volatile unsigned short *)CAN1_MB06_ID0)
|
328 |
|
|
#define pCAN1_MB06_ID1 ((volatile unsigned short *)CAN1_MB06_ID1)
|
329 |
|
|
#define pCAN1_MB07_DATA0 ((volatile unsigned short *)CAN1_MB07_DATA0)
|
330 |
|
|
#define pCAN1_MB07_DATA1 ((volatile unsigned short *)CAN1_MB07_DATA1)
|
331 |
|
|
#define pCAN1_MB07_DATA2 ((volatile unsigned short *)CAN1_MB07_DATA2)
|
332 |
|
|
#define pCAN1_MB07_DATA3 ((volatile unsigned short *)CAN1_MB07_DATA3)
|
333 |
|
|
#define pCAN1_MB07_LENGTH ((volatile unsigned short *)CAN1_MB07_LENGTH)
|
334 |
|
|
#define pCAN1_MB07_TIMESTAMP ((volatile unsigned short *)CAN1_MB07_TIMESTAMP)
|
335 |
|
|
#define pCAN1_MB07_ID0 ((volatile unsigned short *)CAN1_MB07_ID0)
|
336 |
|
|
#define pCAN1_MB07_ID1 ((volatile unsigned short *)CAN1_MB07_ID1)
|
337 |
|
|
#define pCAN1_MB08_DATA0 ((volatile unsigned short *)CAN1_MB08_DATA0)
|
338 |
|
|
#define pCAN1_MB08_DATA1 ((volatile unsigned short *)CAN1_MB08_DATA1)
|
339 |
|
|
#define pCAN1_MB08_DATA2 ((volatile unsigned short *)CAN1_MB08_DATA2)
|
340 |
|
|
#define pCAN1_MB08_DATA3 ((volatile unsigned short *)CAN1_MB08_DATA3)
|
341 |
|
|
#define pCAN1_MB08_LENGTH ((volatile unsigned short *)CAN1_MB08_LENGTH)
|
342 |
|
|
#define pCAN1_MB08_TIMESTAMP ((volatile unsigned short *)CAN1_MB08_TIMESTAMP)
|
343 |
|
|
#define pCAN1_MB08_ID0 ((volatile unsigned short *)CAN1_MB08_ID0)
|
344 |
|
|
#define pCAN1_MB08_ID1 ((volatile unsigned short *)CAN1_MB08_ID1)
|
345 |
|
|
#define pCAN1_MB09_DATA0 ((volatile unsigned short *)CAN1_MB09_DATA0)
|
346 |
|
|
#define pCAN1_MB09_DATA1 ((volatile unsigned short *)CAN1_MB09_DATA1)
|
347 |
|
|
#define pCAN1_MB09_DATA2 ((volatile unsigned short *)CAN1_MB09_DATA2)
|
348 |
|
|
#define pCAN1_MB09_DATA3 ((volatile unsigned short *)CAN1_MB09_DATA3)
|
349 |
|
|
#define pCAN1_MB09_LENGTH ((volatile unsigned short *)CAN1_MB09_LENGTH)
|
350 |
|
|
#define pCAN1_MB09_TIMESTAMP ((volatile unsigned short *)CAN1_MB09_TIMESTAMP)
|
351 |
|
|
#define pCAN1_MB09_ID0 ((volatile unsigned short *)CAN1_MB09_ID0)
|
352 |
|
|
#define pCAN1_MB09_ID1 ((volatile unsigned short *)CAN1_MB09_ID1)
|
353 |
|
|
#define pCAN1_MB10_DATA0 ((volatile unsigned short *)CAN1_MB10_DATA0)
|
354 |
|
|
#define pCAN1_MB10_DATA1 ((volatile unsigned short *)CAN1_MB10_DATA1)
|
355 |
|
|
#define pCAN1_MB10_DATA2 ((volatile unsigned short *)CAN1_MB10_DATA2)
|
356 |
|
|
#define pCAN1_MB10_DATA3 ((volatile unsigned short *)CAN1_MB10_DATA3)
|
357 |
|
|
#define pCAN1_MB10_LENGTH ((volatile unsigned short *)CAN1_MB10_LENGTH)
|
358 |
|
|
#define pCAN1_MB10_TIMESTAMP ((volatile unsigned short *)CAN1_MB10_TIMESTAMP)
|
359 |
|
|
#define pCAN1_MB10_ID0 ((volatile unsigned short *)CAN1_MB10_ID0)
|
360 |
|
|
#define pCAN1_MB10_ID1 ((volatile unsigned short *)CAN1_MB10_ID1)
|
361 |
|
|
#define pCAN1_MB11_DATA0 ((volatile unsigned short *)CAN1_MB11_DATA0)
|
362 |
|
|
#define pCAN1_MB11_DATA1 ((volatile unsigned short *)CAN1_MB11_DATA1)
|
363 |
|
|
#define pCAN1_MB11_DATA2 ((volatile unsigned short *)CAN1_MB11_DATA2)
|
364 |
|
|
#define pCAN1_MB11_DATA3 ((volatile unsigned short *)CAN1_MB11_DATA3)
|
365 |
|
|
#define pCAN1_MB11_LENGTH ((volatile unsigned short *)CAN1_MB11_LENGTH)
|
366 |
|
|
#define pCAN1_MB11_TIMESTAMP ((volatile unsigned short *)CAN1_MB11_TIMESTAMP)
|
367 |
|
|
#define pCAN1_MB11_ID0 ((volatile unsigned short *)CAN1_MB11_ID0)
|
368 |
|
|
#define pCAN1_MB11_ID1 ((volatile unsigned short *)CAN1_MB11_ID1)
|
369 |
|
|
#define pCAN1_MB12_DATA0 ((volatile unsigned short *)CAN1_MB12_DATA0)
|
370 |
|
|
#define pCAN1_MB12_DATA1 ((volatile unsigned short *)CAN1_MB12_DATA1)
|
371 |
|
|
#define pCAN1_MB12_DATA2 ((volatile unsigned short *)CAN1_MB12_DATA2)
|
372 |
|
|
#define pCAN1_MB12_DATA3 ((volatile unsigned short *)CAN1_MB12_DATA3)
|
373 |
|
|
#define pCAN1_MB12_LENGTH ((volatile unsigned short *)CAN1_MB12_LENGTH)
|
374 |
|
|
#define pCAN1_MB12_TIMESTAMP ((volatile unsigned short *)CAN1_MB12_TIMESTAMP)
|
375 |
|
|
#define pCAN1_MB12_ID0 ((volatile unsigned short *)CAN1_MB12_ID0)
|
376 |
|
|
#define pCAN1_MB12_ID1 ((volatile unsigned short *)CAN1_MB12_ID1)
|
377 |
|
|
#define pCAN1_MB13_DATA0 ((volatile unsigned short *)CAN1_MB13_DATA0)
|
378 |
|
|
#define pCAN1_MB13_DATA1 ((volatile unsigned short *)CAN1_MB13_DATA1)
|
379 |
|
|
#define pCAN1_MB13_DATA2 ((volatile unsigned short *)CAN1_MB13_DATA2)
|
380 |
|
|
#define pCAN1_MB13_DATA3 ((volatile unsigned short *)CAN1_MB13_DATA3)
|
381 |
|
|
#define pCAN1_MB13_LENGTH ((volatile unsigned short *)CAN1_MB13_LENGTH)
|
382 |
|
|
#define pCAN1_MB13_TIMESTAMP ((volatile unsigned short *)CAN1_MB13_TIMESTAMP)
|
383 |
|
|
#define pCAN1_MB13_ID0 ((volatile unsigned short *)CAN1_MB13_ID0)
|
384 |
|
|
#define pCAN1_MB13_ID1 ((volatile unsigned short *)CAN1_MB13_ID1)
|
385 |
|
|
#define pCAN1_MB14_DATA0 ((volatile unsigned short *)CAN1_MB14_DATA0)
|
386 |
|
|
#define pCAN1_MB14_DATA1 ((volatile unsigned short *)CAN1_MB14_DATA1)
|
387 |
|
|
#define pCAN1_MB14_DATA2 ((volatile unsigned short *)CAN1_MB14_DATA2)
|
388 |
|
|
#define pCAN1_MB14_DATA3 ((volatile unsigned short *)CAN1_MB14_DATA3)
|
389 |
|
|
#define pCAN1_MB14_LENGTH ((volatile unsigned short *)CAN1_MB14_LENGTH)
|
390 |
|
|
#define pCAN1_MB14_TIMESTAMP ((volatile unsigned short *)CAN1_MB14_TIMESTAMP)
|
391 |
|
|
#define pCAN1_MB14_ID0 ((volatile unsigned short *)CAN1_MB14_ID0)
|
392 |
|
|
#define pCAN1_MB14_ID1 ((volatile unsigned short *)CAN1_MB14_ID1)
|
393 |
|
|
#define pCAN1_MB15_DATA0 ((volatile unsigned short *)CAN1_MB15_DATA0)
|
394 |
|
|
#define pCAN1_MB15_DATA1 ((volatile unsigned short *)CAN1_MB15_DATA1)
|
395 |
|
|
#define pCAN1_MB15_DATA2 ((volatile unsigned short *)CAN1_MB15_DATA2)
|
396 |
|
|
#define pCAN1_MB15_DATA3 ((volatile unsigned short *)CAN1_MB15_DATA3)
|
397 |
|
|
#define pCAN1_MB15_LENGTH ((volatile unsigned short *)CAN1_MB15_LENGTH)
|
398 |
|
|
#define pCAN1_MB15_TIMESTAMP ((volatile unsigned short *)CAN1_MB15_TIMESTAMP)
|
399 |
|
|
#define pCAN1_MB15_ID0 ((volatile unsigned short *)CAN1_MB15_ID0)
|
400 |
|
|
#define pCAN1_MB15_ID1 ((volatile unsigned short *)CAN1_MB15_ID1)
|
401 |
|
|
|
402 |
|
|
/* CAN Controller 1 Mailbox Data Registers */
|
403 |
|
|
|
404 |
|
|
#define pCAN1_MB16_DATA0 ((volatile unsigned short *)CAN1_MB16_DATA0)
|
405 |
|
|
#define pCAN1_MB16_DATA1 ((volatile unsigned short *)CAN1_MB16_DATA1)
|
406 |
|
|
#define pCAN1_MB16_DATA2 ((volatile unsigned short *)CAN1_MB16_DATA2)
|
407 |
|
|
#define pCAN1_MB16_DATA3 ((volatile unsigned short *)CAN1_MB16_DATA3)
|
408 |
|
|
#define pCAN1_MB16_LENGTH ((volatile unsigned short *)CAN1_MB16_LENGTH)
|
409 |
|
|
#define pCAN1_MB16_TIMESTAMP ((volatile unsigned short *)CAN1_MB16_TIMESTAMP)
|
410 |
|
|
#define pCAN1_MB16_ID0 ((volatile unsigned short *)CAN1_MB16_ID0)
|
411 |
|
|
#define pCAN1_MB16_ID1 ((volatile unsigned short *)CAN1_MB16_ID1)
|
412 |
|
|
#define pCAN1_MB17_DATA0 ((volatile unsigned short *)CAN1_MB17_DATA0)
|
413 |
|
|
#define pCAN1_MB17_DATA1 ((volatile unsigned short *)CAN1_MB17_DATA1)
|
414 |
|
|
#define pCAN1_MB17_DATA2 ((volatile unsigned short *)CAN1_MB17_DATA2)
|
415 |
|
|
#define pCAN1_MB17_DATA3 ((volatile unsigned short *)CAN1_MB17_DATA3)
|
416 |
|
|
#define pCAN1_MB17_LENGTH ((volatile unsigned short *)CAN1_MB17_LENGTH)
|
417 |
|
|
#define pCAN1_MB17_TIMESTAMP ((volatile unsigned short *)CAN1_MB17_TIMESTAMP)
|
418 |
|
|
#define pCAN1_MB17_ID0 ((volatile unsigned short *)CAN1_MB17_ID0)
|
419 |
|
|
#define pCAN1_MB17_ID1 ((volatile unsigned short *)CAN1_MB17_ID1)
|
420 |
|
|
#define pCAN1_MB18_DATA0 ((volatile unsigned short *)CAN1_MB18_DATA0)
|
421 |
|
|
#define pCAN1_MB18_DATA1 ((volatile unsigned short *)CAN1_MB18_DATA1)
|
422 |
|
|
#define pCAN1_MB18_DATA2 ((volatile unsigned short *)CAN1_MB18_DATA2)
|
423 |
|
|
#define pCAN1_MB18_DATA3 ((volatile unsigned short *)CAN1_MB18_DATA3)
|
424 |
|
|
#define pCAN1_MB18_LENGTH ((volatile unsigned short *)CAN1_MB18_LENGTH)
|
425 |
|
|
#define pCAN1_MB18_TIMESTAMP ((volatile unsigned short *)CAN1_MB18_TIMESTAMP)
|
426 |
|
|
#define pCAN1_MB18_ID0 ((volatile unsigned short *)CAN1_MB18_ID0)
|
427 |
|
|
#define pCAN1_MB18_ID1 ((volatile unsigned short *)CAN1_MB18_ID1)
|
428 |
|
|
#define pCAN1_MB19_DATA0 ((volatile unsigned short *)CAN1_MB19_DATA0)
|
429 |
|
|
#define pCAN1_MB19_DATA1 ((volatile unsigned short *)CAN1_MB19_DATA1)
|
430 |
|
|
#define pCAN1_MB19_DATA2 ((volatile unsigned short *)CAN1_MB19_DATA2)
|
431 |
|
|
#define pCAN1_MB19_DATA3 ((volatile unsigned short *)CAN1_MB19_DATA3)
|
432 |
|
|
#define pCAN1_MB19_LENGTH ((volatile unsigned short *)CAN1_MB19_LENGTH)
|
433 |
|
|
#define pCAN1_MB19_TIMESTAMP ((volatile unsigned short *)CAN1_MB19_TIMESTAMP)
|
434 |
|
|
#define pCAN1_MB19_ID0 ((volatile unsigned short *)CAN1_MB19_ID0)
|
435 |
|
|
#define pCAN1_MB19_ID1 ((volatile unsigned short *)CAN1_MB19_ID1)
|
436 |
|
|
#define pCAN1_MB20_DATA0 ((volatile unsigned short *)CAN1_MB20_DATA0)
|
437 |
|
|
#define pCAN1_MB20_DATA1 ((volatile unsigned short *)CAN1_MB20_DATA1)
|
438 |
|
|
#define pCAN1_MB20_DATA2 ((volatile unsigned short *)CAN1_MB20_DATA2)
|
439 |
|
|
#define pCAN1_MB20_DATA3 ((volatile unsigned short *)CAN1_MB20_DATA3)
|
440 |
|
|
#define pCAN1_MB20_LENGTH ((volatile unsigned short *)CAN1_MB20_LENGTH)
|
441 |
|
|
#define pCAN1_MB20_TIMESTAMP ((volatile unsigned short *)CAN1_MB20_TIMESTAMP)
|
442 |
|
|
#define pCAN1_MB20_ID0 ((volatile unsigned short *)CAN1_MB20_ID0)
|
443 |
|
|
#define pCAN1_MB20_ID1 ((volatile unsigned short *)CAN1_MB20_ID1)
|
444 |
|
|
#define pCAN1_MB21_DATA0 ((volatile unsigned short *)CAN1_MB21_DATA0)
|
445 |
|
|
#define pCAN1_MB21_DATA1 ((volatile unsigned short *)CAN1_MB21_DATA1)
|
446 |
|
|
#define pCAN1_MB21_DATA2 ((volatile unsigned short *)CAN1_MB21_DATA2)
|
447 |
|
|
#define pCAN1_MB21_DATA3 ((volatile unsigned short *)CAN1_MB21_DATA3)
|
448 |
|
|
#define pCAN1_MB21_LENGTH ((volatile unsigned short *)CAN1_MB21_LENGTH)
|
449 |
|
|
#define pCAN1_MB21_TIMESTAMP ((volatile unsigned short *)CAN1_MB21_TIMESTAMP)
|
450 |
|
|
#define pCAN1_MB21_ID0 ((volatile unsigned short *)CAN1_MB21_ID0)
|
451 |
|
|
#define pCAN1_MB21_ID1 ((volatile unsigned short *)CAN1_MB21_ID1)
|
452 |
|
|
#define pCAN1_MB22_DATA0 ((volatile unsigned short *)CAN1_MB22_DATA0)
|
453 |
|
|
#define pCAN1_MB22_DATA1 ((volatile unsigned short *)CAN1_MB22_DATA1)
|
454 |
|
|
#define pCAN1_MB22_DATA2 ((volatile unsigned short *)CAN1_MB22_DATA2)
|
455 |
|
|
#define pCAN1_MB22_DATA3 ((volatile unsigned short *)CAN1_MB22_DATA3)
|
456 |
|
|
#define pCAN1_MB22_LENGTH ((volatile unsigned short *)CAN1_MB22_LENGTH)
|
457 |
|
|
#define pCAN1_MB22_TIMESTAMP ((volatile unsigned short *)CAN1_MB22_TIMESTAMP)
|
458 |
|
|
#define pCAN1_MB22_ID0 ((volatile unsigned short *)CAN1_MB22_ID0)
|
459 |
|
|
#define pCAN1_MB22_ID1 ((volatile unsigned short *)CAN1_MB22_ID1)
|
460 |
|
|
#define pCAN1_MB23_DATA0 ((volatile unsigned short *)CAN1_MB23_DATA0)
|
461 |
|
|
#define pCAN1_MB23_DATA1 ((volatile unsigned short *)CAN1_MB23_DATA1)
|
462 |
|
|
#define pCAN1_MB23_DATA2 ((volatile unsigned short *)CAN1_MB23_DATA2)
|
463 |
|
|
#define pCAN1_MB23_DATA3 ((volatile unsigned short *)CAN1_MB23_DATA3)
|
464 |
|
|
#define pCAN1_MB23_LENGTH ((volatile unsigned short *)CAN1_MB23_LENGTH)
|
465 |
|
|
#define pCAN1_MB23_TIMESTAMP ((volatile unsigned short *)CAN1_MB23_TIMESTAMP)
|
466 |
|
|
#define pCAN1_MB23_ID0 ((volatile unsigned short *)CAN1_MB23_ID0)
|
467 |
|
|
#define pCAN1_MB23_ID1 ((volatile unsigned short *)CAN1_MB23_ID1)
|
468 |
|
|
#define pCAN1_MB24_DATA0 ((volatile unsigned short *)CAN1_MB24_DATA0)
|
469 |
|
|
#define pCAN1_MB24_DATA1 ((volatile unsigned short *)CAN1_MB24_DATA1)
|
470 |
|
|
#define pCAN1_MB24_DATA2 ((volatile unsigned short *)CAN1_MB24_DATA2)
|
471 |
|
|
#define pCAN1_MB24_DATA3 ((volatile unsigned short *)CAN1_MB24_DATA3)
|
472 |
|
|
#define pCAN1_MB24_LENGTH ((volatile unsigned short *)CAN1_MB24_LENGTH)
|
473 |
|
|
#define pCAN1_MB24_TIMESTAMP ((volatile unsigned short *)CAN1_MB24_TIMESTAMP)
|
474 |
|
|
#define pCAN1_MB24_ID0 ((volatile unsigned short *)CAN1_MB24_ID0)
|
475 |
|
|
#define pCAN1_MB24_ID1 ((volatile unsigned short *)CAN1_MB24_ID1)
|
476 |
|
|
#define pCAN1_MB25_DATA0 ((volatile unsigned short *)CAN1_MB25_DATA0)
|
477 |
|
|
#define pCAN1_MB25_DATA1 ((volatile unsigned short *)CAN1_MB25_DATA1)
|
478 |
|
|
#define pCAN1_MB25_DATA2 ((volatile unsigned short *)CAN1_MB25_DATA2)
|
479 |
|
|
#define pCAN1_MB25_DATA3 ((volatile unsigned short *)CAN1_MB25_DATA3)
|
480 |
|
|
#define pCAN1_MB25_LENGTH ((volatile unsigned short *)CAN1_MB25_LENGTH)
|
481 |
|
|
#define pCAN1_MB25_TIMESTAMP ((volatile unsigned short *)CAN1_MB25_TIMESTAMP)
|
482 |
|
|
#define pCAN1_MB25_ID0 ((volatile unsigned short *)CAN1_MB25_ID0)
|
483 |
|
|
#define pCAN1_MB25_ID1 ((volatile unsigned short *)CAN1_MB25_ID1)
|
484 |
|
|
#define pCAN1_MB26_DATA0 ((volatile unsigned short *)CAN1_MB26_DATA0)
|
485 |
|
|
#define pCAN1_MB26_DATA1 ((volatile unsigned short *)CAN1_MB26_DATA1)
|
486 |
|
|
#define pCAN1_MB26_DATA2 ((volatile unsigned short *)CAN1_MB26_DATA2)
|
487 |
|
|
#define pCAN1_MB26_DATA3 ((volatile unsigned short *)CAN1_MB26_DATA3)
|
488 |
|
|
#define pCAN1_MB26_LENGTH ((volatile unsigned short *)CAN1_MB26_LENGTH)
|
489 |
|
|
#define pCAN1_MB26_TIMESTAMP ((volatile unsigned short *)CAN1_MB26_TIMESTAMP)
|
490 |
|
|
#define pCAN1_MB26_ID0 ((volatile unsigned short *)CAN1_MB26_ID0)
|
491 |
|
|
#define pCAN1_MB26_ID1 ((volatile unsigned short *)CAN1_MB26_ID1)
|
492 |
|
|
#define pCAN1_MB27_DATA0 ((volatile unsigned short *)CAN1_MB27_DATA0)
|
493 |
|
|
#define pCAN1_MB27_DATA1 ((volatile unsigned short *)CAN1_MB27_DATA1)
|
494 |
|
|
#define pCAN1_MB27_DATA2 ((volatile unsigned short *)CAN1_MB27_DATA2)
|
495 |
|
|
#define pCAN1_MB27_DATA3 ((volatile unsigned short *)CAN1_MB27_DATA3)
|
496 |
|
|
#define pCAN1_MB27_LENGTH ((volatile unsigned short *)CAN1_MB27_LENGTH)
|
497 |
|
|
#define pCAN1_MB27_TIMESTAMP ((volatile unsigned short *)CAN1_MB27_TIMESTAMP)
|
498 |
|
|
#define pCAN1_MB27_ID0 ((volatile unsigned short *)CAN1_MB27_ID0)
|
499 |
|
|
#define pCAN1_MB27_ID1 ((volatile unsigned short *)CAN1_MB27_ID1)
|
500 |
|
|
#define pCAN1_MB28_DATA0 ((volatile unsigned short *)CAN1_MB28_DATA0)
|
501 |
|
|
#define pCAN1_MB28_DATA1 ((volatile unsigned short *)CAN1_MB28_DATA1)
|
502 |
|
|
#define pCAN1_MB28_DATA2 ((volatile unsigned short *)CAN1_MB28_DATA2)
|
503 |
|
|
#define pCAN1_MB28_DATA3 ((volatile unsigned short *)CAN1_MB28_DATA3)
|
504 |
|
|
#define pCAN1_MB28_LENGTH ((volatile unsigned short *)CAN1_MB28_LENGTH)
|
505 |
|
|
#define pCAN1_MB28_TIMESTAMP ((volatile unsigned short *)CAN1_MB28_TIMESTAMP)
|
506 |
|
|
#define pCAN1_MB28_ID0 ((volatile unsigned short *)CAN1_MB28_ID0)
|
507 |
|
|
#define pCAN1_MB28_ID1 ((volatile unsigned short *)CAN1_MB28_ID1)
|
508 |
|
|
#define pCAN1_MB29_DATA0 ((volatile unsigned short *)CAN1_MB29_DATA0)
|
509 |
|
|
#define pCAN1_MB29_DATA1 ((volatile unsigned short *)CAN1_MB29_DATA1)
|
510 |
|
|
#define pCAN1_MB29_DATA2 ((volatile unsigned short *)CAN1_MB29_DATA2)
|
511 |
|
|
#define pCAN1_MB29_DATA3 ((volatile unsigned short *)CAN1_MB29_DATA3)
|
512 |
|
|
#define pCAN1_MB29_LENGTH ((volatile unsigned short *)CAN1_MB29_LENGTH)
|
513 |
|
|
#define pCAN1_MB29_TIMESTAMP ((volatile unsigned short *)CAN1_MB29_TIMESTAMP)
|
514 |
|
|
#define pCAN1_MB29_ID0 ((volatile unsigned short *)CAN1_MB29_ID0)
|
515 |
|
|
#define pCAN1_MB29_ID1 ((volatile unsigned short *)CAN1_MB29_ID1)
|
516 |
|
|
#define pCAN1_MB30_DATA0 ((volatile unsigned short *)CAN1_MB30_DATA0)
|
517 |
|
|
#define pCAN1_MB30_DATA1 ((volatile unsigned short *)CAN1_MB30_DATA1)
|
518 |
|
|
#define pCAN1_MB30_DATA2 ((volatile unsigned short *)CAN1_MB30_DATA2)
|
519 |
|
|
#define pCAN1_MB30_DATA3 ((volatile unsigned short *)CAN1_MB30_DATA3)
|
520 |
|
|
#define pCAN1_MB30_LENGTH ((volatile unsigned short *)CAN1_MB30_LENGTH)
|
521 |
|
|
#define pCAN1_MB30_TIMESTAMP ((volatile unsigned short *)CAN1_MB30_TIMESTAMP)
|
522 |
|
|
#define pCAN1_MB30_ID0 ((volatile unsigned short *)CAN1_MB30_ID0)
|
523 |
|
|
#define pCAN1_MB30_ID1 ((volatile unsigned short *)CAN1_MB30_ID1)
|
524 |
|
|
#define pCAN1_MB31_DATA0 ((volatile unsigned short *)CAN1_MB31_DATA0)
|
525 |
|
|
#define pCAN1_MB31_DATA1 ((volatile unsigned short *)CAN1_MB31_DATA1)
|
526 |
|
|
#define pCAN1_MB31_DATA2 ((volatile unsigned short *)CAN1_MB31_DATA2)
|
527 |
|
|
#define pCAN1_MB31_DATA3 ((volatile unsigned short *)CAN1_MB31_DATA3)
|
528 |
|
|
#define pCAN1_MB31_LENGTH ((volatile unsigned short *)CAN1_MB31_LENGTH)
|
529 |
|
|
#define pCAN1_MB31_TIMESTAMP ((volatile unsigned short *)CAN1_MB31_TIMESTAMP)
|
530 |
|
|
#define pCAN1_MB31_ID0 ((volatile unsigned short *)CAN1_MB31_ID0)
|
531 |
|
|
#define pCAN1_MB31_ID1 ((volatile unsigned short *)CAN1_MB31_ID1)
|
532 |
|
|
|
533 |
|
|
/* ATAPI Registers */
|
534 |
|
|
|
535 |
|
|
#define pATAPI_CONTROL ((volatile unsigned short *)ATAPI_CONTROL)
|
536 |
|
|
#define pATAPI_STATUS ((volatile unsigned short *)ATAPI_STATUS)
|
537 |
|
|
#define pATAPI_DEV_ADDR ((volatile unsigned short *)ATAPI_DEV_ADDR)
|
538 |
|
|
#define pATAPI_DEV_TXBUF ((volatile unsigned short *)ATAPI_DEV_TXBUF)
|
539 |
|
|
#define pATAPI_DEV_RXBUF ((volatile unsigned short *)ATAPI_DEV_RXBUF)
|
540 |
|
|
#define pATAPI_INT_MASK ((volatile unsigned short *)ATAPI_INT_MASK)
|
541 |
|
|
#define pATAPI_INT_STATUS ((volatile unsigned short *)ATAPI_INT_STATUS)
|
542 |
|
|
#define pATAPI_XFER_LEN ((volatile unsigned short *)ATAPI_XFER_LEN)
|
543 |
|
|
#define pATAPI_LINE_STATUS ((volatile unsigned short *)ATAPI_LINE_STATUS)
|
544 |
|
|
#define pATAPI_SM_STATE ((volatile unsigned short *)ATAPI_SM_STATE)
|
545 |
|
|
#define pATAPI_TERMINATE ((volatile unsigned short *)ATAPI_TERMINATE)
|
546 |
|
|
#define pATAPI_PIO_TFRCNT ((volatile unsigned short *)ATAPI_PIO_TFRCNT)
|
547 |
|
|
#define pATAPI_DMA_TFRCNT ((volatile unsigned short *)ATAPI_DMA_TFRCNT)
|
548 |
|
|
#define pATAPI_UMAIN_TFRCNT ((volatile unsigned short *)ATAPI_UMAIN_TFRCNT)
|
549 |
|
|
#define pATAPI_UDMAOUT_TFRCNT ((volatile unsigned short *)ATAPI_UDMAOUT_TFRCNT)
|
550 |
|
|
#define pATAPI_REG_TIM_0 ((volatile unsigned short *)ATAPI_REG_TIM_0)
|
551 |
|
|
#define pATAPI_PIO_TIM_0 ((volatile unsigned short *)ATAPI_PIO_TIM_0)
|
552 |
|
|
#define pATAPI_PIO_TIM_1 ((volatile unsigned short *)ATAPI_PIO_TIM_1)
|
553 |
|
|
#define pATAPI_MULTI_TIM_0 ((volatile unsigned short *)ATAPI_MULTI_TIM_0)
|
554 |
|
|
#define pATAPI_MULTI_TIM_1 ((volatile unsigned short *)ATAPI_MULTI_TIM_1)
|
555 |
|
|
#define pATAPI_MULTI_TIM_2 ((volatile unsigned short *)ATAPI_MULTI_TIM_2)
|
556 |
|
|
#define pATAPI_ULTRA_TIM_0 ((volatile unsigned short *)ATAPI_ULTRA_TIM_0)
|
557 |
|
|
#define pATAPI_ULTRA_TIM_1 ((volatile unsigned short *)ATAPI_ULTRA_TIM_1)
|
558 |
|
|
#define pATAPI_ULTRA_TIM_2 ((volatile unsigned short *)ATAPI_ULTRA_TIM_2)
|
559 |
|
|
#define pATAPI_ULTRA_TIM_3 ((volatile unsigned short *)ATAPI_ULTRA_TIM_3)
|
560 |
|
|
|
561 |
|
|
/* SDH Registers */
|
562 |
|
|
|
563 |
|
|
#define pSDH_PWR_CTL ((volatile unsigned short *)SDH_PWR_CTL)
|
564 |
|
|
#define pSDH_CLK_CTL ((volatile unsigned short *)SDH_CLK_CTL)
|
565 |
|
|
#define pSDH_ARGUMENT ((volatile unsigned long *)SDH_ARGUMENT)
|
566 |
|
|
#define pSDH_COMMAND ((volatile unsigned short *)SDH_COMMAND)
|
567 |
|
|
#define pSDH_RESP_CMD ((volatile unsigned short *)SDH_RESP_CMD)
|
568 |
|
|
#define pSDH_RESPONSE0 ((volatile unsigned long *)SDH_RESPONSE0)
|
569 |
|
|
#define pSDH_RESPONSE1 ((volatile unsigned long *)SDH_RESPONSE1)
|
570 |
|
|
#define pSDH_RESPONSE2 ((volatile unsigned long *)SDH_RESPONSE2)
|
571 |
|
|
#define pSDH_RESPONSE3 ((volatile unsigned long *)SDH_RESPONSE3)
|
572 |
|
|
#define pSDH_DATA_TIMER ((volatile unsigned long *)SDH_DATA_TIMER)
|
573 |
|
|
#define pSDH_DATA_LGTH ((volatile unsigned short *)SDH_DATA_LGTH)
|
574 |
|
|
#define pSDH_DATA_CTL ((volatile unsigned short *)SDH_DATA_CTL)
|
575 |
|
|
#define pSDH_DATA_CNT ((volatile unsigned short *)SDH_DATA_CNT)
|
576 |
|
|
#define pSDH_STATUS ((volatile unsigned long *)SDH_STATUS)
|
577 |
|
|
#define pSDH_STATUS_CLR ((volatile unsigned short *)SDH_STATUS_CLR)
|
578 |
|
|
#define pSDH_MASK0 ((volatile unsigned long *)SDH_MASK0)
|
579 |
|
|
#define pSDH_MASK1 ((volatile unsigned long *)SDH_MASK1)
|
580 |
|
|
#define pSDH_FIFO_CNT ((volatile unsigned short *)SDH_FIFO_CNT)
|
581 |
|
|
#define pSDH_FIFO ((volatile unsigned long *)SDH_FIFO)
|
582 |
|
|
#define pSDH_E_STATUS ((volatile unsigned short *)SDH_E_STATUS)
|
583 |
|
|
#define pSDH_E_MASK ((volatile unsigned short *)SDH_E_MASK)
|
584 |
|
|
#define pSDH_CFG ((volatile unsigned short *)SDH_CFG)
|
585 |
|
|
#define pSDH_RD_WAIT_EN ((volatile unsigned short *)SDH_RD_WAIT_EN)
|
586 |
|
|
#define pSDH_PID0 ((volatile unsigned short *)SDH_PID0)
|
587 |
|
|
#define pSDH_PID1 ((volatile unsigned short *)SDH_PID1)
|
588 |
|
|
#define pSDH_PID2 ((volatile unsigned short *)SDH_PID2)
|
589 |
|
|
#define pSDH_PID3 ((volatile unsigned short *)SDH_PID3)
|
590 |
|
|
#define pSDH_PID4 ((volatile unsigned short *)SDH_PID4)
|
591 |
|
|
#define pSDH_PID5 ((volatile unsigned short *)SDH_PID5)
|
592 |
|
|
#define pSDH_PID6 ((volatile unsigned short *)SDH_PID6)
|
593 |
|
|
#define pSDH_PID7 ((volatile unsigned short *)SDH_PID7)
|
594 |
|
|
|
595 |
|
|
/* HOST Port Registers */
|
596 |
|
|
|
597 |
|
|
#define pHOST_CONTROL ((volatile unsigned short *)HOST_CONTROL)
|
598 |
|
|
#define pHOST_STATUS ((volatile unsigned short *)HOST_STATUS)
|
599 |
|
|
#define pHOST_TIMEOUT ((volatile unsigned short *)HOST_TIMEOUT)
|
600 |
|
|
|
601 |
|
|
/* USB Control Registers */
|
602 |
|
|
|
603 |
|
|
#define pUSB_FADDR ((volatile unsigned short *)USB_FADDR)
|
604 |
|
|
#define pUSB_POWER ((volatile unsigned short *)USB_POWER)
|
605 |
|
|
#define pUSB_INTRTX ((volatile unsigned short *)USB_INTRTX)
|
606 |
|
|
#define pUSB_INTRRX ((volatile unsigned short *)USB_INTRRX)
|
607 |
|
|
#define pUSB_INTRTXE ((volatile unsigned short *)USB_INTRTXE)
|
608 |
|
|
#define pUSB_INTRRXE ((volatile unsigned short *)USB_INTRRXE)
|
609 |
|
|
#define pUSB_INTRUSB ((volatile unsigned short *)USB_INTRUSB)
|
610 |
|
|
#define pUSB_INTRUSBE ((volatile unsigned short *)USB_INTRUSBE)
|
611 |
|
|
#define pUSB_FRAME ((volatile unsigned short *)USB_FRAME)
|
612 |
|
|
#define pUSB_INDEX ((volatile unsigned short *)USB_INDEX)
|
613 |
|
|
#define pUSB_TESTMODE ((volatile unsigned short *)USB_TESTMODE)
|
614 |
|
|
#define pUSB_GLOBINTR ((volatile unsigned short *)USB_GLOBINTR)
|
615 |
|
|
#define pUSB_GLOBAL_CTL ((volatile unsigned short *)USB_GLOBAL_CTL)
|
616 |
|
|
|
617 |
|
|
/* USB Packet Control Registers */
|
618 |
|
|
|
619 |
|
|
#define pUSB_TX_MAX_PACKET ((volatile unsigned short *)USB_TX_MAX_PACKET)
|
620 |
|
|
#define pUSB_CSR0 ((volatile unsigned short *)USB_CSR0)
|
621 |
|
|
#define pUSB_TXCSR ((volatile unsigned short *)USB_TXCSR)
|
622 |
|
|
#define pUSB_RX_MAX_PACKET ((volatile unsigned short *)USB_RX_MAX_PACKET)
|
623 |
|
|
#define pUSB_RXCSR ((volatile unsigned short *)USB_RXCSR)
|
624 |
|
|
#define pUSB_COUNT0 ((volatile unsigned short *)USB_COUNT0)
|
625 |
|
|
#define pUSB_RXCOUNT ((volatile unsigned short *)USB_RXCOUNT)
|
626 |
|
|
#define pUSB_TXTYPE ((volatile unsigned short *)USB_TXTYPE)
|
627 |
|
|
#define pUSB_NAKLIMIT0 ((volatile unsigned short *)USB_NAKLIMIT0)
|
628 |
|
|
#define pUSB_TXINTERVAL ((volatile unsigned short *)USB_TXINTERVAL)
|
629 |
|
|
#define pUSB_RXTYPE ((volatile unsigned short *)USB_RXTYPE)
|
630 |
|
|
#define pUSB_RXINTERVAL ((volatile unsigned short *)USB_RXINTERVAL)
|
631 |
|
|
#define pUSB_TXCOUNT ((volatile unsigned short *)USB_TXCOUNT)
|
632 |
|
|
|
633 |
|
|
/* USB Endpoint FIFO Registers */
|
634 |
|
|
|
635 |
|
|
#define pUSB_EP0_FIFO ((volatile unsigned short *)USB_EP0_FIFO)
|
636 |
|
|
#define pUSB_EP1_FIFO ((volatile unsigned short *)USB_EP1_FIFO)
|
637 |
|
|
#define pUSB_EP2_FIFO ((volatile unsigned short *)USB_EP2_FIFO)
|
638 |
|
|
#define pUSB_EP3_FIFO ((volatile unsigned short *)USB_EP3_FIFO)
|
639 |
|
|
#define pUSB_EP4_FIFO ((volatile unsigned short *)USB_EP4_FIFO)
|
640 |
|
|
#define pUSB_EP5_FIFO ((volatile unsigned short *)USB_EP5_FIFO)
|
641 |
|
|
#define pUSB_EP6_FIFO ((volatile unsigned short *)USB_EP6_FIFO)
|
642 |
|
|
#define pUSB_EP7_FIFO ((volatile unsigned short *)USB_EP7_FIFO)
|
643 |
|
|
|
644 |
|
|
/* USB OTG Control Registers */
|
645 |
|
|
|
646 |
|
|
#define pUSB_OTG_DEV_CTL ((volatile unsigned short *)USB_OTG_DEV_CTL)
|
647 |
|
|
#define pUSB_OTG_VBUS_IRQ ((volatile unsigned short *)USB_OTG_VBUS_IRQ)
|
648 |
|
|
#define pUSB_OTG_VBUS_MASK ((volatile unsigned short *)USB_OTG_VBUS_MASK)
|
649 |
|
|
|
650 |
|
|
/* USB Phy Control Registers */
|
651 |
|
|
|
652 |
|
|
#define pUSB_LINKINFO ((volatile unsigned short *)USB_LINKINFO)
|
653 |
|
|
#define pUSB_VPLEN ((volatile unsigned short *)USB_VPLEN)
|
654 |
|
|
#define pUSB_HS_EOF1 ((volatile unsigned short *)USB_HS_EOF1)
|
655 |
|
|
#define pUSB_FS_EOF1 ((volatile unsigned short *)USB_FS_EOF1)
|
656 |
|
|
#define pUSB_LS_EOF1 ((volatile unsigned short *)USB_LS_EOF1)
|
657 |
|
|
|
658 |
|
|
/* (APHY_CNTRL is for ADI usage only) */
|
659 |
|
|
|
660 |
|
|
#define pUSB_APHY_CNTRL ((volatile unsigned short *)USB_APHY_CNTRL)
|
661 |
|
|
|
662 |
|
|
/* (APHY_CALIB is for ADI usage only) */
|
663 |
|
|
|
664 |
|
|
#define pUSB_APHY_CALIB ((volatile unsigned short *)USB_APHY_CALIB)
|
665 |
|
|
#define pUSB_APHY_CNTRL2 ((volatile unsigned short *)USB_APHY_CNTRL2)
|
666 |
|
|
|
667 |
|
|
/* (PHY_TEST is for ADI usage only) */
|
668 |
|
|
|
669 |
|
|
#define pUSB_PHY_TEST ((volatile unsigned short *)USB_PHY_TEST)
|
670 |
|
|
#define pUSB_PLLOSC_CTRL ((volatile unsigned short *)USB_PLLOSC_CTRL)
|
671 |
|
|
#define pUSB_SRP_CLKDIV ((volatile unsigned short *)USB_SRP_CLKDIV)
|
672 |
|
|
|
673 |
|
|
/* USB Endpoint 0 Control Registers */
|
674 |
|
|
|
675 |
|
|
#define pUSB_EP_NI0_TXMAXP ((volatile unsigned short *)USB_EP_NI0_TXMAXP)
|
676 |
|
|
#define pUSB_EP_NI0_TXCSR ((volatile unsigned short *)USB_EP_NI0_TXCSR)
|
677 |
|
|
#define pUSB_EP_NI0_RXMAXP ((volatile unsigned short *)USB_EP_NI0_RXMAXP)
|
678 |
|
|
#define pUSB_EP_NI0_RXCSR ((volatile unsigned short *)USB_EP_NI0_RXCSR)
|
679 |
|
|
#define pUSB_EP_NI0_RXCOUNT ((volatile unsigned short *)USB_EP_NI0_RXCOUNT)
|
680 |
|
|
#define pUSB_EP_NI0_TXTYPE ((volatile unsigned short *)USB_EP_NI0_TXTYPE)
|
681 |
|
|
#define pUSB_EP_NI0_TXINTERVAL ((volatile unsigned short *)USB_EP_NI0_TXINTERVAL)
|
682 |
|
|
#define pUSB_EP_NI0_RXTYPE ((volatile unsigned short *)USB_EP_NI0_RXTYPE)
|
683 |
|
|
#define pUSB_EP_NI0_RXINTERVAL ((volatile unsigned short *)USB_EP_NI0_RXINTERVAL)
|
684 |
|
|
|
685 |
|
|
/* USB Endpoint 1 Control Registers */
|
686 |
|
|
|
687 |
|
|
#define pUSB_EP_NI0_TXCOUNT ((volatile unsigned short *)USB_EP_NI0_TXCOUNT)
|
688 |
|
|
#define pUSB_EP_NI1_TXMAXP ((volatile unsigned short *)USB_EP_NI1_TXMAXP)
|
689 |
|
|
#define pUSB_EP_NI1_TXCSR ((volatile unsigned short *)USB_EP_NI1_TXCSR)
|
690 |
|
|
#define pUSB_EP_NI1_RXMAXP ((volatile unsigned short *)USB_EP_NI1_RXMAXP)
|
691 |
|
|
#define pUSB_EP_NI1_RXCSR ((volatile unsigned short *)USB_EP_NI1_RXCSR)
|
692 |
|
|
#define pUSB_EP_NI1_RXCOUNT ((volatile unsigned short *)USB_EP_NI1_RXCOUNT)
|
693 |
|
|
#define pUSB_EP_NI1_TXTYPE ((volatile unsigned short *)USB_EP_NI1_TXTYPE)
|
694 |
|
|
#define pUSB_EP_NI1_TXINTERVAL ((volatile unsigned short *)USB_EP_NI1_TXINTERVAL)
|
695 |
|
|
#define pUSB_EP_NI1_RXTYPE ((volatile unsigned short *)USB_EP_NI1_RXTYPE)
|
696 |
|
|
#define pUSB_EP_NI1_RXINTERVAL ((volatile unsigned short *)USB_EP_NI1_RXINTERVAL)
|
697 |
|
|
|
698 |
|
|
/* USB Endpoint 2 Control Registers */
|
699 |
|
|
|
700 |
|
|
#define pUSB_EP_NI1_TXCOUNT ((volatile unsigned short *)USB_EP_NI1_TXCOUNT)
|
701 |
|
|
#define pUSB_EP_NI2_TXMAXP ((volatile unsigned short *)USB_EP_NI2_TXMAXP)
|
702 |
|
|
#define pUSB_EP_NI2_TXCSR ((volatile unsigned short *)USB_EP_NI2_TXCSR)
|
703 |
|
|
#define pUSB_EP_NI2_RXMAXP ((volatile unsigned short *)USB_EP_NI2_RXMAXP)
|
704 |
|
|
#define pUSB_EP_NI2_RXCSR ((volatile unsigned short *)USB_EP_NI2_RXCSR)
|
705 |
|
|
#define pUSB_EP_NI2_RXCOUNT ((volatile unsigned short *)USB_EP_NI2_RXCOUNT)
|
706 |
|
|
#define pUSB_EP_NI2_TXTYPE ((volatile unsigned short *)USB_EP_NI2_TXTYPE)
|
707 |
|
|
#define pUSB_EP_NI2_TXINTERVAL ((volatile unsigned short *)USB_EP_NI2_TXINTERVAL)
|
708 |
|
|
#define pUSB_EP_NI2_RXTYPE ((volatile unsigned short *)USB_EP_NI2_RXTYPE)
|
709 |
|
|
#define pUSB_EP_NI2_RXINTERVAL ((volatile unsigned short *)USB_EP_NI2_RXINTERVAL)
|
710 |
|
|
|
711 |
|
|
/* USB Endpoint 3 Control Registers */
|
712 |
|
|
|
713 |
|
|
#define pUSB_EP_NI2_TXCOUNT ((volatile unsigned short *)USB_EP_NI2_TXCOUNT)
|
714 |
|
|
#define pUSB_EP_NI3_TXMAXP ((volatile unsigned short *)USB_EP_NI3_TXMAXP)
|
715 |
|
|
#define pUSB_EP_NI3_TXCSR ((volatile unsigned short *)USB_EP_NI3_TXCSR)
|
716 |
|
|
#define pUSB_EP_NI3_RXMAXP ((volatile unsigned short *)USB_EP_NI3_RXMAXP)
|
717 |
|
|
#define pUSB_EP_NI3_RXCSR ((volatile unsigned short *)USB_EP_NI3_RXCSR)
|
718 |
|
|
#define pUSB_EP_NI3_RXCOUNT ((volatile unsigned short *)USB_EP_NI3_RXCOUNT)
|
719 |
|
|
#define pUSB_EP_NI3_TXTYPE ((volatile unsigned short *)USB_EP_NI3_TXTYPE)
|
720 |
|
|
#define pUSB_EP_NI3_TXINTERVAL ((volatile unsigned short *)USB_EP_NI3_TXINTERVAL)
|
721 |
|
|
#define pUSB_EP_NI3_RXTYPE ((volatile unsigned short *)USB_EP_NI3_RXTYPE)
|
722 |
|
|
#define pUSB_EP_NI3_RXINTERVAL ((volatile unsigned short *)USB_EP_NI3_RXINTERVAL)
|
723 |
|
|
|
724 |
|
|
/* USB Endpoint 4 Control Registers */
|
725 |
|
|
|
726 |
|
|
#define pUSB_EP_NI3_TXCOUNT ((volatile unsigned short *)USB_EP_NI3_TXCOUNT)
|
727 |
|
|
#define pUSB_EP_NI4_TXMAXP ((volatile unsigned short *)USB_EP_NI4_TXMAXP)
|
728 |
|
|
#define pUSB_EP_NI4_TXCSR ((volatile unsigned short *)USB_EP_NI4_TXCSR)
|
729 |
|
|
#define pUSB_EP_NI4_RXMAXP ((volatile unsigned short *)USB_EP_NI4_RXMAXP)
|
730 |
|
|
#define pUSB_EP_NI4_RXCSR ((volatile unsigned short *)USB_EP_NI4_RXCSR)
|
731 |
|
|
#define pUSB_EP_NI4_RXCOUNT ((volatile unsigned short *)USB_EP_NI4_RXCOUNT)
|
732 |
|
|
#define pUSB_EP_NI4_TXTYPE ((volatile unsigned short *)USB_EP_NI4_TXTYPE)
|
733 |
|
|
#define pUSB_EP_NI4_TXINTERVAL ((volatile unsigned short *)USB_EP_NI4_TXINTERVAL)
|
734 |
|
|
#define pUSB_EP_NI4_RXTYPE ((volatile unsigned short *)USB_EP_NI4_RXTYPE)
|
735 |
|
|
#define pUSB_EP_NI4_RXINTERVAL ((volatile unsigned short *)USB_EP_NI4_RXINTERVAL)
|
736 |
|
|
|
737 |
|
|
/* USB Endpoint 5 Control Registers */
|
738 |
|
|
|
739 |
|
|
#define pUSB_EP_NI4_TXCOUNT ((volatile unsigned short *)USB_EP_NI4_TXCOUNT)
|
740 |
|
|
#define pUSB_EP_NI5_TXMAXP ((volatile unsigned short *)USB_EP_NI5_TXMAXP)
|
741 |
|
|
#define pUSB_EP_NI5_TXCSR ((volatile unsigned short *)USB_EP_NI5_TXCSR)
|
742 |
|
|
#define pUSB_EP_NI5_RXMAXP ((volatile unsigned short *)USB_EP_NI5_RXMAXP)
|
743 |
|
|
#define pUSB_EP_NI5_RXCSR ((volatile unsigned short *)USB_EP_NI5_RXCSR)
|
744 |
|
|
#define pUSB_EP_NI5_RXCOUNT ((volatile unsigned short *)USB_EP_NI5_RXCOUNT)
|
745 |
|
|
#define pUSB_EP_NI5_TXTYPE ((volatile unsigned short *)USB_EP_NI5_TXTYPE)
|
746 |
|
|
#define pUSB_EP_NI5_TXINTERVAL ((volatile unsigned short *)USB_EP_NI5_TXINTERVAL)
|
747 |
|
|
#define pUSB_EP_NI5_RXTYPE ((volatile unsigned short *)USB_EP_NI5_RXTYPE)
|
748 |
|
|
#define pUSB_EP_NI5_RXINTERVAL ((volatile unsigned short *)USB_EP_NI5_RXINTERVAL)
|
749 |
|
|
|
750 |
|
|
/* USB Endpoint 6 Control Registers */
|
751 |
|
|
|
752 |
|
|
#define pUSB_EP_NI5_TXCOUNT ((volatile unsigned short *)USB_EP_NI5_TXCOUNT)
|
753 |
|
|
#define pUSB_EP_NI6_TXMAXP ((volatile unsigned short *)USB_EP_NI6_TXMAXP)
|
754 |
|
|
#define pUSB_EP_NI6_TXCSR ((volatile unsigned short *)USB_EP_NI6_TXCSR)
|
755 |
|
|
#define pUSB_EP_NI6_RXMAXP ((volatile unsigned short *)USB_EP_NI6_RXMAXP)
|
756 |
|
|
#define pUSB_EP_NI6_RXCSR ((volatile unsigned short *)USB_EP_NI6_RXCSR)
|
757 |
|
|
#define pUSB_EP_NI6_RXCOUNT ((volatile unsigned short *)USB_EP_NI6_RXCOUNT)
|
758 |
|
|
#define pUSB_EP_NI6_TXTYPE ((volatile unsigned short *)USB_EP_NI6_TXTYPE)
|
759 |
|
|
#define pUSB_EP_NI6_TXINTERVAL ((volatile unsigned short *)USB_EP_NI6_TXINTERVAL)
|
760 |
|
|
#define pUSB_EP_NI6_RXTYPE ((volatile unsigned short *)USB_EP_NI6_RXTYPE)
|
761 |
|
|
#define pUSB_EP_NI6_RXINTERVAL ((volatile unsigned short *)USB_EP_NI6_RXINTERVAL)
|
762 |
|
|
|
763 |
|
|
/* USB Endpoint 7 Control Registers */
|
764 |
|
|
|
765 |
|
|
#define pUSB_EP_NI6_TXCOUNT ((volatile unsigned short *)USB_EP_NI6_TXCOUNT)
|
766 |
|
|
#define pUSB_EP_NI7_TXMAXP ((volatile unsigned short *)USB_EP_NI7_TXMAXP)
|
767 |
|
|
#define pUSB_EP_NI7_TXCSR ((volatile unsigned short *)USB_EP_NI7_TXCSR)
|
768 |
|
|
#define pUSB_EP_NI7_RXMAXP ((volatile unsigned short *)USB_EP_NI7_RXMAXP)
|
769 |
|
|
#define pUSB_EP_NI7_RXCSR ((volatile unsigned short *)USB_EP_NI7_RXCSR)
|
770 |
|
|
#define pUSB_EP_NI7_RXCOUNT ((volatile unsigned short *)USB_EP_NI7_RXCOUNT)
|
771 |
|
|
#define pUSB_EP_NI7_TXTYPE ((volatile unsigned short *)USB_EP_NI7_TXTYPE)
|
772 |
|
|
#define pUSB_EP_NI7_TXINTERVAL ((volatile unsigned short *)USB_EP_NI7_TXINTERVAL)
|
773 |
|
|
#define pUSB_EP_NI7_RXTYPE ((volatile unsigned short *)USB_EP_NI7_RXTYPE)
|
774 |
|
|
#define pUSB_EP_NI7_RXINTERVAL ((volatile unsigned short *)USB_EP_NI7_RXINTERVAL)
|
775 |
|
|
#define pUSB_EP_NI7_TXCOUNT ((volatile unsigned short *)USB_EP_NI7_TXCOUNT)
|
776 |
|
|
#define pUSB_DMA_INTERRUPT ((volatile unsigned short *)USB_DMA_INTERRUPT)
|
777 |
|
|
|
778 |
|
|
/* USB Channel 0 Config Registers */
|
779 |
|
|
|
780 |
|
|
#define pUSB_DMA0CONTROL ((volatile unsigned short *)USB_DMA0CONTROL)
|
781 |
|
|
#define pUSB_DMA0ADDRLOW ((volatile unsigned short *)USB_DMA0ADDRLOW)
|
782 |
|
|
#define pUSB_DMA0ADDRHIGH ((volatile unsigned short *)USB_DMA0ADDRHIGH)
|
783 |
|
|
#define pUSB_DMA0COUNTLOW ((volatile unsigned short *)USB_DMA0COUNTLOW)
|
784 |
|
|
#define pUSB_DMA0COUNTHIGH ((volatile unsigned short *)USB_DMA0COUNTHIGH)
|
785 |
|
|
|
786 |
|
|
/* USB Channel 1 Config Registers */
|
787 |
|
|
|
788 |
|
|
#define pUSB_DMA1CONTROL ((volatile unsigned short *)USB_DMA1CONTROL)
|
789 |
|
|
#define pUSB_DMA1ADDRLOW ((volatile unsigned short *)USB_DMA1ADDRLOW)
|
790 |
|
|
#define pUSB_DMA1ADDRHIGH ((volatile unsigned short *)USB_DMA1ADDRHIGH)
|
791 |
|
|
#define pUSB_DMA1COUNTLOW ((volatile unsigned short *)USB_DMA1COUNTLOW)
|
792 |
|
|
#define pUSB_DMA1COUNTHIGH ((volatile unsigned short *)USB_DMA1COUNTHIGH)
|
793 |
|
|
|
794 |
|
|
/* USB Channel 2 Config Registers */
|
795 |
|
|
|
796 |
|
|
#define pUSB_DMA2CONTROL ((volatile unsigned short *)USB_DMA2CONTROL)
|
797 |
|
|
#define pUSB_DMA2ADDRLOW ((volatile unsigned short *)USB_DMA2ADDRLOW)
|
798 |
|
|
#define pUSB_DMA2ADDRHIGH ((volatile unsigned short *)USB_DMA2ADDRHIGH)
|
799 |
|
|
#define pUSB_DMA2COUNTLOW ((volatile unsigned short *)USB_DMA2COUNTLOW)
|
800 |
|
|
#define pUSB_DMA2COUNTHIGH ((volatile unsigned short *)USB_DMA2COUNTHIGH)
|
801 |
|
|
|
802 |
|
|
/* USB Channel 3 Config Registers */
|
803 |
|
|
|
804 |
|
|
#define pUSB_DMA3CONTROL ((volatile unsigned short *)USB_DMA3CONTROL)
|
805 |
|
|
#define pUSB_DMA3ADDRLOW ((volatile unsigned short *)USB_DMA3ADDRLOW)
|
806 |
|
|
#define pUSB_DMA3ADDRHIGH ((volatile unsigned short *)USB_DMA3ADDRHIGH)
|
807 |
|
|
#define pUSB_DMA3COUNTLOW ((volatile unsigned short *)USB_DMA3COUNTLOW)
|
808 |
|
|
#define pUSB_DMA3COUNTHIGH ((volatile unsigned short *)USB_DMA3COUNTHIGH)
|
809 |
|
|
|
810 |
|
|
/* USB Channel 4 Config Registers */
|
811 |
|
|
|
812 |
|
|
#define pUSB_DMA4CONTROL ((volatile unsigned short *)USB_DMA4CONTROL)
|
813 |
|
|
#define pUSB_DMA4ADDRLOW ((volatile unsigned short *)USB_DMA4ADDRLOW)
|
814 |
|
|
#define pUSB_DMA4ADDRHIGH ((volatile unsigned short *)USB_DMA4ADDRHIGH)
|
815 |
|
|
#define pUSB_DMA4COUNTLOW ((volatile unsigned short *)USB_DMA4COUNTLOW)
|
816 |
|
|
#define pUSB_DMA4COUNTHIGH ((volatile unsigned short *)USB_DMA4COUNTHIGH)
|
817 |
|
|
|
818 |
|
|
/* USB Channel 5 Config Registers */
|
819 |
|
|
|
820 |
|
|
#define pUSB_DMA5CONTROL ((volatile unsigned short *)USB_DMA5CONTROL)
|
821 |
|
|
#define pUSB_DMA5ADDRLOW ((volatile unsigned short *)USB_DMA5ADDRLOW)
|
822 |
|
|
#define pUSB_DMA5ADDRHIGH ((volatile unsigned short *)USB_DMA5ADDRHIGH)
|
823 |
|
|
#define pUSB_DMA5COUNTLOW ((volatile unsigned short *)USB_DMA5COUNTLOW)
|
824 |
|
|
#define pUSB_DMA5COUNTHIGH ((volatile unsigned short *)USB_DMA5COUNTHIGH)
|
825 |
|
|
|
826 |
|
|
/* USB Channel 6 Config Registers */
|
827 |
|
|
|
828 |
|
|
#define pUSB_DMA6CONTROL ((volatile unsigned short *)USB_DMA6CONTROL)
|
829 |
|
|
#define pUSB_DMA6ADDRLOW ((volatile unsigned short *)USB_DMA6ADDRLOW)
|
830 |
|
|
#define pUSB_DMA6ADDRHIGH ((volatile unsigned short *)USB_DMA6ADDRHIGH)
|
831 |
|
|
#define pUSB_DMA6COUNTLOW ((volatile unsigned short *)USB_DMA6COUNTLOW)
|
832 |
|
|
#define pUSB_DMA6COUNTHIGH ((volatile unsigned short *)USB_DMA6COUNTHIGH)
|
833 |
|
|
|
834 |
|
|
/* USB Channel 7 Config Registers */
|
835 |
|
|
|
836 |
|
|
#define pUSB_DMA7CONTROL ((volatile unsigned short *)USB_DMA7CONTROL)
|
837 |
|
|
#define pUSB_DMA7ADDRLOW ((volatile unsigned short *)USB_DMA7ADDRLOW)
|
838 |
|
|
#define pUSB_DMA7ADDRHIGH ((volatile unsigned short *)USB_DMA7ADDRHIGH)
|
839 |
|
|
#define pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW)
|
840 |
|
|
#define pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH)
|
841 |
|
|
|
842 |
|
|
/* Keypad Registers */
|
843 |
|
|
|
844 |
|
|
#define pKPAD_CTL ((volatile unsigned short *)KPAD_CTL)
|
845 |
|
|
#define pKPAD_PRESCALE ((volatile unsigned short *)KPAD_PRESCALE)
|
846 |
|
|
#define pKPAD_MSEL ((volatile unsigned short *)KPAD_MSEL)
|
847 |
|
|
#define pKPAD_ROWCOL ((volatile unsigned short *)KPAD_ROWCOL)
|
848 |
|
|
#define pKPAD_STAT ((volatile unsigned short *)KPAD_STAT)
|
849 |
|
|
#define pKPAD_SOFTEVAL ((volatile unsigned short *)KPAD_SOFTEVAL)
|
850 |
|
|
|
851 |
|
|
/* Pixel Compositor (PIXC) Registers */
|
852 |
|
|
|
853 |
|
|
#define pPIXC_CTL ((volatile unsigned short *)PIXC_CTL)
|
854 |
|
|
#define pPIXC_PPL ((volatile unsigned short *)PIXC_PPL)
|
855 |
|
|
#define pPIXC_LPF ((volatile unsigned short *)PIXC_LPF)
|
856 |
|
|
#define pPIXC_AHSTART ((volatile unsigned short *)PIXC_AHSTART)
|
857 |
|
|
#define pPIXC_AHEND ((volatile unsigned short *)PIXC_AHEND)
|
858 |
|
|
#define pPIXC_AVSTART ((volatile unsigned short *)PIXC_AVSTART)
|
859 |
|
|
#define pPIXC_AVEND ((volatile unsigned short *)PIXC_AVEND)
|
860 |
|
|
#define pPIXC_ATRANSP ((volatile unsigned short *)PIXC_ATRANSP)
|
861 |
|
|
#define pPIXC_BHSTART ((volatile unsigned short *)PIXC_BHSTART)
|
862 |
|
|
#define pPIXC_BHEND ((volatile unsigned short *)PIXC_BHEND)
|
863 |
|
|
#define pPIXC_BVSTART ((volatile unsigned short *)PIXC_BVSTART)
|
864 |
|
|
#define pPIXC_BVEND ((volatile unsigned short *)PIXC_BVEND)
|
865 |
|
|
#define pPIXC_BTRANSP ((volatile unsigned short *)PIXC_BTRANSP)
|
866 |
|
|
#define pPIXC_INTRSTAT ((volatile unsigned short *)PIXC_INTRSTAT)
|
867 |
|
|
#define pPIXC_RYCON ((volatile unsigned long *)PIXC_RYCON)
|
868 |
|
|
#define pPIXC_GUCON ((volatile unsigned long *)PIXC_GUCON)
|
869 |
|
|
#define pPIXC_BVCON ((volatile unsigned long *)PIXC_BVCON)
|
870 |
|
|
#define pPIXC_CCBIAS ((volatile unsigned long *)PIXC_CCBIAS)
|
871 |
|
|
#define pPIXC_TC ((volatile unsigned long *)PIXC_TC)
|
872 |
|
|
|
873 |
|
|
#endif /* _CDEF_BF548_H */
|