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