51 uint32_t RESERVED0[61433];
64 uint32_t RESERVED1[11];
67 uint32_t RESERVED2[40];
76 uint32_t RESERVED3[185];
80 uint32_t RESERVED4[1];
84 uint32_t RESERVED5[9];
87 uint32_t RESERVED6[47];
90 uint32_t RESERVED7[80];
94 uint32_t RESERVED8[1];
99 uint32_t RESERVED9[2];
103 uint32_t RESERVED10[1];
106 uint32_t RESERVED11[50];
108 uint32_t RESERVED12[1];
110 uint32_t RESERVED13[1];
115 uint32_t RESERVED14[1];
118 uint32_t RESERVED15[72];
120 uint32_t RESERVED16[1];
122 uint32_t RESERVED17[1];
126 uint32_t RESERVED18[2];
129 uint32_t RESERVED19[136];
132 uint32_t RESERVED20[127];
133 __IOM uint32_t FIFO0D[512];
135 uint32_t RESERVED21[512];
136 __IOM uint32_t FIFO1D[512];
138 uint32_t RESERVED22[512];
139 __IOM uint32_t FIFO2D[512];
141 uint32_t RESERVED23[512];
142 __IOM uint32_t FIFO3D[512];
144 uint32_t RESERVED24[512];
145 __IOM uint32_t FIFO4D[512];
147 uint32_t RESERVED25[512];
148 __IOM uint32_t FIFO5D[512];
150 uint32_t RESERVED26[512];
151 __IOM uint32_t FIFO6D[512];
153 uint32_t RESERVED27[512];
154 __IOM uint32_t FIFO7D[512];
156 uint32_t RESERVED28[512];
157 __IOM uint32_t FIFO8D[512];
159 uint32_t RESERVED29[512];
160 __IOM uint32_t FIFO9D[512];
162 uint32_t RESERVED30[512];
163 __IOM uint32_t FIFO10D[512];
165 uint32_t RESERVED31[512];
166 __IOM uint32_t FIFO11D[512];
168 uint32_t RESERVED32[512];
169 __IOM uint32_t FIFO12D[512];
171 uint32_t RESERVED33[512];
172 __IOM uint32_t FIFO13D[512];
174 uint32_t RESERVED34[17920];
175 __IOM uint32_t FIFORAM[512];
184 #define _USB_CTRL_RESETVALUE 0x00000000UL
185 #define _USB_CTRL_MASK 0x03330003UL
186 #define USB_CTRL_VBUSENAP (0x1UL << 0)
187 #define _USB_CTRL_VBUSENAP_SHIFT 0
188 #define _USB_CTRL_VBUSENAP_MASK 0x1UL
189 #define _USB_CTRL_VBUSENAP_DEFAULT 0x00000000UL
190 #define _USB_CTRL_VBUSENAP_LOW 0x00000000UL
191 #define _USB_CTRL_VBUSENAP_HIGH 0x00000001UL
192 #define USB_CTRL_VBUSENAP_DEFAULT (_USB_CTRL_VBUSENAP_DEFAULT << 0)
193 #define USB_CTRL_VBUSENAP_LOW (_USB_CTRL_VBUSENAP_LOW << 0)
194 #define USB_CTRL_VBUSENAP_HIGH (_USB_CTRL_VBUSENAP_HIGH << 0)
195 #define USB_CTRL_DMPUAP (0x1UL << 1)
196 #define _USB_CTRL_DMPUAP_SHIFT 1
197 #define _USB_CTRL_DMPUAP_MASK 0x2UL
198 #define _USB_CTRL_DMPUAP_DEFAULT 0x00000000UL
199 #define _USB_CTRL_DMPUAP_LOW 0x00000000UL
200 #define _USB_CTRL_DMPUAP_HIGH 0x00000001UL
201 #define USB_CTRL_DMPUAP_DEFAULT (_USB_CTRL_DMPUAP_DEFAULT << 1)
202 #define USB_CTRL_DMPUAP_LOW (_USB_CTRL_DMPUAP_LOW << 1)
203 #define USB_CTRL_DMPUAP_HIGH (_USB_CTRL_DMPUAP_HIGH << 1)
204 #define USB_CTRL_VREGDIS (0x1UL << 16)
205 #define _USB_CTRL_VREGDIS_SHIFT 16
206 #define _USB_CTRL_VREGDIS_MASK 0x10000UL
207 #define _USB_CTRL_VREGDIS_DEFAULT 0x00000000UL
208 #define USB_CTRL_VREGDIS_DEFAULT (_USB_CTRL_VREGDIS_DEFAULT << 16)
209 #define USB_CTRL_VREGOSEN (0x1UL << 17)
210 #define _USB_CTRL_VREGOSEN_SHIFT 17
211 #define _USB_CTRL_VREGOSEN_MASK 0x20000UL
212 #define _USB_CTRL_VREGOSEN_DEFAULT 0x00000000UL
213 #define USB_CTRL_VREGOSEN_DEFAULT (_USB_CTRL_VREGOSEN_DEFAULT << 17)
214 #define _USB_CTRL_BIASPROGEM01_SHIFT 20
215 #define _USB_CTRL_BIASPROGEM01_MASK 0x300000UL
216 #define _USB_CTRL_BIASPROGEM01_DEFAULT 0x00000000UL
217 #define USB_CTRL_BIASPROGEM01_DEFAULT (_USB_CTRL_BIASPROGEM01_DEFAULT << 20)
218 #define _USB_CTRL_BIASPROGEM23_SHIFT 24
219 #define _USB_CTRL_BIASPROGEM23_MASK 0x3000000UL
220 #define _USB_CTRL_BIASPROGEM23_DEFAULT 0x00000000UL
221 #define USB_CTRL_BIASPROGEM23_DEFAULT (_USB_CTRL_BIASPROGEM23_DEFAULT << 24)
224 #define _USB_STATUS_RESETVALUE 0x00000000UL
225 #define _USB_STATUS_MASK 0x00000001UL
226 #define USB_STATUS_VREGOS (0x1UL << 0)
227 #define _USB_STATUS_VREGOS_SHIFT 0
228 #define _USB_STATUS_VREGOS_MASK 0x1UL
229 #define _USB_STATUS_VREGOS_DEFAULT 0x00000000UL
230 #define USB_STATUS_VREGOS_DEFAULT (_USB_STATUS_VREGOS_DEFAULT << 0)
233 #define _USB_IF_RESETVALUE 0x00000003UL
234 #define _USB_IF_MASK 0x00000003UL
235 #define USB_IF_VREGOSH (0x1UL << 0)
236 #define _USB_IF_VREGOSH_SHIFT 0
237 #define _USB_IF_VREGOSH_MASK 0x1UL
238 #define _USB_IF_VREGOSH_DEFAULT 0x00000001UL
239 #define USB_IF_VREGOSH_DEFAULT (_USB_IF_VREGOSH_DEFAULT << 0)
240 #define USB_IF_VREGOSL (0x1UL << 1)
241 #define _USB_IF_VREGOSL_SHIFT 1
242 #define _USB_IF_VREGOSL_MASK 0x2UL
243 #define _USB_IF_VREGOSL_DEFAULT 0x00000001UL
244 #define USB_IF_VREGOSL_DEFAULT (_USB_IF_VREGOSL_DEFAULT << 1)
247 #define _USB_IFS_RESETVALUE 0x00000000UL
248 #define _USB_IFS_MASK 0x00000003UL
249 #define USB_IFS_VREGOSH (0x1UL << 0)
250 #define _USB_IFS_VREGOSH_SHIFT 0
251 #define _USB_IFS_VREGOSH_MASK 0x1UL
252 #define _USB_IFS_VREGOSH_DEFAULT 0x00000000UL
253 #define USB_IFS_VREGOSH_DEFAULT (_USB_IFS_VREGOSH_DEFAULT << 0)
254 #define USB_IFS_VREGOSL (0x1UL << 1)
255 #define _USB_IFS_VREGOSL_SHIFT 1
256 #define _USB_IFS_VREGOSL_MASK 0x2UL
257 #define _USB_IFS_VREGOSL_DEFAULT 0x00000000UL
258 #define USB_IFS_VREGOSL_DEFAULT (_USB_IFS_VREGOSL_DEFAULT << 1)
261 #define _USB_IFC_RESETVALUE 0x00000000UL
262 #define _USB_IFC_MASK 0x00000003UL
263 #define USB_IFC_VREGOSH (0x1UL << 0)
264 #define _USB_IFC_VREGOSH_SHIFT 0
265 #define _USB_IFC_VREGOSH_MASK 0x1UL
266 #define _USB_IFC_VREGOSH_DEFAULT 0x00000000UL
267 #define USB_IFC_VREGOSH_DEFAULT (_USB_IFC_VREGOSH_DEFAULT << 0)
268 #define USB_IFC_VREGOSL (0x1UL << 1)
269 #define _USB_IFC_VREGOSL_SHIFT 1
270 #define _USB_IFC_VREGOSL_MASK 0x2UL
271 #define _USB_IFC_VREGOSL_DEFAULT 0x00000000UL
272 #define USB_IFC_VREGOSL_DEFAULT (_USB_IFC_VREGOSL_DEFAULT << 1)
275 #define _USB_IEN_RESETVALUE 0x00000000UL
276 #define _USB_IEN_MASK 0x00000003UL
277 #define USB_IEN_VREGOSH (0x1UL << 0)
278 #define _USB_IEN_VREGOSH_SHIFT 0
279 #define _USB_IEN_VREGOSH_MASK 0x1UL
280 #define _USB_IEN_VREGOSH_DEFAULT 0x00000000UL
281 #define USB_IEN_VREGOSH_DEFAULT (_USB_IEN_VREGOSH_DEFAULT << 0)
282 #define USB_IEN_VREGOSL (0x1UL << 1)
283 #define _USB_IEN_VREGOSL_SHIFT 1
284 #define _USB_IEN_VREGOSL_MASK 0x2UL
285 #define _USB_IEN_VREGOSL_DEFAULT 0x00000000UL
286 #define USB_IEN_VREGOSL_DEFAULT (_USB_IEN_VREGOSL_DEFAULT << 1)
289 #define _USB_ROUTE_RESETVALUE 0x00000000UL
290 #define _USB_ROUTE_MASK 0x00000007UL
291 #define USB_ROUTE_PHYPEN (0x1UL << 0)
292 #define _USB_ROUTE_PHYPEN_SHIFT 0
293 #define _USB_ROUTE_PHYPEN_MASK 0x1UL
294 #define _USB_ROUTE_PHYPEN_DEFAULT 0x00000000UL
295 #define USB_ROUTE_PHYPEN_DEFAULT (_USB_ROUTE_PHYPEN_DEFAULT << 0)
296 #define USB_ROUTE_VBUSENPEN (0x1UL << 1)
297 #define _USB_ROUTE_VBUSENPEN_SHIFT 1
298 #define _USB_ROUTE_VBUSENPEN_MASK 0x2UL
299 #define _USB_ROUTE_VBUSENPEN_DEFAULT 0x00000000UL
300 #define USB_ROUTE_VBUSENPEN_DEFAULT (_USB_ROUTE_VBUSENPEN_DEFAULT << 1)
301 #define USB_ROUTE_DMPUPEN (0x1UL << 2)
302 #define _USB_ROUTE_DMPUPEN_SHIFT 2
303 #define _USB_ROUTE_DMPUPEN_MASK 0x4UL
304 #define _USB_ROUTE_DMPUPEN_DEFAULT 0x00000000UL
305 #define USB_ROUTE_DMPUPEN_DEFAULT (_USB_ROUTE_DMPUPEN_DEFAULT << 2)
308 #define _USB_GOTGCTL_RESETVALUE 0x00010000UL
309 #define _USB_GOTGCTL_MASK 0x001F0FFFUL
310 #define USB_GOTGCTL_SESREQSCS (0x1UL << 0)
311 #define _USB_GOTGCTL_SESREQSCS_SHIFT 0
312 #define _USB_GOTGCTL_SESREQSCS_MASK 0x1UL
313 #define _USB_GOTGCTL_SESREQSCS_DEFAULT 0x00000000UL
314 #define USB_GOTGCTL_SESREQSCS_DEFAULT (_USB_GOTGCTL_SESREQSCS_DEFAULT << 0)
315 #define USB_GOTGCTL_SESREQ (0x1UL << 1)
316 #define _USB_GOTGCTL_SESREQ_SHIFT 1
317 #define _USB_GOTGCTL_SESREQ_MASK 0x2UL
318 #define _USB_GOTGCTL_SESREQ_DEFAULT 0x00000000UL
319 #define USB_GOTGCTL_SESREQ_DEFAULT (_USB_GOTGCTL_SESREQ_DEFAULT << 1)
320 #define USB_GOTGCTL_VBVALIDOVEN (0x1UL << 2)
321 #define _USB_GOTGCTL_VBVALIDOVEN_SHIFT 2
322 #define _USB_GOTGCTL_VBVALIDOVEN_MASK 0x4UL
323 #define _USB_GOTGCTL_VBVALIDOVEN_DEFAULT 0x00000000UL
324 #define USB_GOTGCTL_VBVALIDOVEN_DEFAULT (_USB_GOTGCTL_VBVALIDOVEN_DEFAULT << 2)
325 #define USB_GOTGCTL_VBVALIDOVVAL (0x1UL << 3)
326 #define _USB_GOTGCTL_VBVALIDOVVAL_SHIFT 3
327 #define _USB_GOTGCTL_VBVALIDOVVAL_MASK 0x8UL
328 #define _USB_GOTGCTL_VBVALIDOVVAL_DEFAULT 0x00000000UL
329 #define USB_GOTGCTL_VBVALIDOVVAL_DEFAULT (_USB_GOTGCTL_VBVALIDOVVAL_DEFAULT << 3)
330 #define USB_GOTGCTL_BVALIDOVEN (0x1UL << 4)
331 #define _USB_GOTGCTL_BVALIDOVEN_SHIFT 4
332 #define _USB_GOTGCTL_BVALIDOVEN_MASK 0x10UL
333 #define _USB_GOTGCTL_BVALIDOVEN_DEFAULT 0x00000000UL
334 #define USB_GOTGCTL_BVALIDOVEN_DEFAULT (_USB_GOTGCTL_BVALIDOVEN_DEFAULT << 4)
335 #define USB_GOTGCTL_BVALIDOVVAL (0x1UL << 5)
336 #define _USB_GOTGCTL_BVALIDOVVAL_SHIFT 5
337 #define _USB_GOTGCTL_BVALIDOVVAL_MASK 0x20UL
338 #define _USB_GOTGCTL_BVALIDOVVAL_DEFAULT 0x00000000UL
339 #define USB_GOTGCTL_BVALIDOVVAL_DEFAULT (_USB_GOTGCTL_BVALIDOVVAL_DEFAULT << 5)
340 #define USB_GOTGCTL_AVALIDOVEN (0x1UL << 6)
341 #define _USB_GOTGCTL_AVALIDOVEN_SHIFT 6
342 #define _USB_GOTGCTL_AVALIDOVEN_MASK 0x40UL
343 #define _USB_GOTGCTL_AVALIDOVEN_DEFAULT 0x00000000UL
344 #define USB_GOTGCTL_AVALIDOVEN_DEFAULT (_USB_GOTGCTL_AVALIDOVEN_DEFAULT << 6)
345 #define USB_GOTGCTL_AVALIDOVVAL (0x1UL << 7)
346 #define _USB_GOTGCTL_AVALIDOVVAL_SHIFT 7
347 #define _USB_GOTGCTL_AVALIDOVVAL_MASK 0x80UL
348 #define _USB_GOTGCTL_AVALIDOVVAL_DEFAULT 0x00000000UL
349 #define USB_GOTGCTL_AVALIDOVVAL_DEFAULT (_USB_GOTGCTL_AVALIDOVVAL_DEFAULT << 7)
350 #define USB_GOTGCTL_HSTNEGSCS (0x1UL << 8)
351 #define _USB_GOTGCTL_HSTNEGSCS_SHIFT 8
352 #define _USB_GOTGCTL_HSTNEGSCS_MASK 0x100UL
353 #define _USB_GOTGCTL_HSTNEGSCS_DEFAULT 0x00000000UL
354 #define USB_GOTGCTL_HSTNEGSCS_DEFAULT (_USB_GOTGCTL_HSTNEGSCS_DEFAULT << 8)
355 #define USB_GOTGCTL_HNPREQ (0x1UL << 9)
356 #define _USB_GOTGCTL_HNPREQ_SHIFT 9
357 #define _USB_GOTGCTL_HNPREQ_MASK 0x200UL
358 #define _USB_GOTGCTL_HNPREQ_DEFAULT 0x00000000UL
359 #define USB_GOTGCTL_HNPREQ_DEFAULT (_USB_GOTGCTL_HNPREQ_DEFAULT << 9)
360 #define USB_GOTGCTL_HSTSETHNPEN (0x1UL << 10)
361 #define _USB_GOTGCTL_HSTSETHNPEN_SHIFT 10
362 #define _USB_GOTGCTL_HSTSETHNPEN_MASK 0x400UL
363 #define _USB_GOTGCTL_HSTSETHNPEN_DEFAULT 0x00000000UL
364 #define USB_GOTGCTL_HSTSETHNPEN_DEFAULT (_USB_GOTGCTL_HSTSETHNPEN_DEFAULT << 10)
365 #define USB_GOTGCTL_DEVHNPEN (0x1UL << 11)
366 #define _USB_GOTGCTL_DEVHNPEN_SHIFT 11
367 #define _USB_GOTGCTL_DEVHNPEN_MASK 0x800UL
368 #define _USB_GOTGCTL_DEVHNPEN_DEFAULT 0x00000000UL
369 #define USB_GOTGCTL_DEVHNPEN_DEFAULT (_USB_GOTGCTL_DEVHNPEN_DEFAULT << 11)
370 #define USB_GOTGCTL_CONIDSTS (0x1UL << 16)
371 #define _USB_GOTGCTL_CONIDSTS_SHIFT 16
372 #define _USB_GOTGCTL_CONIDSTS_MASK 0x10000UL
373 #define _USB_GOTGCTL_CONIDSTS_A 0x00000000UL
374 #define _USB_GOTGCTL_CONIDSTS_DEFAULT 0x00000001UL
375 #define _USB_GOTGCTL_CONIDSTS_B 0x00000001UL
376 #define USB_GOTGCTL_CONIDSTS_A (_USB_GOTGCTL_CONIDSTS_A << 16)
377 #define USB_GOTGCTL_CONIDSTS_DEFAULT (_USB_GOTGCTL_CONIDSTS_DEFAULT << 16)
378 #define USB_GOTGCTL_CONIDSTS_B (_USB_GOTGCTL_CONIDSTS_B << 16)
379 #define USB_GOTGCTL_DBNCTIME (0x1UL << 17)
380 #define _USB_GOTGCTL_DBNCTIME_SHIFT 17
381 #define _USB_GOTGCTL_DBNCTIME_MASK 0x20000UL
382 #define _USB_GOTGCTL_DBNCTIME_DEFAULT 0x00000000UL
383 #define _USB_GOTGCTL_DBNCTIME_LONG 0x00000000UL
384 #define _USB_GOTGCTL_DBNCTIME_SHORT 0x00000001UL
385 #define USB_GOTGCTL_DBNCTIME_DEFAULT (_USB_GOTGCTL_DBNCTIME_DEFAULT << 17)
386 #define USB_GOTGCTL_DBNCTIME_LONG (_USB_GOTGCTL_DBNCTIME_LONG << 17)
387 #define USB_GOTGCTL_DBNCTIME_SHORT (_USB_GOTGCTL_DBNCTIME_SHORT << 17)
388 #define USB_GOTGCTL_ASESVLD (0x1UL << 18)
389 #define _USB_GOTGCTL_ASESVLD_SHIFT 18
390 #define _USB_GOTGCTL_ASESVLD_MASK 0x40000UL
391 #define _USB_GOTGCTL_ASESVLD_DEFAULT 0x00000000UL
392 #define USB_GOTGCTL_ASESVLD_DEFAULT (_USB_GOTGCTL_ASESVLD_DEFAULT << 18)
393 #define USB_GOTGCTL_BSESVLD (0x1UL << 19)
394 #define _USB_GOTGCTL_BSESVLD_SHIFT 19
395 #define _USB_GOTGCTL_BSESVLD_MASK 0x80000UL
396 #define _USB_GOTGCTL_BSESVLD_DEFAULT 0x00000000UL
397 #define USB_GOTGCTL_BSESVLD_DEFAULT (_USB_GOTGCTL_BSESVLD_DEFAULT << 19)
398 #define USB_GOTGCTL_OTGVER (0x1UL << 20)
399 #define _USB_GOTGCTL_OTGVER_SHIFT 20
400 #define _USB_GOTGCTL_OTGVER_MASK 0x100000UL
401 #define _USB_GOTGCTL_OTGVER_DEFAULT 0x00000000UL
402 #define _USB_GOTGCTL_OTGVER_OTG13 0x00000000UL
403 #define _USB_GOTGCTL_OTGVER_OTG20 0x00000001UL
404 #define USB_GOTGCTL_OTGVER_DEFAULT (_USB_GOTGCTL_OTGVER_DEFAULT << 20)
405 #define USB_GOTGCTL_OTGVER_OTG13 (_USB_GOTGCTL_OTGVER_OTG13 << 20)
406 #define USB_GOTGCTL_OTGVER_OTG20 (_USB_GOTGCTL_OTGVER_OTG20 << 20)
409 #define _USB_GOTGINT_RESETVALUE 0x00000000UL
410 #define _USB_GOTGINT_MASK 0x000E0304UL
411 #define USB_GOTGINT_SESENDDET (0x1UL << 2)
412 #define _USB_GOTGINT_SESENDDET_SHIFT 2
413 #define _USB_GOTGINT_SESENDDET_MASK 0x4UL
414 #define _USB_GOTGINT_SESENDDET_DEFAULT 0x00000000UL
415 #define USB_GOTGINT_SESENDDET_DEFAULT (_USB_GOTGINT_SESENDDET_DEFAULT << 2)
416 #define USB_GOTGINT_SESREQSUCSTSCHNG (0x1UL << 8)
417 #define _USB_GOTGINT_SESREQSUCSTSCHNG_SHIFT 8
418 #define _USB_GOTGINT_SESREQSUCSTSCHNG_MASK 0x100UL
419 #define _USB_GOTGINT_SESREQSUCSTSCHNG_DEFAULT 0x00000000UL
420 #define USB_GOTGINT_SESREQSUCSTSCHNG_DEFAULT (_USB_GOTGINT_SESREQSUCSTSCHNG_DEFAULT << 8)
421 #define USB_GOTGINT_HSTNEGSUCSTSCHNG (0x1UL << 9)
422 #define _USB_GOTGINT_HSTNEGSUCSTSCHNG_SHIFT 9
423 #define _USB_GOTGINT_HSTNEGSUCSTSCHNG_MASK 0x200UL
424 #define _USB_GOTGINT_HSTNEGSUCSTSCHNG_DEFAULT 0x00000000UL
425 #define USB_GOTGINT_HSTNEGSUCSTSCHNG_DEFAULT (_USB_GOTGINT_HSTNEGSUCSTSCHNG_DEFAULT << 9)
426 #define USB_GOTGINT_HSTNEGDET (0x1UL << 17)
427 #define _USB_GOTGINT_HSTNEGDET_SHIFT 17
428 #define _USB_GOTGINT_HSTNEGDET_MASK 0x20000UL
429 #define _USB_GOTGINT_HSTNEGDET_DEFAULT 0x00000000UL
430 #define USB_GOTGINT_HSTNEGDET_DEFAULT (_USB_GOTGINT_HSTNEGDET_DEFAULT << 17)
431 #define USB_GOTGINT_ADEVTOUTCHG (0x1UL << 18)
432 #define _USB_GOTGINT_ADEVTOUTCHG_SHIFT 18
433 #define _USB_GOTGINT_ADEVTOUTCHG_MASK 0x40000UL
434 #define _USB_GOTGINT_ADEVTOUTCHG_DEFAULT 0x00000000UL
435 #define USB_GOTGINT_ADEVTOUTCHG_DEFAULT (_USB_GOTGINT_ADEVTOUTCHG_DEFAULT << 18)
436 #define USB_GOTGINT_DBNCEDONE (0x1UL << 19)
437 #define _USB_GOTGINT_DBNCEDONE_SHIFT 19
438 #define _USB_GOTGINT_DBNCEDONE_MASK 0x80000UL
439 #define _USB_GOTGINT_DBNCEDONE_DEFAULT 0x00000000UL
440 #define USB_GOTGINT_DBNCEDONE_DEFAULT (_USB_GOTGINT_DBNCEDONE_DEFAULT << 19)
443 #define _USB_GAHBCFG_RESETVALUE 0x00000000UL
444 #define _USB_GAHBCFG_MASK 0x006001BFUL
445 #define USB_GAHBCFG_GLBLINTRMSK (0x1UL << 0)
446 #define _USB_GAHBCFG_GLBLINTRMSK_SHIFT 0
447 #define _USB_GAHBCFG_GLBLINTRMSK_MASK 0x1UL
448 #define _USB_GAHBCFG_GLBLINTRMSK_DEFAULT 0x00000000UL
449 #define USB_GAHBCFG_GLBLINTRMSK_DEFAULT (_USB_GAHBCFG_GLBLINTRMSK_DEFAULT << 0)
450 #define _USB_GAHBCFG_HBSTLEN_SHIFT 1
451 #define _USB_GAHBCFG_HBSTLEN_MASK 0x1EUL
452 #define _USB_GAHBCFG_HBSTLEN_DEFAULT 0x00000000UL
453 #define _USB_GAHBCFG_HBSTLEN_SINGLE 0x00000000UL
454 #define _USB_GAHBCFG_HBSTLEN_INCR 0x00000001UL
455 #define _USB_GAHBCFG_HBSTLEN_INCR4 0x00000003UL
456 #define _USB_GAHBCFG_HBSTLEN_INCR8 0x00000005UL
457 #define _USB_GAHBCFG_HBSTLEN_INCR16 0x00000007UL
458 #define USB_GAHBCFG_HBSTLEN_DEFAULT (_USB_GAHBCFG_HBSTLEN_DEFAULT << 1)
459 #define USB_GAHBCFG_HBSTLEN_SINGLE (_USB_GAHBCFG_HBSTLEN_SINGLE << 1)
460 #define USB_GAHBCFG_HBSTLEN_INCR (_USB_GAHBCFG_HBSTLEN_INCR << 1)
461 #define USB_GAHBCFG_HBSTLEN_INCR4 (_USB_GAHBCFG_HBSTLEN_INCR4 << 1)
462 #define USB_GAHBCFG_HBSTLEN_INCR8 (_USB_GAHBCFG_HBSTLEN_INCR8 << 1)
463 #define USB_GAHBCFG_HBSTLEN_INCR16 (_USB_GAHBCFG_HBSTLEN_INCR16 << 1)
464 #define USB_GAHBCFG_DMAEN (0x1UL << 5)
465 #define _USB_GAHBCFG_DMAEN_SHIFT 5
466 #define _USB_GAHBCFG_DMAEN_MASK 0x20UL
467 #define _USB_GAHBCFG_DMAEN_DEFAULT 0x00000000UL
468 #define USB_GAHBCFG_DMAEN_DEFAULT (_USB_GAHBCFG_DMAEN_DEFAULT << 5)
469 #define USB_GAHBCFG_NPTXFEMPLVL (0x1UL << 7)
470 #define _USB_GAHBCFG_NPTXFEMPLVL_SHIFT 7
471 #define _USB_GAHBCFG_NPTXFEMPLVL_MASK 0x80UL
472 #define _USB_GAHBCFG_NPTXFEMPLVL_DEFAULT 0x00000000UL
473 #define _USB_GAHBCFG_NPTXFEMPLVL_HALFEMPTY 0x00000000UL
474 #define _USB_GAHBCFG_NPTXFEMPLVL_EMPTY 0x00000001UL
475 #define USB_GAHBCFG_NPTXFEMPLVL_DEFAULT (_USB_GAHBCFG_NPTXFEMPLVL_DEFAULT << 7)
476 #define USB_GAHBCFG_NPTXFEMPLVL_HALFEMPTY (_USB_GAHBCFG_NPTXFEMPLVL_HALFEMPTY << 7)
477 #define USB_GAHBCFG_NPTXFEMPLVL_EMPTY (_USB_GAHBCFG_NPTXFEMPLVL_EMPTY << 7)
478 #define USB_GAHBCFG_PTXFEMPLVL (0x1UL << 8)
479 #define _USB_GAHBCFG_PTXFEMPLVL_SHIFT 8
480 #define _USB_GAHBCFG_PTXFEMPLVL_MASK 0x100UL
481 #define _USB_GAHBCFG_PTXFEMPLVL_DEFAULT 0x00000000UL
482 #define _USB_GAHBCFG_PTXFEMPLVL_HALFEMPTY 0x00000000UL
483 #define _USB_GAHBCFG_PTXFEMPLVL_EMPTY 0x00000001UL
484 #define USB_GAHBCFG_PTXFEMPLVL_DEFAULT (_USB_GAHBCFG_PTXFEMPLVL_DEFAULT << 8)
485 #define USB_GAHBCFG_PTXFEMPLVL_HALFEMPTY (_USB_GAHBCFG_PTXFEMPLVL_HALFEMPTY << 8)
486 #define USB_GAHBCFG_PTXFEMPLVL_EMPTY (_USB_GAHBCFG_PTXFEMPLVL_EMPTY << 8)
487 #define USB_GAHBCFG_REMMEMSUPP (0x1UL << 21)
488 #define _USB_GAHBCFG_REMMEMSUPP_SHIFT 21
489 #define _USB_GAHBCFG_REMMEMSUPP_MASK 0x200000UL
490 #define _USB_GAHBCFG_REMMEMSUPP_DEFAULT 0x00000000UL
491 #define USB_GAHBCFG_REMMEMSUPP_DEFAULT (_USB_GAHBCFG_REMMEMSUPP_DEFAULT << 21)
492 #define USB_GAHBCFG_NOTIALLDMAWRIT (0x1UL << 22)
493 #define _USB_GAHBCFG_NOTIALLDMAWRIT_SHIFT 22
494 #define _USB_GAHBCFG_NOTIALLDMAWRIT_MASK 0x400000UL
495 #define _USB_GAHBCFG_NOTIALLDMAWRIT_DEFAULT 0x00000000UL
496 #define USB_GAHBCFG_NOTIALLDMAWRIT_DEFAULT (_USB_GAHBCFG_NOTIALLDMAWRIT_DEFAULT << 22)
499 #define _USB_GUSBCFG_RESETVALUE 0x00001440UL
500 #define _USB_GUSBCFG_MASK 0xF0403F27UL
501 #define _USB_GUSBCFG_TOUTCAL_SHIFT 0
502 #define _USB_GUSBCFG_TOUTCAL_MASK 0x7UL
503 #define _USB_GUSBCFG_TOUTCAL_DEFAULT 0x00000000UL
504 #define USB_GUSBCFG_TOUTCAL_DEFAULT (_USB_GUSBCFG_TOUTCAL_DEFAULT << 0)
505 #define USB_GUSBCFG_FSINTF (0x1UL << 5)
506 #define _USB_GUSBCFG_FSINTF_SHIFT 5
507 #define _USB_GUSBCFG_FSINTF_MASK 0x20UL
508 #define _USB_GUSBCFG_FSINTF_DEFAULT 0x00000000UL
509 #define USB_GUSBCFG_FSINTF_DEFAULT (_USB_GUSBCFG_FSINTF_DEFAULT << 5)
510 #define USB_GUSBCFG_SRPCAP (0x1UL << 8)
511 #define _USB_GUSBCFG_SRPCAP_SHIFT 8
512 #define _USB_GUSBCFG_SRPCAP_MASK 0x100UL
513 #define _USB_GUSBCFG_SRPCAP_DEFAULT 0x00000000UL
514 #define USB_GUSBCFG_SRPCAP_DEFAULT (_USB_GUSBCFG_SRPCAP_DEFAULT << 8)
515 #define USB_GUSBCFG_HNPCAP (0x1UL << 9)
516 #define _USB_GUSBCFG_HNPCAP_SHIFT 9
517 #define _USB_GUSBCFG_HNPCAP_MASK 0x200UL
518 #define _USB_GUSBCFG_HNPCAP_DEFAULT 0x00000000UL
519 #define USB_GUSBCFG_HNPCAP_DEFAULT (_USB_GUSBCFG_HNPCAP_DEFAULT << 9)
520 #define _USB_GUSBCFG_USBTRDTIM_SHIFT 10
521 #define _USB_GUSBCFG_USBTRDTIM_MASK 0x3C00UL
522 #define _USB_GUSBCFG_USBTRDTIM_DEFAULT 0x00000005UL
523 #define USB_GUSBCFG_USBTRDTIM_DEFAULT (_USB_GUSBCFG_USBTRDTIM_DEFAULT << 10)
524 #define USB_GUSBCFG_TERMSELDLPULSE (0x1UL << 22)
525 #define _USB_GUSBCFG_TERMSELDLPULSE_SHIFT 22
526 #define _USB_GUSBCFG_TERMSELDLPULSE_MASK 0x400000UL
527 #define _USB_GUSBCFG_TERMSELDLPULSE_DEFAULT 0x00000000UL
528 #define _USB_GUSBCFG_TERMSELDLPULSE_TXVALID 0x00000000UL
529 #define _USB_GUSBCFG_TERMSELDLPULSE_TERMSEL 0x00000001UL
530 #define USB_GUSBCFG_TERMSELDLPULSE_DEFAULT (_USB_GUSBCFG_TERMSELDLPULSE_DEFAULT << 22)
531 #define USB_GUSBCFG_TERMSELDLPULSE_TXVALID (_USB_GUSBCFG_TERMSELDLPULSE_TXVALID << 22)
532 #define USB_GUSBCFG_TERMSELDLPULSE_TERMSEL (_USB_GUSBCFG_TERMSELDLPULSE_TERMSEL << 22)
533 #define USB_GUSBCFG_TXENDDELAY (0x1UL << 28)
534 #define _USB_GUSBCFG_TXENDDELAY_SHIFT 28
535 #define _USB_GUSBCFG_TXENDDELAY_MASK 0x10000000UL
536 #define _USB_GUSBCFG_TXENDDELAY_DEFAULT 0x00000000UL
537 #define USB_GUSBCFG_TXENDDELAY_DEFAULT (_USB_GUSBCFG_TXENDDELAY_DEFAULT << 28)
538 #define USB_GUSBCFG_FORCEHSTMODE (0x1UL << 29)
539 #define _USB_GUSBCFG_FORCEHSTMODE_SHIFT 29
540 #define _USB_GUSBCFG_FORCEHSTMODE_MASK 0x20000000UL
541 #define _USB_GUSBCFG_FORCEHSTMODE_DEFAULT 0x00000000UL
542 #define USB_GUSBCFG_FORCEHSTMODE_DEFAULT (_USB_GUSBCFG_FORCEHSTMODE_DEFAULT << 29)
543 #define USB_GUSBCFG_FORCEDEVMODE (0x1UL << 30)
544 #define _USB_GUSBCFG_FORCEDEVMODE_SHIFT 30
545 #define _USB_GUSBCFG_FORCEDEVMODE_MASK 0x40000000UL
546 #define _USB_GUSBCFG_FORCEDEVMODE_DEFAULT 0x00000000UL
547 #define USB_GUSBCFG_FORCEDEVMODE_DEFAULT (_USB_GUSBCFG_FORCEDEVMODE_DEFAULT << 30)
548 #define USB_GUSBCFG_CORRUPTTXPKT (0x1UL << 31)
549 #define _USB_GUSBCFG_CORRUPTTXPKT_SHIFT 31
550 #define _USB_GUSBCFG_CORRUPTTXPKT_MASK 0x80000000UL
551 #define _USB_GUSBCFG_CORRUPTTXPKT_DEFAULT 0x00000000UL
552 #define USB_GUSBCFG_CORRUPTTXPKT_DEFAULT (_USB_GUSBCFG_CORRUPTTXPKT_DEFAULT << 31)
555 #define _USB_GRSTCTL_RESETVALUE 0x80000000UL
556 #define _USB_GRSTCTL_MASK 0xC00007F5UL
557 #define USB_GRSTCTL_CSFTRST (0x1UL << 0)
558 #define _USB_GRSTCTL_CSFTRST_SHIFT 0
559 #define _USB_GRSTCTL_CSFTRST_MASK 0x1UL
560 #define _USB_GRSTCTL_CSFTRST_DEFAULT 0x00000000UL
561 #define USB_GRSTCTL_CSFTRST_DEFAULT (_USB_GRSTCTL_CSFTRST_DEFAULT << 0)
562 #define USB_GRSTCTL_FRMCNTRRST (0x1UL << 2)
563 #define _USB_GRSTCTL_FRMCNTRRST_SHIFT 2
564 #define _USB_GRSTCTL_FRMCNTRRST_MASK 0x4UL
565 #define _USB_GRSTCTL_FRMCNTRRST_DEFAULT 0x00000000UL
566 #define USB_GRSTCTL_FRMCNTRRST_DEFAULT (_USB_GRSTCTL_FRMCNTRRST_DEFAULT << 2)
567 #define USB_GRSTCTL_RXFFLSH (0x1UL << 4)
568 #define _USB_GRSTCTL_RXFFLSH_SHIFT 4
569 #define _USB_GRSTCTL_RXFFLSH_MASK 0x10UL
570 #define _USB_GRSTCTL_RXFFLSH_DEFAULT 0x00000000UL
571 #define USB_GRSTCTL_RXFFLSH_DEFAULT (_USB_GRSTCTL_RXFFLSH_DEFAULT << 4)
572 #define USB_GRSTCTL_TXFFLSH (0x1UL << 5)
573 #define _USB_GRSTCTL_TXFFLSH_SHIFT 5
574 #define _USB_GRSTCTL_TXFFLSH_MASK 0x20UL
575 #define _USB_GRSTCTL_TXFFLSH_DEFAULT 0x00000000UL
576 #define USB_GRSTCTL_TXFFLSH_DEFAULT (_USB_GRSTCTL_TXFFLSH_DEFAULT << 5)
577 #define _USB_GRSTCTL_TXFNUM_SHIFT 6
578 #define _USB_GRSTCTL_TXFNUM_MASK 0x7C0UL
579 #define _USB_GRSTCTL_TXFNUM_DEFAULT 0x00000000UL
580 #define _USB_GRSTCTL_TXFNUM_F0 0x00000000UL
581 #define _USB_GRSTCTL_TXFNUM_F1 0x00000001UL
582 #define _USB_GRSTCTL_TXFNUM_F2 0x00000002UL
583 #define _USB_GRSTCTL_TXFNUM_F3 0x00000003UL
584 #define _USB_GRSTCTL_TXFNUM_F4 0x00000004UL
585 #define _USB_GRSTCTL_TXFNUM_F5 0x00000005UL
586 #define _USB_GRSTCTL_TXFNUM_F6 0x00000006UL
587 #define _USB_GRSTCTL_TXFNUM_FALL 0x00000010UL
588 #define USB_GRSTCTL_TXFNUM_DEFAULT (_USB_GRSTCTL_TXFNUM_DEFAULT << 6)
589 #define USB_GRSTCTL_TXFNUM_F0 (_USB_GRSTCTL_TXFNUM_F0 << 6)
590 #define USB_GRSTCTL_TXFNUM_F1 (_USB_GRSTCTL_TXFNUM_F1 << 6)
591 #define USB_GRSTCTL_TXFNUM_F2 (_USB_GRSTCTL_TXFNUM_F2 << 6)
592 #define USB_GRSTCTL_TXFNUM_F3 (_USB_GRSTCTL_TXFNUM_F3 << 6)
593 #define USB_GRSTCTL_TXFNUM_F4 (_USB_GRSTCTL_TXFNUM_F4 << 6)
594 #define USB_GRSTCTL_TXFNUM_F5 (_USB_GRSTCTL_TXFNUM_F5 << 6)
595 #define USB_GRSTCTL_TXFNUM_F6 (_USB_GRSTCTL_TXFNUM_F6 << 6)
596 #define USB_GRSTCTL_TXFNUM_FALL (_USB_GRSTCTL_TXFNUM_FALL << 6)
597 #define USB_GRSTCTL_DMAREQ (0x1UL << 30)
598 #define _USB_GRSTCTL_DMAREQ_SHIFT 30
599 #define _USB_GRSTCTL_DMAREQ_MASK 0x40000000UL
600 #define _USB_GRSTCTL_DMAREQ_DEFAULT 0x00000000UL
601 #define USB_GRSTCTL_DMAREQ_DEFAULT (_USB_GRSTCTL_DMAREQ_DEFAULT << 30)
602 #define USB_GRSTCTL_AHBIDLE (0x1UL << 31)
603 #define _USB_GRSTCTL_AHBIDLE_SHIFT 31
604 #define _USB_GRSTCTL_AHBIDLE_MASK 0x80000000UL
605 #define _USB_GRSTCTL_AHBIDLE_DEFAULT 0x00000001UL
606 #define USB_GRSTCTL_AHBIDLE_DEFAULT (_USB_GRSTCTL_AHBIDLE_DEFAULT << 31)
609 #define _USB_GINTSTS_RESETVALUE 0x14000020UL
610 #define _USB_GINTSTS_MASK 0xF7FCFCFFUL
611 #define USB_GINTSTS_CURMOD (0x1UL << 0)
612 #define _USB_GINTSTS_CURMOD_SHIFT 0
613 #define _USB_GINTSTS_CURMOD_MASK 0x1UL
614 #define _USB_GINTSTS_CURMOD_DEFAULT 0x00000000UL
615 #define _USB_GINTSTS_CURMOD_DEVICE 0x00000000UL
616 #define _USB_GINTSTS_CURMOD_HOST 0x00000001UL
617 #define USB_GINTSTS_CURMOD_DEFAULT (_USB_GINTSTS_CURMOD_DEFAULT << 0)
618 #define USB_GINTSTS_CURMOD_DEVICE (_USB_GINTSTS_CURMOD_DEVICE << 0)
619 #define USB_GINTSTS_CURMOD_HOST (_USB_GINTSTS_CURMOD_HOST << 0)
620 #define USB_GINTSTS_MODEMIS (0x1UL << 1)
621 #define _USB_GINTSTS_MODEMIS_SHIFT 1
622 #define _USB_GINTSTS_MODEMIS_MASK 0x2UL
623 #define _USB_GINTSTS_MODEMIS_DEFAULT 0x00000000UL
624 #define USB_GINTSTS_MODEMIS_DEFAULT (_USB_GINTSTS_MODEMIS_DEFAULT << 1)
625 #define USB_GINTSTS_OTGINT (0x1UL << 2)
626 #define _USB_GINTSTS_OTGINT_SHIFT 2
627 #define _USB_GINTSTS_OTGINT_MASK 0x4UL
628 #define _USB_GINTSTS_OTGINT_DEFAULT 0x00000000UL
629 #define USB_GINTSTS_OTGINT_DEFAULT (_USB_GINTSTS_OTGINT_DEFAULT << 2)
630 #define USB_GINTSTS_SOF (0x1UL << 3)
631 #define _USB_GINTSTS_SOF_SHIFT 3
632 #define _USB_GINTSTS_SOF_MASK 0x8UL
633 #define _USB_GINTSTS_SOF_DEFAULT 0x00000000UL
634 #define USB_GINTSTS_SOF_DEFAULT (_USB_GINTSTS_SOF_DEFAULT << 3)
635 #define USB_GINTSTS_RXFLVL (0x1UL << 4)
636 #define _USB_GINTSTS_RXFLVL_SHIFT 4
637 #define _USB_GINTSTS_RXFLVL_MASK 0x10UL
638 #define _USB_GINTSTS_RXFLVL_DEFAULT 0x00000000UL
639 #define USB_GINTSTS_RXFLVL_DEFAULT (_USB_GINTSTS_RXFLVL_DEFAULT << 4)
640 #define USB_GINTSTS_NPTXFEMP (0x1UL << 5)
641 #define _USB_GINTSTS_NPTXFEMP_SHIFT 5
642 #define _USB_GINTSTS_NPTXFEMP_MASK 0x20UL
643 #define _USB_GINTSTS_NPTXFEMP_DEFAULT 0x00000001UL
644 #define USB_GINTSTS_NPTXFEMP_DEFAULT (_USB_GINTSTS_NPTXFEMP_DEFAULT << 5)
645 #define USB_GINTSTS_GINNAKEFF (0x1UL << 6)
646 #define _USB_GINTSTS_GINNAKEFF_SHIFT 6
647 #define _USB_GINTSTS_GINNAKEFF_MASK 0x40UL
648 #define _USB_GINTSTS_GINNAKEFF_DEFAULT 0x00000000UL
649 #define USB_GINTSTS_GINNAKEFF_DEFAULT (_USB_GINTSTS_GINNAKEFF_DEFAULT << 6)
650 #define USB_GINTSTS_GOUTNAKEFF (0x1UL << 7)
651 #define _USB_GINTSTS_GOUTNAKEFF_SHIFT 7
652 #define _USB_GINTSTS_GOUTNAKEFF_MASK 0x80UL
653 #define _USB_GINTSTS_GOUTNAKEFF_DEFAULT 0x00000000UL
654 #define USB_GINTSTS_GOUTNAKEFF_DEFAULT (_USB_GINTSTS_GOUTNAKEFF_DEFAULT << 7)
655 #define USB_GINTSTS_ERLYSUSP (0x1UL << 10)
656 #define _USB_GINTSTS_ERLYSUSP_SHIFT 10
657 #define _USB_GINTSTS_ERLYSUSP_MASK 0x400UL
658 #define _USB_GINTSTS_ERLYSUSP_DEFAULT 0x00000000UL
659 #define USB_GINTSTS_ERLYSUSP_DEFAULT (_USB_GINTSTS_ERLYSUSP_DEFAULT << 10)
660 #define USB_GINTSTS_USBSUSP (0x1UL << 11)
661 #define _USB_GINTSTS_USBSUSP_SHIFT 11
662 #define _USB_GINTSTS_USBSUSP_MASK 0x800UL
663 #define _USB_GINTSTS_USBSUSP_DEFAULT 0x00000000UL
664 #define USB_GINTSTS_USBSUSP_DEFAULT (_USB_GINTSTS_USBSUSP_DEFAULT << 11)
665 #define USB_GINTSTS_USBRST (0x1UL << 12)
666 #define _USB_GINTSTS_USBRST_SHIFT 12
667 #define _USB_GINTSTS_USBRST_MASK 0x1000UL
668 #define _USB_GINTSTS_USBRST_DEFAULT 0x00000000UL
669 #define USB_GINTSTS_USBRST_DEFAULT (_USB_GINTSTS_USBRST_DEFAULT << 12)
670 #define USB_GINTSTS_ENUMDONE (0x1UL << 13)
671 #define _USB_GINTSTS_ENUMDONE_SHIFT 13
672 #define _USB_GINTSTS_ENUMDONE_MASK 0x2000UL
673 #define _USB_GINTSTS_ENUMDONE_DEFAULT 0x00000000UL
674 #define USB_GINTSTS_ENUMDONE_DEFAULT (_USB_GINTSTS_ENUMDONE_DEFAULT << 13)
675 #define USB_GINTSTS_ISOOUTDROP (0x1UL << 14)
676 #define _USB_GINTSTS_ISOOUTDROP_SHIFT 14
677 #define _USB_GINTSTS_ISOOUTDROP_MASK 0x4000UL
678 #define _USB_GINTSTS_ISOOUTDROP_DEFAULT 0x00000000UL
679 #define USB_GINTSTS_ISOOUTDROP_DEFAULT (_USB_GINTSTS_ISOOUTDROP_DEFAULT << 14)
680 #define USB_GINTSTS_EOPF (0x1UL << 15)
681 #define _USB_GINTSTS_EOPF_SHIFT 15
682 #define _USB_GINTSTS_EOPF_MASK 0x8000UL
683 #define _USB_GINTSTS_EOPF_DEFAULT 0x00000000UL
684 #define USB_GINTSTS_EOPF_DEFAULT (_USB_GINTSTS_EOPF_DEFAULT << 15)
685 #define USB_GINTSTS_IEPINT (0x1UL << 18)
686 #define _USB_GINTSTS_IEPINT_SHIFT 18
687 #define _USB_GINTSTS_IEPINT_MASK 0x40000UL
688 #define _USB_GINTSTS_IEPINT_DEFAULT 0x00000000UL
689 #define USB_GINTSTS_IEPINT_DEFAULT (_USB_GINTSTS_IEPINT_DEFAULT << 18)
690 #define USB_GINTSTS_OEPINT (0x1UL << 19)
691 #define _USB_GINTSTS_OEPINT_SHIFT 19
692 #define _USB_GINTSTS_OEPINT_MASK 0x80000UL
693 #define _USB_GINTSTS_OEPINT_DEFAULT 0x00000000UL
694 #define USB_GINTSTS_OEPINT_DEFAULT (_USB_GINTSTS_OEPINT_DEFAULT << 19)
695 #define USB_GINTSTS_INCOMPISOIN (0x1UL << 20)
696 #define _USB_GINTSTS_INCOMPISOIN_SHIFT 20
697 #define _USB_GINTSTS_INCOMPISOIN_MASK 0x100000UL
698 #define _USB_GINTSTS_INCOMPISOIN_DEFAULT 0x00000000UL
699 #define USB_GINTSTS_INCOMPISOIN_DEFAULT (_USB_GINTSTS_INCOMPISOIN_DEFAULT << 20)
700 #define USB_GINTSTS_INCOMPLP (0x1UL << 21)
701 #define _USB_GINTSTS_INCOMPLP_SHIFT 21
702 #define _USB_GINTSTS_INCOMPLP_MASK 0x200000UL
703 #define _USB_GINTSTS_INCOMPLP_DEFAULT 0x00000000UL
704 #define USB_GINTSTS_INCOMPLP_DEFAULT (_USB_GINTSTS_INCOMPLP_DEFAULT << 21)
705 #define USB_GINTSTS_FETSUSP (0x1UL << 22)
706 #define _USB_GINTSTS_FETSUSP_SHIFT 22
707 #define _USB_GINTSTS_FETSUSP_MASK 0x400000UL
708 #define _USB_GINTSTS_FETSUSP_DEFAULT 0x00000000UL
709 #define USB_GINTSTS_FETSUSP_DEFAULT (_USB_GINTSTS_FETSUSP_DEFAULT << 22)
710 #define USB_GINTSTS_RESETDET (0x1UL << 23)
711 #define _USB_GINTSTS_RESETDET_SHIFT 23
712 #define _USB_GINTSTS_RESETDET_MASK 0x800000UL
713 #define _USB_GINTSTS_RESETDET_DEFAULT 0x00000000UL
714 #define USB_GINTSTS_RESETDET_DEFAULT (_USB_GINTSTS_RESETDET_DEFAULT << 23)
715 #define USB_GINTSTS_PRTINT (0x1UL << 24)
716 #define _USB_GINTSTS_PRTINT_SHIFT 24
717 #define _USB_GINTSTS_PRTINT_MASK 0x1000000UL
718 #define _USB_GINTSTS_PRTINT_DEFAULT 0x00000000UL
719 #define USB_GINTSTS_PRTINT_DEFAULT (_USB_GINTSTS_PRTINT_DEFAULT << 24)
720 #define USB_GINTSTS_HCHINT (0x1UL << 25)
721 #define _USB_GINTSTS_HCHINT_SHIFT 25
722 #define _USB_GINTSTS_HCHINT_MASK 0x2000000UL
723 #define _USB_GINTSTS_HCHINT_DEFAULT 0x00000000UL
724 #define USB_GINTSTS_HCHINT_DEFAULT (_USB_GINTSTS_HCHINT_DEFAULT << 25)
725 #define USB_GINTSTS_PTXFEMP (0x1UL << 26)
726 #define _USB_GINTSTS_PTXFEMP_SHIFT 26
727 #define _USB_GINTSTS_PTXFEMP_MASK 0x4000000UL
728 #define _USB_GINTSTS_PTXFEMP_DEFAULT 0x00000001UL
729 #define USB_GINTSTS_PTXFEMP_DEFAULT (_USB_GINTSTS_PTXFEMP_DEFAULT << 26)
730 #define USB_GINTSTS_CONIDSTSCHNG (0x1UL << 28)
731 #define _USB_GINTSTS_CONIDSTSCHNG_SHIFT 28
732 #define _USB_GINTSTS_CONIDSTSCHNG_MASK 0x10000000UL
733 #define _USB_GINTSTS_CONIDSTSCHNG_DEFAULT 0x00000001UL
734 #define USB_GINTSTS_CONIDSTSCHNG_DEFAULT (_USB_GINTSTS_CONIDSTSCHNG_DEFAULT << 28)
735 #define USB_GINTSTS_DISCONNINT (0x1UL << 29)
736 #define _USB_GINTSTS_DISCONNINT_SHIFT 29
737 #define _USB_GINTSTS_DISCONNINT_MASK 0x20000000UL
738 #define _USB_GINTSTS_DISCONNINT_DEFAULT 0x00000000UL
739 #define USB_GINTSTS_DISCONNINT_DEFAULT (_USB_GINTSTS_DISCONNINT_DEFAULT << 29)
740 #define USB_GINTSTS_SESSREQINT (0x1UL << 30)
741 #define _USB_GINTSTS_SESSREQINT_SHIFT 30
742 #define _USB_GINTSTS_SESSREQINT_MASK 0x40000000UL
743 #define _USB_GINTSTS_SESSREQINT_DEFAULT 0x00000000UL
744 #define USB_GINTSTS_SESSREQINT_DEFAULT (_USB_GINTSTS_SESSREQINT_DEFAULT << 30)
745 #define USB_GINTSTS_WKUPINT (0x1UL << 31)
746 #define _USB_GINTSTS_WKUPINT_SHIFT 31
747 #define _USB_GINTSTS_WKUPINT_MASK 0x80000000UL
748 #define _USB_GINTSTS_WKUPINT_DEFAULT 0x00000000UL
749 #define USB_GINTSTS_WKUPINT_DEFAULT (_USB_GINTSTS_WKUPINT_DEFAULT << 31)
752 #define _USB_GINTMSK_RESETVALUE 0x00000000UL
753 #define _USB_GINTMSK_MASK 0xF7FCFCFEUL
754 #define USB_GINTMSK_MODEMISMSK (0x1UL << 1)
755 #define _USB_GINTMSK_MODEMISMSK_SHIFT 1
756 #define _USB_GINTMSK_MODEMISMSK_MASK 0x2UL
757 #define _USB_GINTMSK_MODEMISMSK_DEFAULT 0x00000000UL
758 #define USB_GINTMSK_MODEMISMSK_DEFAULT (_USB_GINTMSK_MODEMISMSK_DEFAULT << 1)
759 #define USB_GINTMSK_OTGINTMSK (0x1UL << 2)
760 #define _USB_GINTMSK_OTGINTMSK_SHIFT 2
761 #define _USB_GINTMSK_OTGINTMSK_MASK 0x4UL
762 #define _USB_GINTMSK_OTGINTMSK_DEFAULT 0x00000000UL
763 #define USB_GINTMSK_OTGINTMSK_DEFAULT (_USB_GINTMSK_OTGINTMSK_DEFAULT << 2)
764 #define USB_GINTMSK_SOFMSK (0x1UL << 3)
765 #define _USB_GINTMSK_SOFMSK_SHIFT 3
766 #define _USB_GINTMSK_SOFMSK_MASK 0x8UL
767 #define _USB_GINTMSK_SOFMSK_DEFAULT 0x00000000UL
768 #define USB_GINTMSK_SOFMSK_DEFAULT (_USB_GINTMSK_SOFMSK_DEFAULT << 3)
769 #define USB_GINTMSK_RXFLVLMSK (0x1UL << 4)
770 #define _USB_GINTMSK_RXFLVLMSK_SHIFT 4
771 #define _USB_GINTMSK_RXFLVLMSK_MASK 0x10UL
772 #define _USB_GINTMSK_RXFLVLMSK_DEFAULT 0x00000000UL
773 #define USB_GINTMSK_RXFLVLMSK_DEFAULT (_USB_GINTMSK_RXFLVLMSK_DEFAULT << 4)
774 #define USB_GINTMSK_NPTXFEMPMSK (0x1UL << 5)
775 #define _USB_GINTMSK_NPTXFEMPMSK_SHIFT 5
776 #define _USB_GINTMSK_NPTXFEMPMSK_MASK 0x20UL
777 #define _USB_GINTMSK_NPTXFEMPMSK_DEFAULT 0x00000000UL
778 #define USB_GINTMSK_NPTXFEMPMSK_DEFAULT (_USB_GINTMSK_NPTXFEMPMSK_DEFAULT << 5)
779 #define USB_GINTMSK_GINNAKEFFMSK (0x1UL << 6)
780 #define _USB_GINTMSK_GINNAKEFFMSK_SHIFT 6
781 #define _USB_GINTMSK_GINNAKEFFMSK_MASK 0x40UL
782 #define _USB_GINTMSK_GINNAKEFFMSK_DEFAULT 0x00000000UL
783 #define USB_GINTMSK_GINNAKEFFMSK_DEFAULT (_USB_GINTMSK_GINNAKEFFMSK_DEFAULT << 6)
784 #define USB_GINTMSK_GOUTNAKEFFMSK (0x1UL << 7)
785 #define _USB_GINTMSK_GOUTNAKEFFMSK_SHIFT 7
786 #define _USB_GINTMSK_GOUTNAKEFFMSK_MASK 0x80UL
787 #define _USB_GINTMSK_GOUTNAKEFFMSK_DEFAULT 0x00000000UL
788 #define USB_GINTMSK_GOUTNAKEFFMSK_DEFAULT (_USB_GINTMSK_GOUTNAKEFFMSK_DEFAULT << 7)
789 #define USB_GINTMSK_ERLYSUSPMSK (0x1UL << 10)
790 #define _USB_GINTMSK_ERLYSUSPMSK_SHIFT 10
791 #define _USB_GINTMSK_ERLYSUSPMSK_MASK 0x400UL
792 #define _USB_GINTMSK_ERLYSUSPMSK_DEFAULT 0x00000000UL
793 #define USB_GINTMSK_ERLYSUSPMSK_DEFAULT (_USB_GINTMSK_ERLYSUSPMSK_DEFAULT << 10)
794 #define USB_GINTMSK_USBSUSPMSK (0x1UL << 11)
795 #define _USB_GINTMSK_USBSUSPMSK_SHIFT 11
796 #define _USB_GINTMSK_USBSUSPMSK_MASK 0x800UL
797 #define _USB_GINTMSK_USBSUSPMSK_DEFAULT 0x00000000UL
798 #define USB_GINTMSK_USBSUSPMSK_DEFAULT (_USB_GINTMSK_USBSUSPMSK_DEFAULT << 11)
799 #define USB_GINTMSK_USBRSTMSK (0x1UL << 12)
800 #define _USB_GINTMSK_USBRSTMSK_SHIFT 12
801 #define _USB_GINTMSK_USBRSTMSK_MASK 0x1000UL
802 #define _USB_GINTMSK_USBRSTMSK_DEFAULT 0x00000000UL
803 #define USB_GINTMSK_USBRSTMSK_DEFAULT (_USB_GINTMSK_USBRSTMSK_DEFAULT << 12)
804 #define USB_GINTMSK_ENUMDONEMSK (0x1UL << 13)
805 #define _USB_GINTMSK_ENUMDONEMSK_SHIFT 13
806 #define _USB_GINTMSK_ENUMDONEMSK_MASK 0x2000UL
807 #define _USB_GINTMSK_ENUMDONEMSK_DEFAULT 0x00000000UL
808 #define USB_GINTMSK_ENUMDONEMSK_DEFAULT (_USB_GINTMSK_ENUMDONEMSK_DEFAULT << 13)
809 #define USB_GINTMSK_ISOOUTDROPMSK (0x1UL << 14)
810 #define _USB_GINTMSK_ISOOUTDROPMSK_SHIFT 14
811 #define _USB_GINTMSK_ISOOUTDROPMSK_MASK 0x4000UL
812 #define _USB_GINTMSK_ISOOUTDROPMSK_DEFAULT 0x00000000UL
813 #define USB_GINTMSK_ISOOUTDROPMSK_DEFAULT (_USB_GINTMSK_ISOOUTDROPMSK_DEFAULT << 14)
814 #define USB_GINTMSK_EOPFMSK (0x1UL << 15)
815 #define _USB_GINTMSK_EOPFMSK_SHIFT 15
816 #define _USB_GINTMSK_EOPFMSK_MASK 0x8000UL
817 #define _USB_GINTMSK_EOPFMSK_DEFAULT 0x00000000UL
818 #define USB_GINTMSK_EOPFMSK_DEFAULT (_USB_GINTMSK_EOPFMSK_DEFAULT << 15)
819 #define USB_GINTMSK_IEPINTMSK (0x1UL << 18)
820 #define _USB_GINTMSK_IEPINTMSK_SHIFT 18
821 #define _USB_GINTMSK_IEPINTMSK_MASK 0x40000UL
822 #define _USB_GINTMSK_IEPINTMSK_DEFAULT 0x00000000UL
823 #define USB_GINTMSK_IEPINTMSK_DEFAULT (_USB_GINTMSK_IEPINTMSK_DEFAULT << 18)
824 #define USB_GINTMSK_OEPINTMSK (0x1UL << 19)
825 #define _USB_GINTMSK_OEPINTMSK_SHIFT 19
826 #define _USB_GINTMSK_OEPINTMSK_MASK 0x80000UL
827 #define _USB_GINTMSK_OEPINTMSK_DEFAULT 0x00000000UL
828 #define USB_GINTMSK_OEPINTMSK_DEFAULT (_USB_GINTMSK_OEPINTMSK_DEFAULT << 19)
829 #define USB_GINTMSK_INCOMPISOINMSK (0x1UL << 20)
830 #define _USB_GINTMSK_INCOMPISOINMSK_SHIFT 20
831 #define _USB_GINTMSK_INCOMPISOINMSK_MASK 0x100000UL
832 #define _USB_GINTMSK_INCOMPISOINMSK_DEFAULT 0x00000000UL
833 #define USB_GINTMSK_INCOMPISOINMSK_DEFAULT (_USB_GINTMSK_INCOMPISOINMSK_DEFAULT << 20)
834 #define USB_GINTMSK_INCOMPLPMSK (0x1UL << 21)
835 #define _USB_GINTMSK_INCOMPLPMSK_SHIFT 21
836 #define _USB_GINTMSK_INCOMPLPMSK_MASK 0x200000UL
837 #define _USB_GINTMSK_INCOMPLPMSK_DEFAULT 0x00000000UL
838 #define USB_GINTMSK_INCOMPLPMSK_DEFAULT (_USB_GINTMSK_INCOMPLPMSK_DEFAULT << 21)
839 #define USB_GINTMSK_FETSUSPMSK (0x1UL << 22)
840 #define _USB_GINTMSK_FETSUSPMSK_SHIFT 22
841 #define _USB_GINTMSK_FETSUSPMSK_MASK 0x400000UL
842 #define _USB_GINTMSK_FETSUSPMSK_DEFAULT 0x00000000UL
843 #define USB_GINTMSK_FETSUSPMSK_DEFAULT (_USB_GINTMSK_FETSUSPMSK_DEFAULT << 22)
844 #define USB_GINTMSK_RESETDETMSK (0x1UL << 23)
845 #define _USB_GINTMSK_RESETDETMSK_SHIFT 23
846 #define _USB_GINTMSK_RESETDETMSK_MASK 0x800000UL
847 #define _USB_GINTMSK_RESETDETMSK_DEFAULT 0x00000000UL
848 #define USB_GINTMSK_RESETDETMSK_DEFAULT (_USB_GINTMSK_RESETDETMSK_DEFAULT << 23)
849 #define USB_GINTMSK_PRTINTMSK (0x1UL << 24)
850 #define _USB_GINTMSK_PRTINTMSK_SHIFT 24
851 #define _USB_GINTMSK_PRTINTMSK_MASK 0x1000000UL
852 #define _USB_GINTMSK_PRTINTMSK_DEFAULT 0x00000000UL
853 #define USB_GINTMSK_PRTINTMSK_DEFAULT (_USB_GINTMSK_PRTINTMSK_DEFAULT << 24)
854 #define USB_GINTMSK_HCHINTMSK (0x1UL << 25)
855 #define _USB_GINTMSK_HCHINTMSK_SHIFT 25
856 #define _USB_GINTMSK_HCHINTMSK_MASK 0x2000000UL
857 #define _USB_GINTMSK_HCHINTMSK_DEFAULT 0x00000000UL
858 #define USB_GINTMSK_HCHINTMSK_DEFAULT (_USB_GINTMSK_HCHINTMSK_DEFAULT << 25)
859 #define USB_GINTMSK_PTXFEMPMSK (0x1UL << 26)
860 #define _USB_GINTMSK_PTXFEMPMSK_SHIFT 26
861 #define _USB_GINTMSK_PTXFEMPMSK_MASK 0x4000000UL
862 #define _USB_GINTMSK_PTXFEMPMSK_DEFAULT 0x00000000UL
863 #define USB_GINTMSK_PTXFEMPMSK_DEFAULT (_USB_GINTMSK_PTXFEMPMSK_DEFAULT << 26)
864 #define USB_GINTMSK_CONIDSTSCHNGMSK (0x1UL << 28)
865 #define _USB_GINTMSK_CONIDSTSCHNGMSK_SHIFT 28
866 #define _USB_GINTMSK_CONIDSTSCHNGMSK_MASK 0x10000000UL
867 #define _USB_GINTMSK_CONIDSTSCHNGMSK_DEFAULT 0x00000000UL
868 #define USB_GINTMSK_CONIDSTSCHNGMSK_DEFAULT (_USB_GINTMSK_CONIDSTSCHNGMSK_DEFAULT << 28)
869 #define USB_GINTMSK_DISCONNINTMSK (0x1UL << 29)
870 #define _USB_GINTMSK_DISCONNINTMSK_SHIFT 29
871 #define _USB_GINTMSK_DISCONNINTMSK_MASK 0x20000000UL
872 #define _USB_GINTMSK_DISCONNINTMSK_DEFAULT 0x00000000UL
873 #define USB_GINTMSK_DISCONNINTMSK_DEFAULT (_USB_GINTMSK_DISCONNINTMSK_DEFAULT << 29)
874 #define USB_GINTMSK_SESSREQINTMSK (0x1UL << 30)
875 #define _USB_GINTMSK_SESSREQINTMSK_SHIFT 30
876 #define _USB_GINTMSK_SESSREQINTMSK_MASK 0x40000000UL
877 #define _USB_GINTMSK_SESSREQINTMSK_DEFAULT 0x00000000UL
878 #define USB_GINTMSK_SESSREQINTMSK_DEFAULT (_USB_GINTMSK_SESSREQINTMSK_DEFAULT << 30)
879 #define USB_GINTMSK_WKUPINTMSK (0x1UL << 31)
880 #define _USB_GINTMSK_WKUPINTMSK_SHIFT 31
881 #define _USB_GINTMSK_WKUPINTMSK_MASK 0x80000000UL
882 #define _USB_GINTMSK_WKUPINTMSK_DEFAULT 0x00000000UL
883 #define USB_GINTMSK_WKUPINTMSK_DEFAULT (_USB_GINTMSK_WKUPINTMSK_DEFAULT << 31)
886 #define _USB_GRXSTSR_RESETVALUE 0x00000000UL
887 #define _USB_GRXSTSR_MASK 0x01FFFFFFUL
888 #define _USB_GRXSTSR_CHEPNUM_SHIFT 0
889 #define _USB_GRXSTSR_CHEPNUM_MASK 0xFUL
890 #define _USB_GRXSTSR_CHEPNUM_DEFAULT 0x00000000UL
891 #define USB_GRXSTSR_CHEPNUM_DEFAULT (_USB_GRXSTSR_CHEPNUM_DEFAULT << 0)
892 #define _USB_GRXSTSR_BCNT_SHIFT 4
893 #define _USB_GRXSTSR_BCNT_MASK 0x7FF0UL
894 #define _USB_GRXSTSR_BCNT_DEFAULT 0x00000000UL
895 #define USB_GRXSTSR_BCNT_DEFAULT (_USB_GRXSTSR_BCNT_DEFAULT << 4)
896 #define _USB_GRXSTSR_DPID_SHIFT 15
897 #define _USB_GRXSTSR_DPID_MASK 0x18000UL
898 #define _USB_GRXSTSR_DPID_DEFAULT 0x00000000UL
899 #define _USB_GRXSTSR_DPID_DATA0 0x00000000UL
900 #define _USB_GRXSTSR_DPID_DATA1 0x00000001UL
901 #define _USB_GRXSTSR_DPID_DATA2 0x00000002UL
902 #define _USB_GRXSTSR_DPID_MDATA 0x00000003UL
903 #define USB_GRXSTSR_DPID_DEFAULT (_USB_GRXSTSR_DPID_DEFAULT << 15)
904 #define USB_GRXSTSR_DPID_DATA0 (_USB_GRXSTSR_DPID_DATA0 << 15)
905 #define USB_GRXSTSR_DPID_DATA1 (_USB_GRXSTSR_DPID_DATA1 << 15)
906 #define USB_GRXSTSR_DPID_DATA2 (_USB_GRXSTSR_DPID_DATA2 << 15)
907 #define USB_GRXSTSR_DPID_MDATA (_USB_GRXSTSR_DPID_MDATA << 15)
908 #define _USB_GRXSTSR_PKTSTS_SHIFT 17
909 #define _USB_GRXSTSR_PKTSTS_MASK 0x1E0000UL
910 #define _USB_GRXSTSR_PKTSTS_DEFAULT 0x00000000UL
911 #define _USB_GRXSTSR_PKTSTS_GOUTNAK 0x00000001UL
912 #define _USB_GRXSTSR_PKTSTS_PKTRCV 0x00000002UL
913 #define _USB_GRXSTSR_PKTSTS_XFERCOMPL 0x00000003UL
914 #define _USB_GRXSTSR_PKTSTS_SETUPCOMPL 0x00000004UL
915 #define _USB_GRXSTSR_PKTSTS_TGLERR 0x00000005UL
916 #define _USB_GRXSTSR_PKTSTS_SETUPRCV 0x00000006UL
917 #define _USB_GRXSTSR_PKTSTS_CHLT 0x00000007UL
918 #define USB_GRXSTSR_PKTSTS_DEFAULT (_USB_GRXSTSR_PKTSTS_DEFAULT << 17)
919 #define USB_GRXSTSR_PKTSTS_GOUTNAK (_USB_GRXSTSR_PKTSTS_GOUTNAK << 17)
920 #define USB_GRXSTSR_PKTSTS_PKTRCV (_USB_GRXSTSR_PKTSTS_PKTRCV << 17)
921 #define USB_GRXSTSR_PKTSTS_XFERCOMPL (_USB_GRXSTSR_PKTSTS_XFERCOMPL << 17)
922 #define USB_GRXSTSR_PKTSTS_SETUPCOMPL (_USB_GRXSTSR_PKTSTS_SETUPCOMPL << 17)
923 #define USB_GRXSTSR_PKTSTS_TGLERR (_USB_GRXSTSR_PKTSTS_TGLERR << 17)
924 #define USB_GRXSTSR_PKTSTS_SETUPRCV (_USB_GRXSTSR_PKTSTS_SETUPRCV << 17)
925 #define USB_GRXSTSR_PKTSTS_CHLT (_USB_GRXSTSR_PKTSTS_CHLT << 17)
926 #define _USB_GRXSTSR_FN_SHIFT 21
927 #define _USB_GRXSTSR_FN_MASK 0x1E00000UL
928 #define _USB_GRXSTSR_FN_DEFAULT 0x00000000UL
929 #define USB_GRXSTSR_FN_DEFAULT (_USB_GRXSTSR_FN_DEFAULT << 21)
932 #define _USB_GRXSTSP_RESETVALUE 0x00000000UL
933 #define _USB_GRXSTSP_MASK 0x01FFFFFFUL
934 #define _USB_GRXSTSP_CHEPNUM_SHIFT 0
935 #define _USB_GRXSTSP_CHEPNUM_MASK 0xFUL
936 #define _USB_GRXSTSP_CHEPNUM_DEFAULT 0x00000000UL
937 #define USB_GRXSTSP_CHEPNUM_DEFAULT (_USB_GRXSTSP_CHEPNUM_DEFAULT << 0)
938 #define _USB_GRXSTSP_BCNT_SHIFT 4
939 #define _USB_GRXSTSP_BCNT_MASK 0x7FF0UL
940 #define _USB_GRXSTSP_BCNT_DEFAULT 0x00000000UL
941 #define USB_GRXSTSP_BCNT_DEFAULT (_USB_GRXSTSP_BCNT_DEFAULT << 4)
942 #define _USB_GRXSTSP_DPID_SHIFT 15
943 #define _USB_GRXSTSP_DPID_MASK 0x18000UL
944 #define _USB_GRXSTSP_DPID_DEFAULT 0x00000000UL
945 #define _USB_GRXSTSP_DPID_DATA0 0x00000000UL
946 #define _USB_GRXSTSP_DPID_DATA1 0x00000001UL
947 #define _USB_GRXSTSP_DPID_DATA2 0x00000002UL
948 #define _USB_GRXSTSP_DPID_MDATA 0x00000003UL
949 #define USB_GRXSTSP_DPID_DEFAULT (_USB_GRXSTSP_DPID_DEFAULT << 15)
950 #define USB_GRXSTSP_DPID_DATA0 (_USB_GRXSTSP_DPID_DATA0 << 15)
951 #define USB_GRXSTSP_DPID_DATA1 (_USB_GRXSTSP_DPID_DATA1 << 15)
952 #define USB_GRXSTSP_DPID_DATA2 (_USB_GRXSTSP_DPID_DATA2 << 15)
953 #define USB_GRXSTSP_DPID_MDATA (_USB_GRXSTSP_DPID_MDATA << 15)
954 #define _USB_GRXSTSP_PKTSTS_SHIFT 17
955 #define _USB_GRXSTSP_PKTSTS_MASK 0x1E0000UL
956 #define _USB_GRXSTSP_PKTSTS_DEFAULT 0x00000000UL
957 #define _USB_GRXSTSP_PKTSTS_GOUTNAK 0x00000001UL
958 #define _USB_GRXSTSP_PKTSTS_PKTRCV 0x00000002UL
959 #define _USB_GRXSTSP_PKTSTS_XFERCOMPL 0x00000003UL
960 #define _USB_GRXSTSP_PKTSTS_SETUPCOMPL 0x00000004UL
961 #define _USB_GRXSTSP_PKTSTS_TGLERR 0x00000005UL
962 #define _USB_GRXSTSP_PKTSTS_SETUPRCV 0x00000006UL
963 #define _USB_GRXSTSP_PKTSTS_CHLT 0x00000007UL
964 #define USB_GRXSTSP_PKTSTS_DEFAULT (_USB_GRXSTSP_PKTSTS_DEFAULT << 17)
965 #define USB_GRXSTSP_PKTSTS_GOUTNAK (_USB_GRXSTSP_PKTSTS_GOUTNAK << 17)
966 #define USB_GRXSTSP_PKTSTS_PKTRCV (_USB_GRXSTSP_PKTSTS_PKTRCV << 17)
967 #define USB_GRXSTSP_PKTSTS_XFERCOMPL (_USB_GRXSTSP_PKTSTS_XFERCOMPL << 17)
968 #define USB_GRXSTSP_PKTSTS_SETUPCOMPL (_USB_GRXSTSP_PKTSTS_SETUPCOMPL << 17)
969 #define USB_GRXSTSP_PKTSTS_TGLERR (_USB_GRXSTSP_PKTSTS_TGLERR << 17)
970 #define USB_GRXSTSP_PKTSTS_SETUPRCV (_USB_GRXSTSP_PKTSTS_SETUPRCV << 17)
971 #define USB_GRXSTSP_PKTSTS_CHLT (_USB_GRXSTSP_PKTSTS_CHLT << 17)
972 #define _USB_GRXSTSP_FN_SHIFT 21
973 #define _USB_GRXSTSP_FN_MASK 0x1E00000UL
974 #define _USB_GRXSTSP_FN_DEFAULT 0x00000000UL
975 #define USB_GRXSTSP_FN_DEFAULT (_USB_GRXSTSP_FN_DEFAULT << 21)
978 #define _USB_GRXFSIZ_RESETVALUE 0x00000200UL
979 #define _USB_GRXFSIZ_MASK 0x000003FFUL
980 #define _USB_GRXFSIZ_RXFDEP_SHIFT 0
981 #define _USB_GRXFSIZ_RXFDEP_MASK 0x3FFUL
982 #define _USB_GRXFSIZ_RXFDEP_DEFAULT 0x00000200UL
983 #define USB_GRXFSIZ_RXFDEP_DEFAULT (_USB_GRXFSIZ_RXFDEP_DEFAULT << 0)
986 #define _USB_GNPTXFSIZ_RESETVALUE 0x02000200UL
987 #define _USB_GNPTXFSIZ_MASK 0xFFFF03FFUL
988 #define _USB_GNPTXFSIZ_NPTXFSTADDR_SHIFT 0
989 #define _USB_GNPTXFSIZ_NPTXFSTADDR_MASK 0x3FFUL
990 #define _USB_GNPTXFSIZ_NPTXFSTADDR_DEFAULT 0x00000200UL
991 #define USB_GNPTXFSIZ_NPTXFSTADDR_DEFAULT (_USB_GNPTXFSIZ_NPTXFSTADDR_DEFAULT << 0)
992 #define _USB_GNPTXFSIZ_NPTXFINEPTXF0DEP_SHIFT 16
993 #define _USB_GNPTXFSIZ_NPTXFINEPTXF0DEP_MASK 0xFFFF0000UL
994 #define _USB_GNPTXFSIZ_NPTXFINEPTXF0DEP_DEFAULT 0x00000200UL
995 #define USB_GNPTXFSIZ_NPTXFINEPTXF0DEP_DEFAULT (_USB_GNPTXFSIZ_NPTXFINEPTXF0DEP_DEFAULT << 16)
998 #define _USB_GNPTXSTS_RESETVALUE 0x00080200UL
999 #define _USB_GNPTXSTS_MASK 0x7FFFFFFFUL
1000 #define _USB_GNPTXSTS_NPTXFSPCAVAIL_SHIFT 0
1001 #define _USB_GNPTXSTS_NPTXFSPCAVAIL_MASK 0xFFFFUL
1002 #define _USB_GNPTXSTS_NPTXFSPCAVAIL_DEFAULT 0x00000200UL
1003 #define USB_GNPTXSTS_NPTXFSPCAVAIL_DEFAULT (_USB_GNPTXSTS_NPTXFSPCAVAIL_DEFAULT << 0)
1004 #define _USB_GNPTXSTS_NPTXQSPCAVAIL_SHIFT 16
1005 #define _USB_GNPTXSTS_NPTXQSPCAVAIL_MASK 0xFF0000UL
1006 #define _USB_GNPTXSTS_NPTXQSPCAVAIL_DEFAULT 0x00000008UL
1007 #define USB_GNPTXSTS_NPTXQSPCAVAIL_DEFAULT (_USB_GNPTXSTS_NPTXQSPCAVAIL_DEFAULT << 16)
1008 #define _USB_GNPTXSTS_NPTXQTOP_SHIFT 24
1009 #define _USB_GNPTXSTS_NPTXQTOP_MASK 0x7F000000UL
1010 #define _USB_GNPTXSTS_NPTXQTOP_DEFAULT 0x00000000UL
1011 #define USB_GNPTXSTS_NPTXQTOP_DEFAULT (_USB_GNPTXSTS_NPTXQTOP_DEFAULT << 24)
1014 #define _USB_GDFIFOCFG_RESETVALUE 0x01F20200UL
1015 #define _USB_GDFIFOCFG_MASK 0xFFFFFFFFUL
1016 #define _USB_GDFIFOCFG_GDFIFOCFG_SHIFT 0
1017 #define _USB_GDFIFOCFG_GDFIFOCFG_MASK 0xFFFFUL
1018 #define _USB_GDFIFOCFG_GDFIFOCFG_DEFAULT 0x00000200UL
1019 #define USB_GDFIFOCFG_GDFIFOCFG_DEFAULT (_USB_GDFIFOCFG_GDFIFOCFG_DEFAULT << 0)
1020 #define _USB_GDFIFOCFG_EPINFOBASEADDR_SHIFT 16
1021 #define _USB_GDFIFOCFG_EPINFOBASEADDR_MASK 0xFFFF0000UL
1022 #define _USB_GDFIFOCFG_EPINFOBASEADDR_DEFAULT 0x000001F2UL
1023 #define USB_GDFIFOCFG_EPINFOBASEADDR_DEFAULT (_USB_GDFIFOCFG_EPINFOBASEADDR_DEFAULT << 16)
1026 #define _USB_HPTXFSIZ_RESETVALUE 0x02000400UL
1027 #define _USB_HPTXFSIZ_MASK 0x03FF07FFUL
1028 #define _USB_HPTXFSIZ_PTXFSTADDR_SHIFT 0
1029 #define _USB_HPTXFSIZ_PTXFSTADDR_MASK 0x7FFUL
1030 #define _USB_HPTXFSIZ_PTXFSTADDR_DEFAULT 0x00000400UL
1031 #define USB_HPTXFSIZ_PTXFSTADDR_DEFAULT (_USB_HPTXFSIZ_PTXFSTADDR_DEFAULT << 0)
1032 #define _USB_HPTXFSIZ_PTXFSIZE_SHIFT 16
1033 #define _USB_HPTXFSIZ_PTXFSIZE_MASK 0x3FF0000UL
1034 #define _USB_HPTXFSIZ_PTXFSIZE_DEFAULT 0x00000200UL
1035 #define USB_HPTXFSIZ_PTXFSIZE_DEFAULT (_USB_HPTXFSIZ_PTXFSIZE_DEFAULT << 16)
1038 #define _USB_DIEPTXF1_RESETVALUE 0x02000400UL
1039 #define _USB_DIEPTXF1_MASK 0x03FF07FFUL
1040 #define _USB_DIEPTXF1_INEPNTXFSTADDR_SHIFT 0
1041 #define _USB_DIEPTXF1_INEPNTXFSTADDR_MASK 0x7FFUL
1042 #define _USB_DIEPTXF1_INEPNTXFSTADDR_DEFAULT 0x00000400UL
1043 #define USB_DIEPTXF1_INEPNTXFSTADDR_DEFAULT (_USB_DIEPTXF1_INEPNTXFSTADDR_DEFAULT << 0)
1044 #define _USB_DIEPTXF1_INEPNTXFDEP_SHIFT 16
1045 #define _USB_DIEPTXF1_INEPNTXFDEP_MASK 0x3FF0000UL
1046 #define _USB_DIEPTXF1_INEPNTXFDEP_DEFAULT 0x00000200UL
1047 #define USB_DIEPTXF1_INEPNTXFDEP_DEFAULT (_USB_DIEPTXF1_INEPNTXFDEP_DEFAULT << 16)
1050 #define _USB_DIEPTXF2_RESETVALUE 0x02000600UL
1051 #define _USB_DIEPTXF2_MASK 0x03FF07FFUL
1052 #define _USB_DIEPTXF2_INEPNTXFSTADDR_SHIFT 0
1053 #define _USB_DIEPTXF2_INEPNTXFSTADDR_MASK 0x7FFUL
1054 #define _USB_DIEPTXF2_INEPNTXFSTADDR_DEFAULT 0x00000600UL
1055 #define USB_DIEPTXF2_INEPNTXFSTADDR_DEFAULT (_USB_DIEPTXF2_INEPNTXFSTADDR_DEFAULT << 0)
1056 #define _USB_DIEPTXF2_INEPNTXFDEP_SHIFT 16
1057 #define _USB_DIEPTXF2_INEPNTXFDEP_MASK 0x3FF0000UL
1058 #define _USB_DIEPTXF2_INEPNTXFDEP_DEFAULT 0x00000200UL
1059 #define USB_DIEPTXF2_INEPNTXFDEP_DEFAULT (_USB_DIEPTXF2_INEPNTXFDEP_DEFAULT << 16)
1062 #define _USB_DIEPTXF3_RESETVALUE 0x02000800UL
1063 #define _USB_DIEPTXF3_MASK 0x03FF0FFFUL
1064 #define _USB_DIEPTXF3_INEPNTXFSTADDR_SHIFT 0
1065 #define _USB_DIEPTXF3_INEPNTXFSTADDR_MASK 0xFFFUL
1066 #define _USB_DIEPTXF3_INEPNTXFSTADDR_DEFAULT 0x00000800UL
1067 #define USB_DIEPTXF3_INEPNTXFSTADDR_DEFAULT (_USB_DIEPTXF3_INEPNTXFSTADDR_DEFAULT << 0)
1068 #define _USB_DIEPTXF3_INEPNTXFDEP_SHIFT 16
1069 #define _USB_DIEPTXF3_INEPNTXFDEP_MASK 0x3FF0000UL
1070 #define _USB_DIEPTXF3_INEPNTXFDEP_DEFAULT 0x00000200UL
1071 #define USB_DIEPTXF3_INEPNTXFDEP_DEFAULT (_USB_DIEPTXF3_INEPNTXFDEP_DEFAULT << 16)
1074 #define _USB_DIEPTXF4_RESETVALUE 0x02000A00UL
1075 #define _USB_DIEPTXF4_MASK 0x03FF0FFFUL
1076 #define _USB_DIEPTXF4_INEPNTXFSTADDR_SHIFT 0
1077 #define _USB_DIEPTXF4_INEPNTXFSTADDR_MASK 0xFFFUL
1078 #define _USB_DIEPTXF4_INEPNTXFSTADDR_DEFAULT 0x00000A00UL
1079 #define USB_DIEPTXF4_INEPNTXFSTADDR_DEFAULT (_USB_DIEPTXF4_INEPNTXFSTADDR_DEFAULT << 0)
1080 #define _USB_DIEPTXF4_INEPNTXFDEP_SHIFT 16
1081 #define _USB_DIEPTXF4_INEPNTXFDEP_MASK 0x3FF0000UL
1082 #define _USB_DIEPTXF4_INEPNTXFDEP_DEFAULT 0x00000200UL
1083 #define USB_DIEPTXF4_INEPNTXFDEP_DEFAULT (_USB_DIEPTXF4_INEPNTXFDEP_DEFAULT << 16)
1086 #define _USB_DIEPTXF5_RESETVALUE 0x02000C00UL
1087 #define _USB_DIEPTXF5_MASK 0x03FF0FFFUL
1088 #define _USB_DIEPTXF5_INEPNTXFSTADDR_SHIFT 0
1089 #define _USB_DIEPTXF5_INEPNTXFSTADDR_MASK 0xFFFUL
1090 #define _USB_DIEPTXF5_INEPNTXFSTADDR_DEFAULT 0x00000C00UL
1091 #define USB_DIEPTXF5_INEPNTXFSTADDR_DEFAULT (_USB_DIEPTXF5_INEPNTXFSTADDR_DEFAULT << 0)
1092 #define _USB_DIEPTXF5_INEPNTXFDEP_SHIFT 16
1093 #define _USB_DIEPTXF5_INEPNTXFDEP_MASK 0x3FF0000UL
1094 #define _USB_DIEPTXF5_INEPNTXFDEP_DEFAULT 0x00000200UL
1095 #define USB_DIEPTXF5_INEPNTXFDEP_DEFAULT (_USB_DIEPTXF5_INEPNTXFDEP_DEFAULT << 16)
1098 #define _USB_DIEPTXF6_RESETVALUE 0x02000E00UL
1099 #define _USB_DIEPTXF6_MASK 0x03FF0FFFUL
1100 #define _USB_DIEPTXF6_INEPNTXFSTADDR_SHIFT 0
1101 #define _USB_DIEPTXF6_INEPNTXFSTADDR_MASK 0xFFFUL
1102 #define _USB_DIEPTXF6_INEPNTXFSTADDR_DEFAULT 0x00000E00UL
1103 #define USB_DIEPTXF6_INEPNTXFSTADDR_DEFAULT (_USB_DIEPTXF6_INEPNTXFSTADDR_DEFAULT << 0)
1104 #define _USB_DIEPTXF6_INEPNTXFDEP_SHIFT 16
1105 #define _USB_DIEPTXF6_INEPNTXFDEP_MASK 0x3FF0000UL
1106 #define _USB_DIEPTXF6_INEPNTXFDEP_DEFAULT 0x00000200UL
1107 #define USB_DIEPTXF6_INEPNTXFDEP_DEFAULT (_USB_DIEPTXF6_INEPNTXFDEP_DEFAULT << 16)
1110 #define _USB_HCFG_RESETVALUE 0x00200000UL
1111 #define _USB_HCFG_MASK 0x8000FF87UL
1112 #define _USB_HCFG_FSLSPCLKSEL_SHIFT 0
1113 #define _USB_HCFG_FSLSPCLKSEL_MASK 0x3UL
1114 #define _USB_HCFG_FSLSPCLKSEL_DEFAULT 0x00000000UL
1115 #define _USB_HCFG_FSLSPCLKSEL_DIV1 0x00000001UL
1116 #define _USB_HCFG_FSLSPCLKSEL_DIV8 0x00000002UL
1117 #define USB_HCFG_FSLSPCLKSEL_DEFAULT (_USB_HCFG_FSLSPCLKSEL_DEFAULT << 0)
1118 #define USB_HCFG_FSLSPCLKSEL_DIV1 (_USB_HCFG_FSLSPCLKSEL_DIV1 << 0)
1119 #define USB_HCFG_FSLSPCLKSEL_DIV8 (_USB_HCFG_FSLSPCLKSEL_DIV8 << 0)
1120 #define USB_HCFG_FSLSSUPP (0x1UL << 2)
1121 #define _USB_HCFG_FSLSSUPP_SHIFT 2
1122 #define _USB_HCFG_FSLSSUPP_MASK 0x4UL
1123 #define _USB_HCFG_FSLSSUPP_DEFAULT 0x00000000UL
1124 #define _USB_HCFG_FSLSSUPP_HSFSLS 0x00000000UL
1125 #define _USB_HCFG_FSLSSUPP_FSLS 0x00000001UL
1126 #define USB_HCFG_FSLSSUPP_DEFAULT (_USB_HCFG_FSLSSUPP_DEFAULT << 2)
1127 #define USB_HCFG_FSLSSUPP_HSFSLS (_USB_HCFG_FSLSSUPP_HSFSLS << 2)
1128 #define USB_HCFG_FSLSSUPP_FSLS (_USB_HCFG_FSLSSUPP_FSLS << 2)
1129 #define USB_HCFG_ENA32KHZS (0x1UL << 7)
1130 #define _USB_HCFG_ENA32KHZS_SHIFT 7
1131 #define _USB_HCFG_ENA32KHZS_MASK 0x80UL
1132 #define _USB_HCFG_ENA32KHZS_DEFAULT 0x00000000UL
1133 #define USB_HCFG_ENA32KHZS_DEFAULT (_USB_HCFG_ENA32KHZS_DEFAULT << 7)
1134 #define _USB_HCFG_RESVALID_SHIFT 8
1135 #define _USB_HCFG_RESVALID_MASK 0xFF00UL
1136 #define _USB_HCFG_RESVALID_DEFAULT 0x00000000UL
1137 #define USB_HCFG_RESVALID_DEFAULT (_USB_HCFG_RESVALID_DEFAULT << 8)
1138 #define USB_HCFG_MODECHTIMEN (0x1UL << 31)
1139 #define _USB_HCFG_MODECHTIMEN_SHIFT 31
1140 #define _USB_HCFG_MODECHTIMEN_MASK 0x80000000UL
1141 #define _USB_HCFG_MODECHTIMEN_DEFAULT 0x00000000UL
1142 #define USB_HCFG_MODECHTIMEN_DEFAULT (_USB_HCFG_MODECHTIMEN_DEFAULT << 31)
1145 #define _USB_HFIR_RESETVALUE 0x000017D7UL
1146 #define _USB_HFIR_MASK 0x0001FFFFUL
1147 #define _USB_HFIR_FRINT_SHIFT 0
1148 #define _USB_HFIR_FRINT_MASK 0xFFFFUL
1149 #define _USB_HFIR_FRINT_DEFAULT 0x000017D7UL
1150 #define USB_HFIR_FRINT_DEFAULT (_USB_HFIR_FRINT_DEFAULT << 0)
1151 #define USB_HFIR_HFIRRLDCTRL (0x1UL << 16)
1152 #define _USB_HFIR_HFIRRLDCTRL_SHIFT 16
1153 #define _USB_HFIR_HFIRRLDCTRL_MASK 0x10000UL
1154 #define _USB_HFIR_HFIRRLDCTRL_DEFAULT 0x00000000UL
1155 #define _USB_HFIR_HFIRRLDCTRL_STATIC 0x00000000UL
1156 #define _USB_HFIR_HFIRRLDCTRL_DYNAMIC 0x00000001UL
1157 #define USB_HFIR_HFIRRLDCTRL_DEFAULT (_USB_HFIR_HFIRRLDCTRL_DEFAULT << 16)
1158 #define USB_HFIR_HFIRRLDCTRL_STATIC (_USB_HFIR_HFIRRLDCTRL_STATIC << 16)
1159 #define USB_HFIR_HFIRRLDCTRL_DYNAMIC (_USB_HFIR_HFIRRLDCTRL_DYNAMIC << 16)
1162 #define _USB_HFNUM_RESETVALUE 0x00003FFFUL
1163 #define _USB_HFNUM_MASK 0xFFFFFFFFUL
1164 #define _USB_HFNUM_FRNUM_SHIFT 0
1165 #define _USB_HFNUM_FRNUM_MASK 0xFFFFUL
1166 #define _USB_HFNUM_FRNUM_DEFAULT 0x00003FFFUL
1167 #define USB_HFNUM_FRNUM_DEFAULT (_USB_HFNUM_FRNUM_DEFAULT << 0)
1168 #define _USB_HFNUM_FRREM_SHIFT 16
1169 #define _USB_HFNUM_FRREM_MASK 0xFFFF0000UL
1170 #define _USB_HFNUM_FRREM_DEFAULT 0x00000000UL
1171 #define USB_HFNUM_FRREM_DEFAULT (_USB_HFNUM_FRREM_DEFAULT << 16)
1174 #define _USB_HPTXSTS_RESETVALUE 0x00080200UL
1175 #define _USB_HPTXSTS_MASK 0xFFFFFFFFUL
1176 #define _USB_HPTXSTS_PTXFSPCAVAIL_SHIFT 0
1177 #define _USB_HPTXSTS_PTXFSPCAVAIL_MASK 0xFFFFUL
1178 #define _USB_HPTXSTS_PTXFSPCAVAIL_DEFAULT 0x00000200UL
1179 #define USB_HPTXSTS_PTXFSPCAVAIL_DEFAULT (_USB_HPTXSTS_PTXFSPCAVAIL_DEFAULT << 0)
1180 #define _USB_HPTXSTS_PTXQSPCAVAIL_SHIFT 16
1181 #define _USB_HPTXSTS_PTXQSPCAVAIL_MASK 0xFF0000UL
1182 #define _USB_HPTXSTS_PTXQSPCAVAIL_DEFAULT 0x00000008UL
1183 #define USB_HPTXSTS_PTXQSPCAVAIL_DEFAULT (_USB_HPTXSTS_PTXQSPCAVAIL_DEFAULT << 16)
1184 #define _USB_HPTXSTS_PTXQTOP_SHIFT 24
1185 #define _USB_HPTXSTS_PTXQTOP_MASK 0xFF000000UL
1186 #define _USB_HPTXSTS_PTXQTOP_DEFAULT 0x00000000UL
1187 #define USB_HPTXSTS_PTXQTOP_DEFAULT (_USB_HPTXSTS_PTXQTOP_DEFAULT << 24)
1190 #define _USB_HAINT_RESETVALUE 0x00000000UL
1191 #define _USB_HAINT_MASK 0x00003FFFUL
1192 #define _USB_HAINT_HAINT_SHIFT 0
1193 #define _USB_HAINT_HAINT_MASK 0x3FFFUL
1194 #define _USB_HAINT_HAINT_DEFAULT 0x00000000UL
1195 #define USB_HAINT_HAINT_DEFAULT (_USB_HAINT_HAINT_DEFAULT << 0)
1198 #define _USB_HAINTMSK_RESETVALUE 0x00000000UL
1199 #define _USB_HAINTMSK_MASK 0x00003FFFUL
1200 #define _USB_HAINTMSK_HAINTMSK_SHIFT 0
1201 #define _USB_HAINTMSK_HAINTMSK_MASK 0x3FFFUL
1202 #define _USB_HAINTMSK_HAINTMSK_DEFAULT 0x00000000UL
1203 #define USB_HAINTMSK_HAINTMSK_DEFAULT (_USB_HAINTMSK_HAINTMSK_DEFAULT << 0)
1206 #define _USB_HPRT_RESETVALUE 0x00000000UL
1207 #define _USB_HPRT_MASK 0x0007FDFFUL
1208 #define USB_HPRT_PRTCONNSTS (0x1UL << 0)
1209 #define _USB_HPRT_PRTCONNSTS_SHIFT 0
1210 #define _USB_HPRT_PRTCONNSTS_MASK 0x1UL
1211 #define _USB_HPRT_PRTCONNSTS_DEFAULT 0x00000000UL
1212 #define USB_HPRT_PRTCONNSTS_DEFAULT (_USB_HPRT_PRTCONNSTS_DEFAULT << 0)
1213 #define USB_HPRT_PRTCONNDET (0x1UL << 1)
1214 #define _USB_HPRT_PRTCONNDET_SHIFT 1
1215 #define _USB_HPRT_PRTCONNDET_MASK 0x2UL
1216 #define _USB_HPRT_PRTCONNDET_DEFAULT 0x00000000UL
1217 #define USB_HPRT_PRTCONNDET_DEFAULT (_USB_HPRT_PRTCONNDET_DEFAULT << 1)
1218 #define USB_HPRT_PRTENA (0x1UL << 2)
1219 #define _USB_HPRT_PRTENA_SHIFT 2
1220 #define _USB_HPRT_PRTENA_MASK 0x4UL
1221 #define _USB_HPRT_PRTENA_DEFAULT 0x00000000UL
1222 #define USB_HPRT_PRTENA_DEFAULT (_USB_HPRT_PRTENA_DEFAULT << 2)
1223 #define USB_HPRT_PRTENCHNG (0x1UL << 3)
1224 #define _USB_HPRT_PRTENCHNG_SHIFT 3
1225 #define _USB_HPRT_PRTENCHNG_MASK 0x8UL
1226 #define _USB_HPRT_PRTENCHNG_DEFAULT 0x00000000UL
1227 #define USB_HPRT_PRTENCHNG_DEFAULT (_USB_HPRT_PRTENCHNG_DEFAULT << 3)
1228 #define USB_HPRT_PRTOVRCURRACT (0x1UL << 4)
1229 #define _USB_HPRT_PRTOVRCURRACT_SHIFT 4
1230 #define _USB_HPRT_PRTOVRCURRACT_MASK 0x10UL
1231 #define _USB_HPRT_PRTOVRCURRACT_DEFAULT 0x00000000UL
1232 #define USB_HPRT_PRTOVRCURRACT_DEFAULT (_USB_HPRT_PRTOVRCURRACT_DEFAULT << 4)
1233 #define USB_HPRT_PRTOVRCURRCHNG (0x1UL << 5)
1234 #define _USB_HPRT_PRTOVRCURRCHNG_SHIFT 5
1235 #define _USB_HPRT_PRTOVRCURRCHNG_MASK 0x20UL
1236 #define _USB_HPRT_PRTOVRCURRCHNG_DEFAULT 0x00000000UL
1237 #define USB_HPRT_PRTOVRCURRCHNG_DEFAULT (_USB_HPRT_PRTOVRCURRCHNG_DEFAULT << 5)
1238 #define USB_HPRT_PRTRES (0x1UL << 6)
1239 #define _USB_HPRT_PRTRES_SHIFT 6
1240 #define _USB_HPRT_PRTRES_MASK 0x40UL
1241 #define _USB_HPRT_PRTRES_DEFAULT 0x00000000UL
1242 #define USB_HPRT_PRTRES_DEFAULT (_USB_HPRT_PRTRES_DEFAULT << 6)
1243 #define USB_HPRT_PRTSUSP (0x1UL << 7)
1244 #define _USB_HPRT_PRTSUSP_SHIFT 7
1245 #define _USB_HPRT_PRTSUSP_MASK 0x80UL
1246 #define _USB_HPRT_PRTSUSP_DEFAULT 0x00000000UL
1247 #define USB_HPRT_PRTSUSP_DEFAULT (_USB_HPRT_PRTSUSP_DEFAULT << 7)
1248 #define USB_HPRT_PRTRST (0x1UL << 8)
1249 #define _USB_HPRT_PRTRST_SHIFT 8
1250 #define _USB_HPRT_PRTRST_MASK 0x100UL
1251 #define _USB_HPRT_PRTRST_DEFAULT 0x00000000UL
1252 #define USB_HPRT_PRTRST_DEFAULT (_USB_HPRT_PRTRST_DEFAULT << 8)
1253 #define _USB_HPRT_PRTLNSTS_SHIFT 10
1254 #define _USB_HPRT_PRTLNSTS_MASK 0xC00UL
1255 #define _USB_HPRT_PRTLNSTS_DEFAULT 0x00000000UL
1256 #define USB_HPRT_PRTLNSTS_DEFAULT (_USB_HPRT_PRTLNSTS_DEFAULT << 10)
1257 #define USB_HPRT_PRTPWR (0x1UL << 12)
1258 #define _USB_HPRT_PRTPWR_SHIFT 12
1259 #define _USB_HPRT_PRTPWR_MASK 0x1000UL
1260 #define _USB_HPRT_PRTPWR_DEFAULT 0x00000000UL
1261 #define _USB_HPRT_PRTPWR_OFF 0x00000000UL
1262 #define _USB_HPRT_PRTPWR_ON 0x00000001UL
1263 #define USB_HPRT_PRTPWR_DEFAULT (_USB_HPRT_PRTPWR_DEFAULT << 12)
1264 #define USB_HPRT_PRTPWR_OFF (_USB_HPRT_PRTPWR_OFF << 12)
1265 #define USB_HPRT_PRTPWR_ON (_USB_HPRT_PRTPWR_ON << 12)
1266 #define _USB_HPRT_PRTTSTCTL_SHIFT 13
1267 #define _USB_HPRT_PRTTSTCTL_MASK 0x1E000UL
1268 #define _USB_HPRT_PRTTSTCTL_DEFAULT 0x00000000UL
1269 #define _USB_HPRT_PRTTSTCTL_DISABLE 0x00000000UL
1270 #define _USB_HPRT_PRTTSTCTL_J 0x00000001UL
1271 #define _USB_HPRT_PRTTSTCTL_K 0x00000002UL
1272 #define _USB_HPRT_PRTTSTCTL_SE0NAK 0x00000003UL
1273 #define _USB_HPRT_PRTTSTCTL_PACKET 0x00000004UL
1274 #define _USB_HPRT_PRTTSTCTL_FORCE 0x00000005UL
1275 #define USB_HPRT_PRTTSTCTL_DEFAULT (_USB_HPRT_PRTTSTCTL_DEFAULT << 13)
1276 #define USB_HPRT_PRTTSTCTL_DISABLE (_USB_HPRT_PRTTSTCTL_DISABLE << 13)
1277 #define USB_HPRT_PRTTSTCTL_J (_USB_HPRT_PRTTSTCTL_J << 13)
1278 #define USB_HPRT_PRTTSTCTL_K (_USB_HPRT_PRTTSTCTL_K << 13)
1279 #define USB_HPRT_PRTTSTCTL_SE0NAK (_USB_HPRT_PRTTSTCTL_SE0NAK << 13)
1280 #define USB_HPRT_PRTTSTCTL_PACKET (_USB_HPRT_PRTTSTCTL_PACKET << 13)
1281 #define USB_HPRT_PRTTSTCTL_FORCE (_USB_HPRT_PRTTSTCTL_FORCE << 13)
1282 #define _USB_HPRT_PRTSPD_SHIFT 17
1283 #define _USB_HPRT_PRTSPD_MASK 0x60000UL
1284 #define _USB_HPRT_PRTSPD_DEFAULT 0x00000000UL
1285 #define _USB_HPRT_PRTSPD_HS 0x00000000UL
1286 #define _USB_HPRT_PRTSPD_FS 0x00000001UL
1287 #define _USB_HPRT_PRTSPD_LS 0x00000002UL
1288 #define USB_HPRT_PRTSPD_DEFAULT (_USB_HPRT_PRTSPD_DEFAULT << 17)
1289 #define USB_HPRT_PRTSPD_HS (_USB_HPRT_PRTSPD_HS << 17)
1290 #define USB_HPRT_PRTSPD_FS (_USB_HPRT_PRTSPD_FS << 17)
1291 #define USB_HPRT_PRTSPD_LS (_USB_HPRT_PRTSPD_LS << 17)
1294 #define _USB_HC_CHAR_RESETVALUE 0x00000000UL
1295 #define _USB_HC_CHAR_MASK 0xFFFEFFFFUL
1296 #define _USB_HC_CHAR_MPS_SHIFT 0
1297 #define _USB_HC_CHAR_MPS_MASK 0x7FFUL
1298 #define _USB_HC_CHAR_MPS_DEFAULT 0x00000000UL
1299 #define USB_HC_CHAR_MPS_DEFAULT (_USB_HC_CHAR_MPS_DEFAULT << 0)
1300 #define _USB_HC_CHAR_EPNUM_SHIFT 11
1301 #define _USB_HC_CHAR_EPNUM_MASK 0x7800UL
1302 #define _USB_HC_CHAR_EPNUM_DEFAULT 0x00000000UL
1303 #define USB_HC_CHAR_EPNUM_DEFAULT (_USB_HC_CHAR_EPNUM_DEFAULT << 11)
1304 #define USB_HC_CHAR_EPDIR (0x1UL << 15)
1305 #define _USB_HC_CHAR_EPDIR_SHIFT 15
1306 #define _USB_HC_CHAR_EPDIR_MASK 0x8000UL
1307 #define _USB_HC_CHAR_EPDIR_DEFAULT 0x00000000UL
1308 #define _USB_HC_CHAR_EPDIR_OUT 0x00000000UL
1309 #define _USB_HC_CHAR_EPDIR_IN 0x00000001UL
1310 #define USB_HC_CHAR_EPDIR_DEFAULT (_USB_HC_CHAR_EPDIR_DEFAULT << 15)
1311 #define USB_HC_CHAR_EPDIR_OUT (_USB_HC_CHAR_EPDIR_OUT << 15)
1312 #define USB_HC_CHAR_EPDIR_IN (_USB_HC_CHAR_EPDIR_IN << 15)
1313 #define USB_HC_CHAR_LSPDDEV (0x1UL << 17)
1314 #define _USB_HC_CHAR_LSPDDEV_SHIFT 17
1315 #define _USB_HC_CHAR_LSPDDEV_MASK 0x20000UL
1316 #define _USB_HC_CHAR_LSPDDEV_DEFAULT 0x00000000UL
1317 #define USB_HC_CHAR_LSPDDEV_DEFAULT (_USB_HC_CHAR_LSPDDEV_DEFAULT << 17)
1318 #define _USB_HC_CHAR_EPTYPE_SHIFT 18
1319 #define _USB_HC_CHAR_EPTYPE_MASK 0xC0000UL
1320 #define _USB_HC_CHAR_EPTYPE_DEFAULT 0x00000000UL
1321 #define _USB_HC_CHAR_EPTYPE_CONTROL 0x00000000UL
1322 #define _USB_HC_CHAR_EPTYPE_ISO 0x00000001UL
1323 #define _USB_HC_CHAR_EPTYPE_BULK 0x00000002UL
1324 #define _USB_HC_CHAR_EPTYPE_INT 0x00000003UL
1325 #define USB_HC_CHAR_EPTYPE_DEFAULT (_USB_HC_CHAR_EPTYPE_DEFAULT << 18)
1326 #define USB_HC_CHAR_EPTYPE_CONTROL (_USB_HC_CHAR_EPTYPE_CONTROL << 18)
1327 #define USB_HC_CHAR_EPTYPE_ISO (_USB_HC_CHAR_EPTYPE_ISO << 18)
1328 #define USB_HC_CHAR_EPTYPE_BULK (_USB_HC_CHAR_EPTYPE_BULK << 18)
1329 #define USB_HC_CHAR_EPTYPE_INT (_USB_HC_CHAR_EPTYPE_INT << 18)
1330 #define _USB_HC_CHAR_MC_SHIFT 20
1331 #define _USB_HC_CHAR_MC_MASK 0x300000UL
1332 #define _USB_HC_CHAR_MC_DEFAULT 0x00000000UL
1333 #define USB_HC_CHAR_MC_DEFAULT (_USB_HC_CHAR_MC_DEFAULT << 20)
1334 #define _USB_HC_CHAR_DEVADDR_SHIFT 22
1335 #define _USB_HC_CHAR_DEVADDR_MASK 0x1FC00000UL
1336 #define _USB_HC_CHAR_DEVADDR_DEFAULT 0x00000000UL
1337 #define USB_HC_CHAR_DEVADDR_DEFAULT (_USB_HC_CHAR_DEVADDR_DEFAULT << 22)
1338 #define USB_HC_CHAR_ODDFRM (0x1UL << 29)
1339 #define _USB_HC_CHAR_ODDFRM_SHIFT 29
1340 #define _USB_HC_CHAR_ODDFRM_MASK 0x20000000UL
1341 #define _USB_HC_CHAR_ODDFRM_DEFAULT 0x00000000UL
1342 #define USB_HC_CHAR_ODDFRM_DEFAULT (_USB_HC_CHAR_ODDFRM_DEFAULT << 29)
1343 #define USB_HC_CHAR_CHDIS (0x1UL << 30)
1344 #define _USB_HC_CHAR_CHDIS_SHIFT 30
1345 #define _USB_HC_CHAR_CHDIS_MASK 0x40000000UL
1346 #define _USB_HC_CHAR_CHDIS_DEFAULT 0x00000000UL
1347 #define USB_HC_CHAR_CHDIS_DEFAULT (_USB_HC_CHAR_CHDIS_DEFAULT << 30)
1348 #define USB_HC_CHAR_CHENA (0x1UL << 31)
1349 #define _USB_HC_CHAR_CHENA_SHIFT 31
1350 #define _USB_HC_CHAR_CHENA_MASK 0x80000000UL
1351 #define _USB_HC_CHAR_CHENA_DEFAULT 0x00000000UL
1352 #define USB_HC_CHAR_CHENA_DEFAULT (_USB_HC_CHAR_CHENA_DEFAULT << 31)
1355 #define _USB_HC_INT_RESETVALUE 0x00000000UL
1356 #define _USB_HC_INT_MASK 0x000007BFUL
1357 #define USB_HC_INT_XFERCOMPL (0x1UL << 0)
1358 #define _USB_HC_INT_XFERCOMPL_SHIFT 0
1359 #define _USB_HC_INT_XFERCOMPL_MASK 0x1UL
1360 #define _USB_HC_INT_XFERCOMPL_DEFAULT 0x00000000UL
1361 #define USB_HC_INT_XFERCOMPL_DEFAULT (_USB_HC_INT_XFERCOMPL_DEFAULT << 0)
1362 #define USB_HC_INT_CHHLTD (0x1UL << 1)
1363 #define _USB_HC_INT_CHHLTD_SHIFT 1
1364 #define _USB_HC_INT_CHHLTD_MASK 0x2UL
1365 #define _USB_HC_INT_CHHLTD_DEFAULT 0x00000000UL
1366 #define USB_HC_INT_CHHLTD_DEFAULT (_USB_HC_INT_CHHLTD_DEFAULT << 1)
1367 #define USB_HC_INT_AHBERR (0x1UL << 2)
1368 #define _USB_HC_INT_AHBERR_SHIFT 2
1369 #define _USB_HC_INT_AHBERR_MASK 0x4UL
1370 #define _USB_HC_INT_AHBERR_DEFAULT 0x00000000UL
1371 #define USB_HC_INT_AHBERR_DEFAULT (_USB_HC_INT_AHBERR_DEFAULT << 2)
1372 #define USB_HC_INT_STALL (0x1UL << 3)
1373 #define _USB_HC_INT_STALL_SHIFT 3
1374 #define _USB_HC_INT_STALL_MASK 0x8UL
1375 #define _USB_HC_INT_STALL_DEFAULT 0x00000000UL
1376 #define USB_HC_INT_STALL_DEFAULT (_USB_HC_INT_STALL_DEFAULT << 3)
1377 #define USB_HC_INT_NAK (0x1UL << 4)
1378 #define _USB_HC_INT_NAK_SHIFT 4
1379 #define _USB_HC_INT_NAK_MASK 0x10UL
1380 #define _USB_HC_INT_NAK_DEFAULT 0x00000000UL
1381 #define USB_HC_INT_NAK_DEFAULT (_USB_HC_INT_NAK_DEFAULT << 4)
1382 #define USB_HC_INT_ACK (0x1UL << 5)
1383 #define _USB_HC_INT_ACK_SHIFT 5
1384 #define _USB_HC_INT_ACK_MASK 0x20UL
1385 #define _USB_HC_INT_ACK_DEFAULT 0x00000000UL
1386 #define USB_HC_INT_ACK_DEFAULT (_USB_HC_INT_ACK_DEFAULT << 5)
1387 #define USB_HC_INT_XACTERR (0x1UL << 7)
1388 #define _USB_HC_INT_XACTERR_SHIFT 7
1389 #define _USB_HC_INT_XACTERR_MASK 0x80UL
1390 #define _USB_HC_INT_XACTERR_DEFAULT 0x00000000UL
1391 #define USB_HC_INT_XACTERR_DEFAULT (_USB_HC_INT_XACTERR_DEFAULT << 7)
1392 #define USB_HC_INT_BBLERR (0x1UL << 8)
1393 #define _USB_HC_INT_BBLERR_SHIFT 8
1394 #define _USB_HC_INT_BBLERR_MASK 0x100UL
1395 #define _USB_HC_INT_BBLERR_DEFAULT 0x00000000UL
1396 #define USB_HC_INT_BBLERR_DEFAULT (_USB_HC_INT_BBLERR_DEFAULT << 8)
1397 #define USB_HC_INT_FRMOVRUN (0x1UL << 9)
1398 #define _USB_HC_INT_FRMOVRUN_SHIFT 9
1399 #define _USB_HC_INT_FRMOVRUN_MASK 0x200UL
1400 #define _USB_HC_INT_FRMOVRUN_DEFAULT 0x00000000UL
1401 #define USB_HC_INT_FRMOVRUN_DEFAULT (_USB_HC_INT_FRMOVRUN_DEFAULT << 9)
1402 #define USB_HC_INT_DATATGLERR (0x1UL << 10)
1403 #define _USB_HC_INT_DATATGLERR_SHIFT 10
1404 #define _USB_HC_INT_DATATGLERR_MASK 0x400UL
1405 #define _USB_HC_INT_DATATGLERR_DEFAULT 0x00000000UL
1406 #define USB_HC_INT_DATATGLERR_DEFAULT (_USB_HC_INT_DATATGLERR_DEFAULT << 10)
1409 #define _USB_HC_INTMSK_RESETVALUE 0x00000000UL
1410 #define _USB_HC_INTMSK_MASK 0x000007BFUL
1411 #define USB_HC_INTMSK_XFERCOMPLMSK (0x1UL << 0)
1412 #define _USB_HC_INTMSK_XFERCOMPLMSK_SHIFT 0
1413 #define _USB_HC_INTMSK_XFERCOMPLMSK_MASK 0x1UL
1414 #define _USB_HC_INTMSK_XFERCOMPLMSK_DEFAULT 0x00000000UL
1415 #define USB_HC_INTMSK_XFERCOMPLMSK_DEFAULT (_USB_HC_INTMSK_XFERCOMPLMSK_DEFAULT << 0)
1416 #define USB_HC_INTMSK_CHHLTDMSK (0x1UL << 1)
1417 #define _USB_HC_INTMSK_CHHLTDMSK_SHIFT 1
1418 #define _USB_HC_INTMSK_CHHLTDMSK_MASK 0x2UL
1419 #define _USB_HC_INTMSK_CHHLTDMSK_DEFAULT 0x00000000UL
1420 #define USB_HC_INTMSK_CHHLTDMSK_DEFAULT (_USB_HC_INTMSK_CHHLTDMSK_DEFAULT << 1)
1421 #define USB_HC_INTMSK_AHBERRMSK (0x1UL << 2)
1422 #define _USB_HC_INTMSK_AHBERRMSK_SHIFT 2
1423 #define _USB_HC_INTMSK_AHBERRMSK_MASK 0x4UL
1424 #define _USB_HC_INTMSK_AHBERRMSK_DEFAULT 0x00000000UL
1425 #define USB_HC_INTMSK_AHBERRMSK_DEFAULT (_USB_HC_INTMSK_AHBERRMSK_DEFAULT << 2)
1426 #define USB_HC_INTMSK_STALLMSK (0x1UL << 3)
1427 #define _USB_HC_INTMSK_STALLMSK_SHIFT 3
1428 #define _USB_HC_INTMSK_STALLMSK_MASK 0x8UL
1429 #define _USB_HC_INTMSK_STALLMSK_DEFAULT 0x00000000UL
1430 #define USB_HC_INTMSK_STALLMSK_DEFAULT (_USB_HC_INTMSK_STALLMSK_DEFAULT << 3)
1431 #define USB_HC_INTMSK_NAKMSK (0x1UL << 4)
1432 #define _USB_HC_INTMSK_NAKMSK_SHIFT 4
1433 #define _USB_HC_INTMSK_NAKMSK_MASK 0x10UL
1434 #define _USB_HC_INTMSK_NAKMSK_DEFAULT 0x00000000UL
1435 #define USB_HC_INTMSK_NAKMSK_DEFAULT (_USB_HC_INTMSK_NAKMSK_DEFAULT << 4)
1436 #define USB_HC_INTMSK_ACKMSK (0x1UL << 5)
1437 #define _USB_HC_INTMSK_ACKMSK_SHIFT 5
1438 #define _USB_HC_INTMSK_ACKMSK_MASK 0x20UL
1439 #define _USB_HC_INTMSK_ACKMSK_DEFAULT 0x00000000UL
1440 #define USB_HC_INTMSK_ACKMSK_DEFAULT (_USB_HC_INTMSK_ACKMSK_DEFAULT << 5)
1441 #define USB_HC_INTMSK_XACTERRMSK (0x1UL << 7)
1442 #define _USB_HC_INTMSK_XACTERRMSK_SHIFT 7
1443 #define _USB_HC_INTMSK_XACTERRMSK_MASK 0x80UL
1444 #define _USB_HC_INTMSK_XACTERRMSK_DEFAULT 0x00000000UL
1445 #define USB_HC_INTMSK_XACTERRMSK_DEFAULT (_USB_HC_INTMSK_XACTERRMSK_DEFAULT << 7)
1446 #define USB_HC_INTMSK_BBLERRMSK (0x1UL << 8)
1447 #define _USB_HC_INTMSK_BBLERRMSK_SHIFT 8
1448 #define _USB_HC_INTMSK_BBLERRMSK_MASK 0x100UL
1449 #define _USB_HC_INTMSK_BBLERRMSK_DEFAULT 0x00000000UL
1450 #define USB_HC_INTMSK_BBLERRMSK_DEFAULT (_USB_HC_INTMSK_BBLERRMSK_DEFAULT << 8)
1451 #define USB_HC_INTMSK_FRMOVRUNMSK (0x1UL << 9)
1452 #define _USB_HC_INTMSK_FRMOVRUNMSK_SHIFT 9
1453 #define _USB_HC_INTMSK_FRMOVRUNMSK_MASK 0x200UL
1454 #define _USB_HC_INTMSK_FRMOVRUNMSK_DEFAULT 0x00000000UL
1455 #define USB_HC_INTMSK_FRMOVRUNMSK_DEFAULT (_USB_HC_INTMSK_FRMOVRUNMSK_DEFAULT << 9)
1456 #define USB_HC_INTMSK_DATATGLERRMSK (0x1UL << 10)
1457 #define _USB_HC_INTMSK_DATATGLERRMSK_SHIFT 10
1458 #define _USB_HC_INTMSK_DATATGLERRMSK_MASK 0x400UL
1459 #define _USB_HC_INTMSK_DATATGLERRMSK_DEFAULT 0x00000000UL
1460 #define USB_HC_INTMSK_DATATGLERRMSK_DEFAULT (_USB_HC_INTMSK_DATATGLERRMSK_DEFAULT << 10)
1463 #define _USB_HC_TSIZ_RESETVALUE 0x00000000UL
1464 #define _USB_HC_TSIZ_MASK 0x7FFFFFFFUL
1465 #define _USB_HC_TSIZ_XFERSIZE_SHIFT 0
1466 #define _USB_HC_TSIZ_XFERSIZE_MASK 0x7FFFFUL
1467 #define _USB_HC_TSIZ_XFERSIZE_DEFAULT 0x00000000UL
1468 #define USB_HC_TSIZ_XFERSIZE_DEFAULT (_USB_HC_TSIZ_XFERSIZE_DEFAULT << 0)
1469 #define _USB_HC_TSIZ_PKTCNT_SHIFT 19
1470 #define _USB_HC_TSIZ_PKTCNT_MASK 0x1FF80000UL
1471 #define _USB_HC_TSIZ_PKTCNT_DEFAULT 0x00000000UL
1472 #define USB_HC_TSIZ_PKTCNT_DEFAULT (_USB_HC_TSIZ_PKTCNT_DEFAULT << 19)
1473 #define _USB_HC_TSIZ_PID_SHIFT 29
1474 #define _USB_HC_TSIZ_PID_MASK 0x60000000UL
1475 #define _USB_HC_TSIZ_PID_DEFAULT 0x00000000UL
1476 #define _USB_HC_TSIZ_PID_DATA0 0x00000000UL
1477 #define _USB_HC_TSIZ_PID_DATA2 0x00000001UL
1478 #define _USB_HC_TSIZ_PID_DATA1 0x00000002UL
1479 #define _USB_HC_TSIZ_PID_MDATA 0x00000003UL
1480 #define USB_HC_TSIZ_PID_DEFAULT (_USB_HC_TSIZ_PID_DEFAULT << 29)
1481 #define USB_HC_TSIZ_PID_DATA0 (_USB_HC_TSIZ_PID_DATA0 << 29)
1482 #define USB_HC_TSIZ_PID_DATA2 (_USB_HC_TSIZ_PID_DATA2 << 29)
1483 #define USB_HC_TSIZ_PID_DATA1 (_USB_HC_TSIZ_PID_DATA1 << 29)
1484 #define USB_HC_TSIZ_PID_MDATA (_USB_HC_TSIZ_PID_MDATA << 29)
1487 #define _USB_HC_DMAADDR_RESETVALUE 0x00000000UL
1488 #define _USB_HC_DMAADDR_MASK 0xFFFFFFFFUL
1489 #define _USB_HC_DMAADDR_DMAADDR_SHIFT 0
1490 #define _USB_HC_DMAADDR_DMAADDR_MASK 0xFFFFFFFFUL
1491 #define _USB_HC_DMAADDR_DMAADDR_DEFAULT 0x00000000UL
1492 #define USB_HC_DMAADDR_DMAADDR_DEFAULT (_USB_HC_DMAADDR_DMAADDR_DEFAULT << 0)
1495 #define _USB_DCFG_RESETVALUE 0x08200000UL
1496 #define _USB_DCFG_MASK 0xFC001FFFUL
1497 #define _USB_DCFG_DEVSPD_SHIFT 0
1498 #define _USB_DCFG_DEVSPD_MASK 0x3UL
1499 #define _USB_DCFG_DEVSPD_DEFAULT 0x00000000UL
1500 #define _USB_DCFG_DEVSPD_LS 0x00000002UL
1501 #define _USB_DCFG_DEVSPD_FS 0x00000003UL
1502 #define USB_DCFG_DEVSPD_DEFAULT (_USB_DCFG_DEVSPD_DEFAULT << 0)
1503 #define USB_DCFG_DEVSPD_LS (_USB_DCFG_DEVSPD_LS << 0)
1504 #define USB_DCFG_DEVSPD_FS (_USB_DCFG_DEVSPD_FS << 0)
1505 #define USB_DCFG_NZSTSOUTHSHK (0x1UL << 2)
1506 #define _USB_DCFG_NZSTSOUTHSHK_SHIFT 2
1507 #define _USB_DCFG_NZSTSOUTHSHK_MASK 0x4UL
1508 #define _USB_DCFG_NZSTSOUTHSHK_DEFAULT 0x00000000UL
1509 #define USB_DCFG_NZSTSOUTHSHK_DEFAULT (_USB_DCFG_NZSTSOUTHSHK_DEFAULT << 2)
1510 #define USB_DCFG_ENA32KHZSUSP (0x1UL << 3)
1511 #define _USB_DCFG_ENA32KHZSUSP_SHIFT 3
1512 #define _USB_DCFG_ENA32KHZSUSP_MASK 0x8UL
1513 #define _USB_DCFG_ENA32KHZSUSP_DEFAULT 0x00000000UL
1514 #define USB_DCFG_ENA32KHZSUSP_DEFAULT (_USB_DCFG_ENA32KHZSUSP_DEFAULT << 3)
1515 #define _USB_DCFG_DEVADDR_SHIFT 4
1516 #define _USB_DCFG_DEVADDR_MASK 0x7F0UL
1517 #define _USB_DCFG_DEVADDR_DEFAULT 0x00000000UL
1518 #define USB_DCFG_DEVADDR_DEFAULT (_USB_DCFG_DEVADDR_DEFAULT << 4)
1519 #define _USB_DCFG_PERFRINT_SHIFT 11
1520 #define _USB_DCFG_PERFRINT_MASK 0x1800UL
1521 #define _USB_DCFG_PERFRINT_DEFAULT 0x00000000UL
1522 #define _USB_DCFG_PERFRINT_80PCNT 0x00000000UL
1523 #define _USB_DCFG_PERFRINT_85PCNT 0x00000001UL
1524 #define _USB_DCFG_PERFRINT_90PCNT 0x00000002UL
1525 #define _USB_DCFG_PERFRINT_95PCNT 0x00000003UL
1526 #define USB_DCFG_PERFRINT_DEFAULT (_USB_DCFG_PERFRINT_DEFAULT << 11)
1527 #define USB_DCFG_PERFRINT_80PCNT (_USB_DCFG_PERFRINT_80PCNT << 11)
1528 #define USB_DCFG_PERFRINT_85PCNT (_USB_DCFG_PERFRINT_85PCNT << 11)
1529 #define USB_DCFG_PERFRINT_90PCNT (_USB_DCFG_PERFRINT_90PCNT << 11)
1530 #define USB_DCFG_PERFRINT_95PCNT (_USB_DCFG_PERFRINT_95PCNT << 11)
1531 #define _USB_DCFG_RESVALID_SHIFT 26
1532 #define _USB_DCFG_RESVALID_MASK 0xFC000000UL
1533 #define _USB_DCFG_RESVALID_DEFAULT 0x00000002UL
1534 #define USB_DCFG_RESVALID_DEFAULT (_USB_DCFG_RESVALID_DEFAULT << 26)
1537 #define _USB_DCTL_RESETVALUE 0x00000000UL
1538 #define _USB_DCTL_MASK 0x00018FFFUL
1539 #define USB_DCTL_RMTWKUPSIG (0x1UL << 0)
1540 #define _USB_DCTL_RMTWKUPSIG_SHIFT 0
1541 #define _USB_DCTL_RMTWKUPSIG_MASK 0x1UL
1542 #define _USB_DCTL_RMTWKUPSIG_DEFAULT 0x00000000UL
1543 #define USB_DCTL_RMTWKUPSIG_DEFAULT (_USB_DCTL_RMTWKUPSIG_DEFAULT << 0)
1544 #define USB_DCTL_SFTDISCON (0x1UL << 1)
1545 #define _USB_DCTL_SFTDISCON_SHIFT 1
1546 #define _USB_DCTL_SFTDISCON_MASK 0x2UL
1547 #define _USB_DCTL_SFTDISCON_DEFAULT 0x00000000UL
1548 #define USB_DCTL_SFTDISCON_DEFAULT (_USB_DCTL_SFTDISCON_DEFAULT << 1)
1549 #define USB_DCTL_GNPINNAKSTS (0x1UL << 2)
1550 #define _USB_DCTL_GNPINNAKSTS_SHIFT 2
1551 #define _USB_DCTL_GNPINNAKSTS_MASK 0x4UL
1552 #define _USB_DCTL_GNPINNAKSTS_DEFAULT 0x00000000UL
1553 #define USB_DCTL_GNPINNAKSTS_DEFAULT (_USB_DCTL_GNPINNAKSTS_DEFAULT << 2)
1554 #define USB_DCTL_GOUTNAKSTS (0x1UL << 3)
1555 #define _USB_DCTL_GOUTNAKSTS_SHIFT 3
1556 #define _USB_DCTL_GOUTNAKSTS_MASK 0x8UL
1557 #define _USB_DCTL_GOUTNAKSTS_DEFAULT 0x00000000UL
1558 #define USB_DCTL_GOUTNAKSTS_DEFAULT (_USB_DCTL_GOUTNAKSTS_DEFAULT << 3)
1559 #define _USB_DCTL_TSTCTL_SHIFT 4
1560 #define _USB_DCTL_TSTCTL_MASK 0x70UL
1561 #define _USB_DCTL_TSTCTL_DEFAULT 0x00000000UL
1562 #define _USB_DCTL_TSTCTL_DISABLE 0x00000000UL
1563 #define _USB_DCTL_TSTCTL_J 0x00000001UL
1564 #define _USB_DCTL_TSTCTL_K 0x00000002UL
1565 #define _USB_DCTL_TSTCTL_SE0NAK 0x00000003UL
1566 #define _USB_DCTL_TSTCTL_PACKET 0x00000004UL
1567 #define _USB_DCTL_TSTCTL_FORCE 0x00000005UL
1568 #define USB_DCTL_TSTCTL_DEFAULT (_USB_DCTL_TSTCTL_DEFAULT << 4)
1569 #define USB_DCTL_TSTCTL_DISABLE (_USB_DCTL_TSTCTL_DISABLE << 4)
1570 #define USB_DCTL_TSTCTL_J (_USB_DCTL_TSTCTL_J << 4)
1571 #define USB_DCTL_TSTCTL_K (_USB_DCTL_TSTCTL_K << 4)
1572 #define USB_DCTL_TSTCTL_SE0NAK (_USB_DCTL_TSTCTL_SE0NAK << 4)
1573 #define USB_DCTL_TSTCTL_PACKET (_USB_DCTL_TSTCTL_PACKET << 4)
1574 #define USB_DCTL_TSTCTL_FORCE (_USB_DCTL_TSTCTL_FORCE << 4)
1575 #define USB_DCTL_SGNPINNAK (0x1UL << 7)
1576 #define _USB_DCTL_SGNPINNAK_SHIFT 7
1577 #define _USB_DCTL_SGNPINNAK_MASK 0x80UL
1578 #define _USB_DCTL_SGNPINNAK_DEFAULT 0x00000000UL
1579 #define USB_DCTL_SGNPINNAK_DEFAULT (_USB_DCTL_SGNPINNAK_DEFAULT << 7)
1580 #define USB_DCTL_CGNPINNAK (0x1UL << 8)
1581 #define _USB_DCTL_CGNPINNAK_SHIFT 8
1582 #define _USB_DCTL_CGNPINNAK_MASK 0x100UL
1583 #define _USB_DCTL_CGNPINNAK_DEFAULT 0x00000000UL
1584 #define USB_DCTL_CGNPINNAK_DEFAULT (_USB_DCTL_CGNPINNAK_DEFAULT << 8)
1585 #define USB_DCTL_SGOUTNAK (0x1UL << 9)
1586 #define _USB_DCTL_SGOUTNAK_SHIFT 9
1587 #define _USB_DCTL_SGOUTNAK_MASK 0x200UL
1588 #define _USB_DCTL_SGOUTNAK_DEFAULT 0x00000000UL
1589 #define USB_DCTL_SGOUTNAK_DEFAULT (_USB_DCTL_SGOUTNAK_DEFAULT << 9)
1590 #define USB_DCTL_CGOUTNAK (0x1UL << 10)
1591 #define _USB_DCTL_CGOUTNAK_SHIFT 10
1592 #define _USB_DCTL_CGOUTNAK_MASK 0x400UL
1593 #define _USB_DCTL_CGOUTNAK_DEFAULT 0x00000000UL
1594 #define USB_DCTL_CGOUTNAK_DEFAULT (_USB_DCTL_CGOUTNAK_DEFAULT << 10)
1595 #define USB_DCTL_PWRONPRGDONE (0x1UL << 11)
1596 #define _USB_DCTL_PWRONPRGDONE_SHIFT 11
1597 #define _USB_DCTL_PWRONPRGDONE_MASK 0x800UL
1598 #define _USB_DCTL_PWRONPRGDONE_DEFAULT 0x00000000UL
1599 #define USB_DCTL_PWRONPRGDONE_DEFAULT (_USB_DCTL_PWRONPRGDONE_DEFAULT << 11)
1600 #define USB_DCTL_IGNRFRMNUM (0x1UL << 15)
1601 #define _USB_DCTL_IGNRFRMNUM_SHIFT 15
1602 #define _USB_DCTL_IGNRFRMNUM_MASK 0x8000UL
1603 #define _USB_DCTL_IGNRFRMNUM_DEFAULT 0x00000000UL
1604 #define USB_DCTL_IGNRFRMNUM_DEFAULT (_USB_DCTL_IGNRFRMNUM_DEFAULT << 15)
1605 #define USB_DCTL_NAKONBBLE (0x1UL << 16)
1606 #define _USB_DCTL_NAKONBBLE_SHIFT 16
1607 #define _USB_DCTL_NAKONBBLE_MASK 0x10000UL
1608 #define _USB_DCTL_NAKONBBLE_DEFAULT 0x00000000UL
1609 #define USB_DCTL_NAKONBBLE_DEFAULT (_USB_DCTL_NAKONBBLE_DEFAULT << 16)
1612 #define _USB_DSTS_RESETVALUE 0x00000002UL
1613 #define _USB_DSTS_MASK 0x003FFF0FUL
1614 #define USB_DSTS_SUSPSTS (0x1UL << 0)
1615 #define _USB_DSTS_SUSPSTS_SHIFT 0
1616 #define _USB_DSTS_SUSPSTS_MASK 0x1UL
1617 #define _USB_DSTS_SUSPSTS_DEFAULT 0x00000000UL
1618 #define USB_DSTS_SUSPSTS_DEFAULT (_USB_DSTS_SUSPSTS_DEFAULT << 0)
1619 #define _USB_DSTS_ENUMSPD_SHIFT 1
1620 #define _USB_DSTS_ENUMSPD_MASK 0x6UL
1621 #define _USB_DSTS_ENUMSPD_DEFAULT 0x00000001UL
1622 #define _USB_DSTS_ENUMSPD_LS 0x00000002UL
1623 #define _USB_DSTS_ENUMSPD_FS 0x00000003UL
1624 #define USB_DSTS_ENUMSPD_DEFAULT (_USB_DSTS_ENUMSPD_DEFAULT << 1)
1625 #define USB_DSTS_ENUMSPD_LS (_USB_DSTS_ENUMSPD_LS << 1)
1626 #define USB_DSTS_ENUMSPD_FS (_USB_DSTS_ENUMSPD_FS << 1)
1627 #define USB_DSTS_ERRTICERR (0x1UL << 3)
1628 #define _USB_DSTS_ERRTICERR_SHIFT 3
1629 #define _USB_DSTS_ERRTICERR_MASK 0x8UL
1630 #define _USB_DSTS_ERRTICERR_DEFAULT 0x00000000UL
1631 #define USB_DSTS_ERRTICERR_DEFAULT (_USB_DSTS_ERRTICERR_DEFAULT << 3)
1632 #define _USB_DSTS_SOFFN_SHIFT 8
1633 #define _USB_DSTS_SOFFN_MASK 0x3FFF00UL
1634 #define _USB_DSTS_SOFFN_DEFAULT 0x00000000UL
1635 #define USB_DSTS_SOFFN_DEFAULT (_USB_DSTS_SOFFN_DEFAULT << 8)
1638 #define _USB_DIEPMSK_RESETVALUE 0x00000000UL
1639 #define _USB_DIEPMSK_MASK 0x0000215FUL
1640 #define USB_DIEPMSK_XFERCOMPLMSK (0x1UL << 0)
1641 #define _USB_DIEPMSK_XFERCOMPLMSK_SHIFT 0
1642 #define _USB_DIEPMSK_XFERCOMPLMSK_MASK 0x1UL
1643 #define _USB_DIEPMSK_XFERCOMPLMSK_DEFAULT 0x00000000UL
1644 #define USB_DIEPMSK_XFERCOMPLMSK_DEFAULT (_USB_DIEPMSK_XFERCOMPLMSK_DEFAULT << 0)
1645 #define USB_DIEPMSK_EPDISBLDMSK (0x1UL << 1)
1646 #define _USB_DIEPMSK_EPDISBLDMSK_SHIFT 1
1647 #define _USB_DIEPMSK_EPDISBLDMSK_MASK 0x2UL
1648 #define _USB_DIEPMSK_EPDISBLDMSK_DEFAULT 0x00000000UL
1649 #define USB_DIEPMSK_EPDISBLDMSK_DEFAULT (_USB_DIEPMSK_EPDISBLDMSK_DEFAULT << 1)
1650 #define USB_DIEPMSK_AHBERRMSK (0x1UL << 2)
1651 #define _USB_DIEPMSK_AHBERRMSK_SHIFT 2
1652 #define _USB_DIEPMSK_AHBERRMSK_MASK 0x4UL
1653 #define _USB_DIEPMSK_AHBERRMSK_DEFAULT 0x00000000UL
1654 #define USB_DIEPMSK_AHBERRMSK_DEFAULT (_USB_DIEPMSK_AHBERRMSK_DEFAULT << 2)
1655 #define USB_DIEPMSK_TIMEOUTMSK (0x1UL << 3)
1656 #define _USB_DIEPMSK_TIMEOUTMSK_SHIFT 3
1657 #define _USB_DIEPMSK_TIMEOUTMSK_MASK 0x8UL
1658 #define _USB_DIEPMSK_TIMEOUTMSK_DEFAULT 0x00000000UL
1659 #define USB_DIEPMSK_TIMEOUTMSK_DEFAULT (_USB_DIEPMSK_TIMEOUTMSK_DEFAULT << 3)
1660 #define USB_DIEPMSK_INTKNTXFEMPMSK (0x1UL << 4)
1661 #define _USB_DIEPMSK_INTKNTXFEMPMSK_SHIFT 4
1662 #define _USB_DIEPMSK_INTKNTXFEMPMSK_MASK 0x10UL
1663 #define _USB_DIEPMSK_INTKNTXFEMPMSK_DEFAULT 0x00000000UL
1664 #define USB_DIEPMSK_INTKNTXFEMPMSK_DEFAULT (_USB_DIEPMSK_INTKNTXFEMPMSK_DEFAULT << 4)
1665 #define USB_DIEPMSK_INEPNAKEFFMSK (0x1UL << 6)
1666 #define _USB_DIEPMSK_INEPNAKEFFMSK_SHIFT 6
1667 #define _USB_DIEPMSK_INEPNAKEFFMSK_MASK 0x40UL
1668 #define _USB_DIEPMSK_INEPNAKEFFMSK_DEFAULT 0x00000000UL
1669 #define USB_DIEPMSK_INEPNAKEFFMSK_DEFAULT (_USB_DIEPMSK_INEPNAKEFFMSK_DEFAULT << 6)
1670 #define USB_DIEPMSK_TXFIFOUNDRNMSK (0x1UL << 8)
1671 #define _USB_DIEPMSK_TXFIFOUNDRNMSK_SHIFT 8
1672 #define _USB_DIEPMSK_TXFIFOUNDRNMSK_MASK 0x100UL
1673 #define _USB_DIEPMSK_TXFIFOUNDRNMSK_DEFAULT 0x00000000UL
1674 #define USB_DIEPMSK_TXFIFOUNDRNMSK_DEFAULT (_USB_DIEPMSK_TXFIFOUNDRNMSK_DEFAULT << 8)
1675 #define USB_DIEPMSK_NAKMSK (0x1UL << 13)
1676 #define _USB_DIEPMSK_NAKMSK_SHIFT 13
1677 #define _USB_DIEPMSK_NAKMSK_MASK 0x2000UL
1678 #define _USB_DIEPMSK_NAKMSK_DEFAULT 0x00000000UL
1679 #define USB_DIEPMSK_NAKMSK_DEFAULT (_USB_DIEPMSK_NAKMSK_DEFAULT << 13)
1682 #define _USB_DOEPMSK_RESETVALUE 0x00000000UL
1683 #define _USB_DOEPMSK_MASK 0x0000315FUL
1684 #define USB_DOEPMSK_XFERCOMPLMSK (0x1UL << 0)
1685 #define _USB_DOEPMSK_XFERCOMPLMSK_SHIFT 0
1686 #define _USB_DOEPMSK_XFERCOMPLMSK_MASK 0x1UL
1687 #define _USB_DOEPMSK_XFERCOMPLMSK_DEFAULT 0x00000000UL
1688 #define USB_DOEPMSK_XFERCOMPLMSK_DEFAULT (_USB_DOEPMSK_XFERCOMPLMSK_DEFAULT << 0)
1689 #define USB_DOEPMSK_EPDISBLDMSK (0x1UL << 1)
1690 #define _USB_DOEPMSK_EPDISBLDMSK_SHIFT 1
1691 #define _USB_DOEPMSK_EPDISBLDMSK_MASK 0x2UL
1692 #define _USB_DOEPMSK_EPDISBLDMSK_DEFAULT 0x00000000UL
1693 #define USB_DOEPMSK_EPDISBLDMSK_DEFAULT (_USB_DOEPMSK_EPDISBLDMSK_DEFAULT << 1)
1694 #define USB_DOEPMSK_AHBERRMSK (0x1UL << 2)
1695 #define _USB_DOEPMSK_AHBERRMSK_SHIFT 2
1696 #define _USB_DOEPMSK_AHBERRMSK_MASK 0x4UL
1697 #define _USB_DOEPMSK_AHBERRMSK_DEFAULT 0x00000000UL
1698 #define USB_DOEPMSK_AHBERRMSK_DEFAULT (_USB_DOEPMSK_AHBERRMSK_DEFAULT << 2)
1699 #define USB_DOEPMSK_SETUPMSK (0x1UL << 3)
1700 #define _USB_DOEPMSK_SETUPMSK_SHIFT 3
1701 #define _USB_DOEPMSK_SETUPMSK_MASK 0x8UL
1702 #define _USB_DOEPMSK_SETUPMSK_DEFAULT 0x00000000UL
1703 #define USB_DOEPMSK_SETUPMSK_DEFAULT (_USB_DOEPMSK_SETUPMSK_DEFAULT << 3)
1704 #define USB_DOEPMSK_OUTTKNEPDISMSK (0x1UL << 4)
1705 #define _USB_DOEPMSK_OUTTKNEPDISMSK_SHIFT 4
1706 #define _USB_DOEPMSK_OUTTKNEPDISMSK_MASK 0x10UL
1707 #define _USB_DOEPMSK_OUTTKNEPDISMSK_DEFAULT 0x00000000UL
1708 #define USB_DOEPMSK_OUTTKNEPDISMSK_DEFAULT (_USB_DOEPMSK_OUTTKNEPDISMSK_DEFAULT << 4)
1709 #define USB_DOEPMSK_BACK2BACKSETUP (0x1UL << 6)
1710 #define _USB_DOEPMSK_BACK2BACKSETUP_SHIFT 6
1711 #define _USB_DOEPMSK_BACK2BACKSETUP_MASK 0x40UL
1712 #define _USB_DOEPMSK_BACK2BACKSETUP_DEFAULT 0x00000000UL
1713 #define USB_DOEPMSK_BACK2BACKSETUP_DEFAULT (_USB_DOEPMSK_BACK2BACKSETUP_DEFAULT << 6)
1714 #define USB_DOEPMSK_OUTPKTERRMSK (0x1UL << 8)
1715 #define _USB_DOEPMSK_OUTPKTERRMSK_SHIFT 8
1716 #define _USB_DOEPMSK_OUTPKTERRMSK_MASK 0x100UL
1717 #define _USB_DOEPMSK_OUTPKTERRMSK_DEFAULT 0x00000000UL
1718 #define USB_DOEPMSK_OUTPKTERRMSK_DEFAULT (_USB_DOEPMSK_OUTPKTERRMSK_DEFAULT << 8)
1719 #define USB_DOEPMSK_BBLEERRMSK (0x1UL << 12)
1720 #define _USB_DOEPMSK_BBLEERRMSK_SHIFT 12
1721 #define _USB_DOEPMSK_BBLEERRMSK_MASK 0x1000UL
1722 #define _USB_DOEPMSK_BBLEERRMSK_DEFAULT 0x00000000UL
1723 #define USB_DOEPMSK_BBLEERRMSK_DEFAULT (_USB_DOEPMSK_BBLEERRMSK_DEFAULT << 12)
1724 #define USB_DOEPMSK_NAKMSK (0x1UL << 13)
1725 #define _USB_DOEPMSK_NAKMSK_SHIFT 13
1726 #define _USB_DOEPMSK_NAKMSK_MASK 0x2000UL
1727 #define _USB_DOEPMSK_NAKMSK_DEFAULT 0x00000000UL
1728 #define USB_DOEPMSK_NAKMSK_DEFAULT (_USB_DOEPMSK_NAKMSK_DEFAULT << 13)
1731 #define _USB_DAINT_RESETVALUE 0x00000000UL
1732 #define _USB_DAINT_MASK 0x007F007FUL
1733 #define USB_DAINT_INEPINT0 (0x1UL << 0)
1734 #define _USB_DAINT_INEPINT0_SHIFT 0
1735 #define _USB_DAINT_INEPINT0_MASK 0x1UL
1736 #define _USB_DAINT_INEPINT0_DEFAULT 0x00000000UL
1737 #define USB_DAINT_INEPINT0_DEFAULT (_USB_DAINT_INEPINT0_DEFAULT << 0)
1738 #define USB_DAINT_INEPINT1 (0x1UL << 1)
1739 #define _USB_DAINT_INEPINT1_SHIFT 1
1740 #define _USB_DAINT_INEPINT1_MASK 0x2UL
1741 #define _USB_DAINT_INEPINT1_DEFAULT 0x00000000UL
1742 #define USB_DAINT_INEPINT1_DEFAULT (_USB_DAINT_INEPINT1_DEFAULT << 1)
1743 #define USB_DAINT_INEPINT2 (0x1UL << 2)
1744 #define _USB_DAINT_INEPINT2_SHIFT 2
1745 #define _USB_DAINT_INEPINT2_MASK 0x4UL
1746 #define _USB_DAINT_INEPINT2_DEFAULT 0x00000000UL
1747 #define USB_DAINT_INEPINT2_DEFAULT (_USB_DAINT_INEPINT2_DEFAULT << 2)
1748 #define USB_DAINT_INEPINT3 (0x1UL << 3)
1749 #define _USB_DAINT_INEPINT3_SHIFT 3
1750 #define _USB_DAINT_INEPINT3_MASK 0x8UL
1751 #define _USB_DAINT_INEPINT3_DEFAULT 0x00000000UL
1752 #define USB_DAINT_INEPINT3_DEFAULT (_USB_DAINT_INEPINT3_DEFAULT << 3)
1753 #define USB_DAINT_INEPINT4 (0x1UL << 4)
1754 #define _USB_DAINT_INEPINT4_SHIFT 4
1755 #define _USB_DAINT_INEPINT4_MASK 0x10UL
1756 #define _USB_DAINT_INEPINT4_DEFAULT 0x00000000UL
1757 #define USB_DAINT_INEPINT4_DEFAULT (_USB_DAINT_INEPINT4_DEFAULT << 4)
1758 #define USB_DAINT_INEPINT5 (0x1UL << 5)
1759 #define _USB_DAINT_INEPINT5_SHIFT 5
1760 #define _USB_DAINT_INEPINT5_MASK 0x20UL
1761 #define _USB_DAINT_INEPINT5_DEFAULT 0x00000000UL
1762 #define USB_DAINT_INEPINT5_DEFAULT (_USB_DAINT_INEPINT5_DEFAULT << 5)
1763 #define USB_DAINT_INEPINT6 (0x1UL << 6)
1764 #define _USB_DAINT_INEPINT6_SHIFT 6
1765 #define _USB_DAINT_INEPINT6_MASK 0x40UL
1766 #define _USB_DAINT_INEPINT6_DEFAULT 0x00000000UL
1767 #define USB_DAINT_INEPINT6_DEFAULT (_USB_DAINT_INEPINT6_DEFAULT << 6)
1768 #define USB_DAINT_OUTEPINT0 (0x1UL << 16)
1769 #define _USB_DAINT_OUTEPINT0_SHIFT 16
1770 #define _USB_DAINT_OUTEPINT0_MASK 0x10000UL
1771 #define _USB_DAINT_OUTEPINT0_DEFAULT 0x00000000UL
1772 #define USB_DAINT_OUTEPINT0_DEFAULT (_USB_DAINT_OUTEPINT0_DEFAULT << 16)
1773 #define USB_DAINT_OUTEPINT1 (0x1UL << 17)
1774 #define _USB_DAINT_OUTEPINT1_SHIFT 17
1775 #define _USB_DAINT_OUTEPINT1_MASK 0x20000UL
1776 #define _USB_DAINT_OUTEPINT1_DEFAULT 0x00000000UL
1777 #define USB_DAINT_OUTEPINT1_DEFAULT (_USB_DAINT_OUTEPINT1_DEFAULT << 17)
1778 #define USB_DAINT_OUTEPINT2 (0x1UL << 18)
1779 #define _USB_DAINT_OUTEPINT2_SHIFT 18
1780 #define _USB_DAINT_OUTEPINT2_MASK 0x40000UL
1781 #define _USB_DAINT_OUTEPINT2_DEFAULT 0x00000000UL
1782 #define USB_DAINT_OUTEPINT2_DEFAULT (_USB_DAINT_OUTEPINT2_DEFAULT << 18)
1783 #define USB_DAINT_OUTEPINT3 (0x1UL << 19)
1784 #define _USB_DAINT_OUTEPINT3_SHIFT 19
1785 #define _USB_DAINT_OUTEPINT3_MASK 0x80000UL
1786 #define _USB_DAINT_OUTEPINT3_DEFAULT 0x00000000UL
1787 #define USB_DAINT_OUTEPINT3_DEFAULT (_USB_DAINT_OUTEPINT3_DEFAULT << 19)
1788 #define USB_DAINT_OUTEPINT4 (0x1UL << 20)
1789 #define _USB_DAINT_OUTEPINT4_SHIFT 20
1790 #define _USB_DAINT_OUTEPINT4_MASK 0x100000UL
1791 #define _USB_DAINT_OUTEPINT4_DEFAULT 0x00000000UL
1792 #define USB_DAINT_OUTEPINT4_DEFAULT (_USB_DAINT_OUTEPINT4_DEFAULT << 20)
1793 #define USB_DAINT_OUTEPINT5 (0x1UL << 21)
1794 #define _USB_DAINT_OUTEPINT5_SHIFT 21
1795 #define _USB_DAINT_OUTEPINT5_MASK 0x200000UL
1796 #define _USB_DAINT_OUTEPINT5_DEFAULT 0x00000000UL
1797 #define USB_DAINT_OUTEPINT5_DEFAULT (_USB_DAINT_OUTEPINT5_DEFAULT << 21)
1798 #define USB_DAINT_OUTEPINT6 (0x1UL << 22)
1799 #define _USB_DAINT_OUTEPINT6_SHIFT 22
1800 #define _USB_DAINT_OUTEPINT6_MASK 0x400000UL
1801 #define _USB_DAINT_OUTEPINT6_DEFAULT 0x00000000UL
1802 #define USB_DAINT_OUTEPINT6_DEFAULT (_USB_DAINT_OUTEPINT6_DEFAULT << 22)
1805 #define _USB_DAINTMSK_RESETVALUE 0x00000000UL
1806 #define _USB_DAINTMSK_MASK 0x007F007FUL
1807 #define USB_DAINTMSK_INEPMSK0 (0x1UL << 0)
1808 #define _USB_DAINTMSK_INEPMSK0_SHIFT 0
1809 #define _USB_DAINTMSK_INEPMSK0_MASK 0x1UL
1810 #define _USB_DAINTMSK_INEPMSK0_DEFAULT 0x00000000UL
1811 #define USB_DAINTMSK_INEPMSK0_DEFAULT (_USB_DAINTMSK_INEPMSK0_DEFAULT << 0)
1812 #define USB_DAINTMSK_INEPMSK1 (0x1UL << 1)
1813 #define _USB_DAINTMSK_INEPMSK1_SHIFT 1
1814 #define _USB_DAINTMSK_INEPMSK1_MASK 0x2UL
1815 #define _USB_DAINTMSK_INEPMSK1_DEFAULT 0x00000000UL
1816 #define USB_DAINTMSK_INEPMSK1_DEFAULT (_USB_DAINTMSK_INEPMSK1_DEFAULT << 1)
1817 #define USB_DAINTMSK_INEPMSK2 (0x1UL << 2)
1818 #define _USB_DAINTMSK_INEPMSK2_SHIFT 2
1819 #define _USB_DAINTMSK_INEPMSK2_MASK 0x4UL
1820 #define _USB_DAINTMSK_INEPMSK2_DEFAULT 0x00000000UL
1821 #define USB_DAINTMSK_INEPMSK2_DEFAULT (_USB_DAINTMSK_INEPMSK2_DEFAULT << 2)
1822 #define USB_DAINTMSK_INEPMSK3 (0x1UL << 3)
1823 #define _USB_DAINTMSK_INEPMSK3_SHIFT 3
1824 #define _USB_DAINTMSK_INEPMSK3_MASK 0x8UL
1825 #define _USB_DAINTMSK_INEPMSK3_DEFAULT 0x00000000UL
1826 #define USB_DAINTMSK_INEPMSK3_DEFAULT (_USB_DAINTMSK_INEPMSK3_DEFAULT << 3)
1827 #define USB_DAINTMSK_INEPMSK4 (0x1UL << 4)
1828 #define _USB_DAINTMSK_INEPMSK4_SHIFT 4
1829 #define _USB_DAINTMSK_INEPMSK4_MASK 0x10UL
1830 #define _USB_DAINTMSK_INEPMSK4_DEFAULT 0x00000000UL
1831 #define USB_DAINTMSK_INEPMSK4_DEFAULT (_USB_DAINTMSK_INEPMSK4_DEFAULT << 4)
1832 #define USB_DAINTMSK_INEPMSK5 (0x1UL << 5)
1833 #define _USB_DAINTMSK_INEPMSK5_SHIFT 5
1834 #define _USB_DAINTMSK_INEPMSK5_MASK 0x20UL
1835 #define _USB_DAINTMSK_INEPMSK5_DEFAULT 0x00000000UL
1836 #define USB_DAINTMSK_INEPMSK5_DEFAULT (_USB_DAINTMSK_INEPMSK5_DEFAULT << 5)
1837 #define USB_DAINTMSK_INEPMSK6 (0x1UL << 6)
1838 #define _USB_DAINTMSK_INEPMSK6_SHIFT 6
1839 #define _USB_DAINTMSK_INEPMSK6_MASK 0x40UL
1840 #define _USB_DAINTMSK_INEPMSK6_DEFAULT 0x00000000UL
1841 #define USB_DAINTMSK_INEPMSK6_DEFAULT (_USB_DAINTMSK_INEPMSK6_DEFAULT << 6)
1842 #define USB_DAINTMSK_OUTEPMSK0 (0x1UL << 16)
1843 #define _USB_DAINTMSK_OUTEPMSK0_SHIFT 16
1844 #define _USB_DAINTMSK_OUTEPMSK0_MASK 0x10000UL
1845 #define _USB_DAINTMSK_OUTEPMSK0_DEFAULT 0x00000000UL
1846 #define USB_DAINTMSK_OUTEPMSK0_DEFAULT (_USB_DAINTMSK_OUTEPMSK0_DEFAULT << 16)
1847 #define USB_DAINTMSK_OUTEPMSK1 (0x1UL << 17)
1848 #define _USB_DAINTMSK_OUTEPMSK1_SHIFT 17
1849 #define _USB_DAINTMSK_OUTEPMSK1_MASK 0x20000UL
1850 #define _USB_DAINTMSK_OUTEPMSK1_DEFAULT 0x00000000UL
1851 #define USB_DAINTMSK_OUTEPMSK1_DEFAULT (_USB_DAINTMSK_OUTEPMSK1_DEFAULT << 17)
1852 #define USB_DAINTMSK_OUTEPMSK2 (0x1UL << 18)
1853 #define _USB_DAINTMSK_OUTEPMSK2_SHIFT 18
1854 #define _USB_DAINTMSK_OUTEPMSK2_MASK 0x40000UL
1855 #define _USB_DAINTMSK_OUTEPMSK2_DEFAULT 0x00000000UL
1856 #define USB_DAINTMSK_OUTEPMSK2_DEFAULT (_USB_DAINTMSK_OUTEPMSK2_DEFAULT << 18)
1857 #define USB_DAINTMSK_OUTEPMSK3 (0x1UL << 19)
1858 #define _USB_DAINTMSK_OUTEPMSK3_SHIFT 19
1859 #define _USB_DAINTMSK_OUTEPMSK3_MASK 0x80000UL
1860 #define _USB_DAINTMSK_OUTEPMSK3_DEFAULT 0x00000000UL
1861 #define USB_DAINTMSK_OUTEPMSK3_DEFAULT (_USB_DAINTMSK_OUTEPMSK3_DEFAULT << 19)
1862 #define USB_DAINTMSK_OUTEPMSK4 (0x1UL << 20)
1863 #define _USB_DAINTMSK_OUTEPMSK4_SHIFT 20
1864 #define _USB_DAINTMSK_OUTEPMSK4_MASK 0x100000UL
1865 #define _USB_DAINTMSK_OUTEPMSK4_DEFAULT 0x00000000UL
1866 #define USB_DAINTMSK_OUTEPMSK4_DEFAULT (_USB_DAINTMSK_OUTEPMSK4_DEFAULT << 20)
1867 #define USB_DAINTMSK_OUTEPMSK5 (0x1UL << 21)
1868 #define _USB_DAINTMSK_OUTEPMSK5_SHIFT 21
1869 #define _USB_DAINTMSK_OUTEPMSK5_MASK 0x200000UL
1870 #define _USB_DAINTMSK_OUTEPMSK5_DEFAULT 0x00000000UL
1871 #define USB_DAINTMSK_OUTEPMSK5_DEFAULT (_USB_DAINTMSK_OUTEPMSK5_DEFAULT << 21)
1872 #define USB_DAINTMSK_OUTEPMSK6 (0x1UL << 22)
1873 #define _USB_DAINTMSK_OUTEPMSK6_SHIFT 22
1874 #define _USB_DAINTMSK_OUTEPMSK6_MASK 0x400000UL
1875 #define _USB_DAINTMSK_OUTEPMSK6_DEFAULT 0x00000000UL
1876 #define USB_DAINTMSK_OUTEPMSK6_DEFAULT (_USB_DAINTMSK_OUTEPMSK6_DEFAULT << 22)
1879 #define _USB_DVBUSDIS_RESETVALUE 0x000017D7UL
1880 #define _USB_DVBUSDIS_MASK 0x0000FFFFUL
1881 #define _USB_DVBUSDIS_DVBUSDIS_SHIFT 0
1882 #define _USB_DVBUSDIS_DVBUSDIS_MASK 0xFFFFUL
1883 #define _USB_DVBUSDIS_DVBUSDIS_DEFAULT 0x000017D7UL
1884 #define USB_DVBUSDIS_DVBUSDIS_DEFAULT (_USB_DVBUSDIS_DVBUSDIS_DEFAULT << 0)
1887 #define _USB_DVBUSPULSE_RESETVALUE 0x000005B8UL
1888 #define _USB_DVBUSPULSE_MASK 0x00000FFFUL
1889 #define _USB_DVBUSPULSE_DVBUSPULSE_SHIFT 0
1890 #define _USB_DVBUSPULSE_DVBUSPULSE_MASK 0xFFFUL
1891 #define _USB_DVBUSPULSE_DVBUSPULSE_DEFAULT 0x000005B8UL
1892 #define USB_DVBUSPULSE_DVBUSPULSE_DEFAULT (_USB_DVBUSPULSE_DVBUSPULSE_DEFAULT << 0)
1895 #define _USB_DIEPEMPMSK_RESETVALUE 0x00000000UL
1896 #define _USB_DIEPEMPMSK_MASK 0x0000FFFFUL
1897 #define _USB_DIEPEMPMSK_DIEPEMPMSK_SHIFT 0
1898 #define _USB_DIEPEMPMSK_DIEPEMPMSK_MASK 0xFFFFUL
1899 #define _USB_DIEPEMPMSK_DIEPEMPMSK_DEFAULT 0x00000000UL
1900 #define USB_DIEPEMPMSK_DIEPEMPMSK_DEFAULT (_USB_DIEPEMPMSK_DIEPEMPMSK_DEFAULT << 0)
1903 #define _USB_DIEP0CTL_RESETVALUE 0x00008000UL
1904 #define _USB_DIEP0CTL_MASK 0xCFEE8003UL
1905 #define _USB_DIEP0CTL_MPS_SHIFT 0
1906 #define _USB_DIEP0CTL_MPS_MASK 0x3UL
1907 #define _USB_DIEP0CTL_MPS_DEFAULT 0x00000000UL
1908 #define _USB_DIEP0CTL_MPS_64B 0x00000000UL
1909 #define _USB_DIEP0CTL_MPS_32B 0x00000001UL
1910 #define _USB_DIEP0CTL_MPS_16B 0x00000002UL
1911 #define _USB_DIEP0CTL_MPS_8B 0x00000003UL
1912 #define USB_DIEP0CTL_MPS_DEFAULT (_USB_DIEP0CTL_MPS_DEFAULT << 0)
1913 #define USB_DIEP0CTL_MPS_64B (_USB_DIEP0CTL_MPS_64B << 0)
1914 #define USB_DIEP0CTL_MPS_32B (_USB_DIEP0CTL_MPS_32B << 0)
1915 #define USB_DIEP0CTL_MPS_16B (_USB_DIEP0CTL_MPS_16B << 0)
1916 #define USB_DIEP0CTL_MPS_8B (_USB_DIEP0CTL_MPS_8B << 0)
1917 #define USB_DIEP0CTL_USBACTEP (0x1UL << 15)
1918 #define _USB_DIEP0CTL_USBACTEP_SHIFT 15
1919 #define _USB_DIEP0CTL_USBACTEP_MASK 0x8000UL
1920 #define _USB_DIEP0CTL_USBACTEP_DEFAULT 0x00000001UL
1921 #define USB_DIEP0CTL_USBACTEP_DEFAULT (_USB_DIEP0CTL_USBACTEP_DEFAULT << 15)
1922 #define USB_DIEP0CTL_NAKSTS (0x1UL << 17)
1923 #define _USB_DIEP0CTL_NAKSTS_SHIFT 17
1924 #define _USB_DIEP0CTL_NAKSTS_MASK 0x20000UL
1925 #define _USB_DIEP0CTL_NAKSTS_DEFAULT 0x00000000UL
1926 #define USB_DIEP0CTL_NAKSTS_DEFAULT (_USB_DIEP0CTL_NAKSTS_DEFAULT << 17)
1927 #define _USB_DIEP0CTL_EPTYPE_SHIFT 18
1928 #define _USB_DIEP0CTL_EPTYPE_MASK 0xC0000UL
1929 #define _USB_DIEP0CTL_EPTYPE_DEFAULT 0x00000000UL
1930 #define USB_DIEP0CTL_EPTYPE_DEFAULT (_USB_DIEP0CTL_EPTYPE_DEFAULT << 18)
1931 #define USB_DIEP0CTL_STALL (0x1UL << 21)
1932 #define _USB_DIEP0CTL_STALL_SHIFT 21
1933 #define _USB_DIEP0CTL_STALL_MASK 0x200000UL
1934 #define _USB_DIEP0CTL_STALL_DEFAULT 0x00000000UL
1935 #define USB_DIEP0CTL_STALL_DEFAULT (_USB_DIEP0CTL_STALL_DEFAULT << 21)
1936 #define _USB_DIEP0CTL_TXFNUM_SHIFT 22
1937 #define _USB_DIEP0CTL_TXFNUM_MASK 0x3C00000UL
1938 #define _USB_DIEP0CTL_TXFNUM_DEFAULT 0x00000000UL
1939 #define USB_DIEP0CTL_TXFNUM_DEFAULT (_USB_DIEP0CTL_TXFNUM_DEFAULT << 22)
1940 #define USB_DIEP0CTL_CNAK (0x1UL << 26)
1941 #define _USB_DIEP0CTL_CNAK_SHIFT 26
1942 #define _USB_DIEP0CTL_CNAK_MASK 0x4000000UL
1943 #define _USB_DIEP0CTL_CNAK_DEFAULT 0x00000000UL
1944 #define USB_DIEP0CTL_CNAK_DEFAULT (_USB_DIEP0CTL_CNAK_DEFAULT << 26)
1945 #define USB_DIEP0CTL_SNAK (0x1UL << 27)
1946 #define _USB_DIEP0CTL_SNAK_SHIFT 27
1947 #define _USB_DIEP0CTL_SNAK_MASK 0x8000000UL
1948 #define _USB_DIEP0CTL_SNAK_DEFAULT 0x00000000UL
1949 #define USB_DIEP0CTL_SNAK_DEFAULT (_USB_DIEP0CTL_SNAK_DEFAULT << 27)
1950 #define USB_DIEP0CTL_EPDIS (0x1UL << 30)
1951 #define _USB_DIEP0CTL_EPDIS_SHIFT 30
1952 #define _USB_DIEP0CTL_EPDIS_MASK 0x40000000UL
1953 #define _USB_DIEP0CTL_EPDIS_DEFAULT 0x00000000UL
1954 #define USB_DIEP0CTL_EPDIS_DEFAULT (_USB_DIEP0CTL_EPDIS_DEFAULT << 30)
1955 #define USB_DIEP0CTL_EPENA (0x1UL << 31)
1956 #define _USB_DIEP0CTL_EPENA_SHIFT 31
1957 #define _USB_DIEP0CTL_EPENA_MASK 0x80000000UL
1958 #define _USB_DIEP0CTL_EPENA_DEFAULT 0x00000000UL
1959 #define USB_DIEP0CTL_EPENA_DEFAULT (_USB_DIEP0CTL_EPENA_DEFAULT << 31)
1962 #define _USB_DIEP0INT_RESETVALUE 0x00000080UL
1963 #define _USB_DIEP0INT_MASK 0x000038DFUL
1964 #define USB_DIEP0INT_XFERCOMPL (0x1UL << 0)
1965 #define _USB_DIEP0INT_XFERCOMPL_SHIFT 0
1966 #define _USB_DIEP0INT_XFERCOMPL_MASK 0x1UL
1967 #define _USB_DIEP0INT_XFERCOMPL_DEFAULT 0x00000000UL
1968 #define USB_DIEP0INT_XFERCOMPL_DEFAULT (_USB_DIEP0INT_XFERCOMPL_DEFAULT << 0)
1969 #define USB_DIEP0INT_EPDISBLD (0x1UL << 1)
1970 #define _USB_DIEP0INT_EPDISBLD_SHIFT 1
1971 #define _USB_DIEP0INT_EPDISBLD_MASK 0x2UL
1972 #define _USB_DIEP0INT_EPDISBLD_DEFAULT 0x00000000UL
1973 #define USB_DIEP0INT_EPDISBLD_DEFAULT (_USB_DIEP0INT_EPDISBLD_DEFAULT << 1)
1974 #define USB_DIEP0INT_AHBERR (0x1UL << 2)
1975 #define _USB_DIEP0INT_AHBERR_SHIFT 2
1976 #define _USB_DIEP0INT_AHBERR_MASK 0x4UL
1977 #define _USB_DIEP0INT_AHBERR_DEFAULT 0x00000000UL
1978 #define USB_DIEP0INT_AHBERR_DEFAULT (_USB_DIEP0INT_AHBERR_DEFAULT << 2)
1979 #define USB_DIEP0INT_TIMEOUT (0x1UL << 3)
1980 #define _USB_DIEP0INT_TIMEOUT_SHIFT 3
1981 #define _USB_DIEP0INT_TIMEOUT_MASK 0x8UL
1982 #define _USB_DIEP0INT_TIMEOUT_DEFAULT 0x00000000UL
1983 #define USB_DIEP0INT_TIMEOUT_DEFAULT (_USB_DIEP0INT_TIMEOUT_DEFAULT << 3)
1984 #define USB_DIEP0INT_INTKNTXFEMP (0x1UL << 4)
1985 #define _USB_DIEP0INT_INTKNTXFEMP_SHIFT 4
1986 #define _USB_DIEP0INT_INTKNTXFEMP_MASK 0x10UL
1987 #define _USB_DIEP0INT_INTKNTXFEMP_DEFAULT 0x00000000UL
1988 #define USB_DIEP0INT_INTKNTXFEMP_DEFAULT (_USB_DIEP0INT_INTKNTXFEMP_DEFAULT << 4)
1989 #define USB_DIEP0INT_INEPNAKEFF (0x1UL << 6)
1990 #define _USB_DIEP0INT_INEPNAKEFF_SHIFT 6
1991 #define _USB_DIEP0INT_INEPNAKEFF_MASK 0x40UL
1992 #define _USB_DIEP0INT_INEPNAKEFF_DEFAULT 0x00000000UL
1993 #define USB_DIEP0INT_INEPNAKEFF_DEFAULT (_USB_DIEP0INT_INEPNAKEFF_DEFAULT << 6)
1994 #define USB_DIEP0INT_TXFEMP (0x1UL << 7)
1995 #define _USB_DIEP0INT_TXFEMP_SHIFT 7
1996 #define _USB_DIEP0INT_TXFEMP_MASK 0x80UL
1997 #define _USB_DIEP0INT_TXFEMP_DEFAULT 0x00000001UL
1998 #define USB_DIEP0INT_TXFEMP_DEFAULT (_USB_DIEP0INT_TXFEMP_DEFAULT << 7)
1999 #define USB_DIEP0INT_PKTDRPSTS (0x1UL << 11)
2000 #define _USB_DIEP0INT_PKTDRPSTS_SHIFT 11
2001 #define _USB_DIEP0INT_PKTDRPSTS_MASK 0x800UL
2002 #define _USB_DIEP0INT_PKTDRPSTS_DEFAULT 0x00000000UL
2003 #define USB_DIEP0INT_PKTDRPSTS_DEFAULT (_USB_DIEP0INT_PKTDRPSTS_DEFAULT << 11)
2004 #define USB_DIEP0INT_BBLEERR (0x1UL << 12)
2005 #define _USB_DIEP0INT_BBLEERR_SHIFT 12
2006 #define _USB_DIEP0INT_BBLEERR_MASK 0x1000UL
2007 #define _USB_DIEP0INT_BBLEERR_DEFAULT 0x00000000UL
2008 #define USB_DIEP0INT_BBLEERR_DEFAULT (_USB_DIEP0INT_BBLEERR_DEFAULT << 12)
2009 #define USB_DIEP0INT_NAKINTRPT (0x1UL << 13)
2010 #define _USB_DIEP0INT_NAKINTRPT_SHIFT 13
2011 #define _USB_DIEP0INT_NAKINTRPT_MASK 0x2000UL
2012 #define _USB_DIEP0INT_NAKINTRPT_DEFAULT 0x00000000UL
2013 #define USB_DIEP0INT_NAKINTRPT_DEFAULT (_USB_DIEP0INT_NAKINTRPT_DEFAULT << 13)
2016 #define _USB_DIEP0TSIZ_RESETVALUE 0x00000000UL
2017 #define _USB_DIEP0TSIZ_MASK 0x0018007FUL
2018 #define _USB_DIEP0TSIZ_XFERSIZE_SHIFT 0
2019 #define _USB_DIEP0TSIZ_XFERSIZE_MASK 0x7FUL
2020 #define _USB_DIEP0TSIZ_XFERSIZE_DEFAULT 0x00000000UL
2021 #define USB_DIEP0TSIZ_XFERSIZE_DEFAULT (_USB_DIEP0TSIZ_XFERSIZE_DEFAULT << 0)
2022 #define _USB_DIEP0TSIZ_PKTCNT_SHIFT 19
2023 #define _USB_DIEP0TSIZ_PKTCNT_MASK 0x180000UL
2024 #define _USB_DIEP0TSIZ_PKTCNT_DEFAULT 0x00000000UL
2025 #define USB_DIEP0TSIZ_PKTCNT_DEFAULT (_USB_DIEP0TSIZ_PKTCNT_DEFAULT << 19)
2028 #define _USB_DIEP0DMAADDR_RESETVALUE 0x00000000UL
2029 #define _USB_DIEP0DMAADDR_MASK 0xFFFFFFFFUL
2030 #define _USB_DIEP0DMAADDR_DIEP0DMAADDR_SHIFT 0
2031 #define _USB_DIEP0DMAADDR_DIEP0DMAADDR_MASK 0xFFFFFFFFUL
2032 #define _USB_DIEP0DMAADDR_DIEP0DMAADDR_DEFAULT 0x00000000UL
2033 #define USB_DIEP0DMAADDR_DIEP0DMAADDR_DEFAULT (_USB_DIEP0DMAADDR_DIEP0DMAADDR_DEFAULT << 0)
2036 #define _USB_DIEP0TXFSTS_RESETVALUE 0x00000200UL
2037 #define _USB_DIEP0TXFSTS_MASK 0x0000FFFFUL
2038 #define _USB_DIEP0TXFSTS_SPCAVAIL_SHIFT 0
2039 #define _USB_DIEP0TXFSTS_SPCAVAIL_MASK 0xFFFFUL
2040 #define _USB_DIEP0TXFSTS_SPCAVAIL_DEFAULT 0x00000200UL
2041 #define USB_DIEP0TXFSTS_SPCAVAIL_DEFAULT (_USB_DIEP0TXFSTS_SPCAVAIL_DEFAULT << 0)
2044 #define _USB_DIEP_CTL_RESETVALUE 0x00000000UL
2045 #define _USB_DIEP_CTL_MASK 0xFFEF87FFUL
2046 #define _USB_DIEP_CTL_MPS_SHIFT 0
2047 #define _USB_DIEP_CTL_MPS_MASK 0x7FFUL
2048 #define _USB_DIEP_CTL_MPS_DEFAULT 0x00000000UL
2049 #define USB_DIEP_CTL_MPS_DEFAULT (_USB_DIEP_CTL_MPS_DEFAULT << 0)
2050 #define USB_DIEP_CTL_USBACTEP (0x1UL << 15)
2051 #define _USB_DIEP_CTL_USBACTEP_SHIFT 15
2052 #define _USB_DIEP_CTL_USBACTEP_MASK 0x8000UL
2053 #define _USB_DIEP_CTL_USBACTEP_DEFAULT 0x00000000UL
2054 #define USB_DIEP_CTL_USBACTEP_DEFAULT (_USB_DIEP_CTL_USBACTEP_DEFAULT << 15)
2055 #define USB_DIEP_CTL_DPIDEOF (0x1UL << 16)
2056 #define _USB_DIEP_CTL_DPIDEOF_SHIFT 16
2057 #define _USB_DIEP_CTL_DPIDEOF_MASK 0x10000UL
2058 #define _USB_DIEP_CTL_DPIDEOF_DEFAULT 0x00000000UL
2059 #define _USB_DIEP_CTL_DPIDEOF_DATA0EVEN 0x00000000UL
2060 #define _USB_DIEP_CTL_DPIDEOF_DATA1ODD 0x00000001UL
2061 #define USB_DIEP_CTL_DPIDEOF_DEFAULT (_USB_DIEP_CTL_DPIDEOF_DEFAULT << 16)
2062 #define USB_DIEP_CTL_DPIDEOF_DATA0EVEN (_USB_DIEP_CTL_DPIDEOF_DATA0EVEN << 16)
2063 #define USB_DIEP_CTL_DPIDEOF_DATA1ODD (_USB_DIEP_CTL_DPIDEOF_DATA1ODD << 16)
2064 #define USB_DIEP_CTL_NAKSTS (0x1UL << 17)
2065 #define _USB_DIEP_CTL_NAKSTS_SHIFT 17
2066 #define _USB_DIEP_CTL_NAKSTS_MASK 0x20000UL
2067 #define _USB_DIEP_CTL_NAKSTS_DEFAULT 0x00000000UL
2068 #define USB_DIEP_CTL_NAKSTS_DEFAULT (_USB_DIEP_CTL_NAKSTS_DEFAULT << 17)
2069 #define _USB_DIEP_CTL_EPTYPE_SHIFT 18
2070 #define _USB_DIEP_CTL_EPTYPE_MASK 0xC0000UL
2071 #define _USB_DIEP_CTL_EPTYPE_DEFAULT 0x00000000UL
2072 #define _USB_DIEP_CTL_EPTYPE_CONTROL 0x00000000UL
2073 #define _USB_DIEP_CTL_EPTYPE_ISO 0x00000001UL
2074 #define _USB_DIEP_CTL_EPTYPE_BULK 0x00000002UL
2075 #define _USB_DIEP_CTL_EPTYPE_INT 0x00000003UL
2076 #define USB_DIEP_CTL_EPTYPE_DEFAULT (_USB_DIEP_CTL_EPTYPE_DEFAULT << 18)
2077 #define USB_DIEP_CTL_EPTYPE_CONTROL (_USB_DIEP_CTL_EPTYPE_CONTROL << 18)
2078 #define USB_DIEP_CTL_EPTYPE_ISO (_USB_DIEP_CTL_EPTYPE_ISO << 18)
2079 #define USB_DIEP_CTL_EPTYPE_BULK (_USB_DIEP_CTL_EPTYPE_BULK << 18)
2080 #define USB_DIEP_CTL_EPTYPE_INT (_USB_DIEP_CTL_EPTYPE_INT << 18)
2081 #define USB_DIEP_CTL_STALL (0x1UL << 21)
2082 #define _USB_DIEP_CTL_STALL_SHIFT 21
2083 #define _USB_DIEP_CTL_STALL_MASK 0x200000UL
2084 #define _USB_DIEP_CTL_STALL_DEFAULT 0x00000000UL
2085 #define USB_DIEP_CTL_STALL_DEFAULT (_USB_DIEP_CTL_STALL_DEFAULT << 21)
2086 #define _USB_DIEP_CTL_TXFNUM_SHIFT 22
2087 #define _USB_DIEP_CTL_TXFNUM_MASK 0x3C00000UL
2088 #define _USB_DIEP_CTL_TXFNUM_DEFAULT 0x00000000UL
2089 #define USB_DIEP_CTL_TXFNUM_DEFAULT (_USB_DIEP_CTL_TXFNUM_DEFAULT << 22)
2090 #define USB_DIEP_CTL_CNAK (0x1UL << 26)
2091 #define _USB_DIEP_CTL_CNAK_SHIFT 26
2092 #define _USB_DIEP_CTL_CNAK_MASK 0x4000000UL
2093 #define _USB_DIEP_CTL_CNAK_DEFAULT 0x00000000UL
2094 #define USB_DIEP_CTL_CNAK_DEFAULT (_USB_DIEP_CTL_CNAK_DEFAULT << 26)
2095 #define USB_DIEP_CTL_SNAK (0x1UL << 27)
2096 #define _USB_DIEP_CTL_SNAK_SHIFT 27
2097 #define _USB_DIEP_CTL_SNAK_MASK 0x8000000UL
2098 #define _USB_DIEP_CTL_SNAK_DEFAULT 0x00000000UL
2099 #define USB_DIEP_CTL_SNAK_DEFAULT (_USB_DIEP_CTL_SNAK_DEFAULT << 27)
2100 #define USB_DIEP_CTL_SETD0PIDEF (0x1UL << 28)
2101 #define _USB_DIEP_CTL_SETD0PIDEF_SHIFT 28
2102 #define _USB_DIEP_CTL_SETD0PIDEF_MASK 0x10000000UL
2103 #define _USB_DIEP_CTL_SETD0PIDEF_DEFAULT 0x00000000UL
2104 #define USB_DIEP_CTL_SETD0PIDEF_DEFAULT (_USB_DIEP_CTL_SETD0PIDEF_DEFAULT << 28)
2105 #define USB_DIEP_CTL_SETD1PIDOF (0x1UL << 29)
2106 #define _USB_DIEP_CTL_SETD1PIDOF_SHIFT 29
2107 #define _USB_DIEP_CTL_SETD1PIDOF_MASK 0x20000000UL
2108 #define _USB_DIEP_CTL_SETD1PIDOF_DEFAULT 0x00000000UL
2109 #define USB_DIEP_CTL_SETD1PIDOF_DEFAULT (_USB_DIEP_CTL_SETD1PIDOF_DEFAULT << 29)
2110 #define USB_DIEP_CTL_EPDIS (0x1UL << 30)
2111 #define _USB_DIEP_CTL_EPDIS_SHIFT 30
2112 #define _USB_DIEP_CTL_EPDIS_MASK 0x40000000UL
2113 #define _USB_DIEP_CTL_EPDIS_DEFAULT 0x00000000UL
2114 #define USB_DIEP_CTL_EPDIS_DEFAULT (_USB_DIEP_CTL_EPDIS_DEFAULT << 30)
2115 #define USB_DIEP_CTL_EPENA (0x1UL << 31)
2116 #define _USB_DIEP_CTL_EPENA_SHIFT 31
2117 #define _USB_DIEP_CTL_EPENA_MASK 0x80000000UL
2118 #define _USB_DIEP_CTL_EPENA_DEFAULT 0x00000000UL
2119 #define USB_DIEP_CTL_EPENA_DEFAULT (_USB_DIEP_CTL_EPENA_DEFAULT << 31)
2122 #define _USB_DIEP_INT_RESETVALUE 0x00000080UL
2123 #define _USB_DIEP_INT_MASK 0x000038DFUL
2124 #define USB_DIEP_INT_XFERCOMPL (0x1UL << 0)
2125 #define _USB_DIEP_INT_XFERCOMPL_SHIFT 0
2126 #define _USB_DIEP_INT_XFERCOMPL_MASK 0x1UL
2127 #define _USB_DIEP_INT_XFERCOMPL_DEFAULT 0x00000000UL
2128 #define USB_DIEP_INT_XFERCOMPL_DEFAULT (_USB_DIEP_INT_XFERCOMPL_DEFAULT << 0)
2129 #define USB_DIEP_INT_EPDISBLD (0x1UL << 1)
2130 #define _USB_DIEP_INT_EPDISBLD_SHIFT 1
2131 #define _USB_DIEP_INT_EPDISBLD_MASK 0x2UL
2132 #define _USB_DIEP_INT_EPDISBLD_DEFAULT 0x00000000UL
2133 #define USB_DIEP_INT_EPDISBLD_DEFAULT (_USB_DIEP_INT_EPDISBLD_DEFAULT << 1)
2134 #define USB_DIEP_INT_AHBERR (0x1UL << 2)
2135 #define _USB_DIEP_INT_AHBERR_SHIFT 2
2136 #define _USB_DIEP_INT_AHBERR_MASK 0x4UL
2137 #define _USB_DIEP_INT_AHBERR_DEFAULT 0x00000000UL
2138 #define USB_DIEP_INT_AHBERR_DEFAULT (_USB_DIEP_INT_AHBERR_DEFAULT << 2)
2139 #define USB_DIEP_INT_TIMEOUT (0x1UL << 3)
2140 #define _USB_DIEP_INT_TIMEOUT_SHIFT 3
2141 #define _USB_DIEP_INT_TIMEOUT_MASK 0x8UL
2142 #define _USB_DIEP_INT_TIMEOUT_DEFAULT 0x00000000UL
2143 #define USB_DIEP_INT_TIMEOUT_DEFAULT (_USB_DIEP_INT_TIMEOUT_DEFAULT << 3)
2144 #define USB_DIEP_INT_INTKNTXFEMP (0x1UL << 4)
2145 #define _USB_DIEP_INT_INTKNTXFEMP_SHIFT 4
2146 #define _USB_DIEP_INT_INTKNTXFEMP_MASK 0x10UL
2147 #define _USB_DIEP_INT_INTKNTXFEMP_DEFAULT 0x00000000UL
2148 #define USB_DIEP_INT_INTKNTXFEMP_DEFAULT (_USB_DIEP_INT_INTKNTXFEMP_DEFAULT << 4)
2149 #define USB_DIEP_INT_INEPNAKEFF (0x1UL << 6)
2150 #define _USB_DIEP_INT_INEPNAKEFF_SHIFT 6
2151 #define _USB_DIEP_INT_INEPNAKEFF_MASK 0x40UL
2152 #define _USB_DIEP_INT_INEPNAKEFF_DEFAULT 0x00000000UL
2153 #define USB_DIEP_INT_INEPNAKEFF_DEFAULT (_USB_DIEP_INT_INEPNAKEFF_DEFAULT << 6)
2154 #define USB_DIEP_INT_TXFEMP (0x1UL << 7)
2155 #define _USB_DIEP_INT_TXFEMP_SHIFT 7
2156 #define _USB_DIEP_INT_TXFEMP_MASK 0x80UL
2157 #define _USB_DIEP_INT_TXFEMP_DEFAULT 0x00000001UL
2158 #define USB_DIEP_INT_TXFEMP_DEFAULT (_USB_DIEP_INT_TXFEMP_DEFAULT << 7)
2159 #define USB_DIEP_INT_PKTDRPSTS (0x1UL << 11)
2160 #define _USB_DIEP_INT_PKTDRPSTS_SHIFT 11
2161 #define _USB_DIEP_INT_PKTDRPSTS_MASK 0x800UL
2162 #define _USB_DIEP_INT_PKTDRPSTS_DEFAULT 0x00000000UL
2163 #define USB_DIEP_INT_PKTDRPSTS_DEFAULT (_USB_DIEP_INT_PKTDRPSTS_DEFAULT << 11)
2164 #define USB_DIEP_INT_BBLEERR (0x1UL << 12)
2165 #define _USB_DIEP_INT_BBLEERR_SHIFT 12
2166 #define _USB_DIEP_INT_BBLEERR_MASK 0x1000UL
2167 #define _USB_DIEP_INT_BBLEERR_DEFAULT 0x00000000UL
2168 #define USB_DIEP_INT_BBLEERR_DEFAULT (_USB_DIEP_INT_BBLEERR_DEFAULT << 12)
2169 #define USB_DIEP_INT_NAKINTRPT (0x1UL << 13)
2170 #define _USB_DIEP_INT_NAKINTRPT_SHIFT 13
2171 #define _USB_DIEP_INT_NAKINTRPT_MASK 0x2000UL
2172 #define _USB_DIEP_INT_NAKINTRPT_DEFAULT 0x00000000UL
2173 #define USB_DIEP_INT_NAKINTRPT_DEFAULT (_USB_DIEP_INT_NAKINTRPT_DEFAULT << 13)
2176 #define _USB_DIEP_TSIZ_RESETVALUE 0x00000000UL
2177 #define _USB_DIEP_TSIZ_MASK 0x7FFFFFFFUL
2178 #define _USB_DIEP_TSIZ_XFERSIZE_SHIFT 0
2179 #define _USB_DIEP_TSIZ_XFERSIZE_MASK 0x7FFFFUL
2180 #define _USB_DIEP_TSIZ_XFERSIZE_DEFAULT 0x00000000UL
2181 #define USB_DIEP_TSIZ_XFERSIZE_DEFAULT (_USB_DIEP_TSIZ_XFERSIZE_DEFAULT << 0)
2182 #define _USB_DIEP_TSIZ_PKTCNT_SHIFT 19
2183 #define _USB_DIEP_TSIZ_PKTCNT_MASK 0x1FF80000UL
2184 #define _USB_DIEP_TSIZ_PKTCNT_DEFAULT 0x00000000UL
2185 #define USB_DIEP_TSIZ_PKTCNT_DEFAULT (_USB_DIEP_TSIZ_PKTCNT_DEFAULT << 19)
2186 #define _USB_DIEP_TSIZ_MC_SHIFT 29
2187 #define _USB_DIEP_TSIZ_MC_MASK 0x60000000UL
2188 #define _USB_DIEP_TSIZ_MC_DEFAULT 0x00000000UL
2189 #define USB_DIEP_TSIZ_MC_DEFAULT (_USB_DIEP_TSIZ_MC_DEFAULT << 29)
2192 #define _USB_DIEP_DMAADDR_RESETVALUE 0x00000000UL
2193 #define _USB_DIEP_DMAADDR_MASK 0xFFFFFFFFUL
2194 #define _USB_DIEP_DMAADDR_DMAADDR_SHIFT 0
2195 #define _USB_DIEP_DMAADDR_DMAADDR_MASK 0xFFFFFFFFUL
2196 #define _USB_DIEP_DMAADDR_DMAADDR_DEFAULT 0x00000000UL
2197 #define USB_DIEP_DMAADDR_DMAADDR_DEFAULT (_USB_DIEP_DMAADDR_DMAADDR_DEFAULT << 0)
2200 #define _USB_DIEP_TXFSTS_RESETVALUE 0x00000200UL
2201 #define _USB_DIEP_TXFSTS_MASK 0x0000FFFFUL
2202 #define _USB_DIEP_TXFSTS_SPCAVAIL_SHIFT 0
2203 #define _USB_DIEP_TXFSTS_SPCAVAIL_MASK 0xFFFFUL
2204 #define _USB_DIEP_TXFSTS_SPCAVAIL_DEFAULT 0x00000200UL
2205 #define USB_DIEP_TXFSTS_SPCAVAIL_DEFAULT (_USB_DIEP_TXFSTS_SPCAVAIL_DEFAULT << 0)
2208 #define _USB_DOEP0CTL_RESETVALUE 0x00008000UL
2209 #define _USB_DOEP0CTL_MASK 0xCC3E8003UL
2210 #define _USB_DOEP0CTL_MPS_SHIFT 0
2211 #define _USB_DOEP0CTL_MPS_MASK 0x3UL
2212 #define _USB_DOEP0CTL_MPS_DEFAULT 0x00000000UL
2213 #define _USB_DOEP0CTL_MPS_64B 0x00000000UL
2214 #define _USB_DOEP0CTL_MPS_32B 0x00000001UL
2215 #define _USB_DOEP0CTL_MPS_16B 0x00000002UL
2216 #define _USB_DOEP0CTL_MPS_8B 0x00000003UL
2217 #define USB_DOEP0CTL_MPS_DEFAULT (_USB_DOEP0CTL_MPS_DEFAULT << 0)
2218 #define USB_DOEP0CTL_MPS_64B (_USB_DOEP0CTL_MPS_64B << 0)
2219 #define USB_DOEP0CTL_MPS_32B (_USB_DOEP0CTL_MPS_32B << 0)
2220 #define USB_DOEP0CTL_MPS_16B (_USB_DOEP0CTL_MPS_16B << 0)
2221 #define USB_DOEP0CTL_MPS_8B (_USB_DOEP0CTL_MPS_8B << 0)
2222 #define USB_DOEP0CTL_USBACTEP (0x1UL << 15)
2223 #define _USB_DOEP0CTL_USBACTEP_SHIFT 15
2224 #define _USB_DOEP0CTL_USBACTEP_MASK 0x8000UL
2225 #define _USB_DOEP0CTL_USBACTEP_DEFAULT 0x00000001UL
2226 #define USB_DOEP0CTL_USBACTEP_DEFAULT (_USB_DOEP0CTL_USBACTEP_DEFAULT << 15)
2227 #define USB_DOEP0CTL_NAKSTS (0x1UL << 17)
2228 #define _USB_DOEP0CTL_NAKSTS_SHIFT 17
2229 #define _USB_DOEP0CTL_NAKSTS_MASK 0x20000UL
2230 #define _USB_DOEP0CTL_NAKSTS_DEFAULT 0x00000000UL
2231 #define USB_DOEP0CTL_NAKSTS_DEFAULT (_USB_DOEP0CTL_NAKSTS_DEFAULT << 17)
2232 #define _USB_DOEP0CTL_EPTYPE_SHIFT 18
2233 #define _USB_DOEP0CTL_EPTYPE_MASK 0xC0000UL
2234 #define _USB_DOEP0CTL_EPTYPE_DEFAULT 0x00000000UL
2235 #define USB_DOEP0CTL_EPTYPE_DEFAULT (_USB_DOEP0CTL_EPTYPE_DEFAULT << 18)
2236 #define USB_DOEP0CTL_SNP (0x1UL << 20)
2237 #define _USB_DOEP0CTL_SNP_SHIFT 20
2238 #define _USB_DOEP0CTL_SNP_MASK 0x100000UL
2239 #define _USB_DOEP0CTL_SNP_DEFAULT 0x00000000UL
2240 #define USB_DOEP0CTL_SNP_DEFAULT (_USB_DOEP0CTL_SNP_DEFAULT << 20)
2241 #define USB_DOEP0CTL_STALL (0x1UL << 21)
2242 #define _USB_DOEP0CTL_STALL_SHIFT 21
2243 #define _USB_DOEP0CTL_STALL_MASK 0x200000UL
2244 #define _USB_DOEP0CTL_STALL_DEFAULT 0x00000000UL
2245 #define USB_DOEP0CTL_STALL_DEFAULT (_USB_DOEP0CTL_STALL_DEFAULT << 21)
2246 #define USB_DOEP0CTL_CNAK (0x1UL << 26)
2247 #define _USB_DOEP0CTL_CNAK_SHIFT 26
2248 #define _USB_DOEP0CTL_CNAK_MASK 0x4000000UL
2249 #define _USB_DOEP0CTL_CNAK_DEFAULT 0x00000000UL
2250 #define USB_DOEP0CTL_CNAK_DEFAULT (_USB_DOEP0CTL_CNAK_DEFAULT << 26)
2251 #define USB_DOEP0CTL_SNAK (0x1UL << 27)
2252 #define _USB_DOEP0CTL_SNAK_SHIFT 27
2253 #define _USB_DOEP0CTL_SNAK_MASK 0x8000000UL
2254 #define _USB_DOEP0CTL_SNAK_DEFAULT 0x00000000UL
2255 #define USB_DOEP0CTL_SNAK_DEFAULT (_USB_DOEP0CTL_SNAK_DEFAULT << 27)
2256 #define USB_DOEP0CTL_EPDIS (0x1UL << 30)
2257 #define _USB_DOEP0CTL_EPDIS_SHIFT 30
2258 #define _USB_DOEP0CTL_EPDIS_MASK 0x40000000UL
2259 #define _USB_DOEP0CTL_EPDIS_DEFAULT 0x00000000UL
2260 #define USB_DOEP0CTL_EPDIS_DEFAULT (_USB_DOEP0CTL_EPDIS_DEFAULT << 30)
2261 #define USB_DOEP0CTL_EPENA (0x1UL << 31)
2262 #define _USB_DOEP0CTL_EPENA_SHIFT 31
2263 #define _USB_DOEP0CTL_EPENA_MASK 0x80000000UL
2264 #define _USB_DOEP0CTL_EPENA_DEFAULT 0x00000000UL
2265 #define USB_DOEP0CTL_EPENA_DEFAULT (_USB_DOEP0CTL_EPENA_DEFAULT << 31)
2268 #define _USB_DOEP0INT_RESETVALUE 0x00000000UL
2269 #define _USB_DOEP0INT_MASK 0x0000385FUL
2270 #define USB_DOEP0INT_XFERCOMPL (0x1UL << 0)
2271 #define _USB_DOEP0INT_XFERCOMPL_SHIFT 0
2272 #define _USB_DOEP0INT_XFERCOMPL_MASK 0x1UL
2273 #define _USB_DOEP0INT_XFERCOMPL_DEFAULT 0x00000000UL
2274 #define USB_DOEP0INT_XFERCOMPL_DEFAULT (_USB_DOEP0INT_XFERCOMPL_DEFAULT << 0)
2275 #define USB_DOEP0INT_EPDISBLD (0x1UL << 1)
2276 #define _USB_DOEP0INT_EPDISBLD_SHIFT 1
2277 #define _USB_DOEP0INT_EPDISBLD_MASK 0x2UL
2278 #define _USB_DOEP0INT_EPDISBLD_DEFAULT 0x00000000UL
2279 #define USB_DOEP0INT_EPDISBLD_DEFAULT (_USB_DOEP0INT_EPDISBLD_DEFAULT << 1)
2280 #define USB_DOEP0INT_AHBERR (0x1UL << 2)
2281 #define _USB_DOEP0INT_AHBERR_SHIFT 2
2282 #define _USB_DOEP0INT_AHBERR_MASK 0x4UL
2283 #define _USB_DOEP0INT_AHBERR_DEFAULT 0x00000000UL
2284 #define USB_DOEP0INT_AHBERR_DEFAULT (_USB_DOEP0INT_AHBERR_DEFAULT << 2)
2285 #define USB_DOEP0INT_SETUP (0x1UL << 3)
2286 #define _USB_DOEP0INT_SETUP_SHIFT 3
2287 #define _USB_DOEP0INT_SETUP_MASK 0x8UL
2288 #define _USB_DOEP0INT_SETUP_DEFAULT 0x00000000UL
2289 #define USB_DOEP0INT_SETUP_DEFAULT (_USB_DOEP0INT_SETUP_DEFAULT << 3)
2290 #define USB_DOEP0INT_OUTTKNEPDIS (0x1UL << 4)
2291 #define _USB_DOEP0INT_OUTTKNEPDIS_SHIFT 4
2292 #define _USB_DOEP0INT_OUTTKNEPDIS_MASK 0x10UL
2293 #define _USB_DOEP0INT_OUTTKNEPDIS_DEFAULT 0x00000000UL
2294 #define USB_DOEP0INT_OUTTKNEPDIS_DEFAULT (_USB_DOEP0INT_OUTTKNEPDIS_DEFAULT << 4)
2295 #define USB_DOEP0INT_BACK2BACKSETUP (0x1UL << 6)
2296 #define _USB_DOEP0INT_BACK2BACKSETUP_SHIFT 6
2297 #define _USB_DOEP0INT_BACK2BACKSETUP_MASK 0x40UL
2298 #define _USB_DOEP0INT_BACK2BACKSETUP_DEFAULT 0x00000000UL
2299 #define USB_DOEP0INT_BACK2BACKSETUP_DEFAULT (_USB_DOEP0INT_BACK2BACKSETUP_DEFAULT << 6)
2300 #define USB_DOEP0INT_PKTDRPSTS (0x1UL << 11)
2301 #define _USB_DOEP0INT_PKTDRPSTS_SHIFT 11
2302 #define _USB_DOEP0INT_PKTDRPSTS_MASK 0x800UL
2303 #define _USB_DOEP0INT_PKTDRPSTS_DEFAULT 0x00000000UL
2304 #define USB_DOEP0INT_PKTDRPSTS_DEFAULT (_USB_DOEP0INT_PKTDRPSTS_DEFAULT << 11)
2305 #define USB_DOEP0INT_BBLEERR (0x1UL << 12)
2306 #define _USB_DOEP0INT_BBLEERR_SHIFT 12
2307 #define _USB_DOEP0INT_BBLEERR_MASK 0x1000UL
2308 #define _USB_DOEP0INT_BBLEERR_DEFAULT 0x00000000UL
2309 #define USB_DOEP0INT_BBLEERR_DEFAULT (_USB_DOEP0INT_BBLEERR_DEFAULT << 12)
2310 #define USB_DOEP0INT_NAKINTRPT (0x1UL << 13)
2311 #define _USB_DOEP0INT_NAKINTRPT_SHIFT 13
2312 #define _USB_DOEP0INT_NAKINTRPT_MASK 0x2000UL
2313 #define _USB_DOEP0INT_NAKINTRPT_DEFAULT 0x00000000UL
2314 #define USB_DOEP0INT_NAKINTRPT_DEFAULT (_USB_DOEP0INT_NAKINTRPT_DEFAULT << 13)
2317 #define _USB_DOEP0TSIZ_RESETVALUE 0x00000000UL
2318 #define _USB_DOEP0TSIZ_MASK 0x6008007FUL
2319 #define _USB_DOEP0TSIZ_XFERSIZE_SHIFT 0
2320 #define _USB_DOEP0TSIZ_XFERSIZE_MASK 0x7FUL
2321 #define _USB_DOEP0TSIZ_XFERSIZE_DEFAULT 0x00000000UL
2322 #define USB_DOEP0TSIZ_XFERSIZE_DEFAULT (_USB_DOEP0TSIZ_XFERSIZE_DEFAULT << 0)
2323 #define USB_DOEP0TSIZ_PKTCNT (0x1UL << 19)
2324 #define _USB_DOEP0TSIZ_PKTCNT_SHIFT 19
2325 #define _USB_DOEP0TSIZ_PKTCNT_MASK 0x80000UL
2326 #define _USB_DOEP0TSIZ_PKTCNT_DEFAULT 0x00000000UL
2327 #define USB_DOEP0TSIZ_PKTCNT_DEFAULT (_USB_DOEP0TSIZ_PKTCNT_DEFAULT << 19)
2328 #define _USB_DOEP0TSIZ_SUPCNT_SHIFT 29
2329 #define _USB_DOEP0TSIZ_SUPCNT_MASK 0x60000000UL
2330 #define _USB_DOEP0TSIZ_SUPCNT_DEFAULT 0x00000000UL
2331 #define USB_DOEP0TSIZ_SUPCNT_DEFAULT (_USB_DOEP0TSIZ_SUPCNT_DEFAULT << 29)
2334 #define _USB_DOEP0DMAADDR_RESETVALUE 0x00000000UL
2335 #define _USB_DOEP0DMAADDR_MASK 0xFFFFFFFFUL
2336 #define _USB_DOEP0DMAADDR_DOEP0DMAADDR_SHIFT 0
2337 #define _USB_DOEP0DMAADDR_DOEP0DMAADDR_MASK 0xFFFFFFFFUL
2338 #define _USB_DOEP0DMAADDR_DOEP0DMAADDR_DEFAULT 0x00000000UL
2339 #define USB_DOEP0DMAADDR_DOEP0DMAADDR_DEFAULT (_USB_DOEP0DMAADDR_DOEP0DMAADDR_DEFAULT << 0)
2342 #define _USB_DOEP_CTL_RESETVALUE 0x00000000UL
2343 #define _USB_DOEP_CTL_MASK 0xFC3F87FFUL
2344 #define _USB_DOEP_CTL_MPS_SHIFT 0
2345 #define _USB_DOEP_CTL_MPS_MASK 0x7FFUL
2346 #define _USB_DOEP_CTL_MPS_DEFAULT 0x00000000UL
2347 #define USB_DOEP_CTL_MPS_DEFAULT (_USB_DOEP_CTL_MPS_DEFAULT << 0)
2348 #define USB_DOEP_CTL_USBACTEP (0x1UL << 15)
2349 #define _USB_DOEP_CTL_USBACTEP_SHIFT 15
2350 #define _USB_DOEP_CTL_USBACTEP_MASK 0x8000UL
2351 #define _USB_DOEP_CTL_USBACTEP_DEFAULT 0x00000000UL
2352 #define USB_DOEP_CTL_USBACTEP_DEFAULT (_USB_DOEP_CTL_USBACTEP_DEFAULT << 15)
2353 #define USB_DOEP_CTL_DPIDEOF (0x1UL << 16)
2354 #define _USB_DOEP_CTL_DPIDEOF_SHIFT 16
2355 #define _USB_DOEP_CTL_DPIDEOF_MASK 0x10000UL
2356 #define _USB_DOEP_CTL_DPIDEOF_DEFAULT 0x00000000UL
2357 #define _USB_DOEP_CTL_DPIDEOF_DATA0EVEN 0x00000000UL
2358 #define _USB_DOEP_CTL_DPIDEOF_DATA1ODD 0x00000001UL
2359 #define USB_DOEP_CTL_DPIDEOF_DEFAULT (_USB_DOEP_CTL_DPIDEOF_DEFAULT << 16)
2360 #define USB_DOEP_CTL_DPIDEOF_DATA0EVEN (_USB_DOEP_CTL_DPIDEOF_DATA0EVEN << 16)
2361 #define USB_DOEP_CTL_DPIDEOF_DATA1ODD (_USB_DOEP_CTL_DPIDEOF_DATA1ODD << 16)
2362 #define USB_DOEP_CTL_NAKSTS (0x1UL << 17)
2363 #define _USB_DOEP_CTL_NAKSTS_SHIFT 17
2364 #define _USB_DOEP_CTL_NAKSTS_MASK 0x20000UL
2365 #define _USB_DOEP_CTL_NAKSTS_DEFAULT 0x00000000UL
2366 #define USB_DOEP_CTL_NAKSTS_DEFAULT (_USB_DOEP_CTL_NAKSTS_DEFAULT << 17)
2367 #define _USB_DOEP_CTL_EPTYPE_SHIFT 18
2368 #define _USB_DOEP_CTL_EPTYPE_MASK 0xC0000UL
2369 #define _USB_DOEP_CTL_EPTYPE_DEFAULT 0x00000000UL
2370 #define _USB_DOEP_CTL_EPTYPE_CONTROL 0x00000000UL
2371 #define _USB_DOEP_CTL_EPTYPE_ISO 0x00000001UL
2372 #define _USB_DOEP_CTL_EPTYPE_BULK 0x00000002UL
2373 #define _USB_DOEP_CTL_EPTYPE_INT 0x00000003UL
2374 #define USB_DOEP_CTL_EPTYPE_DEFAULT (_USB_DOEP_CTL_EPTYPE_DEFAULT << 18)
2375 #define USB_DOEP_CTL_EPTYPE_CONTROL (_USB_DOEP_CTL_EPTYPE_CONTROL << 18)
2376 #define USB_DOEP_CTL_EPTYPE_ISO (_USB_DOEP_CTL_EPTYPE_ISO << 18)
2377 #define USB_DOEP_CTL_EPTYPE_BULK (_USB_DOEP_CTL_EPTYPE_BULK << 18)
2378 #define USB_DOEP_CTL_EPTYPE_INT (_USB_DOEP_CTL_EPTYPE_INT << 18)
2379 #define USB_DOEP_CTL_SNP (0x1UL << 20)
2380 #define _USB_DOEP_CTL_SNP_SHIFT 20
2381 #define _USB_DOEP_CTL_SNP_MASK 0x100000UL
2382 #define _USB_DOEP_CTL_SNP_DEFAULT 0x00000000UL
2383 #define USB_DOEP_CTL_SNP_DEFAULT (_USB_DOEP_CTL_SNP_DEFAULT << 20)
2384 #define USB_DOEP_CTL_STALL (0x1UL << 21)
2385 #define _USB_DOEP_CTL_STALL_SHIFT 21
2386 #define _USB_DOEP_CTL_STALL_MASK 0x200000UL
2387 #define _USB_DOEP_CTL_STALL_DEFAULT 0x00000000UL
2388 #define USB_DOEP_CTL_STALL_DEFAULT (_USB_DOEP_CTL_STALL_DEFAULT << 21)
2389 #define USB_DOEP_CTL_CNAK (0x1UL << 26)
2390 #define _USB_DOEP_CTL_CNAK_SHIFT 26
2391 #define _USB_DOEP_CTL_CNAK_MASK 0x4000000UL
2392 #define _USB_DOEP_CTL_CNAK_DEFAULT 0x00000000UL
2393 #define USB_DOEP_CTL_CNAK_DEFAULT (_USB_DOEP_CTL_CNAK_DEFAULT << 26)
2394 #define USB_DOEP_CTL_SNAK (0x1UL << 27)
2395 #define _USB_DOEP_CTL_SNAK_SHIFT 27
2396 #define _USB_DOEP_CTL_SNAK_MASK 0x8000000UL
2397 #define _USB_DOEP_CTL_SNAK_DEFAULT 0x00000000UL
2398 #define USB_DOEP_CTL_SNAK_DEFAULT (_USB_DOEP_CTL_SNAK_DEFAULT << 27)
2399 #define USB_DOEP_CTL_SETD0PIDEF (0x1UL << 28)
2400 #define _USB_DOEP_CTL_SETD0PIDEF_SHIFT 28
2401 #define _USB_DOEP_CTL_SETD0PIDEF_MASK 0x10000000UL
2402 #define _USB_DOEP_CTL_SETD0PIDEF_DEFAULT 0x00000000UL
2403 #define USB_DOEP_CTL_SETD0PIDEF_DEFAULT (_USB_DOEP_CTL_SETD0PIDEF_DEFAULT << 28)
2404 #define USB_DOEP_CTL_SETD1PIDOF (0x1UL << 29)
2405 #define _USB_DOEP_CTL_SETD1PIDOF_SHIFT 29
2406 #define _USB_DOEP_CTL_SETD1PIDOF_MASK 0x20000000UL
2407 #define _USB_DOEP_CTL_SETD1PIDOF_DEFAULT 0x00000000UL
2408 #define USB_DOEP_CTL_SETD1PIDOF_DEFAULT (_USB_DOEP_CTL_SETD1PIDOF_DEFAULT << 29)
2409 #define USB_DOEP_CTL_EPDIS (0x1UL << 30)
2410 #define _USB_DOEP_CTL_EPDIS_SHIFT 30
2411 #define _USB_DOEP_CTL_EPDIS_MASK 0x40000000UL
2412 #define _USB_DOEP_CTL_EPDIS_DEFAULT 0x00000000UL
2413 #define USB_DOEP_CTL_EPDIS_DEFAULT (_USB_DOEP_CTL_EPDIS_DEFAULT << 30)
2414 #define USB_DOEP_CTL_EPENA (0x1UL << 31)
2415 #define _USB_DOEP_CTL_EPENA_SHIFT 31
2416 #define _USB_DOEP_CTL_EPENA_MASK 0x80000000UL
2417 #define _USB_DOEP_CTL_EPENA_DEFAULT 0x00000000UL
2418 #define USB_DOEP_CTL_EPENA_DEFAULT (_USB_DOEP_CTL_EPENA_DEFAULT << 31)
2421 #define _USB_DOEP_INT_RESETVALUE 0x00000000UL
2422 #define _USB_DOEP_INT_MASK 0x0000385FUL
2423 #define USB_DOEP_INT_XFERCOMPL (0x1UL << 0)
2424 #define _USB_DOEP_INT_XFERCOMPL_SHIFT 0
2425 #define _USB_DOEP_INT_XFERCOMPL_MASK 0x1UL
2426 #define _USB_DOEP_INT_XFERCOMPL_DEFAULT 0x00000000UL
2427 #define USB_DOEP_INT_XFERCOMPL_DEFAULT (_USB_DOEP_INT_XFERCOMPL_DEFAULT << 0)
2428 #define USB_DOEP_INT_EPDISBLD (0x1UL << 1)
2429 #define _USB_DOEP_INT_EPDISBLD_SHIFT 1
2430 #define _USB_DOEP_INT_EPDISBLD_MASK 0x2UL
2431 #define _USB_DOEP_INT_EPDISBLD_DEFAULT 0x00000000UL
2432 #define USB_DOEP_INT_EPDISBLD_DEFAULT (_USB_DOEP_INT_EPDISBLD_DEFAULT << 1)
2433 #define USB_DOEP_INT_AHBERR (0x1UL << 2)
2434 #define _USB_DOEP_INT_AHBERR_SHIFT 2
2435 #define _USB_DOEP_INT_AHBERR_MASK 0x4UL
2436 #define _USB_DOEP_INT_AHBERR_DEFAULT 0x00000000UL
2437 #define USB_DOEP_INT_AHBERR_DEFAULT (_USB_DOEP_INT_AHBERR_DEFAULT << 2)
2438 #define USB_DOEP_INT_SETUP (0x1UL << 3)
2439 #define _USB_DOEP_INT_SETUP_SHIFT 3
2440 #define _USB_DOEP_INT_SETUP_MASK 0x8UL
2441 #define _USB_DOEP_INT_SETUP_DEFAULT 0x00000000UL
2442 #define USB_DOEP_INT_SETUP_DEFAULT (_USB_DOEP_INT_SETUP_DEFAULT << 3)
2443 #define USB_DOEP_INT_OUTTKNEPDIS (0x1UL << 4)
2444 #define _USB_DOEP_INT_OUTTKNEPDIS_SHIFT 4
2445 #define _USB_DOEP_INT_OUTTKNEPDIS_MASK 0x10UL
2446 #define _USB_DOEP_INT_OUTTKNEPDIS_DEFAULT 0x00000000UL
2447 #define USB_DOEP_INT_OUTTKNEPDIS_DEFAULT (_USB_DOEP_INT_OUTTKNEPDIS_DEFAULT << 4)
2448 #define USB_DOEP_INT_BACK2BACKSETUP (0x1UL << 6)
2449 #define _USB_DOEP_INT_BACK2BACKSETUP_SHIFT 6
2450 #define _USB_DOEP_INT_BACK2BACKSETUP_MASK 0x40UL
2451 #define _USB_DOEP_INT_BACK2BACKSETUP_DEFAULT 0x00000000UL
2452 #define USB_DOEP_INT_BACK2BACKSETUP_DEFAULT (_USB_DOEP_INT_BACK2BACKSETUP_DEFAULT << 6)
2453 #define USB_DOEP_INT_PKTDRPSTS (0x1UL << 11)
2454 #define _USB_DOEP_INT_PKTDRPSTS_SHIFT 11
2455 #define _USB_DOEP_INT_PKTDRPSTS_MASK 0x800UL
2456 #define _USB_DOEP_INT_PKTDRPSTS_DEFAULT 0x00000000UL
2457 #define USB_DOEP_INT_PKTDRPSTS_DEFAULT (_USB_DOEP_INT_PKTDRPSTS_DEFAULT << 11)
2458 #define USB_DOEP_INT_BBLEERR (0x1UL << 12)
2459 #define _USB_DOEP_INT_BBLEERR_SHIFT 12
2460 #define _USB_DOEP_INT_BBLEERR_MASK 0x1000UL
2461 #define _USB_DOEP_INT_BBLEERR_DEFAULT 0x00000000UL
2462 #define USB_DOEP_INT_BBLEERR_DEFAULT (_USB_DOEP_INT_BBLEERR_DEFAULT << 12)
2463 #define USB_DOEP_INT_NAKINTRPT (0x1UL << 13)
2464 #define _USB_DOEP_INT_NAKINTRPT_SHIFT 13
2465 #define _USB_DOEP_INT_NAKINTRPT_MASK 0x2000UL
2466 #define _USB_DOEP_INT_NAKINTRPT_DEFAULT 0x00000000UL
2467 #define USB_DOEP_INT_NAKINTRPT_DEFAULT (_USB_DOEP_INT_NAKINTRPT_DEFAULT << 13)
2470 #define _USB_DOEP_TSIZ_RESETVALUE 0x00000000UL
2471 #define _USB_DOEP_TSIZ_MASK 0x7FFFFFFFUL
2472 #define _USB_DOEP_TSIZ_XFERSIZE_SHIFT 0
2473 #define _USB_DOEP_TSIZ_XFERSIZE_MASK 0x7FFFFUL
2474 #define _USB_DOEP_TSIZ_XFERSIZE_DEFAULT 0x00000000UL
2475 #define USB_DOEP_TSIZ_XFERSIZE_DEFAULT (_USB_DOEP_TSIZ_XFERSIZE_DEFAULT << 0)
2476 #define _USB_DOEP_TSIZ_PKTCNT_SHIFT 19
2477 #define _USB_DOEP_TSIZ_PKTCNT_MASK 0x1FF80000UL
2478 #define _USB_DOEP_TSIZ_PKTCNT_DEFAULT 0x00000000UL
2479 #define USB_DOEP_TSIZ_PKTCNT_DEFAULT (_USB_DOEP_TSIZ_PKTCNT_DEFAULT << 19)
2480 #define _USB_DOEP_TSIZ_RXDPIDSUPCNT_SHIFT 29
2481 #define _USB_DOEP_TSIZ_RXDPIDSUPCNT_MASK 0x60000000UL
2482 #define _USB_DOEP_TSIZ_RXDPIDSUPCNT_DEFAULT 0x00000000UL
2483 #define _USB_DOEP_TSIZ_RXDPIDSUPCNT_DATA0 0x00000000UL
2484 #define _USB_DOEP_TSIZ_RXDPIDSUPCNT_DATA2 0x00000001UL
2485 #define _USB_DOEP_TSIZ_RXDPIDSUPCNT_DATA1 0x00000002UL
2486 #define _USB_DOEP_TSIZ_RXDPIDSUPCNT_MDATA 0x00000003UL
2487 #define USB_DOEP_TSIZ_RXDPIDSUPCNT_DEFAULT (_USB_DOEP_TSIZ_RXDPIDSUPCNT_DEFAULT << 29)
2488 #define USB_DOEP_TSIZ_RXDPIDSUPCNT_DATA0 (_USB_DOEP_TSIZ_RXDPIDSUPCNT_DATA0 << 29)
2489 #define USB_DOEP_TSIZ_RXDPIDSUPCNT_DATA2 (_USB_DOEP_TSIZ_RXDPIDSUPCNT_DATA2 << 29)
2490 #define USB_DOEP_TSIZ_RXDPIDSUPCNT_DATA1 (_USB_DOEP_TSIZ_RXDPIDSUPCNT_DATA1 << 29)
2491 #define USB_DOEP_TSIZ_RXDPIDSUPCNT_MDATA (_USB_DOEP_TSIZ_RXDPIDSUPCNT_MDATA << 29)
2494 #define _USB_DOEP_DMAADDR_RESETVALUE 0x00000000UL
2495 #define _USB_DOEP_DMAADDR_MASK 0xFFFFFFFFUL
2496 #define _USB_DOEP_DMAADDR_DMAADDR_SHIFT 0
2497 #define _USB_DOEP_DMAADDR_DMAADDR_MASK 0xFFFFFFFFUL
2498 #define _USB_DOEP_DMAADDR_DMAADDR_DEFAULT 0x00000000UL
2499 #define USB_DOEP_DMAADDR_DMAADDR_DEFAULT (_USB_DOEP_DMAADDR_DMAADDR_DEFAULT << 0)
2502 #define _USB_PCGCCTL_RESETVALUE 0x00000000UL
2503 #define _USB_PCGCCTL_MASK 0x0000014FUL
2504 #define USB_PCGCCTL_STOPPCLK (0x1UL << 0)
2505 #define _USB_PCGCCTL_STOPPCLK_SHIFT 0
2506 #define _USB_PCGCCTL_STOPPCLK_MASK 0x1UL
2507 #define _USB_PCGCCTL_STOPPCLK_DEFAULT 0x00000000UL
2508 #define USB_PCGCCTL_STOPPCLK_DEFAULT (_USB_PCGCCTL_STOPPCLK_DEFAULT << 0)
2509 #define USB_PCGCCTL_GATEHCLK (0x1UL << 1)
2510 #define _USB_PCGCCTL_GATEHCLK_SHIFT 1
2511 #define _USB_PCGCCTL_GATEHCLK_MASK 0x2UL
2512 #define _USB_PCGCCTL_GATEHCLK_DEFAULT 0x00000000UL
2513 #define USB_PCGCCTL_GATEHCLK_DEFAULT (_USB_PCGCCTL_GATEHCLK_DEFAULT << 1)
2514 #define USB_PCGCCTL_PWRCLMP (0x1UL << 2)
2515 #define _USB_PCGCCTL_PWRCLMP_SHIFT 2
2516 #define _USB_PCGCCTL_PWRCLMP_MASK 0x4UL
2517 #define _USB_PCGCCTL_PWRCLMP_DEFAULT 0x00000000UL
2518 #define USB_PCGCCTL_PWRCLMP_DEFAULT (_USB_PCGCCTL_PWRCLMP_DEFAULT << 2)
2519 #define USB_PCGCCTL_RSTPDWNMODULE (0x1UL << 3)
2520 #define _USB_PCGCCTL_RSTPDWNMODULE_SHIFT 3
2521 #define _USB_PCGCCTL_RSTPDWNMODULE_MASK 0x8UL
2522 #define _USB_PCGCCTL_RSTPDWNMODULE_DEFAULT 0x00000000UL
2523 #define USB_PCGCCTL_RSTPDWNMODULE_DEFAULT (_USB_PCGCCTL_RSTPDWNMODULE_DEFAULT << 3)
2524 #define USB_PCGCCTL_PHYSLEEP (0x1UL << 6)
2525 #define _USB_PCGCCTL_PHYSLEEP_SHIFT 6
2526 #define _USB_PCGCCTL_PHYSLEEP_MASK 0x40UL
2527 #define _USB_PCGCCTL_PHYSLEEP_DEFAULT 0x00000000UL
2528 #define USB_PCGCCTL_PHYSLEEP_DEFAULT (_USB_PCGCCTL_PHYSLEEP_DEFAULT << 6)
2529 #define USB_PCGCCTL_RESETAFTERSUSP (0x1UL << 8)
2530 #define _USB_PCGCCTL_RESETAFTERSUSP_SHIFT 8
2531 #define _USB_PCGCCTL_RESETAFTERSUSP_MASK 0x100UL
2532 #define _USB_PCGCCTL_RESETAFTERSUSP_DEFAULT 0x00000000UL
2533 #define USB_PCGCCTL_RESETAFTERSUSP_DEFAULT (_USB_PCGCCTL_RESETAFTERSUSP_DEFAULT << 8)
2536 #define _USB_FIFO0D_RESETVALUE 0x00000000UL
2537 #define _USB_FIFO0D_MASK 0xFFFFFFFFUL
2538 #define _USB_FIFO0D_FIFO0D_SHIFT 0
2539 #define _USB_FIFO0D_FIFO0D_MASK 0xFFFFFFFFUL
2540 #define _USB_FIFO0D_FIFO0D_DEFAULT 0x00000000UL
2541 #define USB_FIFO0D_FIFO0D_DEFAULT (_USB_FIFO0D_FIFO0D_DEFAULT << 0)
2544 #define _USB_FIFO1D_RESETVALUE 0x00000000UL
2545 #define _USB_FIFO1D_MASK 0xFFFFFFFFUL
2546 #define _USB_FIFO1D_FIFO1D_SHIFT 0
2547 #define _USB_FIFO1D_FIFO1D_MASK 0xFFFFFFFFUL
2548 #define _USB_FIFO1D_FIFO1D_DEFAULT 0x00000000UL
2549 #define USB_FIFO1D_FIFO1D_DEFAULT (_USB_FIFO1D_FIFO1D_DEFAULT << 0)
2552 #define _USB_FIFO2D_RESETVALUE 0x00000000UL
2553 #define _USB_FIFO2D_MASK 0xFFFFFFFFUL
2554 #define _USB_FIFO2D_FIFO2D_SHIFT 0
2555 #define _USB_FIFO2D_FIFO2D_MASK 0xFFFFFFFFUL
2556 #define _USB_FIFO2D_FIFO2D_DEFAULT 0x00000000UL
2557 #define USB_FIFO2D_FIFO2D_DEFAULT (_USB_FIFO2D_FIFO2D_DEFAULT << 0)
2560 #define _USB_FIFO3D_RESETVALUE 0x00000000UL
2561 #define _USB_FIFO3D_MASK 0xFFFFFFFFUL
2562 #define _USB_FIFO3D_FIFO3D_SHIFT 0
2563 #define _USB_FIFO3D_FIFO3D_MASK 0xFFFFFFFFUL
2564 #define _USB_FIFO3D_FIFO3D_DEFAULT 0x00000000UL
2565 #define USB_FIFO3D_FIFO3D_DEFAULT (_USB_FIFO3D_FIFO3D_DEFAULT << 0)
2568 #define _USB_FIFO4D_RESETVALUE 0x00000000UL
2569 #define _USB_FIFO4D_MASK 0xFFFFFFFFUL
2570 #define _USB_FIFO4D_FIFO4D_SHIFT 0
2571 #define _USB_FIFO4D_FIFO4D_MASK 0xFFFFFFFFUL
2572 #define _USB_FIFO4D_FIFO4D_DEFAULT 0x00000000UL
2573 #define USB_FIFO4D_FIFO4D_DEFAULT (_USB_FIFO4D_FIFO4D_DEFAULT << 0)
2576 #define _USB_FIFO5D_RESETVALUE 0x00000000UL
2577 #define _USB_FIFO5D_MASK 0xFFFFFFFFUL
2578 #define _USB_FIFO5D_FIFO5D_SHIFT 0
2579 #define _USB_FIFO5D_FIFO5D_MASK 0xFFFFFFFFUL
2580 #define _USB_FIFO5D_FIFO5D_DEFAULT 0x00000000UL
2581 #define USB_FIFO5D_FIFO5D_DEFAULT (_USB_FIFO5D_FIFO5D_DEFAULT << 0)
2584 #define _USB_FIFO6D_RESETVALUE 0x00000000UL
2585 #define _USB_FIFO6D_MASK 0xFFFFFFFFUL
2586 #define _USB_FIFO6D_FIFO6D_SHIFT 0
2587 #define _USB_FIFO6D_FIFO6D_MASK 0xFFFFFFFFUL
2588 #define _USB_FIFO6D_FIFO6D_DEFAULT 0x00000000UL
2589 #define USB_FIFO6D_FIFO6D_DEFAULT (_USB_FIFO6D_FIFO6D_DEFAULT << 0)
2592 #define _USB_FIFO7D_RESETVALUE 0x00000000UL
2593 #define _USB_FIFO7D_MASK 0xFFFFFFFFUL
2594 #define _USB_FIFO7D_FIFO7D_SHIFT 0
2595 #define _USB_FIFO7D_FIFO7D_MASK 0xFFFFFFFFUL
2596 #define _USB_FIFO7D_FIFO7D_DEFAULT 0x00000000UL
2597 #define USB_FIFO7D_FIFO7D_DEFAULT (_USB_FIFO7D_FIFO7D_DEFAULT << 0)
2600 #define _USB_FIFO8D_RESETVALUE 0x00000000UL
2601 #define _USB_FIFO8D_MASK 0xFFFFFFFFUL
2602 #define _USB_FIFO8D_FIFO8D_SHIFT 0
2603 #define _USB_FIFO8D_FIFO8D_MASK 0xFFFFFFFFUL
2604 #define _USB_FIFO8D_FIFO8D_DEFAULT 0x00000000UL
2605 #define USB_FIFO8D_FIFO8D_DEFAULT (_USB_FIFO8D_FIFO8D_DEFAULT << 0)
2608 #define _USB_FIFO9D_RESETVALUE 0x00000000UL
2609 #define _USB_FIFO9D_MASK 0xFFFFFFFFUL
2610 #define _USB_FIFO9D_FIFO9D_SHIFT 0
2611 #define _USB_FIFO9D_FIFO9D_MASK 0xFFFFFFFFUL
2612 #define _USB_FIFO9D_FIFO9D_DEFAULT 0x00000000UL
2613 #define USB_FIFO9D_FIFO9D_DEFAULT (_USB_FIFO9D_FIFO9D_DEFAULT << 0)
2616 #define _USB_FIFO10D_RESETVALUE 0x00000000UL
2617 #define _USB_FIFO10D_MASK 0xFFFFFFFFUL
2618 #define _USB_FIFO10D_FIFO10D_SHIFT 0
2619 #define _USB_FIFO10D_FIFO10D_MASK 0xFFFFFFFFUL
2620 #define _USB_FIFO10D_FIFO10D_DEFAULT 0x00000000UL
2621 #define USB_FIFO10D_FIFO10D_DEFAULT (_USB_FIFO10D_FIFO10D_DEFAULT << 0)
2624 #define _USB_FIFO11D_RESETVALUE 0x00000000UL
2625 #define _USB_FIFO11D_MASK 0xFFFFFFFFUL
2626 #define _USB_FIFO11D_FIFO11D_SHIFT 0
2627 #define _USB_FIFO11D_FIFO11D_MASK 0xFFFFFFFFUL
2628 #define _USB_FIFO11D_FIFO11D_DEFAULT 0x00000000UL
2629 #define USB_FIFO11D_FIFO11D_DEFAULT (_USB_FIFO11D_FIFO11D_DEFAULT << 0)
2632 #define _USB_FIFO12D_RESETVALUE 0x00000000UL
2633 #define _USB_FIFO12D_MASK 0xFFFFFFFFUL
2634 #define _USB_FIFO12D_FIFO12D_SHIFT 0
2635 #define _USB_FIFO12D_FIFO12D_MASK 0xFFFFFFFFUL
2636 #define _USB_FIFO12D_FIFO12D_DEFAULT 0x00000000UL
2637 #define USB_FIFO12D_FIFO12D_DEFAULT (_USB_FIFO12D_FIFO12D_DEFAULT << 0)
2640 #define _USB_FIFO13D_RESETVALUE 0x00000000UL
2641 #define _USB_FIFO13D_MASK 0xFFFFFFFFUL
2642 #define _USB_FIFO13D_FIFO13D_SHIFT 0
2643 #define _USB_FIFO13D_FIFO13D_MASK 0xFFFFFFFFUL
2644 #define _USB_FIFO13D_FIFO13D_DEFAULT 0x00000000UL
2645 #define USB_FIFO13D_FIFO13D_DEFAULT (_USB_FIFO13D_FIFO13D_DEFAULT << 0)
2648 #define _USB_FIFORAM_RESETVALUE 0x00000000UL
2649 #define _USB_FIFORAM_MASK 0xFFFFFFFFUL
2650 #define _USB_FIFORAM_FIFORAM_SHIFT 0
2651 #define _USB_FIFORAM_FIFORAM_MASK 0xFFFFFFFFUL
2652 #define _USB_FIFORAM_FIFORAM_DEFAULT 0x00000000UL
2653 #define USB_FIFORAM_FIFORAM_DEFAULT (_USB_FIFORAM_FIFORAM_DEFAULT << 0)
__IOM uint32_t DIEP0DMAADDR
__IOM uint32_t DVBUSPULSE
USB_DIEP EFM32WG USB DIEP.
__IOM uint32_t DIEPEMPMSK
__IM uint32_t DIEP0TXFSTS
__IOM uint32_t DOEP0DMAADDR
USB_DOEP EFM32WG USB DOEP.