1 | /*******************************************************************************
|
---|
2 | * DISCLAIMER
|
---|
3 | * This software is supplied by Renesas Electronics Corporation and is only
|
---|
4 | * intended for use with Renesas products. No other uses are authorized. This
|
---|
5 | * software is owned by Renesas Electronics Corporation and is protected under
|
---|
6 | * all applicable laws, including copyright laws.
|
---|
7 | * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
|
---|
8 | * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
|
---|
9 | * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
|
---|
10 | * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
|
---|
11 | * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
|
---|
12 | * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
|
---|
13 | * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
|
---|
14 | * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
|
---|
15 | * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
---|
16 | * Renesas reserves the right, without notice, to make changes to this software
|
---|
17 | * and to discontinue the availability of this software. By using this software,
|
---|
18 | * you agree to the additional terms and conditions found by accessing the
|
---|
19 | * following link:
|
---|
20 | * http://www.renesas.com/disclaimer*
|
---|
21 | * Copyright (C) 2013-2014 Renesas Electronics Corporation. All rights reserved.
|
---|
22 | *******************************************************************************/
|
---|
23 | /*******************************************************************************
|
---|
24 | * File Name : usb20_iodefine.h
|
---|
25 | * $Rev: $
|
---|
26 | * $Date:: $
|
---|
27 | * Description : Definition of I/O Register (V1.00a)
|
---|
28 | ******************************************************************************/
|
---|
29 | #ifndef USB20_IODEFINE_H
|
---|
30 | #define USB20_IODEFINE_H
|
---|
31 | /* ->SEC M1.10.1 : Not magic number */
|
---|
32 |
|
---|
33 | struct st_usb20
|
---|
34 | { /* USB20 */
|
---|
35 | volatile uint16_t SYSCFG0; /* SYSCFG0 */
|
---|
36 | volatile uint16_t BUSWAIT; /* BUSWAIT */
|
---|
37 | volatile uint16_t SYSSTS0; /* SYSSTS0 */
|
---|
38 | volatile uint8_t dummy1[2]; /* */
|
---|
39 | volatile uint16_t DVSTCTR0; /* DVSTCTR0 */
|
---|
40 | volatile uint8_t dummy2[2]; /* */
|
---|
41 | volatile uint16_t TESTMODE; /* TESTMODE */
|
---|
42 | volatile uint8_t dummy3[2]; /* */
|
---|
43 | #define USB20_D0FBCFG_COUNT 2
|
---|
44 | volatile uint16_t D0FBCFG; /* D0FBCFG */
|
---|
45 | volatile uint16_t D1FBCFG; /* D1FBCFG */
|
---|
46 | union iodefine_reg32_t CFIFO; /* CFIFO */
|
---|
47 | #define USB20_D0FIFO_COUNT 2
|
---|
48 | union iodefine_reg32_t D0FIFO; /* D0FIFO */
|
---|
49 | union iodefine_reg32_t D1FIFO; /* D1FIFO */
|
---|
50 |
|
---|
51 | volatile uint16_t CFIFOSEL; /* CFIFOSEL */
|
---|
52 | volatile uint16_t CFIFOCTR; /* CFIFOCTR */
|
---|
53 | volatile uint8_t dummy4[4]; /* */
|
---|
54 | /* start of struct st_usb20_from_d0fifosel */
|
---|
55 | volatile uint16_t D0FIFOSEL; /* D0FIFOSEL */
|
---|
56 | volatile uint16_t D0FIFOCTR; /* D0FIFOCTR */
|
---|
57 | /* end of struct st_usb20_from_d0fifosel */
|
---|
58 | /* start of struct st_usb20_from_d0fifosel */
|
---|
59 | volatile uint16_t D1FIFOSEL; /* D1FIFOSEL */
|
---|
60 | volatile uint16_t D1FIFOCTR; /* D1FIFOCTR */
|
---|
61 | /* end of struct st_usb20_from_d0fifosel */
|
---|
62 | #define USB20_INTENB0_COUNT 2
|
---|
63 | volatile uint16_t INTENB0; /* INTENB0 */
|
---|
64 | volatile uint16_t INTENB1; /* INTENB1 */
|
---|
65 | volatile uint8_t dummy5[2]; /* */
|
---|
66 | volatile uint16_t BRDYENB; /* BRDYENB */
|
---|
67 | volatile uint16_t NRDYENB; /* NRDYENB */
|
---|
68 | volatile uint16_t BEMPENB; /* BEMPENB */
|
---|
69 | volatile uint16_t SOFCFG; /* SOFCFG */
|
---|
70 | volatile uint8_t dummy6[2]; /* */
|
---|
71 | #define USB20_INTSTS0_COUNT 2
|
---|
72 | volatile uint16_t INTSTS0; /* INTSTS0 */
|
---|
73 | volatile uint16_t INTSTS1; /* INTSTS1 */
|
---|
74 | volatile uint8_t dummy7[2]; /* */
|
---|
75 | volatile uint16_t BRDYSTS; /* BRDYSTS */
|
---|
76 | volatile uint16_t NRDYSTS; /* NRDYSTS */
|
---|
77 | volatile uint16_t BEMPSTS; /* BEMPSTS */
|
---|
78 | volatile uint16_t FRMNUM; /* FRMNUM */
|
---|
79 | volatile uint16_t UFRMNUM; /* UFRMNUM */
|
---|
80 | volatile uint16_t USBADDR; /* USBADDR */
|
---|
81 | volatile uint8_t dummy8[2]; /* */
|
---|
82 | volatile uint16_t USBREQ; /* USBREQ */
|
---|
83 | volatile uint16_t USBVAL; /* USBVAL */
|
---|
84 | volatile uint16_t USBINDX; /* USBINDX */
|
---|
85 | volatile uint16_t USBLENG; /* USBLENG */
|
---|
86 | volatile uint16_t DCPCFG; /* DCPCFG */
|
---|
87 | volatile uint16_t DCPMAXP; /* DCPMAXP */
|
---|
88 | volatile uint16_t DCPCTR; /* DCPCTR */
|
---|
89 | volatile uint8_t dummy9[2]; /* */
|
---|
90 | volatile uint16_t PIPESEL; /* PIPESEL */
|
---|
91 | volatile uint8_t dummy10[2]; /* */
|
---|
92 | volatile uint16_t PIPECFG; /* PIPECFG */
|
---|
93 | volatile uint16_t PIPEBUF; /* PIPEBUF */
|
---|
94 | volatile uint16_t PIPEMAXP; /* PIPEMAXP */
|
---|
95 | volatile uint16_t PIPEPERI; /* PIPEPERI */
|
---|
96 | #define USB20_PIPE1CTR_COUNT 0xF
|
---|
97 | volatile uint16_t PIPE1CTR; /* PIPE1CTR */
|
---|
98 | volatile uint16_t PIPE2CTR; /* PIPE2CTR */
|
---|
99 | volatile uint16_t PIPE3CTR; /* PIPE3CTR */
|
---|
100 | volatile uint16_t PIPE4CTR; /* PIPE4CTR */
|
---|
101 | volatile uint16_t PIPE5CTR; /* PIPE5CTR */
|
---|
102 | volatile uint16_t PIPE6CTR; /* PIPE6CTR */
|
---|
103 | volatile uint16_t PIPE7CTR; /* PIPE7CTR */
|
---|
104 | volatile uint16_t PIPE8CTR; /* PIPE8CTR */
|
---|
105 | volatile uint16_t PIPE9CTR; /* PIPE9CTR */
|
---|
106 | volatile uint16_t PIPEACTR; /* PIPEACTR */
|
---|
107 | volatile uint16_t PIPEBCTR; /* PIPEBCTR */
|
---|
108 | volatile uint16_t PIPECCTR; /* PIPECCTR */
|
---|
109 | volatile uint16_t PIPEDCTR; /* PIPEDCTR */
|
---|
110 | volatile uint16_t PIPEECTR; /* PIPEECTR */
|
---|
111 | volatile uint16_t PIPEFCTR; /* PIPEFCTR */
|
---|
112 | volatile uint8_t dummy11[2]; /* */
|
---|
113 | /* start of struct st_usb20_from_pipe1tre */
|
---|
114 | volatile uint16_t PIPE1TRE; /* PIPE1TRE */
|
---|
115 | volatile uint16_t PIPE1TRN; /* PIPE1TRN */
|
---|
116 | /* end of struct st_usb20_from_pipe1tre */
|
---|
117 | /* start of struct st_usb20_from_pipe1tre */
|
---|
118 | volatile uint16_t PIPE2TRE; /* PIPE2TRE */
|
---|
119 | volatile uint16_t PIPE2TRN; /* PIPE2TRN */
|
---|
120 | /* end of struct st_usb20_from_pipe1tre */
|
---|
121 | /* start of struct st_usb20_from_pipe1tre */
|
---|
122 | volatile uint16_t PIPE3TRE; /* PIPE3TRE */
|
---|
123 | volatile uint16_t PIPE3TRN; /* PIPE3TRN */
|
---|
124 | /* end of struct st_usb20_from_pipe1tre */
|
---|
125 | /* start of struct st_usb20_from_pipe1tre */
|
---|
126 | volatile uint16_t PIPE4TRE; /* PIPE4TRE */
|
---|
127 | volatile uint16_t PIPE4TRN; /* PIPE4TRN */
|
---|
128 | /* end of struct st_usb20_from_pipe1tre */
|
---|
129 | /* start of struct st_usb20_from_pipe1tre */
|
---|
130 | volatile uint16_t PIPE5TRE; /* PIPE5TRE */
|
---|
131 | volatile uint16_t PIPE5TRN; /* PIPE5TRN */
|
---|
132 | /* end of struct st_usb20_from_pipe1tre */
|
---|
133 | volatile uint16_t PIPEBTRE; /* PIPEBTRE */
|
---|
134 | volatile uint16_t PIPEBTRN; /* PIPEBTRN */
|
---|
135 | volatile uint16_t PIPECTRE; /* PIPECTRE */
|
---|
136 | volatile uint16_t PIPECTRN; /* PIPECTRN */
|
---|
137 | volatile uint16_t PIPEDTRE; /* PIPEDTRE */
|
---|
138 | volatile uint16_t PIPEDTRN; /* PIPEDTRN */
|
---|
139 | volatile uint16_t PIPEETRE; /* PIPEETRE */
|
---|
140 | volatile uint16_t PIPEETRN; /* PIPEETRN */
|
---|
141 | volatile uint16_t PIPEFTRE; /* PIPEFTRE */
|
---|
142 | volatile uint16_t PIPEFTRN; /* PIPEFTRN */
|
---|
143 | volatile uint16_t PIPE9TRE; /* PIPE9TRE */
|
---|
144 | volatile uint16_t PIPE9TRN; /* PIPE9TRN */
|
---|
145 | volatile uint16_t PIPEATRE; /* PIPEATRE */
|
---|
146 | volatile uint16_t PIPEATRN; /* PIPEATRN */
|
---|
147 | volatile uint8_t dummy12[16]; /* */
|
---|
148 | #define USB20_DEVADD0_COUNT 0xB
|
---|
149 | volatile uint16_t DEVADD0; /* DEVADD0 */
|
---|
150 | volatile uint16_t DEVADD1; /* DEVADD1 */
|
---|
151 | volatile uint16_t DEVADD2; /* DEVADD2 */
|
---|
152 | volatile uint16_t DEVADD3; /* DEVADD3 */
|
---|
153 | volatile uint16_t DEVADD4; /* DEVADD4 */
|
---|
154 | volatile uint16_t DEVADD5; /* DEVADD5 */
|
---|
155 | volatile uint16_t DEVADD6; /* DEVADD6 */
|
---|
156 | volatile uint16_t DEVADD7; /* DEVADD7 */
|
---|
157 | volatile uint16_t DEVADD8; /* DEVADD8 */
|
---|
158 | volatile uint16_t DEVADD9; /* DEVADD9 */
|
---|
159 | volatile uint16_t DEVADDA; /* DEVADDA */
|
---|
160 | volatile uint8_t dummy13[28]; /* */
|
---|
161 | volatile uint16_t SUSPMODE; /* SUSPMODE */
|
---|
162 | volatile uint8_t dummy14[92]; /* */
|
---|
163 | /* start of struct st_usb20_from_dmfifob0 */
|
---|
164 | volatile uint32_t D0FIFOB0; /* D0FIFOB0 */
|
---|
165 | volatile uint32_t D0FIFOB1; /* D0FIFOB1 */
|
---|
166 | volatile uint32_t D0FIFOB2; /* D0FIFOB2 */
|
---|
167 | volatile uint32_t D0FIFOB3; /* D0FIFOB3 */
|
---|
168 | volatile uint32_t D0FIFOB4; /* D0FIFOB4 */
|
---|
169 | volatile uint32_t D0FIFOB5; /* D0FIFOB5 */
|
---|
170 | volatile uint32_t D0FIFOB6; /* D0FIFOB6 */
|
---|
171 | volatile uint32_t D0FIFOB7; /* D0FIFOB7 */
|
---|
172 | /* end of struct st_usb20_from_dmfifob0 */
|
---|
173 | /* start of struct st_usb20_from_dmfifob0 */
|
---|
174 | volatile uint32_t D1FIFOB0; /* D1FIFOB0 */
|
---|
175 | volatile uint32_t D1FIFOB1; /* D1FIFOB1 */
|
---|
176 | volatile uint32_t D1FIFOB2; /* D1FIFOB2 */
|
---|
177 | volatile uint32_t D1FIFOB3; /* D1FIFOB3 */
|
---|
178 | volatile uint32_t D1FIFOB4; /* D1FIFOB4 */
|
---|
179 | volatile uint32_t D1FIFOB5; /* D1FIFOB5 */
|
---|
180 | volatile uint32_t D1FIFOB6; /* D1FIFOB6 */
|
---|
181 | volatile uint32_t D1FIFOB7; /* D1FIFOB7 */
|
---|
182 | /* end of struct st_usb20_from_dmfifob0 */
|
---|
183 | };
|
---|
184 |
|
---|
185 |
|
---|
186 | struct st_usb20_from_d0fifosel
|
---|
187 | {
|
---|
188 | volatile uint16_t D0FIFOSEL; /* D0FIFOSEL */
|
---|
189 | volatile uint16_t D0FIFOCTR; /* D0FIFOCTR */
|
---|
190 | };
|
---|
191 |
|
---|
192 |
|
---|
193 | struct st_usb20_from_pipe1tre
|
---|
194 | {
|
---|
195 | volatile uint16_t PIPE1TRE; /* PIPE1TRE */
|
---|
196 | volatile uint16_t PIPE1TRN; /* PIPE1TRN */
|
---|
197 | };
|
---|
198 |
|
---|
199 |
|
---|
200 | struct st_usb20_from_dmfifob0
|
---|
201 | {
|
---|
202 | #define USB20_D0FIFOB0_COUNT 0x8
|
---|
203 | volatile uint32_t D0FIFOB0; /* D0FIFOB0 */
|
---|
204 | volatile uint32_t D0FIFOB1; /* D0FIFOB1 */
|
---|
205 | volatile uint32_t D0FIFOB2; /* D0FIFOB2 */
|
---|
206 | volatile uint32_t D0FIFOB3; /* D0FIFOB3 */
|
---|
207 | volatile uint32_t D0FIFOB4; /* D0FIFOB4 */
|
---|
208 | volatile uint32_t D0FIFOB5; /* D0FIFOB5 */
|
---|
209 | volatile uint32_t D0FIFOB6; /* D0FIFOB6 */
|
---|
210 | volatile uint32_t D0FIFOB7; /* D0FIFOB7 */
|
---|
211 | };
|
---|
212 |
|
---|
213 |
|
---|
214 | #define USB200 (*(struct st_usb20 *)0xE8010000uL) /* USB200 */
|
---|
215 | #define USB201 (*(struct st_usb20 *)0xE8207000uL) /* USB201 */
|
---|
216 |
|
---|
217 |
|
---|
218 | /* Start of channnel array defines of USB20 */
|
---|
219 |
|
---|
220 | /* Channnel array defines of USB20 */
|
---|
221 | /*(Sample) value = USB20[ channel ]->SYSCFG0; */
|
---|
222 | #define USB20_COUNT 2
|
---|
223 | #define USB20_ADDRESS_LIST \
|
---|
224 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \
|
---|
225 | &USB200, &USB201 \
|
---|
226 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */
|
---|
227 |
|
---|
228 |
|
---|
229 |
|
---|
230 | /* Channnel array defines of USB20_FROM_D0FIFOB0 */
|
---|
231 | /*(Sample) value = USB20_FROM_D0FIFOB0[ channel ][ index ]->D0FIFOB0; */
|
---|
232 | #define USB20_FROM_D0FIFOB0_COUNT 2
|
---|
233 | #define USB20_FROM_D0FIFOB0_ADDRESS_LIST \
|
---|
234 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \
|
---|
235 | { \
|
---|
236 | &USB200_FROM_D0FIFOB0, &USB200_FROM_D1FIFOB0 },{ \
|
---|
237 | &USB201_FROM_D0FIFOB0, &USB201_FROM_D1FIFOB0 \
|
---|
238 | } \
|
---|
239 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */
|
---|
240 | #define USB200_FROM_D0FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB200.D0FIFOB0) /* USB200_FROM_D0FIFOB0 */
|
---|
241 | #define USB200_FROM_D1FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB200.D1FIFOB0) /* USB200_FROM_D1FIFOB0 */
|
---|
242 | #define USB201_FROM_D0FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB201.D0FIFOB0) /* USB201_FROM_D0FIFOB0 */
|
---|
243 | #define USB201_FROM_D1FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB201.D1FIFOB0) /* USB201_FROM_D1FIFOB0 */
|
---|
244 |
|
---|
245 |
|
---|
246 |
|
---|
247 |
|
---|
248 | /* Channnel array defines of USB20_FROM_PIPE1ATRE */
|
---|
249 | /*(Sample) value = USB20_FROM_PIPE1ATRE[ channel ][ index ]->PIPE1TRE; */
|
---|
250 | #define USB20_FROM_PIPE1ATRE_COUNT 5
|
---|
251 | #define USB20_FROM_PIPE1ATRE_ADDRESS_LIST \
|
---|
252 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \
|
---|
253 | { \
|
---|
254 | &USB200_FROM_PIPE1TRE, &USB200_FROM_PIPE2TRE, &USB200_FROM_PIPE3TRE, &USB200_FROM_PIPE4TRE, &USB200_FROM_PIPE5TRE },{ \
|
---|
255 | &USB201_FROM_PIPE1TRE, &USB201_FROM_PIPE2TRE, &USB201_FROM_PIPE3TRE, &USB201_FROM_PIPE4TRE, &USB201_FROM_PIPE5TRE \
|
---|
256 | } \
|
---|
257 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */
|
---|
258 | #define USB200_FROM_PIPE1TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE1TRE) /* USB200_FROM_PIPE1TRE */
|
---|
259 | #define USB200_FROM_PIPE2TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE2TRE) /* USB200_FROM_PIPE2TRE */
|
---|
260 | #define USB200_FROM_PIPE3TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE3TRE) /* USB200_FROM_PIPE3TRE */
|
---|
261 | #define USB200_FROM_PIPE4TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE4TRE) /* USB200_FROM_PIPE4TRE */
|
---|
262 | #define USB200_FROM_PIPE5TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE5TRE) /* USB200_FROM_PIPE5TRE */
|
---|
263 | #define USB201_FROM_PIPE1TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE1TRE) /* USB201_FROM_PIPE1TRE */
|
---|
264 | #define USB201_FROM_PIPE2TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE2TRE) /* USB201_FROM_PIPE2TRE */
|
---|
265 | #define USB201_FROM_PIPE3TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE3TRE) /* USB201_FROM_PIPE3TRE */
|
---|
266 | #define USB201_FROM_PIPE4TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE4TRE) /* USB201_FROM_PIPE4TRE */
|
---|
267 | #define USB201_FROM_PIPE5TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE5TRE) /* USB201_FROM_PIPE5TRE */
|
---|
268 |
|
---|
269 |
|
---|
270 |
|
---|
271 |
|
---|
272 | /* Channnel array defines of USB20_FROM_D0FIFOSEL */
|
---|
273 | /*(Sample) value = USB20_FROM_D0FIFOSEL[ channel ][ index ]->D0FIFOSEL; */
|
---|
274 | #define USB20_FROM_D0FIFOSEL_COUNT 2
|
---|
275 | #define USB20_FROM_D0FIFOSEL_ADDRESS_LIST \
|
---|
276 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \
|
---|
277 | { \
|
---|
278 | &USB200_FROM_D0FIFOSEL, &USB200_FROM_D1FIFOSEL },{ \
|
---|
279 | &USB201_FROM_D0FIFOSEL, &USB201_FROM_D1FIFOSEL \
|
---|
280 | } \
|
---|
281 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */
|
---|
282 | #define USB200_FROM_D0FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB200.D0FIFOSEL) /* USB200_FROM_D0FIFOSEL */
|
---|
283 | #define USB200_FROM_D1FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB200.D1FIFOSEL) /* USB200_FROM_D1FIFOSEL */
|
---|
284 | #define USB201_FROM_D0FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB201.D0FIFOSEL) /* USB201_FROM_D0FIFOSEL */
|
---|
285 | #define USB201_FROM_D1FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB201.D1FIFOSEL) /* USB201_FROM_D1FIFOSEL */
|
---|
286 |
|
---|
287 |
|
---|
288 | /* End of channnel array defines of USB20 */
|
---|
289 |
|
---|
290 |
|
---|
291 | #define SYSCFG0_0 USB200.SYSCFG0
|
---|
292 | #define BUSWAIT_0 USB200.BUSWAIT
|
---|
293 | #define SYSSTS0_0 USB200.SYSSTS0
|
---|
294 | #define DVSTCTR0_0 USB200.DVSTCTR0
|
---|
295 | #define TESTMODE_0 USB200.TESTMODE
|
---|
296 | #define D0FBCFG_0 USB200.D0FBCFG
|
---|
297 | #define D1FBCFG_0 USB200.D1FBCFG
|
---|
298 | #define CFIFO_0 USB200.CFIFO.UINT32
|
---|
299 | #define CFIFO_0L USB200.CFIFO.UINT16[L]
|
---|
300 | #define CFIFO_0H USB200.CFIFO.UINT16[H]
|
---|
301 | #define CFIFO_0LL USB200.CFIFO.UINT8[LL]
|
---|
302 | #define CFIFO_0LH USB200.CFIFO.UINT8[LH]
|
---|
303 | #define CFIFO_0HL USB200.CFIFO.UINT8[HL]
|
---|
304 | #define CFIFO_0HH USB200.CFIFO.UINT8[HH]
|
---|
305 | #define D0FIFO_0 USB200.D0FIFO.UINT32
|
---|
306 | #define D0FIFO_0L USB200.D0FIFO.UINT16[L]
|
---|
307 | #define D0FIFO_0H USB200.D0FIFO.UINT16[H]
|
---|
308 | #define D0FIFO_0LL USB200.D0FIFO.UINT8[LL]
|
---|
309 | #define D0FIFO_0LH USB200.D0FIFO.UINT8[LH]
|
---|
310 | #define D0FIFO_0HL USB200.D0FIFO.UINT8[HL]
|
---|
311 | #define D0FIFO_0HH USB200.D0FIFO.UINT8[HH]
|
---|
312 | #define D1FIFO_0 USB200.D1FIFO.UINT32
|
---|
313 | #define D1FIFO_0L USB200.D1FIFO.UINT16[L]
|
---|
314 | #define D1FIFO_0H USB200.D1FIFO.UINT16[H]
|
---|
315 | #define D1FIFO_0LL USB200.D1FIFO.UINT8[LL]
|
---|
316 | #define D1FIFO_0LH USB200.D1FIFO.UINT8[LH]
|
---|
317 | #define D1FIFO_0HL USB200.D1FIFO.UINT8[HL]
|
---|
318 | #define D1FIFO_0HH USB200.D1FIFO.UINT8[HH]
|
---|
319 | #define CFIFOSEL_0 USB200.CFIFOSEL
|
---|
320 | #define CFIFOCTR_0 USB200.CFIFOCTR
|
---|
321 | #define D0FIFOSEL_0 USB200.D0FIFOSEL
|
---|
322 | #define D0FIFOCTR_0 USB200.D0FIFOCTR
|
---|
323 | #define D1FIFOSEL_0 USB200.D1FIFOSEL
|
---|
324 | #define D1FIFOCTR_0 USB200.D1FIFOCTR
|
---|
325 | #define INTENB0_0 USB200.INTENB0
|
---|
326 | #define INTENB1_0 USB200.INTENB1
|
---|
327 | #define BRDYENB_0 USB200.BRDYENB
|
---|
328 | #define NRDYENB_0 USB200.NRDYENB
|
---|
329 | #define BEMPENB_0 USB200.BEMPENB
|
---|
330 | #define SOFCFG_0 USB200.SOFCFG
|
---|
331 | #define INTSTS0_0 USB200.INTSTS0
|
---|
332 | #define INTSTS1_0 USB200.INTSTS1
|
---|
333 | #define BRDYSTS_0 USB200.BRDYSTS
|
---|
334 | #define NRDYSTS_0 USB200.NRDYSTS
|
---|
335 | #define BEMPSTS_0 USB200.BEMPSTS
|
---|
336 | #define FRMNUM_0 USB200.FRMNUM
|
---|
337 | #define UFRMNUM_0 USB200.UFRMNUM
|
---|
338 | #define USBADDR_0 USB200.USBADDR
|
---|
339 | #define USBREQ_0 USB200.USBREQ
|
---|
340 | #define USBVAL_0 USB200.USBVAL
|
---|
341 | #define USBINDX_0 USB200.USBINDX
|
---|
342 | #define USBLENG_0 USB200.USBLENG
|
---|
343 | #define DCPCFG_0 USB200.DCPCFG
|
---|
344 | #define DCPMAXP_0 USB200.DCPMAXP
|
---|
345 | #define DCPCTR_0 USB200.DCPCTR
|
---|
346 | #define PIPESEL_0 USB200.PIPESEL
|
---|
347 | #define PIPECFG_0 USB200.PIPECFG
|
---|
348 | #define PIPEBUF_0 USB200.PIPEBUF
|
---|
349 | #define PIPEMAXP_0 USB200.PIPEMAXP
|
---|
350 | #define PIPEPERI_0 USB200.PIPEPERI
|
---|
351 | #define PIPE1CTR_0 USB200.PIPE1CTR
|
---|
352 | #define PIPE2CTR_0 USB200.PIPE2CTR
|
---|
353 | #define PIPE3CTR_0 USB200.PIPE3CTR
|
---|
354 | #define PIPE4CTR_0 USB200.PIPE4CTR
|
---|
355 | #define PIPE5CTR_0 USB200.PIPE5CTR
|
---|
356 | #define PIPE6CTR_0 USB200.PIPE6CTR
|
---|
357 | #define PIPE7CTR_0 USB200.PIPE7CTR
|
---|
358 | #define PIPE8CTR_0 USB200.PIPE8CTR
|
---|
359 | #define PIPE9CTR_0 USB200.PIPE9CTR
|
---|
360 | #define PIPEACTR_0 USB200.PIPEACTR
|
---|
361 | #define PIPEBCTR_0 USB200.PIPEBCTR
|
---|
362 | #define PIPECCTR_0 USB200.PIPECCTR
|
---|
363 | #define PIPEDCTR_0 USB200.PIPEDCTR
|
---|
364 | #define PIPEECTR_0 USB200.PIPEECTR
|
---|
365 | #define PIPEFCTR_0 USB200.PIPEFCTR
|
---|
366 | #define PIPE1TRE_0 USB200.PIPE1TRE
|
---|
367 | #define PIPE1TRN_0 USB200.PIPE1TRN
|
---|
368 | #define PIPE2TRE_0 USB200.PIPE2TRE
|
---|
369 | #define PIPE2TRN_0 USB200.PIPE2TRN
|
---|
370 | #define PIPE3TRE_0 USB200.PIPE3TRE
|
---|
371 | #define PIPE3TRN_0 USB200.PIPE3TRN
|
---|
372 | #define PIPE4TRE_0 USB200.PIPE4TRE
|
---|
373 | #define PIPE4TRN_0 USB200.PIPE4TRN
|
---|
374 | #define PIPE5TRE_0 USB200.PIPE5TRE
|
---|
375 | #define PIPE5TRN_0 USB200.PIPE5TRN
|
---|
376 | #define PIPEBTRE_0 USB200.PIPEBTRE
|
---|
377 | #define PIPEBTRN_0 USB200.PIPEBTRN
|
---|
378 | #define PIPECTRE_0 USB200.PIPECTRE
|
---|
379 | #define PIPECTRN_0 USB200.PIPECTRN
|
---|
380 | #define PIPEDTRE_0 USB200.PIPEDTRE
|
---|
381 | #define PIPEDTRN_0 USB200.PIPEDTRN
|
---|
382 | #define PIPEETRE_0 USB200.PIPEETRE
|
---|
383 | #define PIPEETRN_0 USB200.PIPEETRN
|
---|
384 | #define PIPEFTRE_0 USB200.PIPEFTRE
|
---|
385 | #define PIPEFTRN_0 USB200.PIPEFTRN
|
---|
386 | #define PIPE9TRE_0 USB200.PIPE9TRE
|
---|
387 | #define PIPE9TRN_0 USB200.PIPE9TRN
|
---|
388 | #define PIPEATRE_0 USB200.PIPEATRE
|
---|
389 | #define PIPEATRN_0 USB200.PIPEATRN
|
---|
390 | #define DEVADD0_0 USB200.DEVADD0
|
---|
391 | #define DEVADD1_0 USB200.DEVADD1
|
---|
392 | #define DEVADD2_0 USB200.DEVADD2
|
---|
393 | #define DEVADD3_0 USB200.DEVADD3
|
---|
394 | #define DEVADD4_0 USB200.DEVADD4
|
---|
395 | #define DEVADD5_0 USB200.DEVADD5
|
---|
396 | #define DEVADD6_0 USB200.DEVADD6
|
---|
397 | #define DEVADD7_0 USB200.DEVADD7
|
---|
398 | #define DEVADD8_0 USB200.DEVADD8
|
---|
399 | #define DEVADD9_0 USB200.DEVADD9
|
---|
400 | #define DEVADDA_0 USB200.DEVADDA
|
---|
401 | #define SUSPMODE_0 USB200.SUSPMODE
|
---|
402 | #define D0FIFOB0_0 USB200.D0FIFOB0
|
---|
403 | #define D0FIFOB1_0 USB200.D0FIFOB1
|
---|
404 | #define D0FIFOB2_0 USB200.D0FIFOB2
|
---|
405 | #define D0FIFOB3_0 USB200.D0FIFOB3
|
---|
406 | #define D0FIFOB4_0 USB200.D0FIFOB4
|
---|
407 | #define D0FIFOB5_0 USB200.D0FIFOB5
|
---|
408 | #define D0FIFOB6_0 USB200.D0FIFOB6
|
---|
409 | #define D0FIFOB7_0 USB200.D0FIFOB7
|
---|
410 | #define D1FIFOB0_0 USB200.D1FIFOB0
|
---|
411 | #define D1FIFOB1_0 USB200.D1FIFOB1
|
---|
412 | #define D1FIFOB2_0 USB200.D1FIFOB2
|
---|
413 | #define D1FIFOB3_0 USB200.D1FIFOB3
|
---|
414 | #define D1FIFOB4_0 USB200.D1FIFOB4
|
---|
415 | #define D1FIFOB5_0 USB200.D1FIFOB5
|
---|
416 | #define D1FIFOB6_0 USB200.D1FIFOB6
|
---|
417 | #define D1FIFOB7_0 USB200.D1FIFOB7
|
---|
418 | #define SYSCFG0_1 USB201.SYSCFG0
|
---|
419 | #define BUSWAIT_1 USB201.BUSWAIT
|
---|
420 | #define SYSSTS0_1 USB201.SYSSTS0
|
---|
421 | #define DVSTCTR0_1 USB201.DVSTCTR0
|
---|
422 | #define TESTMODE_1 USB201.TESTMODE
|
---|
423 | #define D0FBCFG_1 USB201.D0FBCFG
|
---|
424 | #define D1FBCFG_1 USB201.D1FBCFG
|
---|
425 | #define CFIFO_1 USB201.CFIFO.UINT32
|
---|
426 | #define CFIFO_1L USB201.CFIFO.UINT16[L]
|
---|
427 | #define CFIFO_1H USB201.CFIFO.UINT16[H]
|
---|
428 | #define CFIFO_1LL USB201.CFIFO.UINT8[LL]
|
---|
429 | #define CFIFO_1LH USB201.CFIFO.UINT8[LH]
|
---|
430 | #define CFIFO_1HL USB201.CFIFO.UINT8[HL]
|
---|
431 | #define CFIFO_1HH USB201.CFIFO.UINT8[HH]
|
---|
432 | #define D0FIFO_1 USB201.D0FIFO.UINT32
|
---|
433 | #define D0FIFO_1L USB201.D0FIFO.UINT16[L]
|
---|
434 | #define D0FIFO_1H USB201.D0FIFO.UINT16[H]
|
---|
435 | #define D0FIFO_1LL USB201.D0FIFO.UINT8[LL]
|
---|
436 | #define D0FIFO_1LH USB201.D0FIFO.UINT8[LH]
|
---|
437 | #define D0FIFO_1HL USB201.D0FIFO.UINT8[HL]
|
---|
438 | #define D0FIFO_1HH USB201.D0FIFO.UINT8[HH]
|
---|
439 | #define D1FIFO_1 USB201.D1FIFO.UINT32
|
---|
440 | #define D1FIFO_1L USB201.D1FIFO.UINT16[L]
|
---|
441 | #define D1FIFO_1H USB201.D1FIFO.UINT16[H]
|
---|
442 | #define D1FIFO_1LL USB201.D1FIFO.UINT8[LL]
|
---|
443 | #define D1FIFO_1LH USB201.D1FIFO.UINT8[LH]
|
---|
444 | #define D1FIFO_1HL USB201.D1FIFO.UINT8[HL]
|
---|
445 | #define D1FIFO_1HH USB201.D1FIFO.UINT8[HH]
|
---|
446 | #define CFIFOSEL_1 USB201.CFIFOSEL
|
---|
447 | #define CFIFOCTR_1 USB201.CFIFOCTR
|
---|
448 | #define D0FIFOSEL_1 USB201.D0FIFOSEL
|
---|
449 | #define D0FIFOCTR_1 USB201.D0FIFOCTR
|
---|
450 | #define D1FIFOSEL_1 USB201.D1FIFOSEL
|
---|
451 | #define D1FIFOCTR_1 USB201.D1FIFOCTR
|
---|
452 | #define INTENB0_1 USB201.INTENB0
|
---|
453 | #define INTENB1_1 USB201.INTENB1
|
---|
454 | #define BRDYENB_1 USB201.BRDYENB
|
---|
455 | #define NRDYENB_1 USB201.NRDYENB
|
---|
456 | #define BEMPENB_1 USB201.BEMPENB
|
---|
457 | #define SOFCFG_1 USB201.SOFCFG
|
---|
458 | #define INTSTS0_1 USB201.INTSTS0
|
---|
459 | #define INTSTS1_1 USB201.INTSTS1
|
---|
460 | #define BRDYSTS_1 USB201.BRDYSTS
|
---|
461 | #define NRDYSTS_1 USB201.NRDYSTS
|
---|
462 | #define BEMPSTS_1 USB201.BEMPSTS
|
---|
463 | #define FRMNUM_1 USB201.FRMNUM
|
---|
464 | #define UFRMNUM_1 USB201.UFRMNUM
|
---|
465 | #define USBADDR_1 USB201.USBADDR
|
---|
466 | #define USBREQ_1 USB201.USBREQ
|
---|
467 | #define USBVAL_1 USB201.USBVAL
|
---|
468 | #define USBINDX_1 USB201.USBINDX
|
---|
469 | #define USBLENG_1 USB201.USBLENG
|
---|
470 | #define DCPCFG_1 USB201.DCPCFG
|
---|
471 | #define DCPMAXP_1 USB201.DCPMAXP
|
---|
472 | #define DCPCTR_1 USB201.DCPCTR
|
---|
473 | #define PIPESEL_1 USB201.PIPESEL
|
---|
474 | #define PIPECFG_1 USB201.PIPECFG
|
---|
475 | #define PIPEBUF_1 USB201.PIPEBUF
|
---|
476 | #define PIPEMAXP_1 USB201.PIPEMAXP
|
---|
477 | #define PIPEPERI_1 USB201.PIPEPERI
|
---|
478 | #define PIPE1CTR_1 USB201.PIPE1CTR
|
---|
479 | #define PIPE2CTR_1 USB201.PIPE2CTR
|
---|
480 | #define PIPE3CTR_1 USB201.PIPE3CTR
|
---|
481 | #define PIPE4CTR_1 USB201.PIPE4CTR
|
---|
482 | #define PIPE5CTR_1 USB201.PIPE5CTR
|
---|
483 | #define PIPE6CTR_1 USB201.PIPE6CTR
|
---|
484 | #define PIPE7CTR_1 USB201.PIPE7CTR
|
---|
485 | #define PIPE8CTR_1 USB201.PIPE8CTR
|
---|
486 | #define PIPE9CTR_1 USB201.PIPE9CTR
|
---|
487 | #define PIPEACTR_1 USB201.PIPEACTR
|
---|
488 | #define PIPEBCTR_1 USB201.PIPEBCTR
|
---|
489 | #define PIPECCTR_1 USB201.PIPECCTR
|
---|
490 | #define PIPEDCTR_1 USB201.PIPEDCTR
|
---|
491 | #define PIPEECTR_1 USB201.PIPEECTR
|
---|
492 | #define PIPEFCTR_1 USB201.PIPEFCTR
|
---|
493 | #define PIPE1TRE_1 USB201.PIPE1TRE
|
---|
494 | #define PIPE1TRN_1 USB201.PIPE1TRN
|
---|
495 | #define PIPE2TRE_1 USB201.PIPE2TRE
|
---|
496 | #define PIPE2TRN_1 USB201.PIPE2TRN
|
---|
497 | #define PIPE3TRE_1 USB201.PIPE3TRE
|
---|
498 | #define PIPE3TRN_1 USB201.PIPE3TRN
|
---|
499 | #define PIPE4TRE_1 USB201.PIPE4TRE
|
---|
500 | #define PIPE4TRN_1 USB201.PIPE4TRN
|
---|
501 | #define PIPE5TRE_1 USB201.PIPE5TRE
|
---|
502 | #define PIPE5TRN_1 USB201.PIPE5TRN
|
---|
503 | #define PIPEBTRE_1 USB201.PIPEBTRE
|
---|
504 | #define PIPEBTRN_1 USB201.PIPEBTRN
|
---|
505 | #define PIPECTRE_1 USB201.PIPECTRE
|
---|
506 | #define PIPECTRN_1 USB201.PIPECTRN
|
---|
507 | #define PIPEDTRE_1 USB201.PIPEDTRE
|
---|
508 | #define PIPEDTRN_1 USB201.PIPEDTRN
|
---|
509 | #define PIPEETRE_1 USB201.PIPEETRE
|
---|
510 | #define PIPEETRN_1 USB201.PIPEETRN
|
---|
511 | #define PIPEFTRE_1 USB201.PIPEFTRE
|
---|
512 | #define PIPEFTRN_1 USB201.PIPEFTRN
|
---|
513 | #define PIPE9TRE_1 USB201.PIPE9TRE
|
---|
514 | #define PIPE9TRN_1 USB201.PIPE9TRN
|
---|
515 | #define PIPEATRE_1 USB201.PIPEATRE
|
---|
516 | #define PIPEATRN_1 USB201.PIPEATRN
|
---|
517 | #define DEVADD0_1 USB201.DEVADD0
|
---|
518 | #define DEVADD1_1 USB201.DEVADD1
|
---|
519 | #define DEVADD2_1 USB201.DEVADD2
|
---|
520 | #define DEVADD3_1 USB201.DEVADD3
|
---|
521 | #define DEVADD4_1 USB201.DEVADD4
|
---|
522 | #define DEVADD5_1 USB201.DEVADD5
|
---|
523 | #define DEVADD6_1 USB201.DEVADD6
|
---|
524 | #define DEVADD7_1 USB201.DEVADD7
|
---|
525 | #define DEVADD8_1 USB201.DEVADD8
|
---|
526 | #define DEVADD9_1 USB201.DEVADD9
|
---|
527 | #define DEVADDA_1 USB201.DEVADDA
|
---|
528 | #define SUSPMODE_1 USB201.SUSPMODE
|
---|
529 | #define D0FIFOB0_1 USB201.D0FIFOB0
|
---|
530 | #define D0FIFOB1_1 USB201.D0FIFOB1
|
---|
531 | #define D0FIFOB2_1 USB201.D0FIFOB2
|
---|
532 | #define D0FIFOB3_1 USB201.D0FIFOB3
|
---|
533 | #define D0FIFOB4_1 USB201.D0FIFOB4
|
---|
534 | #define D0FIFOB5_1 USB201.D0FIFOB5
|
---|
535 | #define D0FIFOB6_1 USB201.D0FIFOB6
|
---|
536 | #define D0FIFOB7_1 USB201.D0FIFOB7
|
---|
537 | #define D1FIFOB0_1 USB201.D1FIFOB0
|
---|
538 | #define D1FIFOB1_1 USB201.D1FIFOB1
|
---|
539 | #define D1FIFOB2_1 USB201.D1FIFOB2
|
---|
540 | #define D1FIFOB3_1 USB201.D1FIFOB3
|
---|
541 | #define D1FIFOB4_1 USB201.D1FIFOB4
|
---|
542 | #define D1FIFOB5_1 USB201.D1FIFOB5
|
---|
543 | #define D1FIFOB6_1 USB201.D1FIFOB6
|
---|
544 | #define D1FIFOB7_1 USB201.D1FIFOB7
|
---|
545 | /* <-SEC M1.10.1 */
|
---|
546 | #endif
|
---|