Add second SPI master for 5.2 board
[SCSI2SD.git] / software / SCSI2SD / v5.2 / SCSI2SD.cydsn / SCSI2SD.svd
1 <?xml version="1.0" encoding="utf-8"?>
2 <device schemaVersion="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD_Schema_1_0.xsd">
3   <name>CY8C5267AXI_LP051</name>
4   <version>0.1</version>
5   <description>CY8C52LP</description>
6   <addressUnitBits>8</addressUnitBits>
7   <width>32</width>
8   <peripherals>
9     <peripheral>
10       <name>SCSI_Glitch_Ctl</name>
11       <description>No description available</description>
12       <baseAddress>0x0</baseAddress>
13       <addressBlock>
14         <offset>0</offset>
15         <size>0x0</size>
16         <usage>registers</usage>
17       </addressBlock>
18       <registers>
19         <register>
20           <name>SCSI_Glitch_Ctl_CONTROL_REG</name>
21           <description>No description available</description>
22           <addressOffset>0x4000647D</addressOffset>
23           <size>8</size>
24           <access>read-write</access>
25           <resetValue>0</resetValue>
26           <resetMask>0</resetMask>
27         </register>
28       </registers>
29     </peripheral>
30     <peripheral>
31       <name>SCSI_Parity_Error</name>
32       <description>No description available</description>
33       <baseAddress>0x0</baseAddress>
34       <addressBlock>
35         <offset>0</offset>
36         <size>0x0</size>
37         <usage>registers</usage>
38       </addressBlock>
39       <registers>
40         <register>
41           <name>SCSI_Parity_Error_STATUS_REG</name>
42           <description>No description available</description>
43           <addressOffset>0x4000646B</addressOffset>
44           <size>8</size>
45           <access>read-write</access>
46           <resetValue>0</resetValue>
47           <resetMask>0</resetMask>
48         </register>
49         <register>
50           <name>SCSI_Parity_Error_MASK_REG</name>
51           <description>No description available</description>
52           <addressOffset>0x4000648B</addressOffset>
53           <size>8</size>
54           <access>read-write</access>
55           <resetValue>0</resetValue>
56           <resetMask>0</resetMask>
57         </register>
58         <register>
59           <name>SCSI_Parity_Error_STATUS_AUX_CTL_REG</name>
60           <description>No description available</description>
61           <addressOffset>0x4000649B</addressOffset>
62           <size>8</size>
63           <access>read-write</access>
64           <resetValue>0</resetValue>
65           <resetMask>0</resetMask>
66           <fields>
67             <field>
68               <name>FIFO0</name>
69               <description>FIFO0 clear</description>
70               <lsb>5</lsb>
71               <msb>5</msb>
72               <access>read-write</access>
73               <enumeratedValues>
74                 <enumeratedValue>
75                   <name>ENABLED</name>
76                   <description>Enable counter</description>
77                   <value>1</value>
78                 </enumeratedValue>
79                 <enumeratedValue>
80                   <name>DISABLED</name>
81                   <description>Disable counter</description>
82                   <value>0</value>
83                 </enumeratedValue>
84               </enumeratedValues>
85             </field>
86             <field>
87               <name>INTRENBL</name>
88               <description>Enables or disables the Interrupt</description>
89               <lsb>4</lsb>
90               <msb>4</msb>
91               <access>read-write</access>
92               <enumeratedValues>
93                 <enumeratedValue>
94                   <name>ENABLED</name>
95                   <description>Interrupt enabled</description>
96                   <value>1</value>
97                 </enumeratedValue>
98                 <enumeratedValue>
99                   <name>DISABLED</name>
100                   <description>Interrupt disabled</description>
101                   <value>0</value>
102                 </enumeratedValue>
103               </enumeratedValues>
104             </field>
105             <field>
106               <name>FIFO1LEVEL</name>
107               <description>FIFO level</description>
108               <lsb>3</lsb>
109               <msb>3</msb>
110               <access>read-write</access>
111               <enumeratedValues>
112                 <enumeratedValue>
113                   <name>ENABLED</name>
114                   <description>FIFO LVL: input mode: FIFO at least 1/2 empty; output mode: FIFO at least 1/2 full</description>
115                   <value>1</value>
116                 </enumeratedValue>
117                 <enumeratedValue>
118                   <name>DISABLED</name>
119                   <description>FIFO LVL: input mode: FIFO not full; output mode: FIFO not empty</description>
120                   <value>0</value>
121                 </enumeratedValue>
122               </enumeratedValues>
123             </field>
124             <field>
125               <name>FIFO0LEVEL</name>
126               <description>FIFO level</description>
127               <lsb>2</lsb>
128               <msb>2</msb>
129               <access>read-write</access>
130               <enumeratedValues>
131                 <enumeratedValue>
132                   <name>ENABLED</name>
133                   <description>FIFO LVL: input mode: FIFO at least 1/2 empty; output mode: FIFO at least 1/2 full</description>
134                   <value>1</value>
135                 </enumeratedValue>
136                 <enumeratedValue>
137                   <name>DISABLED</name>
138                   <description>FIFO LVL: input mode: FIFO not full; output mode: FIFO not empty</description>
139                   <value>0</value>
140                 </enumeratedValue>
141               </enumeratedValues>
142             </field>
143             <field>
144               <name>FIFO1CLEAR</name>
145               <description>FIFO clear</description>
146               <lsb>1</lsb>
147               <msb>1</msb>
148               <access>read-write</access>
149               <enumeratedValues>
150                 <enumeratedValue>
151                   <name>ENABLED</name>
152                   <description>Clear FIFO state</description>
153                   <value>1</value>
154                 </enumeratedValue>
155                 <enumeratedValue>
156                   <name>DISABLED</name>
157                   <description>Normal FIFO operation</description>
158                   <value>0</value>
159                 </enumeratedValue>
160               </enumeratedValues>
161             </field>
162             <field>
163               <name>FIFO0CLEAR</name>
164               <description>FIFO clear</description>
165               <lsb>0</lsb>
166               <msb>0</msb>
167               <access>read-write</access>
168               <enumeratedValues>
169                 <enumeratedValue>
170                   <name>ENABLED</name>
171                   <description>Clear FIFO state</description>
172                   <value>1</value>
173                 </enumeratedValue>
174                 <enumeratedValue>
175                   <name>DISABLED</name>
176                   <description>Normal FIFO operation</description>
177                   <value>0</value>
178                 </enumeratedValue>
179               </enumeratedValues>
180             </field>
181           </fields>
182         </register>
183       </registers>
184     </peripheral>
185     <peripheral>
186       <name>SCSI_Filtered</name>
187       <description>No description available</description>
188       <baseAddress>0x0</baseAddress>
189       <addressBlock>
190         <offset>0</offset>
191         <size>0x0</size>
192         <usage>registers</usage>
193       </addressBlock>
194       <registers>
195         <register>
196           <name>SCSI_Filtered_STATUS_REG</name>
197           <description>No description available</description>
198           <addressOffset>0x4000646F</addressOffset>
199           <size>8</size>
200           <access>read-write</access>
201           <resetValue>0</resetValue>
202           <resetMask>0</resetMask>
203         </register>
204         <register>
205           <name>SCSI_Filtered_MASK_REG</name>
206           <description>No description available</description>
207           <addressOffset>0x4000648F</addressOffset>
208           <size>8</size>
209           <access>read-write</access>
210           <resetValue>0</resetValue>
211           <resetMask>0</resetMask>
212         </register>
213         <register>
214           <name>SCSI_Filtered_STATUS_AUX_CTL_REG</name>
215           <description>No description available</description>
216           <addressOffset>0x4000649F</addressOffset>
217           <size>8</size>
218           <access>read-write</access>
219           <resetValue>0</resetValue>
220           <resetMask>0</resetMask>
221           <fields>
222             <field>
223               <name>FIFO0</name>
224               <description>FIFO0 clear</description>
225               <lsb>5</lsb>
226               <msb>5</msb>
227               <access>read-write</access>
228               <enumeratedValues>
229                 <enumeratedValue>
230                   <name>ENABLED</name>
231                   <description>Enable counter</description>
232                   <value>1</value>
233                 </enumeratedValue>
234                 <enumeratedValue>
235                   <name>DISABLED</name>
236                   <description>Disable counter</description>
237                   <value>0</value>
238                 </enumeratedValue>
239               </enumeratedValues>
240             </field>
241             <field>
242               <name>INTRENBL</name>
243               <description>Enables or disables the Interrupt</description>
244               <lsb>4</lsb>
245               <msb>4</msb>
246               <access>read-write</access>
247               <enumeratedValues>
248                 <enumeratedValue>
249                   <name>ENABLED</name>
250                   <description>Interrupt enabled</description>
251                   <value>1</value>
252                 </enumeratedValue>
253                 <enumeratedValue>
254                   <name>DISABLED</name>
255                   <description>Interrupt disabled</description>
256                   <value>0</value>
257                 </enumeratedValue>
258               </enumeratedValues>
259             </field>
260             <field>
261               <name>FIFO1LEVEL</name>
262               <description>FIFO level</description>
263               <lsb>3</lsb>
264               <msb>3</msb>
265               <access>read-write</access>
266               <enumeratedValues>
267                 <enumeratedValue>
268                   <name>ENABLED</name>
269                   <description>FIFO LVL: input mode: FIFO at least 1/2 empty; output mode: FIFO at least 1/2 full</description>
270                   <value>1</value>
271                 </enumeratedValue>
272                 <enumeratedValue>
273                   <name>DISABLED</name>
274                   <description>FIFO LVL: input mode: FIFO not full; output mode: FIFO not empty</description>
275                   <value>0</value>
276                 </enumeratedValue>
277               </enumeratedValues>
278             </field>
279             <field>
280               <name>FIFO0LEVEL</name>
281               <description>FIFO level</description>
282               <lsb>2</lsb>
283               <msb>2</msb>
284               <access>read-write</access>
285               <enumeratedValues>
286                 <enumeratedValue>
287                   <name>ENABLED</name>
288                   <description>FIFO LVL: input mode: FIFO at least 1/2 empty; output mode: FIFO at least 1/2 full</description>
289                   <value>1</value>
290                 </enumeratedValue>
291                 <enumeratedValue>
292                   <name>DISABLED</name>
293                   <description>FIFO LVL: input mode: FIFO not full; output mode: FIFO not empty</description>
294                   <value>0</value>
295                 </enumeratedValue>
296               </enumeratedValues>
297             </field>
298             <field>
299               <name>FIFO1CLEAR</name>
300               <description>FIFO clear</description>
301               <lsb>1</lsb>
302               <msb>1</msb>
303               <access>read-write</access>
304               <enumeratedValues>
305                 <enumeratedValue>
306                   <name>ENABLED</name>
307                   <description>Clear FIFO state</description>
308                   <value>1</value>
309                 </enumeratedValue>
310                 <enumeratedValue>
311                   <name>DISABLED</name>
312                   <description>Normal FIFO operation</description>
313                   <value>0</value>
314                 </enumeratedValue>
315               </enumeratedValues>
316             </field>
317             <field>
318               <name>FIFO0CLEAR</name>
319               <description>FIFO clear</description>
320               <lsb>0</lsb>
321               <msb>0</msb>
322               <access>read-write</access>
323               <enumeratedValues>
324                 <enumeratedValue>
325                   <name>ENABLED</name>
326                   <description>Clear FIFO state</description>
327                   <value>1</value>
328                 </enumeratedValue>
329                 <enumeratedValue>
330                   <name>DISABLED</name>
331                   <description>Normal FIFO operation</description>
332                   <value>0</value>
333                 </enumeratedValue>
334               </enumeratedValues>
335             </field>
336           </fields>
337         </register>
338       </registers>
339     </peripheral>
340     <peripheral>
341       <name>NOR_CTL</name>
342       <description>No description available</description>
343       <baseAddress>0x0</baseAddress>
344       <addressBlock>
345         <offset>0</offset>
346         <size>0x0</size>
347         <usage>registers</usage>
348       </addressBlock>
349       <registers>
350         <register>
351           <name>NOR_CTL_CONTROL_REG</name>
352           <description>No description available</description>
353           <addressOffset>0x40006576</addressOffset>
354           <size>8</size>
355           <access>read-write</access>
356           <resetValue>0</resetValue>
357           <resetMask>0</resetMask>
358         </register>
359       </registers>
360     </peripheral>
361     <peripheral>
362       <name>SCSI_CTL_PHASE</name>
363       <description>No description available</description>
364       <baseAddress>0x0</baseAddress>
365       <addressBlock>
366         <offset>0</offset>
367         <size>0x0</size>
368         <usage>registers</usage>
369       </addressBlock>
370       <registers>
371         <register>
372           <name>SCSI_CTL_PHASE_CONTROL_REG</name>
373           <description>No description available</description>
374           <addressOffset>0x4000647C</addressOffset>
375           <size>8</size>
376           <access>read-write</access>
377           <resetValue>0</resetValue>
378           <resetMask>0</resetMask>
379         </register>
380       </registers>
381     </peripheral>
382     <peripheral>
383       <name>USBFS</name>
384       <description>USBFS</description>
385       <baseAddress>0x0</baseAddress>
386       <addressBlock>
387         <offset>0</offset>
388         <size>0x0</size>
389         <usage>registers</usage>
390       </addressBlock>
391       <registers>
392         <register>
393           <name>CR0</name>
394           <description>USB Control 0 Register</description>
395           <addressOffset>0x40006008</addressOffset>
396           <size>8</size>
397           <access>read-write</access>
398           <resetValue>0</resetValue>
399           <resetMask>0</resetMask>
400           <fields>
401             <field>
402               <name>DEVICE_ADDRESS</name>
403               <description>These bits specify the USB device address to which the SIE will respond. This address must be set by firmware and is specified by the USB Host with a SET ADDRESS command during USB enumeration. This value must be programmed by firmware when assigned during enumeration. It is not set automatically by the hardware.</description>
404               <lsb>0</lsb>
405               <msb>6</msb>
406               <access>read-only</access>
407             </field>
408             <field>
409               <name>USB_ENABLE</name>
410               <description>This bit enables the device to respond to USB traffic.</description>
411               <lsb>7</lsb>
412               <msb>7</msb>
413               <access>read-write</access>
414               <enumeratedValues>
415                 <enumeratedValue>
416                   <name>Disabled</name>
417                   <description>Block responds to USB traffic.</description>
418                   <value>0</value>
419                 </enumeratedValue>
420                 <enumeratedValue>
421                   <name>Enabled</name>
422                   <description>Block does not respond to USB traffic.</description>
423                   <value>1</value>
424                 </enumeratedValue>
425               </enumeratedValues>
426             </field>
427           </fields>
428         </register>
429         <register>
430           <name>CR1</name>
431           <description>USB Control 1 Register</description>
432           <addressOffset>0x40006009</addressOffset>
433           <size>8</size>
434           <access>read-write</access>
435           <resetValue>0</resetValue>
436           <resetMask>0</resetMask>
437           <fields>
438             <field>
439               <name>REG_ENABLE</name>
440               <description>This bit controls the operation of the internal USB regulator. For applications with supply voltages in the 5V range this bit is set high to enable the internal regulator. For device supply voltage in the 3.3V range this bit is cleared to connect the transceiver directly to the supply.</description>
441               <lsb>0</lsb>
442               <msb>0</msb>
443               <access>read-only</access>
444               <enumeratedValues>
445                 <enumeratedValue>
446                   <name>Disabled</name>
447                   <description>Regulator for 5V is disabled.</description>
448                   <value>0</value>
449                 </enumeratedValue>
450                 <enumeratedValue>
451                   <name>Enabled</name>
452                   <description>Regulator for 5V is enabled.</description>
453                   <value>1</value>
454                 </enumeratedValue>
455               </enumeratedValues>
456             </field>
457             <field>
458               <name>ENABLE_LOCK</name>
459               <description>This bit is set to turn on the automatic frequency locking of the internal oscillator to USB traffic.  Unless an external clock is being provided this bit should remain set for proper USB operation.</description>
460               <lsb>1</lsb>
461               <msb>1</msb>
462               <access>read-write</access>
463             </field>
464             <field>
465               <name>BUS_ACTIVITY</name>
466               <description>The Bus Activity bit is a stickybit that detects any non-idle USB event that has occurred on the USB bus. Once set to High by the SIE to indicate the bus activity this bit retains its logical High value until firmware clears it.</description>
467               <lsb>2</lsb>
468               <msb>2</msb>
469               <access>read-write</access>
470             </field>
471             <field>
472               <name>TRIM_OFFSET_MSB</name>
473               <description>This bit enables trim bit[7].</description>
474               <lsb>3</lsb>
475               <msb>3</msb>
476               <access>read-write</access>
477             </field>
478           </fields>
479         </register>
480         <register>
481           <name>SIE_EP_INT_EN</name>
482           <description>USB SIE Data Endpoints Interrupt Enable Register</description>
483           <addressOffset>0x4000600A</addressOffset>
484           <size>8</size>
485           <access>read-write</access>
486           <resetValue>0</resetValue>
487           <resetMask>0</resetMask>
488           <fields>
489             <field>
490               <name>EP1_INTR_EN</name>
491               <description>Enables interrupt for EP1.</description>
492               <lsb>0</lsb>
493               <msb>0</msb>
494               <access>read-write</access>
495             </field>
496             <field>
497               <name>EP2_INTR_EN</name>
498               <description>Enables interrupt for EP2.</description>
499               <lsb>1</lsb>
500               <msb>1</msb>
501               <access>read-write</access>
502             </field>
503             <field>
504               <name>EP3_INTR_EN</name>
505               <description>Enables interrupt for EP3.</description>
506               <lsb>2</lsb>
507               <msb>2</msb>
508               <access>read-write</access>
509             </field>
510             <field>
511               <name>EP4_INTR_EN</name>
512               <description>Enables interrupt for EP4.</description>
513               <lsb>3</lsb>
514               <msb>3</msb>
515               <access>read-write</access>
516             </field>
517             <field>
518               <name>EP5_INTR_EN</name>
519               <description>Enables interrupt for EP5.</description>
520               <lsb>4</lsb>
521               <msb>4</msb>
522               <access>read-write</access>
523             </field>
524             <field>
525               <name>EP6_INTR_EN</name>
526               <description>Enables interrupt for EP6.</description>
527               <lsb>5</lsb>
528               <msb>5</msb>
529               <access>read-write</access>
530             </field>
531             <field>
532               <name>EP7_INTR_EN</name>
533               <description>Enables interrupt for EP7.</description>
534               <lsb>6</lsb>
535               <msb>6</msb>
536               <access>read-write</access>
537             </field>
538             <field>
539               <name>EP8_INTR_EN</name>
540               <description>Enables interrupt for EP8.</description>
541               <lsb>7</lsb>
542               <msb>7</msb>
543               <access>read-write</access>
544             </field>
545           </fields>
546         </register>
547         <register>
548           <name>SIE_EP_INT_SR</name>
549           <description>SIE Data Endpoint Interrupt Status Register</description>
550           <addressOffset>0x4000600B</addressOffset>
551           <size>8</size>
552           <access>read-write</access>
553           <resetValue>0</resetValue>
554           <resetMask>0</resetMask>
555           <fields>
556             <field>
557               <name>EP1_INTR</name>
558               <description>Interrupt status for EP1.</description>
559               <lsb>0</lsb>
560               <msb>0</msb>
561               <access>read-write</access>
562             </field>
563             <field>
564               <name>EP2_INTR</name>
565               <description>Interrupt status for EP2.</description>
566               <lsb>1</lsb>
567               <msb>1</msb>
568               <access>read-write</access>
569             </field>
570             <field>
571               <name>EP3_INTR</name>
572               <description>Interrupt status for EP3.</description>
573               <lsb>2</lsb>
574               <msb>2</msb>
575               <access>read-write</access>
576             </field>
577             <field>
578               <name>EP4_INTR</name>
579               <description>Interrupt status for EP4.</description>
580               <lsb>3</lsb>
581               <msb>3</msb>
582               <access>read-write</access>
583             </field>
584             <field>
585               <name>EP5_INTR</name>
586               <description>Interrupt status for EP5.</description>
587               <lsb>4</lsb>
588               <msb>4</msb>
589               <access>read-write</access>
590             </field>
591             <field>
592               <name>EP6_INTR</name>
593               <description>Interrupt status for EP6.</description>
594               <lsb>5</lsb>
595               <msb>5</msb>
596               <access>read-write</access>
597             </field>
598             <field>
599               <name>EP7_INTR</name>
600               <description>Interrupt status for EP7.</description>
601               <lsb>6</lsb>
602               <msb>6</msb>
603               <access>read-write</access>
604             </field>
605             <field>
606               <name>EP8_INTR</name>
607               <description>Interrupt status for EP8.</description>
608               <lsb>7</lsb>
609               <msb>7</msb>
610               <access>read-write</access>
611             </field>
612           </fields>
613         </register>
614         <register>
615           <name>SIE_EP1_CNT0</name>
616           <description>SIE Endpoint 1 Count0 Register</description>
617           <addressOffset>0x4000600C</addressOffset>
618           <size>8</size>
619           <access>read-write</access>
620           <resetValue>0</resetValue>
621           <resetMask>0</resetMask>
622           <fields>
623             <field>
624               <name>DATA_COUNT_MSB</name>
625               <description>These bits are the 3 MSb bits of an 11-bit counter. The LSb are the Data Count[7:0] bits of the CNT1 register. Refer to the CNT1 register for more information.</description>
626               <lsb>0</lsb>
627               <msb>2</msb>
628               <access>read-write</access>
629             </field>
630             <field>
631               <name>DATA_VALID</name>
632               <description>DATA_ERROR - 0, DATA_VALID - 1.</description>
633               <lsb>4</lsb>
634               <msb>4</msb>
635               <access>read-write</access>
636             </field>
637             <field>
638               <name>DATA_TOGGLE</name>
639               <description>This bit selects the DATA packet's toggle state. For IN transactions firmware must set this bit to the expected state. For OUT transactions the hardware sets this bit to the state of the received Data Toggle bit.</description>
640               <lsb>7</lsb>
641               <msb>7</msb>
642               <access>read-write</access>
643             </field>
644           </fields>
645         </register>
646         <register>
647           <name>SIE_EP1_CNT1</name>
648           <description>SIE Endpoint 1 Count1 Register</description>
649           <addressOffset>0x4000600D</addressOffset>
650           <size>8</size>
651           <access>read-write</access>
652           <resetValue>0</resetValue>
653           <resetMask>0</resetMask>
654           <fields>
655             <field>
656               <name>DATA_COUNT</name>
657               <description>These bits are the 8 LSb of a 11-bit counter.  The 3 MSb bits are in the CNT0 register. The 11-bit count indicates the number of data bytes in a transaction.</description>
658               <lsb>0</lsb>
659               <msb>7</msb>
660               <access>read-write</access>
661             </field>
662           </fields>
663         </register>
664         <register>
665           <name>SIE_EP1_CR0</name>
666           <description>SIE Endpoint 1 Control Register</description>
667           <addressOffset>0x4000600E</addressOffset>
668           <size>8</size>
669           <access>read-write</access>
670           <resetValue>0</resetValue>
671           <resetMask>0</resetMask>
672           <fields>
673             <field>
674               <name>MODE</name>
675               <description>The mode controls how the USB SIE responds to traffic and how the USB SIE changes the mode of that endpoint as a result of host packets to the endpoint.</description>
676               <lsb>0</lsb>
677               <msb>3</msb>
678               <access>read-write</access>
679               <enumeratedValues>
680                 <enumeratedValue>
681                   <name>DISABLE</name>
682                   <description>Ignore all USB traffic to this endpoint.</description>
683                   <value>0</value>
684                 </enumeratedValue>
685                 <enumeratedValue>
686                   <name>NAK_INOUT</name>
687                   <description>SETUP: Accept, IN: NAK, OUT: NAK.</description>
688                   <value>1</value>
689                 </enumeratedValue>
690                 <enumeratedValue>
691                   <name>STATUS_OUT_ONLY</name>
692                   <description>SETUP: Accept, IN: STALL, OUT: ACK 0B tokens, NAK others.</description>
693                   <value>2</value>
694                 </enumeratedValue>
695                 <enumeratedValue>
696                   <name>STALL_INOUT</name>
697                   <description>SETUP: Accept, IN: STALL, OUT: STALL.</description>
698                   <value>3</value>
699                 </enumeratedValue>
700                 <enumeratedValue>
701                   <name>ISO_OUT</name>
702                   <description>SETUP: Ignore, IN: Ignore, OUT: Accept Isochronous OUT token.</description>
703                   <value>5</value>
704                 </enumeratedValue>
705                 <enumeratedValue>
706                   <name>STATUS_IN_ONLY</name>
707                   <description>SETUP: Accept, IN: Respond with 0B data, OUT:  Stall.</description>
708                   <value>6</value>
709                 </enumeratedValue>
710                 <enumeratedValue>
711                   <name>ISO_IN</name>
712                   <description>SETUP: Ignore, IN: Accept Isochronous IN token, OUT: Ignore.</description>
713                   <value>7</value>
714                 </enumeratedValue>
715                 <enumeratedValue>
716                   <name>NAK_OUT</name>
717                   <description>SETUP: Ignore, IN: Ignore, OUT: NAK.</description>
718                   <value>8</value>
719                 </enumeratedValue>
720                 <enumeratedValue>
721                   <name>ACK_OUT</name>
722                   <description>SETUP: Ignore, IN: Ignore, OUT: Accept data and ACK if STALL = 0, STALL otherwise. Change to MODE=8 after one succesfull OUT token.</description>
723                   <value>9</value>
724                 </enumeratedValue>
725                 <enumeratedValue>
726                   <name>ACK_OUT_STATUS_IN</name>
727                   <description>SETUP: Accept, IN: Respond with 0B data, OUT:  Accept data.</description>
728                   <value>11</value>
729                 </enumeratedValue>
730                 <enumeratedValue>
731                   <name>NAK_IN</name>
732                   <description>SETUP: Ignore, IN: NAK, OUT: Ignore.</description>
733                   <value>12</value>
734                 </enumeratedValue>
735                 <enumeratedValue>
736                   <name>ACK_IN</name>
737                   <description>SETUP: Ignore, IN: Respond to IN with data if STALL=0, STALL otherwise, OUT: Ignore</description>
738                   <value>13</value>
739                 </enumeratedValue>
740                 <enumeratedValue>
741                   <name>ACK_IN_STATUS_OUT</name>
742                   <description>SETUP: Accept, IN: Respond to IN with data, OUT: ACK 0B tokens, NAK others.</description>
743                   <value>15</value>
744                 </enumeratedValue>
745               </enumeratedValues>
746             </field>
747             <field>
748               <name>ACKED_TXN</name>
749               <description>ACKED_NO - 0, ACKED_YES - 1.</description>
750               <lsb>4</lsb>
751               <msb>4</msb>
752               <access>read-write</access>
753             </field>
754             <field>
755               <name>NAK_INT_EN</name>
756               <description>When set this bit causes an endpoint interrupt to be generated even when a transfer completes with a NAK.</description>
757               <lsb>5</lsb>
758               <msb>5</msb>
759               <access>read-write</access>
760             </field>
761             <field>
762               <name>ERR_IN_TXN</name>
763               <description>The Error in transaction bit is set whenever an error is detected.</description>
764               <lsb>6</lsb>
765               <msb>6</msb>
766               <access>read-write</access>
767             </field>
768             <field>
769               <name>STALL</name>
770               <description>When this bit is set the SIE stalls an OUT packet if the Mode bits are set to ACK-OUT. The SIE stalls an IN packet if the mode bits are set to ACK-IN. This bit must be clear for all other modes.</description>
771               <lsb>7</lsb>
772               <msb>7</msb>
773               <access>read-write</access>
774             </field>
775           </fields>
776         </register>
777         <register>
778           <name>USBIO_CR0</name>
779           <description>USBIO Control 0 Register</description>
780           <addressOffset>0x40006010</addressOffset>
781           <size>8</size>
782           <access>read-write</access>
783           <resetValue>0</resetValue>
784           <resetMask>0</resetMask>
785           <fields>
786             <field>
787               <name>RD</name>
788               <description>Received Data. This read only bit gives the state of the USB differential receiver.</description>
789               <lsb>0</lsb>
790               <msb>0</msb>
791               <access>read-only</access>
792               <enumeratedValues>
793                 <enumeratedValue>
794                   <name>DIFF_LOW</name>
795                   <description>D+ less than D- (K state), or D+=D-=0 (SE0).</description>
796                   <value>0</value>
797                 </enumeratedValue>
798                 <enumeratedValue>
799                   <name>DIFF_HIGH</name>
800                   <description>D+ greater than D- (J state).</description>
801                   <value>1</value>
802                 </enumeratedValue>
803               </enumeratedValues>
804             </field>
805             <field>
806               <name>TD</name>
807               <description>Transmit Data. Transmit a USB J or K state on the USB bus. No effect if TEN=0 or TSE0=1.</description>
808               <lsb>5</lsb>
809               <msb>5</msb>
810               <access>read-write</access>
811               <enumeratedValues>
812                 <enumeratedValue>
813                   <name>DIFF_K</name>
814                   <description>Force USB K state (D+ is low D- is high).</description>
815                   <value>0</value>
816                 </enumeratedValue>
817                 <enumeratedValue>
818                   <name>DIFF_J</name>
819                   <description>Force USB J state (D+ is high D- is low).</description>
820                   <value>1</value>
821                 </enumeratedValue>
822               </enumeratedValues>
823             </field>
824             <field>
825               <name>TSE0</name>
826               <description>Transmit Single-Ended Zero. SE0: both D+ and D- low. No effect if TEN=0.</description>
827               <lsb>6</lsb>
828               <msb>6</msb>
829               <access>read-write</access>
830             </field>
831             <field>
832               <name>TEN</name>
833               <description>USB Transmit Enable. This is used to manually transmit on the D+ and D- pins. Normally this bit should be cleared to allow the internal SIE to drive the pins. The most common reason for manually transmitting is to force a resume state on the bus.</description>
834               <lsb>7</lsb>
835               <msb>7</msb>
836               <access>read-write</access>
837             </field>
838           </fields>
839         </register>
840         <register>
841           <name>USBIO_CR1</name>
842           <description>USBIO Control 1 Register</description>
843           <addressOffset>0x40006012</addressOffset>
844           <size>8</size>
845           <access>read-write</access>
846           <resetValue>0</resetValue>
847           <resetMask>0</resetMask>
848           <fields>
849             <field>
850               <name>DMO</name>
851               <description>This read only bit gives the state of the D- pin.</description>
852               <lsb>0</lsb>
853               <msb>0</msb>
854               <access>read-only</access>
855             </field>
856             <field>
857               <name>DPO</name>
858               <description>This read only bit gives the state of the D+ pin.</description>
859               <lsb>1</lsb>
860               <msb>1</msb>
861               <access>read-only</access>
862             </field>
863             <field>
864               <name>USBPUEN</name>
865               <description>This bit enables the connection of the internal 1.5 k pull up resistor on the D+ pin.</description>
866               <lsb>2</lsb>
867               <msb>2</msb>
868               <access>read-write</access>
869             </field>
870             <field>
871               <name>IOMODE</name>
872               <description>This bit allows the D+ and D- pins to be configured for either USB mode or bit-banged modes. If this bit is set the DMI and DPI bits are used to drive the D- and D+ pins.</description>
873               <lsb>5</lsb>
874               <msb>5</msb>
875               <access>read-write</access>
876               <enumeratedValues>
877                 <enumeratedValue>
878                   <name>Bit_banged</name>
879                   <description>Bit-banged mode for Dm and Dp.</description>
880                   <value>0</value>
881                 </enumeratedValue>
882                 <enumeratedValue>
883                   <name>USB</name>
884                   <description>USB block controls Dm and Dp.</description>
885                   <value>1</value>
886                 </enumeratedValue>
887               </enumeratedValues>
888             </field>
889           </fields>
890         </register>
891         <register>
892           <name>SIE_EP2_CNT0</name>
893           <description>SIE Endpoint 1 Count0 Register</description>
894           <addressOffset>0x4000601C</addressOffset>
895           <size>8</size>
896           <access>read-write</access>
897           <resetValue>0</resetValue>
898           <resetMask>0</resetMask>
899           <fields>
900             <field>
901               <name>DATA_COUNT_MSB</name>
902               <description>These bits are the 3 MSb bits of an 11-bit counter. The LSb are the Data Count[7:0] bits of the CNT1 register. Refer to the CNT1 register for more information.</description>
903               <lsb>0</lsb>
904               <msb>2</msb>
905               <access>read-write</access>
906             </field>
907             <field>
908               <name>DATA_VALID</name>
909               <description>DATA_ERROR - 0, DATA_VALID - 1.</description>
910               <lsb>4</lsb>
911               <msb>4</msb>
912               <access>read-write</access>
913             </field>
914             <field>
915               <name>DATA_TOGGLE</name>
916               <description>This bit selects the DATA packet's toggle state. For IN transactions firmware must set this bit to the expected state. For OUT transactions the hardware sets this bit to the state of the received Data Toggle bit.</description>
917               <lsb>7</lsb>
918               <msb>7</msb>
919               <access>read-write</access>
920             </field>
921           </fields>
922         </register>
923         <register>
924           <name>SIE_EP2_CNT1</name>
925           <description>SIE Endpoint 1 Count1 Register</description>
926           <addressOffset>0x4000601D</addressOffset>
927           <size>8</size>
928           <access>read-write</access>
929           <resetValue>0</resetValue>
930           <resetMask>0</resetMask>
931           <fields>
932             <field>
933               <name>DATA_COUNT</name>
934               <description>These bits are the 8 LSb of a 11-bit counter.  The 3 MSb bits are in the CNT0 register. The 11-bit count indicates the number of data bytes in a transaction.</description>
935               <lsb>0</lsb>
936               <msb>7</msb>
937               <access>read-write</access>
938             </field>
939           </fields>
940         </register>
941         <register>
942           <name>SIE_EP2_CR0</name>
943           <description>SIE Endpoint 1 Control Register</description>
944           <addressOffset>0x4000601E</addressOffset>
945           <size>8</size>
946           <access>read-write</access>
947           <resetValue>0</resetValue>
948           <resetMask>0</resetMask>
949           <fields>
950             <field>
951               <name>MODE</name>
952               <description>The mode controls how the USB SIE responds to traffic and how the USB SIE changes the mode of that endpoint as a result of host packets to the endpoint.</description>
953               <lsb>0</lsb>
954               <msb>3</msb>
955               <access>read-write</access>
956               <enumeratedValues>
957                 <enumeratedValue>
958                   <name>DISABLE</name>
959                   <description>Ignore all USB traffic to this endpoint.</description>
960                   <value>0</value>
961                 </enumeratedValue>
962                 <enumeratedValue>
963                   <name>NAK_INOUT</name>
964                   <description>SETUP: Accept, IN: NAK, OUT: NAK.</description>
965                   <value>1</value>
966                 </enumeratedValue>
967                 <enumeratedValue>
968                   <name>STATUS_OUT_ONLY</name>
969                   <description>SETUP: Accept, IN: STALL, OUT: ACK 0B tokens, NAK others.</description>
970                   <value>2</value>
971                 </enumeratedValue>
972                 <enumeratedValue>
973                   <name>STALL_INOUT</name>
974                   <description>SETUP: Accept, IN: STALL, OUT: STALL.</description>
975                   <value>3</value>
976                 </enumeratedValue>
977                 <enumeratedValue>
978                   <name>ISO_OUT</name>
979                   <description>SETUP: Ignore, IN: Ignore, OUT: Accept Isochronous OUT token.</description>
980                   <value>5</value>
981                 </enumeratedValue>
982                 <enumeratedValue>
983                   <name>STATUS_IN_ONLY</name>
984                   <description>SETUP: Accept, IN: Respond with 0B data, OUT:  Stall.</description>
985                   <value>6</value>
986                 </enumeratedValue>
987                 <enumeratedValue>
988                   <name>ISO_IN</name>
989                   <description>SETUP: Ignore, IN: Accept Isochronous IN token, OUT: Ignore.</description>
990                   <value>7</value>
991                 </enumeratedValue>
992                 <enumeratedValue>
993                   <name>NAK_OUT</name>
994                   <description>SETUP: Ignore, IN: Ignore, OUT: NAK.</description>
995                   <value>8</value>
996                 </enumeratedValue>
997                 <enumeratedValue>
998                   <name>ACK_OUT</name>
999                   <description>SETUP: Ignore, IN: Ignore, OUT: Accept data and ACK if STALL = 0, STALL otherwise. Change to MODE=8 after one succesfull OUT token.</description>
1000                   <value>9</value>
1001                 </enumeratedValue>
1002                 <enumeratedValue>
1003                   <name>ACK_OUT_STATUS_IN</name>
1004                   <description>SETUP: Accept, IN: Respond with 0B data, OUT:  Accept data.</description>
1005                   <value>11</value>
1006                 </enumeratedValue>
1007                 <enumeratedValue>
1008                   <name>NAK_IN</name>
1009                   <description>SETUP: Ignore, IN: NAK, OUT: Ignore.</description>
1010                   <value>12</value>
1011                 </enumeratedValue>
1012                 <enumeratedValue>
1013                   <name>ACK_IN</name>
1014                   <description>SETUP: Ignore, IN: Respond to IN with data if STALL=0, STALL otherwise, OUT: Ignore</description>
1015                   <value>13</value>
1016                 </enumeratedValue>
1017                 <enumeratedValue>
1018                   <name>ACK_IN_STATUS_OUT</name>
1019                   <description>SETUP: Accept, IN: Respond to IN with data, OUT: ACK 0B tokens, NAK others.</description>
1020                   <value>15</value>
1021                 </enumeratedValue>
1022               </enumeratedValues>
1023             </field>
1024             <field>
1025               <name>ACKED_TXN</name>
1026               <description>ACKED_NO - 0, ACKED_YES - 1.</description>
1027               <lsb>4</lsb>
1028               <msb>4</msb>
1029               <access>read-write</access>
1030             </field>
1031             <field>
1032               <name>NAK_INT_EN</name>
1033               <description>When set this bit causes an endpoint interrupt to be generated even when a transfer completes with a NAK.</description>
1034               <lsb>5</lsb>
1035               <msb>5</msb>
1036               <access>read-write</access>
1037             </field>
1038             <field>
1039               <name>ERR_IN_TXN</name>
1040               <description>The Error in transaction bit is set whenever an error is detected.</description>
1041               <lsb>6</lsb>
1042               <msb>6</msb>
1043               <access>read-write</access>
1044             </field>
1045             <field>
1046               <name>STALL</name>
1047               <description>When this bit is set the SIE stalls an OUT packet if the Mode bits are set to ACK-OUT. The SIE stalls an IN packet if the mode bits are set to ACK-IN. This bit must be clear for all other modes.</description>
1048               <lsb>7</lsb>
1049               <msb>7</msb>
1050               <access>read-write</access>
1051             </field>
1052           </fields>
1053         </register>
1054         <register>
1055           <name>EP0_CR</name>
1056           <description>Endpoint0 control Register</description>
1057           <addressOffset>0x40006028</addressOffset>
1058           <size>8</size>
1059           <access>read-write</access>
1060           <resetValue>0</resetValue>
1061           <resetMask>0</resetMask>
1062           <fields>
1063             <field>
1064               <name>MODE</name>
1065               <description>The mode controls how the USB SIE responds to traffic and how the USB SIE changes the mode of that endpoint as a result of host packets to the endpoint.</description>
1066               <lsb>0</lsb>
1067               <msb>3</msb>
1068               <access>read-write</access>
1069               <enumeratedValues>
1070                 <enumeratedValue>
1071                   <name>DISABLE</name>
1072                   <description>Ignore all USB traffic to this endpoint.</description>
1073                   <value>0</value>
1074                 </enumeratedValue>
1075                 <enumeratedValue>
1076                   <name>NAK_INOUT</name>
1077                   <description>SETUP: Accept, IN: NAK, OUT: NAK.</description>
1078                   <value>1</value>
1079                 </enumeratedValue>
1080                 <enumeratedValue>
1081                   <name>STATUS_OUT_ONLY</name>
1082                   <description>SETUP: Accept, IN: STALL, OUT: ACK 0B tokens, NAK others.</description>
1083                   <value>2</value>
1084                 </enumeratedValue>
1085                 <enumeratedValue>
1086                   <name>STALL_INOUT</name>
1087                   <description>SETUP: Accept, IN: STALL, OUT: STALL.</description>
1088                   <value>3</value>
1089                 </enumeratedValue>
1090                 <enumeratedValue>
1091                   <name>ISO_OUT</name>
1092                   <description>SETUP: Ignore, IN: Ignore, OUT: Accept Isochronous OUT token.</description>
1093                   <value>5</value>
1094                 </enumeratedValue>
1095                 <enumeratedValue>
1096                   <name>STATUS_IN_ONLY</name>
1097                   <description>SETUP: Accept, IN: Respond with 0B data, OUT:  Stall.</description>
1098                   <value>6</value>
1099                 </enumeratedValue>
1100                 <enumeratedValue>
1101                   <name>ISO_IN</name>
1102                   <description>SETUP: Ignore, IN: Accept Isochronous IN token, OUT: Ignore.</description>
1103                   <value>7</value>
1104                 </enumeratedValue>
1105                 <enumeratedValue>
1106                   <name>NAK_OUT</name>
1107                   <description>SETUP: Ignore, IN: Ignore, OUT: NAK.</description>
1108                   <value>8</value>
1109                 </enumeratedValue>
1110                 <enumeratedValue>
1111                   <name>ACK_OUT</name>
1112                   <description>SETUP: Ignore, IN: Ignore, OUT: Accept data and ACK if STALL = 0, STALL otherwise. Change to MODE=8 after one succesfull OUT token.</description>
1113                   <value>9</value>
1114                 </enumeratedValue>
1115                 <enumeratedValue>
1116                   <name>ACK_OUT_STATUS_IN</name>
1117                   <description>SETUP: Accept, IN: Respond with 0B data, OUT:  Accept data.</description>
1118                   <value>11</value>
1119                 </enumeratedValue>
1120                 <enumeratedValue>
1121                   <name>NAK_IN</name>
1122                   <description>SETUP: Ignore, IN: NAK, OUT: Ignore.</description>
1123                   <value>12</value>
1124                 </enumeratedValue>
1125                 <enumeratedValue>
1126                   <name>ACK_IN</name>
1127                   <description>SETUP: Ignore, IN: Respond to IN with data if STALL=0, STALL otherwise, OUT: Ignore</description>
1128                   <value>13</value>
1129                 </enumeratedValue>
1130                 <enumeratedValue>
1131                   <name>ACK_IN_STATUS_OUT</name>
1132                   <description>SETUP: Accept, IN: Respond to IN with data, OUT: ACK 0B tokens, NAK others.</description>
1133                   <value>15</value>
1134                 </enumeratedValue>
1135               </enumeratedValues>
1136             </field>
1137             <field>
1138               <name>ACKED_TXN</name>
1139               <description>ACKED_NO - 0, ACKED_YES - 1.</description>
1140               <lsb>4</lsb>
1141               <msb>4</msb>
1142               <access>read-write</access>
1143             </field>
1144             <field>
1145               <name>NAK_INT_EN</name>
1146               <description>When set this bit causes an endpoint interrupt to be generated even when a transfer completes with a NAK.</description>
1147               <lsb>5</lsb>
1148               <msb>5</msb>
1149               <access>read-write</access>
1150             </field>
1151             <field>
1152               <name>ERR_IN_TXN</name>
1153               <description>The Error in transaction bit is set whenever an error is detected.</description>
1154               <lsb>6</lsb>
1155               <msb>6</msb>
1156               <access>read-write</access>
1157             </field>
1158             <field>
1159               <name>STALL</name>
1160               <description>When this bit is set the SIE stalls an OUT packet if the Mode bits are set to ACK-OUT. The SIE stalls an IN packet if the mode bits are set to ACK-IN. This bit must be clear for all other modes.</description>
1161               <lsb>7</lsb>
1162               <msb>7</msb>
1163               <access>read-write</access>
1164             </field>
1165           </fields>
1166         </register>
1167         <register>
1168           <name>EP0_CNT</name>
1169           <description>Endpoint0 control Register</description>
1170           <addressOffset>0x40006029</addressOffset>
1171           <size>8</size>
1172           <access>read-write</access>
1173           <resetValue>0</resetValue>
1174           <resetMask>0</resetMask>
1175           <fields>
1176             <field>
1177               <name>BYTE_COUNT</name>
1178               <description>These bits indicate the number of data bytes in a transaction. For IN transactions firmware loads the count with the number of bytes to be transmitted to the host from the endpoint FIFO. Valid values are 0 to 8. For OUT or SETUP transactions the count is updated by hardware to the number of data bytes received plus two for the CRC bytes. Valid values are 2 to 10.</description>
1179               <lsb>0</lsb>
1180               <msb>3</msb>
1181               <access>read-write</access>
1182             </field>
1183             <field>
1184               <name>DATA_VALID</name>
1185               <description>This bit is used for OUT/SETUP transactions only and is read only. It is cleared to '0' if CRC bit stuffing errors or PID errors occur. This bit does not update for some endpoint mode settings.</description>
1186               <lsb>4</lsb>
1187               <msb>4</msb>
1188               <access>read-write</access>
1189               <enumeratedValues>
1190                 <enumeratedValue>
1191                   <name>DATA_ERROR</name>
1192                   <description>No ACK'd transactions since bit was last cleared.</description>
1193                   <value>0</value>
1194                 </enumeratedValue>
1195                 <enumeratedValue>
1196                   <name>DATA_VALID</name>
1197                   <description>Indicates a transaction ended with an ACK.</description>
1198                   <value>1</value>
1199                 </enumeratedValue>
1200               </enumeratedValues>
1201             </field>
1202             <field>
1203               <name>DATA_TOGGLE</name>
1204               <description>This bit selects the DATA packet's toggle state. For IN transactions firmware must set this bit to the expected state. For OUT transactions the hardware sets this bit to the state of the received Data Toggle bit.</description>
1205               <lsb>5</lsb>
1206               <msb>5</msb>
1207               <access>read-write</access>
1208             </field>
1209           </fields>
1210         </register>
1211         <register>
1212           <name>SIE_EP3_CNT0</name>
1213           <description>SIE Endpoint 1 Count0 Register</description>
1214           <addressOffset>0x4000602C</addressOffset>
1215           <size>8</size>
1216           <access>read-write</access>
1217           <resetValue>0</resetValue>
1218           <resetMask>0</resetMask>
1219           <fields>
1220             <field>
1221               <name>DATA_COUNT_MSB</name>
1222               <description>These bits are the 3 MSb bits of an 11-bit counter. The LSb are the Data Count[7:0] bits of the CNT1 register. Refer to the CNT1 register for more information.</description>
1223               <lsb>0</lsb>
1224               <msb>2</msb>
1225               <access>read-write</access>
1226             </field>
1227             <field>
1228               <name>DATA_VALID</name>
1229               <description>DATA_ERROR - 0, DATA_VALID - 1.</description>
1230               <lsb>4</lsb>
1231               <msb>4</msb>
1232               <access>read-write</access>
1233             </field>
1234             <field>
1235               <name>DATA_TOGGLE</name>
1236               <description>This bit selects the DATA packet's toggle state. For IN transactions firmware must set this bit to the expected state. For OUT transactions the hardware sets this bit to the state of the received Data Toggle bit.</description>
1237               <lsb>7</lsb>
1238               <msb>7</msb>
1239               <access>read-write</access>
1240             </field>
1241           </fields>
1242         </register>
1243         <register>
1244           <name>SIE_EP3_CNT1</name>
1245           <description>SIE Endpoint 1 Count1 Register</description>
1246           <addressOffset>0x4000602D</addressOffset>
1247           <size>8</size>
1248           <access>read-write</access>
1249           <resetValue>0</resetValue>
1250           <resetMask>0</resetMask>
1251           <fields>
1252             <field>
1253               <name>DATA_COUNT</name>
1254               <description>These bits are the 8 LSb of a 11-bit counter.  The 3 MSb bits are in the CNT0 register. The 11-bit count indicates the number of data bytes in a transaction.</description>
1255               <lsb>0</lsb>
1256               <msb>7</msb>
1257               <access>read-write</access>
1258             </field>
1259           </fields>
1260         </register>
1261         <register>
1262           <name>SIE_EP3_CR0</name>
1263           <description>SIE Endpoint 1 Control Register</description>
1264           <addressOffset>0x4000602E</addressOffset>
1265           <size>8</size>
1266           <access>read-write</access>
1267           <resetValue>0</resetValue>
1268           <resetMask>0</resetMask>
1269           <fields>
1270             <field>
1271               <name>MODE</name>
1272               <description>The mode controls how the USB SIE responds to traffic and how the USB SIE changes the mode of that endpoint as a result of host packets to the endpoint.</description>
1273               <lsb>0</lsb>
1274               <msb>3</msb>
1275               <access>read-write</access>
1276               <enumeratedValues>
1277                 <enumeratedValue>
1278                   <name>DISABLE</name>
1279                   <description>Ignore all USB traffic to this endpoint.</description>
1280                   <value>0</value>
1281                 </enumeratedValue>
1282                 <enumeratedValue>
1283                   <name>NAK_INOUT</name>
1284                   <description>SETUP: Accept, IN: NAK, OUT: NAK.</description>
1285                   <value>1</value>
1286                 </enumeratedValue>
1287                 <enumeratedValue>
1288                   <name>STATUS_OUT_ONLY</name>
1289                   <description>SETUP: Accept, IN: STALL, OUT: ACK 0B tokens, NAK others.</description>
1290                   <value>2</value>
1291                 </enumeratedValue>
1292                 <enumeratedValue>
1293                   <name>STALL_INOUT</name>
1294                   <description>SETUP: Accept, IN: STALL, OUT: STALL.</description>
1295                   <value>3</value>
1296                 </enumeratedValue>
1297                 <enumeratedValue>
1298                   <name>ISO_OUT</name>
1299                   <description>SETUP: Ignore, IN: Ignore, OUT: Accept Isochronous OUT token.</description>
1300                   <value>5</value>
1301                 </enumeratedValue>
1302                 <enumeratedValue>
1303                   <name>STATUS_IN_ONLY</name>
1304                   <description>SETUP: Accept, IN: Respond with 0B data, OUT:  Stall.</description>
1305                   <value>6</value>
1306                 </enumeratedValue>
1307                 <enumeratedValue>
1308                   <name>ISO_IN</name>
1309                   <description>SETUP: Ignore, IN: Accept Isochronous IN token, OUT: Ignore.</description>
1310                   <value>7</value>
1311                 </enumeratedValue>
1312                 <enumeratedValue>
1313                   <name>NAK_OUT</name>
1314                   <description>SETUP: Ignore, IN: Ignore, OUT: NAK.</description>
1315                   <value>8</value>
1316                 </enumeratedValue>
1317                 <enumeratedValue>
1318                   <name>ACK_OUT</name>
1319                   <description>SETUP: Ignore, IN: Ignore, OUT: Accept data and ACK if STALL = 0, STALL otherwise. Change to MODE=8 after one succesfull OUT token.</description>
1320                   <value>9</value>
1321                 </enumeratedValue>
1322                 <enumeratedValue>
1323                   <name>ACK_OUT_STATUS_IN</name>
1324                   <description>SETUP: Accept, IN: Respond with 0B data, OUT:  Accept data.</description>
1325                   <value>11</value>
1326                 </enumeratedValue>
1327                 <enumeratedValue>
1328                   <name>NAK_IN</name>
1329                   <description>SETUP: Ignore, IN: NAK, OUT: Ignore.</description>
1330                   <value>12</value>
1331                 </enumeratedValue>
1332                 <enumeratedValue>
1333                   <name>ACK_IN</name>
1334                   <description>SETUP: Ignore, IN: Respond to IN with data if STALL=0, STALL otherwise, OUT: Ignore</description>
1335                   <value>13</value>
1336                 </enumeratedValue>
1337                 <enumeratedValue>
1338                   <name>ACK_IN_STATUS_OUT</name>
1339                   <description>SETUP: Accept, IN: Respond to IN with data, OUT: ACK 0B tokens, NAK others.</description>
1340                   <value>15</value>
1341                 </enumeratedValue>
1342               </enumeratedValues>
1343             </field>
1344             <field>
1345               <name>ACKED_TXN</name>
1346               <description>ACKED_NO - 0, ACKED_YES - 1.</description>
1347               <lsb>4</lsb>
1348               <msb>4</msb>
1349               <access>read-write</access>
1350             </field>
1351             <field>
1352               <name>NAK_INT_EN</name>
1353               <description>When set this bit causes an endpoint interrupt to be generated even when a transfer completes with a NAK.</description>
1354               <lsb>5</lsb>
1355               <msb>5</msb>
1356               <access>read-write</access>
1357             </field>
1358             <field>
1359               <name>ERR_IN_TXN</name>
1360               <description>The Error in transaction bit is set whenever an error is detected.</description>
1361               <lsb>6</lsb>
1362               <msb>6</msb>
1363               <access>read-write</access>
1364             </field>
1365             <field>
1366               <name>STALL</name>
1367               <description>When this bit is set the SIE stalls an OUT packet if the Mode bits are set to ACK-OUT. The SIE stalls an IN packet if the mode bits are set to ACK-IN. This bit must be clear for all other modes.</description>
1368               <lsb>7</lsb>
1369               <msb>7</msb>
1370               <access>read-write</access>
1371             </field>
1372           </fields>
1373         </register>
1374         <register>
1375           <name>SIE_EP4_CNT0</name>
1376           <description>SIE Endpoint 1 Count0 Register</description>
1377           <addressOffset>0x4000603C</addressOffset>
1378           <size>8</size>
1379           <access>read-write</access>
1380           <resetValue>0</resetValue>
1381           <resetMask>0</resetMask>
1382           <fields>
1383             <field>
1384               <name>DATA_COUNT_MSB</name>
1385               <description>These bits are the 3 MSb bits of an 11-bit counter. The LSb are the Data Count[7:0] bits of the CNT1 register. Refer to the CNT1 register for more information.</description>
1386               <lsb>0</lsb>
1387               <msb>2</msb>
1388               <access>read-write</access>
1389             </field>
1390             <field>
1391               <name>DATA_VALID</name>
1392               <description>DATA_ERROR - 0, DATA_VALID - 1.</description>
1393               <lsb>4</lsb>
1394               <msb>4</msb>
1395               <access>read-write</access>
1396             </field>
1397             <field>
1398               <name>DATA_TOGGLE</name>
1399               <description>This bit selects the DATA packet's toggle state. For IN transactions firmware must set this bit to the expected state. For OUT transactions the hardware sets this bit to the state of the received Data Toggle bit.</description>
1400               <lsb>7</lsb>
1401               <msb>7</msb>
1402               <access>read-write</access>
1403             </field>
1404           </fields>
1405         </register>
1406         <register>
1407           <name>SIE_EP4_CNT1</name>
1408           <description>SIE Endpoint 1 Count1 Register</description>
1409           <addressOffset>0x4000603D</addressOffset>
1410           <size>8</size>
1411           <access>read-write</access>
1412           <resetValue>0</resetValue>
1413           <resetMask>0</resetMask>
1414           <fields>
1415             <field>
1416               <name>DATA_COUNT</name>
1417               <description>These bits are the 8 LSb of a 11-bit counter.  The 3 MSb bits are in the CNT0 register. The 11-bit count indicates the number of data bytes in a transaction.</description>
1418               <lsb>0</lsb>
1419               <msb>7</msb>
1420               <access>read-write</access>
1421             </field>
1422           </fields>
1423         </register>
1424         <register>
1425           <name>SIE_EP4_CR0</name>
1426           <description>SIE Endpoint 1 Control Register</description>
1427           <addressOffset>0x4000603E</addressOffset>
1428           <size>8</size>
1429           <access>read-write</access>
1430           <resetValue>0</resetValue>
1431           <resetMask>0</resetMask>
1432           <fields>
1433             <field>
1434               <name>MODE</name>
1435               <description>The mode controls how the USB SIE responds to traffic and how the USB SIE changes the mode of that endpoint as a result of host packets to the endpoint.</description>
1436               <lsb>0</lsb>
1437               <msb>3</msb>
1438               <access>read-write</access>
1439               <enumeratedValues>
1440                 <enumeratedValue>
1441                   <name>DISABLE</name>
1442                   <description>Ignore all USB traffic to this endpoint.</description>
1443                   <value>0</value>
1444                 </enumeratedValue>
1445                 <enumeratedValue>
1446                   <name>NAK_INOUT</name>
1447                   <description>SETUP: Accept, IN: NAK, OUT: NAK.</description>
1448                   <value>1</value>
1449                 </enumeratedValue>
1450                 <enumeratedValue>
1451                   <name>STATUS_OUT_ONLY</name>
1452                   <description>SETUP: Accept, IN: STALL, OUT: ACK 0B tokens, NAK others.</description>
1453                   <value>2</value>
1454                 </enumeratedValue>
1455                 <enumeratedValue>
1456                   <name>STALL_INOUT</name>
1457                   <description>SETUP: Accept, IN: STALL, OUT: STALL.</description>
1458                   <value>3</value>
1459                 </enumeratedValue>
1460                 <enumeratedValue>
1461                   <name>ISO_OUT</name>
1462                   <description>SETUP: Ignore, IN: Ignore, OUT: Accept Isochronous OUT token.</description>
1463                   <value>5</value>
1464                 </enumeratedValue>
1465                 <enumeratedValue>
1466                   <name>STATUS_IN_ONLY</name>
1467                   <description>SETUP: Accept, IN: Respond with 0B data, OUT:  Stall.</description>
1468                   <value>6</value>
1469                 </enumeratedValue>
1470                 <enumeratedValue>
1471                   <name>ISO_IN</name>
1472                   <description>SETUP: Ignore, IN: Accept Isochronous IN token, OUT: Ignore.</description>
1473                   <value>7</value>
1474                 </enumeratedValue>
1475                 <enumeratedValue>
1476                   <name>NAK_OUT</name>
1477                   <description>SETUP: Ignore, IN: Ignore, OUT: NAK.</description>
1478                   <value>8</value>
1479                 </enumeratedValue>
1480                 <enumeratedValue>
1481                   <name>ACK_OUT</name>
1482                   <description>SETUP: Ignore, IN: Ignore, OUT: Accept data and ACK if STALL = 0, STALL otherwise. Change to MODE=8 after one succesfull OUT token.</description>
1483                   <value>9</value>
1484                 </enumeratedValue>
1485                 <enumeratedValue>
1486                   <name>ACK_OUT_STATUS_IN</name>
1487                   <description>SETUP: Accept, IN: Respond with 0B data, OUT:  Accept data.</description>
1488                   <value>11</value>
1489                 </enumeratedValue>
1490                 <enumeratedValue>
1491                   <name>NAK_IN</name>
1492                   <description>SETUP: Ignore, IN: NAK, OUT: Ignore.</description>
1493                   <value>12</value>
1494                 </enumeratedValue>
1495                 <enumeratedValue>
1496                   <name>ACK_IN</name>
1497                   <description>SETUP: Ignore, IN: Respond to IN with data if STALL=0, STALL otherwise, OUT: Ignore</description>
1498                   <value>13</value>
1499                 </enumeratedValue>
1500                 <enumeratedValue>
1501                   <name>ACK_IN_STATUS_OUT</name>
1502                   <description>SETUP: Accept, IN: Respond to IN with data, OUT: ACK 0B tokens, NAK others.</description>
1503                   <value>15</value>
1504                 </enumeratedValue>
1505               </enumeratedValues>
1506             </field>
1507             <field>
1508               <name>ACKED_TXN</name>
1509               <description>ACKED_NO - 0, ACKED_YES - 1.</description>
1510               <lsb>4</lsb>
1511               <msb>4</msb>
1512               <access>read-write</access>
1513             </field>
1514             <field>
1515               <name>NAK_INT_EN</name>
1516               <description>When set this bit causes an endpoint interrupt to be generated even when a transfer completes with a NAK.</description>
1517               <lsb>5</lsb>
1518               <msb>5</msb>
1519               <access>read-write</access>
1520             </field>
1521             <field>
1522               <name>ERR_IN_TXN</name>
1523               <description>The Error in transaction bit is set whenever an error is detected.</description>
1524               <lsb>6</lsb>
1525               <msb>6</msb>
1526               <access>read-write</access>
1527             </field>
1528             <field>
1529               <name>STALL</name>
1530               <description>When this bit is set the SIE stalls an OUT packet if the Mode bits are set to ACK-OUT. The SIE stalls an IN packet if the mode bits are set to ACK-IN. This bit must be clear for all other modes.</description>
1531               <lsb>7</lsb>
1532               <msb>7</msb>
1533               <access>read-write</access>
1534             </field>
1535           </fields>
1536         </register>
1537         <register>
1538           <name>ARB_EP1_CFG</name>
1539           <description>Arbiter Endpoint 1 Configuration Register</description>
1540           <addressOffset>0x40006080</addressOffset>
1541           <size>8</size>
1542           <access>read-write</access>
1543           <resetValue>0</resetValue>
1544           <resetMask>0</resetMask>
1545           <fields>
1546             <field>
1547               <name>IN_DATA_RDY</name>
1548               <description>Indication that Endpoint Packet Data is Ready in Main memory</description>
1549               <lsb>0</lsb>
1550               <msb>0</msb>
1551               <access>read-write</access>
1552             </field>
1553             <field>
1554               <name>DMA_REQ</name>
1555               <description>Manual DMA Request for a particular (1 to 8) endpoint; changing this field from 0 to 1 causes a DMA request to be generated.</description>
1556               <lsb>1</lsb>
1557               <msb>1</msb>
1558               <access>read-write</access>
1559             </field>
1560             <field>
1561               <name>CRC_BYPASS</name>
1562               <description>CRC_NORMAL - 0, CRC_BYPASS - 1</description>
1563               <lsb>2</lsb>
1564               <msb>2</msb>
1565               <access>read-write</access>
1566             </field>
1567             <field>
1568               <name>RESET_PTR</name>
1569               <description>RESET_KRYPTON - 0, RESET_NORMAL - 1</description>
1570               <lsb>3</lsb>
1571               <msb>3</msb>
1572               <access>read-write</access>
1573             </field>
1574           </fields>
1575         </register>
1576         <register>
1577           <name>ARB_EP1_INT_EN</name>
1578           <description>Arbiter Endpoint 1 Interrupt Enable Register</description>
1579           <addressOffset>0x40006081</addressOffset>
1580           <size>8</size>
1581           <access>read-write</access>
1582           <resetValue>0</resetValue>
1583           <resetMask>0</resetMask>
1584           <fields>
1585             <field>
1586               <name>IN_BUF_FULL_EN</name>
1587               <description>IN Endpoint Local Buffer Full</description>
1588               <lsb>0</lsb>
1589               <msb>0</msb>
1590               <access>read-write</access>
1591             </field>
1592             <field>
1593               <name>DMA_GNT_EN</name>
1594               <description>Endpoint DMA Grant</description>
1595               <lsb>1</lsb>
1596               <msb>1</msb>
1597               <access>read-write</access>
1598             </field>
1599             <field>
1600               <name>BUF_OVER_EN</name>
1601               <description>Endpoint Buffer Overflow</description>
1602               <lsb>2</lsb>
1603               <msb>2</msb>
1604               <access>read-write</access>
1605             </field>
1606             <field>
1607               <name>BUF_UNDER_EN</name>
1608               <description>Endpoint Buffer Underflow</description>
1609               <lsb>3</lsb>
1610               <msb>3</msb>
1611               <access>read-write</access>
1612             </field>
1613             <field>
1614               <name>ERR_INT_EN</name>
1615               <description>Endpoint Error in Transaction Interrupt</description>
1616               <lsb>4</lsb>
1617               <msb>4</msb>
1618               <access>read-write</access>
1619             </field>
1620             <field>
1621               <name>DMA_TERMIN_EN</name>
1622               <description>Endpoint DMA Terminated Enable</description>
1623               <lsb>5</lsb>
1624               <msb>5</msb>
1625               <access>read-write</access>
1626             </field>
1627           </fields>
1628         </register>
1629         <register>
1630           <name>ARB_EP1_INT_SR</name>
1631           <description>Arbiter Endpoint 1 Interrupt Status Register</description>
1632           <addressOffset>0x40006082</addressOffset>
1633           <size>8</size>
1634           <access>read-write</access>
1635           <resetValue>0</resetValue>
1636           <resetMask>0</resetMask>
1637           <fields>
1638             <field>
1639               <name>IN_BUF_FULL_EN</name>
1640               <description>IN Endpoint Local Buffer Full</description>
1641               <lsb>0</lsb>
1642               <msb>0</msb>
1643               <access>read-write</access>
1644             </field>
1645             <field>
1646               <name>DMA_GNT_EN</name>
1647               <description>Endpoint DMA Grant</description>
1648               <lsb>1</lsb>
1649               <msb>1</msb>
1650               <access>read-write</access>
1651             </field>
1652             <field>
1653               <name>BUF_OVER_EN</name>
1654               <description>Endpoint Buffer Overflow</description>
1655               <lsb>2</lsb>
1656               <msb>2</msb>
1657               <access>read-write</access>
1658             </field>
1659             <field>
1660               <name>BUF_UNDER_EN</name>
1661               <description>Endpoint Buffer Underflow</description>
1662               <lsb>3</lsb>
1663               <msb>3</msb>
1664               <access>read-write</access>
1665             </field>
1666             <field>
1667               <name>ERR_INT_EN</name>
1668               <description>Endpoint Error in Transaction Interrupt</description>
1669               <lsb>4</lsb>
1670               <msb>4</msb>
1671               <access>read-write</access>
1672             </field>
1673             <field>
1674               <name>DMA_TERMIN_EN</name>
1675               <description>Endpoint DMA Terminated Enable</description>
1676               <lsb>5</lsb>
1677               <msb>5</msb>
1678               <access>read-write</access>
1679             </field>
1680           </fields>
1681         </register>
1682         <register>
1683           <name>ARB_RW1_WA</name>
1684           <description>Arbiter Endpoint 1 Write Address LSB Register</description>
1685           <addressOffset>0x40006084</addressOffset>
1686           <size>8</size>
1687           <access>read-write</access>
1688           <resetValue>0</resetValue>
1689           <resetMask>0</resetMask>
1690           <fields>
1691             <field>
1692               <name>WA8</name>
1693               <description>Write Address for EP.</description>
1694               <lsb>0</lsb>
1695               <msb>7</msb>
1696               <access>read-write</access>
1697             </field>
1698           </fields>
1699         </register>
1700         <register>
1701           <name>ARB_RW1_WA_MSB</name>
1702           <description>Arbiter Endpoint 1 Write Address MSB Register</description>
1703           <addressOffset>0x40006085</addressOffset>
1704           <size>8</size>
1705           <access>read-write</access>
1706           <resetValue>0</resetValue>
1707           <resetMask>0</resetMask>
1708           <fields>
1709             <field>
1710               <name>WA9</name>
1711               <description>Write Address for EP MSB.</description>
1712               <lsb>0</lsb>
1713               <msb>0</msb>
1714               <access>read-write</access>
1715             </field>
1716           </fields>
1717         </register>
1718         <register>
1719           <name>ARB_RW1_RA</name>
1720           <description>Arbiter Endpoint 1 Read Address LSB Register</description>
1721           <addressOffset>0x40006086</addressOffset>
1722           <size>8</size>
1723           <access>read-write</access>
1724           <resetValue>0</resetValue>
1725           <resetMask>0</resetMask>
1726           <fields>
1727             <field>
1728               <name>RA8</name>
1729               <description>Read Address for EP MSB.</description>
1730               <lsb>0</lsb>
1731               <msb>7</msb>
1732               <access>read-write</access>
1733             </field>
1734           </fields>
1735         </register>
1736         <register>
1737           <name>ARB_RW1_RA_MSB</name>
1738           <description>Arbiter Endpoint 1 Read Address MSB Register</description>
1739           <addressOffset>0x40006087</addressOffset>
1740           <size>8</size>
1741           <access>read-write</access>
1742           <resetValue>0</resetValue>
1743           <resetMask>0</resetMask>
1744           <fields>
1745             <field>
1746               <name>RA9</name>
1747               <description>Read Address for EP MSB.</description>
1748               <lsb>0</lsb>
1749               <msb>0</msb>
1750               <access>read-write</access>
1751             </field>
1752           </fields>
1753         </register>
1754         <register>
1755           <name>ARB_EP2_CFG</name>
1756           <description>Arbiter Endpoint 1 Configuration Register</description>
1757           <addressOffset>0x40006090</addressOffset>
1758           <size>8</size>
1759           <access>read-write</access>
1760           <resetValue>0</resetValue>
1761           <resetMask>0</resetMask>
1762           <fields>
1763             <field>
1764               <name>IN_DATA_RDY</name>
1765               <description>Indication that Endpoint Packet Data is Ready in Main memory</description>
1766               <lsb>0</lsb>
1767               <msb>0</msb>
1768               <access>read-write</access>
1769             </field>
1770             <field>
1771               <name>DMA_REQ</name>
1772               <description>Manual DMA Request for a particular (1 to 8) endpoint; changing this field from 0 to 1 causes a DMA request to be generated.</description>
1773               <lsb>1</lsb>
1774               <msb>1</msb>
1775               <access>read-write</access>
1776             </field>
1777             <field>
1778               <name>CRC_BYPASS</name>
1779               <description>CRC_NORMAL - 0, CRC_BYPASS - 1</description>
1780               <lsb>2</lsb>
1781               <msb>2</msb>
1782               <access>read-write</access>
1783             </field>
1784             <field>
1785               <name>RESET_PTR</name>
1786               <description>RESET_KRYPTON - 0, RESET_NORMAL - 1</description>
1787               <lsb>3</lsb>
1788               <msb>3</msb>
1789               <access>read-write</access>
1790             </field>
1791           </fields>
1792         </register>
1793         <register>
1794           <name>ARB_EP2_INT_EN</name>
1795           <description>Arbiter Endpoint 1 Interrupt Enable Register</description>
1796           <addressOffset>0x40006091</addressOffset>
1797           <size>8</size>
1798           <access>read-write</access>
1799           <resetValue>0</resetValue>
1800           <resetMask>0</resetMask>
1801           <fields>
1802             <field>
1803               <name>IN_BUF_FULL_EN</name>
1804               <description>IN Endpoint Local Buffer Full</description>
1805               <lsb>0</lsb>
1806               <msb>0</msb>
1807               <access>read-write</access>
1808             </field>
1809             <field>
1810               <name>DMA_GNT_EN</name>
1811               <description>Endpoint DMA Grant</description>
1812               <lsb>1</lsb>
1813               <msb>1</msb>
1814               <access>read-write</access>
1815             </field>
1816             <field>
1817               <name>BUF_OVER_EN</name>
1818               <description>Endpoint Buffer Overflow</description>
1819               <lsb>2</lsb>
1820               <msb>2</msb>
1821               <access>read-write</access>
1822             </field>
1823             <field>
1824               <name>BUF_UNDER_EN</name>
1825               <description>Endpoint Buffer Underflow</description>
1826               <lsb>3</lsb>
1827               <msb>3</msb>
1828               <access>read-write</access>
1829             </field>
1830             <field>
1831               <name>ERR_INT_EN</name>
1832               <description>Endpoint Error in Transaction Interrupt</description>
1833               <lsb>4</lsb>
1834               <msb>4</msb>
1835               <access>read-write</access>
1836             </field>
1837             <field>
1838               <name>DMA_TERMIN_EN</name>
1839               <description>Endpoint DMA Terminated Enable</description>
1840               <lsb>5</lsb>
1841               <msb>5</msb>
1842               <access>read-write</access>
1843             </field>
1844           </fields>
1845         </register>
1846         <register>
1847           <name>ARB_EP2_INT_SR</name>
1848           <description>Arbiter Endpoint 1 Interrupt Status Register</description>
1849           <addressOffset>0x40006092</addressOffset>
1850           <size>8</size>
1851           <access>read-write</access>
1852           <resetValue>0</resetValue>
1853           <resetMask>0</resetMask>
1854           <fields>
1855             <field>
1856               <name>IN_BUF_FULL_EN</name>
1857               <description>IN Endpoint Local Buffer Full</description>
1858               <lsb>0</lsb>
1859               <msb>0</msb>
1860               <access>read-write</access>
1861             </field>
1862             <field>
1863               <name>DMA_GNT_EN</name>
1864               <description>Endpoint DMA Grant</description>
1865               <lsb>1</lsb>
1866               <msb>1</msb>
1867               <access>read-write</access>
1868             </field>
1869             <field>
1870               <name>BUF_OVER_EN</name>
1871               <description>Endpoint Buffer Overflow</description>
1872               <lsb>2</lsb>
1873               <msb>2</msb>
1874               <access>read-write</access>
1875             </field>
1876             <field>
1877               <name>BUF_UNDER_EN</name>
1878               <description>Endpoint Buffer Underflow</description>
1879               <lsb>3</lsb>
1880               <msb>3</msb>
1881               <access>read-write</access>
1882             </field>
1883             <field>
1884               <name>ERR_INT_EN</name>
1885               <description>Endpoint Error in Transaction Interrupt</description>
1886               <lsb>4</lsb>
1887               <msb>4</msb>
1888               <access>read-write</access>
1889             </field>
1890             <field>
1891               <name>DMA_TERMIN_EN</name>
1892               <description>Endpoint DMA Terminated Enable</description>
1893               <lsb>5</lsb>
1894               <msb>5</msb>
1895               <access>read-write</access>
1896             </field>
1897           </fields>
1898         </register>
1899         <register>
1900           <name>ARB_RW2_WA</name>
1901           <description>Arbiter Endpoint 1 Write Address LSB Register</description>
1902           <addressOffset>0x40006094</addressOffset>
1903           <size>8</size>
1904           <access>read-write</access>
1905           <resetValue>0</resetValue>
1906           <resetMask>0</resetMask>
1907           <fields>
1908             <field>
1909               <name>WA8</name>
1910               <description>Write Address for EP.</description>
1911               <lsb>0</lsb>
1912               <msb>7</msb>
1913               <access>read-write</access>
1914             </field>
1915           </fields>
1916         </register>
1917         <register>
1918           <name>ARB_RW2_WA_MSB</name>
1919           <description>Arbiter Endpoint 1 Write Address MSB Register</description>
1920           <addressOffset>0x40006095</addressOffset>
1921           <size>8</size>
1922           <access>read-write</access>
1923           <resetValue>0</resetValue>
1924           <resetMask>0</resetMask>
1925           <fields>
1926             <field>
1927               <name>WA9</name>
1928               <description>Write Address for EP MSB.</description>
1929               <lsb>0</lsb>
1930               <msb>0</msb>
1931               <access>read-write</access>
1932             </field>
1933           </fields>
1934         </register>
1935         <register>
1936           <name>ARB_RW2_RA</name>
1937           <description>Arbiter Endpoint 1 Read Address LSB Register</description>
1938           <addressOffset>0x40006096</addressOffset>
1939           <size>8</size>
1940           <access>read-write</access>
1941           <resetValue>0</resetValue>
1942           <resetMask>0</resetMask>
1943           <fields>
1944             <field>
1945               <name>RA8</name>
1946               <description>Read Address for EP MSB.</description>
1947               <lsb>0</lsb>
1948               <msb>7</msb>
1949               <access>read-write</access>
1950             </field>
1951           </fields>
1952         </register>
1953         <register>
1954           <name>ARB_RW2_RA_MSB</name>
1955           <description>Arbiter Endpoint 1 Read Address MSB Register</description>
1956           <addressOffset>0x40006097</addressOffset>
1957           <size>8</size>
1958           <access>read-write</access>
1959           <resetValue>0</resetValue>
1960           <resetMask>0</resetMask>
1961           <fields>
1962             <field>
1963               <name>RA9</name>
1964               <description>Read Address for EP MSB.</description>
1965               <lsb>0</lsb>
1966               <msb>0</msb>
1967               <access>read-write</access>
1968             </field>
1969           </fields>
1970         </register>
1971         <register>
1972           <name>ARB_CFG</name>
1973           <description>Arbiter configuration register</description>
1974           <addressOffset>0x4000609C</addressOffset>
1975           <size>8</size>
1976           <access>read-write</access>
1977           <resetValue>0</resetValue>
1978           <resetMask>0</resetMask>
1979           <fields>
1980             <field>
1981               <name>AUTO_MEM</name>
1982               <description>Enables Auto Memory Configuration.  Manual memory configuration by default.</description>
1983               <lsb>4</lsb>
1984               <msb>4</msb>
1985               <access>read-write</access>
1986             </field>
1987             <field>
1988               <name>DMA_CFG</name>
1989               <description>DMA Access Configuration.</description>
1990               <lsb>5</lsb>
1991               <msb>6</msb>
1992               <access>read-write</access>
1993               <enumeratedValues>
1994                 <enumeratedValue>
1995                   <name>DMA_NONE</name>
1996                   <description>No DMA.</description>
1997                   <value>0</value>
1998                 </enumeratedValue>
1999                 <enumeratedValue>
2000                   <name>DMA_MANUAL</name>
2001                   <description>Manual DMA.</description>
2002                   <value>1</value>
2003                 </enumeratedValue>
2004                 <enumeratedValue>
2005                   <name>DMA_AUTO</name>
2006                   <description>Auto DMA.</description>
2007                   <value>2</value>
2008                 </enumeratedValue>
2009               </enumeratedValues>
2010             </field>
2011             <field>
2012               <name>CFG_CMP</name>
2013               <description>Register Configuration Complete Indication. Posedge is detected on this bit. Hence a 0 to 1 transition is required.</description>
2014               <lsb>7</lsb>
2015               <msb>7</msb>
2016               <access>read-write</access>
2017             </field>
2018           </fields>
2019         </register>
2020         <register>
2021           <name>USB_CLK_EN</name>
2022           <description>USB Control 0 Register</description>
2023           <addressOffset>0x4000609D</addressOffset>
2024           <size>8</size>
2025           <access>read-write</access>
2026           <resetValue>0</resetValue>
2027           <resetMask>0</resetMask>
2028           <fields>
2029             <field>
2030               <name>CSR_CLK_EN</name>
2031               <description>Clock Enable for Core Logic clocked by AHB bus clock.</description>
2032               <lsb>7</lsb>
2033               <msb>7</msb>
2034               <access>read-write</access>
2035               <enumeratedValues>
2036                 <enumeratedValue>
2037                   <name>Disabled</name>
2038                   <description>Disables clock to UBS block.</description>
2039                   <value>0</value>
2040                 </enumeratedValue>
2041                 <enumeratedValue>
2042                   <name>Enabled</name>
2043                   <description>Enables clock to UBS block.</description>
2044                   <value>1</value>
2045                 </enumeratedValue>
2046               </enumeratedValues>
2047             </field>
2048           </fields>
2049         </register>
2050         <register>
2051           <name>ARB_INT_EN</name>
2052           <description>Arbiter Interrupt Enable Register</description>
2053           <addressOffset>0x4000609E</addressOffset>
2054           <size>8</size>
2055           <access>read-write</access>
2056           <resetValue>0</resetValue>
2057           <resetMask>0</resetMask>
2058           <fields>
2059             <field>
2060               <name>EP1_INTR_EN</name>
2061               <description>Enables interrupt for EP1.</description>
2062               <lsb>0</lsb>
2063               <msb>0</msb>
2064               <access>read-write</access>
2065             </field>
2066             <field>
2067               <name>EP2_INTR_EN</name>
2068               <description>Enables interrupt for EP2.</description>
2069               <lsb>1</lsb>
2070               <msb>1</msb>
2071               <access>read-write</access>
2072             </field>
2073             <field>
2074               <name>EP3_INTR_EN</name>
2075               <description>Enables interrupt for EP3.</description>
2076               <lsb>2</lsb>
2077               <msb>2</msb>
2078               <access>read-write</access>
2079             </field>
2080             <field>
2081               <name>EP4_INTR_EN</name>
2082               <description>Enables interrupt for EP4.</description>
2083               <lsb>3</lsb>
2084               <msb>3</msb>
2085               <access>read-write</access>
2086             </field>
2087             <field>
2088               <name>EP5_INTR_EN</name>
2089               <description>Enables interrupt for EP5.</description>
2090               <lsb>4</lsb>
2091               <msb>4</msb>
2092               <access>read-write</access>
2093             </field>
2094             <field>
2095               <name>EP6_INTR_EN</name>
2096               <description>Enables interrupt for EP6.</description>
2097               <lsb>5</lsb>
2098               <msb>5</msb>
2099               <access>read-write</access>
2100             </field>
2101             <field>
2102               <name>EP7_INTR_EN</name>
2103               <description>Enables interrupt for EP7.</description>
2104               <lsb>6</lsb>
2105               <msb>6</msb>
2106               <access>read-write</access>
2107             </field>
2108             <field>
2109               <name>EP8_INTR_EN</name>
2110               <description>Enables interrupt for EP8.</description>
2111               <lsb>7</lsb>
2112               <msb>7</msb>
2113               <access>read-write</access>
2114             </field>
2115           </fields>
2116         </register>
2117         <register>
2118           <name>ARB_INT_SR</name>
2119           <description>Arbiter Interrupt Status</description>
2120           <addressOffset>0x4000609F</addressOffset>
2121           <size>8</size>
2122           <access>read-write</access>
2123           <resetValue>0</resetValue>
2124           <resetMask>0</resetMask>
2125           <fields>
2126             <field>
2127               <name>EP1_INTR</name>
2128               <description>Interrupt status for EP1.</description>
2129               <lsb>0</lsb>
2130               <msb>0</msb>
2131               <access>read-only</access>
2132             </field>
2133             <field>
2134               <name>EP2_INTR</name>
2135               <description>Interrupt status for EP2.</description>
2136               <lsb>1</lsb>
2137               <msb>1</msb>
2138               <access>read-only</access>
2139             </field>
2140             <field>
2141               <name>EP3_INTR</name>
2142               <description>Interrupt status for EP3.</description>
2143               <lsb>2</lsb>
2144               <msb>2</msb>
2145               <access>read-only</access>
2146             </field>
2147             <field>
2148               <name>EP4_INTR</name>
2149               <description>Interrupt status for EP4.</description>
2150               <lsb>3</lsb>
2151               <msb>3</msb>
2152               <access>read-only</access>
2153             </field>
2154             <field>
2155               <name>EP5_INTR</name>
2156               <description>Interrupt status for EP5.</description>
2157               <lsb>4</lsb>
2158               <msb>4</msb>
2159               <access>read-only</access>
2160             </field>
2161             <field>
2162               <name>EP6_INTR</name>
2163               <description>Interrupt status for EP6.</description>
2164               <lsb>5</lsb>
2165               <msb>5</msb>
2166               <access>read-only</access>
2167             </field>
2168             <field>
2169               <name>EP7_INTR</name>
2170               <description>Interrupt status for EP7.</description>
2171               <lsb>6</lsb>
2172               <msb>6</msb>
2173               <access>read-only</access>
2174             </field>
2175             <field>
2176               <name>EP8_INTR</name>
2177               <description>Interrupt status for EP8.</description>
2178               <lsb>7</lsb>
2179               <msb>7</msb>
2180               <access>read-only</access>
2181             </field>
2182           </fields>
2183         </register>
2184         <register>
2185           <name>ARB_EP3_CFG</name>
2186           <description>Arbiter Endpoint 1 Configuration Register</description>
2187           <addressOffset>0x400060A0</addressOffset>
2188           <size>8</size>
2189           <access>read-write</access>
2190           <resetValue>0</resetValue>
2191           <resetMask>0</resetMask>
2192           <fields>
2193             <field>
2194               <name>IN_DATA_RDY</name>
2195               <description>Indication that Endpoint Packet Data is Ready in Main memory</description>
2196               <lsb>0</lsb>
2197               <msb>0</msb>
2198               <access>read-write</access>
2199             </field>
2200             <field>
2201               <name>DMA_REQ</name>
2202               <description>Manual DMA Request for a particular (1 to 8) endpoint; changing this field from 0 to 1 causes a DMA request to be generated.</description>
2203               <lsb>1</lsb>
2204               <msb>1</msb>
2205               <access>read-write</access>
2206             </field>
2207             <field>
2208               <name>CRC_BYPASS</name>
2209               <description>CRC_NORMAL - 0, CRC_BYPASS - 1</description>
2210               <lsb>2</lsb>
2211               <msb>2</msb>
2212               <access>read-write</access>
2213             </field>
2214             <field>
2215               <name>RESET_PTR</name>
2216               <description>RESET_KRYPTON - 0, RESET_NORMAL - 1</description>
2217               <lsb>3</lsb>
2218               <msb>3</msb>
2219               <access>read-write</access>
2220             </field>
2221           </fields>
2222         </register>
2223         <register>
2224           <name>ARB_EP3_INT_EN</name>
2225           <description>Arbiter Endpoint 1 Interrupt Enable Register</description>
2226           <addressOffset>0x400060A1</addressOffset>
2227           <size>8</size>
2228           <access>read-write</access>
2229           <resetValue>0</resetValue>
2230           <resetMask>0</resetMask>
2231           <fields>
2232             <field>
2233               <name>IN_BUF_FULL_EN</name>
2234               <description>IN Endpoint Local Buffer Full</description>
2235               <lsb>0</lsb>
2236               <msb>0</msb>
2237               <access>read-write</access>
2238             </field>
2239             <field>
2240               <name>DMA_GNT_EN</name>
2241               <description>Endpoint DMA Grant</description>
2242               <lsb>1</lsb>
2243               <msb>1</msb>
2244               <access>read-write</access>
2245             </field>
2246             <field>
2247               <name>BUF_OVER_EN</name>
2248               <description>Endpoint Buffer Overflow</description>
2249               <lsb>2</lsb>
2250               <msb>2</msb>
2251               <access>read-write</access>
2252             </field>
2253             <field>
2254               <name>BUF_UNDER_EN</name>
2255               <description>Endpoint Buffer Underflow</description>
2256               <lsb>3</lsb>
2257               <msb>3</msb>
2258               <access>read-write</access>
2259             </field>
2260             <field>
2261               <name>ERR_INT_EN</name>
2262               <description>Endpoint Error in Transaction Interrupt</description>
2263               <lsb>4</lsb>
2264               <msb>4</msb>
2265               <access>read-write</access>
2266             </field>
2267             <field>
2268               <name>DMA_TERMIN_EN</name>
2269               <description>Endpoint DMA Terminated Enable</description>
2270               <lsb>5</lsb>
2271               <msb>5</msb>
2272               <access>read-write</access>
2273             </field>
2274           </fields>
2275         </register>
2276         <register>
2277           <name>ARB_EP3_INT_SR</name>
2278           <description>Arbiter Endpoint 1 Interrupt Status Register</description>
2279           <addressOffset>0x400060A2</addressOffset>
2280           <size>8</size>
2281           <access>read-write</access>
2282           <resetValue>0</resetValue>
2283           <resetMask>0</resetMask>
2284           <fields>
2285             <field>
2286               <name>IN_BUF_FULL_EN</name>
2287               <description>IN Endpoint Local Buffer Full</description>
2288               <lsb>0</lsb>
2289               <msb>0</msb>
2290               <access>read-write</access>
2291             </field>
2292             <field>
2293               <name>DMA_GNT_EN</name>
2294               <description>Endpoint DMA Grant</description>
2295               <lsb>1</lsb>
2296               <msb>1</msb>
2297               <access>read-write</access>
2298             </field>
2299             <field>
2300               <name>BUF_OVER_EN</name>
2301               <description>Endpoint Buffer Overflow</description>
2302               <lsb>2</lsb>
2303               <msb>2</msb>
2304               <access>read-write</access>
2305             </field>
2306             <field>
2307               <name>BUF_UNDER_EN</name>
2308               <description>Endpoint Buffer Underflow</description>
2309               <lsb>3</lsb>
2310               <msb>3</msb>
2311               <access>read-write</access>
2312             </field>
2313             <field>
2314               <name>ERR_INT_EN</name>
2315               <description>Endpoint Error in Transaction Interrupt</description>
2316               <lsb>4</lsb>
2317               <msb>4</msb>
2318               <access>read-write</access>
2319             </field>
2320             <field>
2321               <name>DMA_TERMIN_EN</name>
2322               <description>Endpoint DMA Terminated Enable</description>
2323               <lsb>5</lsb>
2324               <msb>5</msb>
2325               <access>read-write</access>
2326             </field>
2327           </fields>
2328         </register>
2329         <register>
2330           <name>ARB_RW3_WA</name>
2331           <description>Arbiter Endpoint 1 Write Address LSB Register</description>
2332           <addressOffset>0x400060A4</addressOffset>
2333           <size>8</size>
2334           <access>read-write</access>
2335           <resetValue>0</resetValue>
2336           <resetMask>0</resetMask>
2337           <fields>
2338             <field>
2339               <name>WA8</name>
2340               <description>Write Address for EP.</description>
2341               <lsb>0</lsb>
2342               <msb>7</msb>
2343               <access>read-write</access>
2344             </field>
2345           </fields>
2346         </register>
2347         <register>
2348           <name>ARB_RW3_WA_MSB</name>
2349           <description>Arbiter Endpoint 1 Write Address MSB Register</description>
2350           <addressOffset>0x400060A5</addressOffset>
2351           <size>8</size>
2352           <access>read-write</access>
2353           <resetValue>0</resetValue>
2354           <resetMask>0</resetMask>
2355           <fields>
2356             <field>
2357               <name>WA9</name>
2358               <description>Write Address for EP MSB.</description>
2359               <lsb>0</lsb>
2360               <msb>0</msb>
2361               <access>read-write</access>
2362             </field>
2363           </fields>
2364         </register>
2365         <register>
2366           <name>ARB_RW3_RA</name>
2367           <description>Arbiter Endpoint 1 Read Address LSB Register</description>
2368           <addressOffset>0x400060A6</addressOffset>
2369           <size>8</size>
2370           <access>read-write</access>
2371           <resetValue>0</resetValue>
2372           <resetMask>0</resetMask>
2373           <fields>
2374             <field>
2375               <name>RA8</name>
2376               <description>Read Address for EP MSB.</description>
2377               <lsb>0</lsb>
2378               <msb>7</msb>
2379               <access>read-write</access>
2380             </field>
2381           </fields>
2382         </register>
2383         <register>
2384           <name>ARB_RW3_RA_MSB</name>
2385           <description>Arbiter Endpoint 1 Read Address MSB Register</description>
2386           <addressOffset>0x400060A7</addressOffset>
2387           <size>8</size>
2388           <access>read-write</access>
2389           <resetValue>0</resetValue>
2390           <resetMask>0</resetMask>
2391           <fields>
2392             <field>
2393               <name>RA9</name>
2394               <description>Read Address for EP MSB.</description>
2395               <lsb>0</lsb>
2396               <msb>0</msb>
2397               <access>read-write</access>
2398             </field>
2399           </fields>
2400         </register>
2401         <register>
2402           <name>ARB_EP4_CFG</name>
2403           <description>Arbiter Endpoint 1 Configuration Register</description>
2404           <addressOffset>0x400060B0</addressOffset>
2405           <size>8</size>
2406           <access>read-write</access>
2407           <resetValue>0</resetValue>
2408           <resetMask>0</resetMask>
2409           <fields>
2410             <field>
2411               <name>IN_DATA_RDY</name>
2412               <description>Indication that Endpoint Packet Data is Ready in Main memory</description>
2413               <lsb>0</lsb>
2414               <msb>0</msb>
2415               <access>read-write</access>
2416             </field>
2417             <field>
2418               <name>DMA_REQ</name>
2419               <description>Manual DMA Request for a particular (1 to 8) endpoint; changing this field from 0 to 1 causes a DMA request to be generated.</description>
2420               <lsb>1</lsb>
2421               <msb>1</msb>
2422               <access>read-write</access>
2423             </field>
2424             <field>
2425               <name>CRC_BYPASS</name>
2426               <description>CRC_NORMAL - 0, CRC_BYPASS - 1</description>
2427               <lsb>2</lsb>
2428               <msb>2</msb>
2429               <access>read-write</access>
2430             </field>
2431             <field>
2432               <name>RESET_PTR</name>
2433               <description>RESET_KRYPTON - 0, RESET_NORMAL - 1</description>
2434               <lsb>3</lsb>
2435               <msb>3</msb>
2436               <access>read-write</access>
2437             </field>
2438           </fields>
2439         </register>
2440         <register>
2441           <name>ARB_EP4_INT_EN</name>
2442           <description>Arbiter Endpoint 1 Interrupt Enable Register</description>
2443           <addressOffset>0x400060B1</addressOffset>
2444           <size>8</size>
2445           <access>read-write</access>
2446           <resetValue>0</resetValue>
2447           <resetMask>0</resetMask>
2448           <fields>
2449             <field>
2450               <name>IN_BUF_FULL_EN</name>
2451               <description>IN Endpoint Local Buffer Full</description>
2452               <lsb>0</lsb>
2453               <msb>0</msb>
2454               <access>read-write</access>
2455             </field>
2456             <field>
2457               <name>DMA_GNT_EN</name>
2458               <description>Endpoint DMA Grant</description>
2459               <lsb>1</lsb>
2460               <msb>1</msb>
2461               <access>read-write</access>
2462             </field>
2463             <field>
2464               <name>BUF_OVER_EN</name>
2465               <description>Endpoint Buffer Overflow</description>
2466               <lsb>2</lsb>
2467               <msb>2</msb>
2468               <access>read-write</access>
2469             </field>
2470             <field>
2471               <name>BUF_UNDER_EN</name>
2472               <description>Endpoint Buffer Underflow</description>
2473               <lsb>3</lsb>
2474               <msb>3</msb>
2475               <access>read-write</access>
2476             </field>
2477             <field>
2478               <name>ERR_INT_EN</name>
2479               <description>Endpoint Error in Transaction Interrupt</description>
2480               <lsb>4</lsb>
2481               <msb>4</msb>
2482               <access>read-write</access>
2483             </field>
2484             <field>
2485               <name>DMA_TERMIN_EN</name>
2486               <description>Endpoint DMA Terminated Enable</description>
2487               <lsb>5</lsb>
2488               <msb>5</msb>
2489               <access>read-write</access>
2490             </field>
2491           </fields>
2492         </register>
2493         <register>
2494           <name>ARB_EP4_INT_SR</name>
2495           <description>Arbiter Endpoint 1 Interrupt Status Register</description>
2496           <addressOffset>0x400060B2</addressOffset>
2497           <size>8</size>
2498           <access>read-write</access>
2499           <resetValue>0</resetValue>
2500           <resetMask>0</resetMask>
2501           <fields>
2502             <field>
2503               <name>IN_BUF_FULL_EN</name>
2504               <description>IN Endpoint Local Buffer Full</description>
2505               <lsb>0</lsb>
2506               <msb>0</msb>
2507               <access>read-write</access>
2508             </field>
2509             <field>
2510               <name>DMA_GNT_EN</name>
2511               <description>Endpoint DMA Grant</description>
2512               <lsb>1</lsb>
2513               <msb>1</msb>
2514               <access>read-write</access>
2515             </field>
2516             <field>
2517               <name>BUF_OVER_EN</name>
2518               <description>Endpoint Buffer Overflow</description>
2519               <lsb>2</lsb>
2520               <msb>2</msb>
2521               <access>read-write</access>
2522             </field>
2523             <field>
2524               <name>BUF_UNDER_EN</name>
2525               <description>Endpoint Buffer Underflow</description>
2526               <lsb>3</lsb>
2527               <msb>3</msb>
2528               <access>read-write</access>
2529             </field>
2530             <field>
2531               <name>ERR_INT_EN</name>
2532               <description>Endpoint Error in Transaction Interrupt</description>
2533               <lsb>4</lsb>
2534               <msb>4</msb>
2535               <access>read-write</access>
2536             </field>
2537             <field>
2538               <name>DMA_TERMIN_EN</name>
2539               <description>Endpoint DMA Terminated Enable</description>
2540               <lsb>5</lsb>
2541               <msb>5</msb>
2542               <access>read-write</access>
2543             </field>
2544           </fields>
2545         </register>
2546         <register>
2547           <name>ARB_RW4_WA</name>
2548           <description>Arbiter Endpoint 1 Write Address LSB Register</description>
2549           <addressOffset>0x400060B4</addressOffset>
2550           <size>8</size>
2551           <access>read-write</access>
2552           <resetValue>0</resetValue>
2553           <resetMask>0</resetMask>
2554           <fields>
2555             <field>
2556               <name>WA8</name>
2557               <description>Write Address for EP.</description>
2558               <lsb>0</lsb>
2559               <msb>7</msb>
2560               <access>read-write</access>
2561             </field>
2562           </fields>
2563         </register>
2564         <register>
2565           <name>ARB_RW4_WA_MSB</name>
2566           <description>Arbiter Endpoint 1 Write Address MSB Register</description>
2567           <addressOffset>0x400060B5</addressOffset>
2568           <size>8</size>
2569           <access>read-write</access>
2570           <resetValue>0</resetValue>
2571           <resetMask>0</resetMask>
2572           <fields>
2573             <field>
2574               <name>WA9</name>
2575               <description>Write Address for EP MSB.</description>
2576               <lsb>0</lsb>
2577               <msb>0</msb>
2578               <access>read-write</access>
2579             </field>
2580           </fields>
2581         </register>
2582         <register>
2583           <name>ARB_RW4_RA</name>
2584           <description>Arbiter Endpoint 1 Read Address LSB Register</description>
2585           <addressOffset>0x400060B6</addressOffset>
2586           <size>8</size>
2587           <access>read-write</access>
2588           <resetValue>0</resetValue>
2589           <resetMask>0</resetMask>
2590           <fields>
2591             <field>
2592               <name>RA8</name>
2593               <description>Read Address for EP MSB.</description>
2594               <lsb>0</lsb>
2595               <msb>7</msb>
2596               <access>read-write</access>
2597             </field>
2598           </fields>
2599         </register>
2600         <register>
2601           <name>ARB_RW4_RA_MSB</name>
2602           <description>Arbiter Endpoint 1 Read Address MSB Register</description>
2603           <addressOffset>0x400060B7</addressOffset>
2604           <size>8</size>
2605           <access>read-write</access>
2606           <resetValue>0</resetValue>
2607           <resetMask>0</resetMask>
2608           <fields>
2609             <field>
2610               <name>RA9</name>
2611               <description>Read Address for EP MSB.</description>
2612               <lsb>0</lsb>
2613               <msb>0</msb>
2614               <access>read-write</access>
2615             </field>
2616           </fields>
2617         </register>
2618       </registers>
2619     </peripheral>
2620     <peripheral>
2621       <name>SCSI_Out_Ctl</name>
2622       <description>No description available</description>
2623       <baseAddress>0x0</baseAddress>
2624       <addressBlock>
2625         <offset>0</offset>
2626         <size>0x0</size>
2627         <usage>registers</usage>
2628       </addressBlock>
2629       <registers>
2630         <register>
2631           <name>SCSI_Out_Ctl_CONTROL_REG</name>
2632           <description>No description available</description>
2633           <addressOffset>0x40006473</addressOffset>
2634           <size>8</size>
2635           <access>read-write</access>
2636           <resetValue>0</resetValue>
2637           <resetMask>0</resetMask>
2638         </register>
2639       </registers>
2640     </peripheral>
2641     <peripheral>
2642       <name>Debug_Timer</name>
2643       <description>No description available</description>
2644       <baseAddress>0x0</baseAddress>
2645       <addressBlock>
2646         <offset>0</offset>
2647         <size>0x0</size>
2648         <usage>registers</usage>
2649       </addressBlock>
2650       <registers>
2651         <register>
2652           <name>Debug_Timer_GLOBAL_ENABLE</name>
2653           <description>PM.ACT.CFG</description>
2654           <addressOffset>0x400043A3</addressOffset>
2655           <size>8</size>
2656           <access>read-write</access>
2657           <resetValue>0</resetValue>
2658           <resetMask>0</resetMask>
2659           <fields>
2660             <field>
2661               <name>en_timer</name>
2662               <description>Enable timer/counters.</description>
2663               <lsb>0</lsb>
2664               <msb>3</msb>
2665               <access>read-write</access>
2666             </field>
2667           </fields>
2668         </register>
2669         <register>
2670           <name>Debug_Timer_CONTROL</name>
2671           <description>TMRx.CFG0</description>
2672           <addressOffset>0x40004F00</addressOffset>
2673           <size>8</size>
2674           <access>read-write</access>
2675           <resetValue>0</resetValue>
2676           <resetMask>0</resetMask>
2677           <fields>
2678             <field>
2679               <name>EN</name>
2680               <description>Enables timer/comparator.</description>
2681               <lsb>0</lsb>
2682               <msb>0</msb>
2683               <access>read-write</access>
2684             </field>
2685             <field>
2686               <name>MODE</name>
2687               <description>Mode. (0 = Timer; 1 = Comparator)</description>
2688               <lsb>1</lsb>
2689               <msb>1</msb>
2690               <access>read-write</access>
2691               <enumeratedValues>
2692                 <enumeratedValue>
2693                   <name>Timer</name>
2694                   <description>Timer mode. CNT/CMP register holds timer count value.</description>
2695                   <value>0</value>
2696                 </enumeratedValue>
2697                 <enumeratedValue>
2698                   <name>Comparator</name>
2699                   <description>Comparator mode. CNT/CMP register holds comparator threshold value.</description>
2700                   <value>1</value>
2701                 </enumeratedValue>
2702               </enumeratedValues>
2703             </field>
2704             <field>
2705               <name>ONESHOT</name>
2706               <description>Timer stops upon reaching stop condition defined by TMR_CFG bits. Can be restarted by asserting TIMER RESET or disabling and re-enabling block.</description>
2707               <lsb>2</lsb>
2708               <msb>2</msb>
2709               <access>read-write</access>
2710             </field>
2711             <field>
2712               <name>CMP_BUFF</name>
2713               <description>Buffer compare register. Compare register updates only on timer terminal count.</description>
2714               <lsb>3</lsb>
2715               <msb>3</msb>
2716               <access>read-write</access>
2717             </field>
2718             <field>
2719               <name>INV</name>
2720               <description>Invert sense of TIMEREN signal</description>
2721               <lsb>4</lsb>
2722               <msb>4</msb>
2723               <access>read-write</access>
2724             </field>
2725             <field>
2726               <name>DB</name>
2727               <description>Deadband mode--Deadband phases phi1 and phi2 are outputted on CMP and TC output pins respectively.</description>
2728               <lsb>5</lsb>
2729               <msb>5</msb>
2730               <access>read-write</access>
2731               <enumeratedValues>
2732                 <enumeratedValue>
2733                   <name>Timer</name>
2734                   <description>CMP and TC are output.</description>
2735                   <value>0</value>
2736                 </enumeratedValue>
2737                 <enumeratedValue>
2738                   <name>Deadband</name>
2739                   <description>PHI1 (instead of CMP) and PHI2 (instead of TC) are output.</description>
2740                   <value>1</value>
2741                 </enumeratedValue>
2742               </enumeratedValues>
2743             </field>
2744             <field>
2745               <name>DEADBAND_PERIOD</name>
2746               <description>Deadband Period</description>
2747               <lsb>6</lsb>
2748               <msb>7</msb>
2749               <access>read-write</access>
2750             </field>
2751           </fields>
2752         </register>
2753         <register>
2754           <name>Debug_Timer_CONTROL2</name>
2755           <description>TMRx.CFG1</description>
2756           <addressOffset>0x40004F01</addressOffset>
2757           <size>8</size>
2758           <access>read-write</access>
2759           <resetValue>0</resetValue>
2760           <resetMask>0</resetMask>
2761           <fields>
2762             <field>
2763               <name>IRQ_SEL</name>
2764               <description>Irq selection. (0 = raw interrupts; 1 = status register interrupts)</description>
2765               <lsb>0</lsb>
2766               <msb>0</msb>
2767               <access>read-write</access>
2768             </field>
2769             <field>
2770               <name>FTC</name>
2771               <description>First Terminal Count (FTC). Setting this bit forces a single pulse on the TC pin when first enabled.</description>
2772               <lsb>1</lsb>
2773               <msb>1</msb>
2774               <access>read-write</access>
2775               <enumeratedValues>
2776                 <enumeratedValue>
2777                   <name>Disable_FTC</name>
2778                   <description>Disable the single cycle pulse, which signifies the timer is starting.</description>
2779                   <value>0</value>
2780                 </enumeratedValue>
2781                 <enumeratedValue>
2782                   <name>Enable_FTC</name>
2783                   <description>Enable the single cycle pulse, which signifies the timer is starting.</description>
2784                   <value>1</value>
2785                 </enumeratedValue>
2786               </enumeratedValues>
2787             </field>
2788             <field>
2789               <name>DCOR</name>
2790               <description>Disable Clear on Read (DCOR) of Status Register SR0.</description>
2791               <lsb>2</lsb>
2792               <msb>2</msb>
2793               <access>read-write</access>
2794             </field>
2795             <field>
2796               <name>DBMODE</name>
2797               <description>Deadband mode (asynchronous/synchronous). CMP output pin is also affected when not in deadband mode (CFG0.DEADBAND).</description>
2798               <lsb>3</lsb>
2799               <msb>3</msb>
2800               <access>read-write</access>
2801             </field>
2802             <field>
2803               <name>CLK_BUS_EN_SEL</name>
2804               <description>Digital Global Clock selection.</description>
2805               <lsb>4</lsb>
2806               <msb>6</msb>
2807               <access>read-write</access>
2808             </field>
2809             <field>
2810               <name>BUS_CLK_SEL</name>
2811               <description>Bus Clock selection.</description>
2812               <lsb>7</lsb>
2813               <msb>7</msb>
2814               <access>read-write</access>
2815             </field>
2816           </fields>
2817         </register>
2818         <register>
2819           <name>Debug_Timer_CONTROL3_</name>
2820           <description>TMRx.CFG2</description>
2821           <addressOffset>0x40004F02</addressOffset>
2822           <size>8</size>
2823           <access>read-write</access>
2824           <resetValue>0</resetValue>
2825           <resetMask>0</resetMask>
2826           <fields>