Added support for v4.2 boards
[SCSI2SD.git] / software / SCSI2SD / v4 / USB_Bootloader.cydsn / USB_Bootloader.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>USBFS</name>
11       <description>USBFS</description>
12       <baseAddress>0x40004394</baseAddress>
13       <addressBlock>
14         <offset>0</offset>
15         <size>0x1D0A</size>
16         <usage>registers</usage>
17       </addressBlock>
18       <registers>
19         <register>
20           <name>USBFS_PM_USB_CR0</name>
21           <description>USB Power Mode Control Register 0</description>
22           <addressOffset>0x0</addressOffset>
23           <size>8</size>
24           <access>read-write</access>
25           <resetValue>0</resetValue>
26           <resetMask>0</resetMask>
27           <fields>
28             <field>
29               <name>fsusbio_ref_en</name>
30               <description>No description available</description>
31               <lsb>0</lsb>
32               <msb>0</msb>
33               <access>read-write</access>
34             </field>
35             <field>
36               <name>fsusbio_pd_n</name>
37               <description>No description available</description>
38               <lsb>1</lsb>
39               <msb>1</msb>
40               <access>read-write</access>
41             </field>
42             <field>
43               <name>fsusbio_pd_pullup_n</name>
44               <description>No description available</description>
45               <lsb>2</lsb>
46               <msb>2</msb>
47               <access>read-write</access>
48             </field>
49           </fields>
50         </register>
51         <register>
52           <name>USBFS_PM_ACT_CFG</name>
53           <description>Active Power Mode Configuration Register</description>
54           <addressOffset>0x11</addressOffset>
55           <size>8</size>
56           <access>read-write</access>
57           <resetValue>0</resetValue>
58           <resetMask>0</resetMask>
59         </register>
60         <register>
61           <name>USBFS_PM_STBY_CFG</name>
62           <description>Standby Power Mode Configuration Register</description>
63           <addressOffset>0x21</addressOffset>
64           <size>8</size>
65           <access>read-write</access>
66           <resetValue>0</resetValue>
67           <resetMask>0</resetMask>
68         </register>
69         <register>
70           <name>USBFS_PRT_PS</name>
71           <description>Port Pin State Register</description>
72           <addressOffset>0xE5D</addressOffset>
73           <size>8</size>
74           <access>read-write</access>
75           <resetValue>0</resetValue>
76           <resetMask>0</resetMask>
77           <fields>
78             <field>
79               <name>PinState_DP</name>
80               <description>No description available</description>
81               <lsb>6</lsb>
82               <msb>6</msb>
83               <access>read-only</access>
84             </field>
85             <field>
86               <name>PinState_DM</name>
87               <description>No description available</description>
88               <lsb>7</lsb>
89               <msb>7</msb>
90               <access>read-only</access>
91             </field>
92           </fields>
93         </register>
94         <register>
95           <name>USBFS_PRT_DM0</name>
96           <description>Port Drive Mode Register</description>
97           <addressOffset>0xE5E</addressOffset>
98           <size>8</size>
99           <access>read-write</access>
100           <resetValue>0</resetValue>
101           <resetMask>0</resetMask>
102           <fields>
103             <field>
104               <name>DriveMode_DP</name>
105               <description>No description available</description>
106               <lsb>6</lsb>
107               <msb>6</msb>
108               <access>read-write</access>
109             </field>
110             <field>
111               <name>DriveMode_DM</name>
112               <description>No description available</description>
113               <lsb>7</lsb>
114               <msb>7</msb>
115               <access>read-write</access>
116             </field>
117           </fields>
118         </register>
119         <register>
120           <name>USBFS_PRT_DM1</name>
121           <description>Port Drive Mode Register</description>
122           <addressOffset>0xE5F</addressOffset>
123           <size>8</size>
124           <access>read-write</access>
125           <resetValue>0</resetValue>
126           <resetMask>0</resetMask>
127           <fields>
128             <field>
129               <name>PullUp_en_DP</name>
130               <description>No description available</description>
131               <lsb>6</lsb>
132               <msb>6</msb>
133               <access>read-write</access>
134             </field>
135             <field>
136               <name>PullUp_en_DM</name>
137               <description>No description available</description>
138               <lsb>7</lsb>
139               <msb>7</msb>
140               <access>read-write</access>
141             </field>
142           </fields>
143         </register>
144         <register>
145           <name>USBFS_PRT_INP_DIS</name>
146           <description>Input buffer disable override</description>
147           <addressOffset>0xE64</addressOffset>
148           <size>8</size>
149           <access>read-write</access>
150           <resetValue>0</resetValue>
151           <resetMask>0</resetMask>
152           <fields>
153             <field>
154               <name>seinput_dis_dp</name>
155               <description>No description available</description>
156               <lsb>6</lsb>
157               <msb>6</msb>
158               <access>read-write</access>
159             </field>
160             <field>
161               <name>seinput_dis_dm</name>
162               <description>No description available</description>
163               <lsb>7</lsb>
164               <msb>7</msb>
165               <access>read-write</access>
166             </field>
167           </fields>
168         </register>
169         <register>
170           <name>USBFS_EP0_DR0</name>
171           <description>bmRequestType</description>
172           <addressOffset>0x1C6C</addressOffset>
173           <size>8</size>
174           <access>read-write</access>
175           <resetValue>0</resetValue>
176           <resetMask>0</resetMask>
177         </register>
178         <register>
179           <name>USBFS_EP0_DR1</name>
180           <description>bRequest</description>
181           <addressOffset>0x1C6D</addressOffset>
182           <size>8</size>
183           <access>read-write</access>
184           <resetValue>0</resetValue>
185           <resetMask>0</resetMask>
186         </register>
187         <register>
188           <name>USBFS_EP0_DR2</name>
189           <description>wValueLo</description>
190           <addressOffset>0x1C6E</addressOffset>
191           <size>8</size>
192           <access>read-write</access>
193           <resetValue>0</resetValue>
194           <resetMask>0</resetMask>
195         </register>
196         <register>
197           <name>USBFS_EP0_DR3</name>
198           <description>wValueHi</description>
199           <addressOffset>0x1C6F</addressOffset>
200           <size>8</size>
201           <access>read-write</access>
202           <resetValue>0</resetValue>
203           <resetMask>0</resetMask>
204         </register>
205         <register>
206           <name>USBFS_EP0_DR4</name>
207           <description>wIndexLo</description>
208           <addressOffset>0x1C70</addressOffset>
209           <size>8</size>
210           <access>read-write</access>
211           <resetValue>0</resetValue>
212           <resetMask>0</resetMask>
213         </register>
214         <register>
215           <name>USBFS_EP0_DR5</name>
216           <description>wIndexHi</description>
217           <addressOffset>0x1C71</addressOffset>
218           <size>8</size>
219           <access>read-write</access>
220           <resetValue>0</resetValue>
221           <resetMask>0</resetMask>
222         </register>
223         <register>
224           <name>USBFS_EP0_DR6</name>
225           <description>lengthLo</description>
226           <addressOffset>0x1C72</addressOffset>
227           <size>8</size>
228           <access>read-write</access>
229           <resetValue>0</resetValue>
230           <resetMask>0</resetMask>
231         </register>
232         <register>
233           <name>USBFS_EP0_DR7</name>
234           <description>lengthHi</description>
235           <addressOffset>0x1C73</addressOffset>
236           <size>8</size>
237           <access>read-write</access>
238           <resetValue>0</resetValue>
239           <resetMask>0</resetMask>
240         </register>
241         <register>
242           <name>USBFS_CR0</name>
243           <description>USB Control Register 0</description>
244           <addressOffset>0x1C74</addressOffset>
245           <size>8</size>
246           <access>read-write</access>
247           <resetValue>0</resetValue>
248           <resetMask>0</resetMask>
249           <fields>
250             <field>
251               <name>device_address</name>
252               <description>No description available</description>
253               <lsb>6</lsb>
254               <msb>0</msb>
255               <access>read-only</access>
256             </field>
257             <field>
258               <name>usb_enable</name>
259               <description>No description available</description>
260               <lsb>7</lsb>
261               <msb>7</msb>
262               <access>read-write</access>
263             </field>
264           </fields>
265         </register>
266         <register>
267           <name>USBFS_CR1</name>
268           <description>USB Control Register 1</description>
269           <addressOffset>0x1C75</addressOffset>
270           <size>8</size>
271           <access>read-write</access>
272           <resetValue>0</resetValue>
273           <resetMask>0</resetMask>
274           <fields>
275             <field>
276               <name>reg_enable</name>
277               <description>No description available</description>
278               <lsb>0</lsb>
279               <msb>0</msb>
280               <access>read-write</access>
281             </field>
282             <field>
283               <name>enable_lock</name>
284               <description>No description available</description>
285               <lsb>1</lsb>
286               <msb>1</msb>
287               <access>read-write</access>
288             </field>
289             <field>
290               <name>bus_activity</name>
291               <description>No description available</description>
292               <lsb>2</lsb>
293               <msb>2</msb>
294               <access>read-write</access>
295             </field>
296             <field>
297               <name>trim_offset_msb</name>
298               <description>No description available</description>
299               <lsb>3</lsb>
300               <msb>3</msb>
301               <access>read-write</access>
302             </field>
303           </fields>
304         </register>
305         <register>
306           <name>USBFS_SIE_EP1_CR0</name>
307           <description>The Endpoint1 Control Register</description>
308           <addressOffset>0x1C7A</addressOffset>
309           <size>8</size>
310           <access>read-write</access>
311           <resetValue>0</resetValue>
312           <resetMask>0</resetMask>
313         </register>
314         <register>
315           <name>USBFS_USBIO_CR0</name>
316           <description>USBIO Control Register 0</description>
317           <addressOffset>0x1C7C</addressOffset>
318           <size>8</size>
319           <access>read-write</access>
320           <resetValue>0</resetValue>
321           <resetMask>0</resetMask>
322           <fields>
323             <field>
324               <name>rd</name>
325               <description>No description available</description>
326               <lsb>0</lsb>
327               <msb>0</msb>
328               <access>read-only</access>
329             </field>
330             <field>
331               <name>td</name>
332               <description>No description available</description>
333               <lsb>5</lsb>
334               <msb>5</msb>
335               <access>read-write</access>
336             </field>
337             <field>
338               <name>tse0</name>
339               <description>No description available</description>
340               <lsb>6</lsb>
341               <msb>6</msb>
342               <access>read-write</access>
343             </field>
344             <field>
345               <name>ten</name>
346               <description>No description available</description>
347               <lsb>7</lsb>
348               <msb>7</msb>
349               <access>read-write</access>
350             </field>
351           </fields>
352         </register>
353         <register>
354           <name>USBFS_USBIO_CR1</name>
355           <description>USBIO Control Register 1</description>
356           <addressOffset>0x1C7E</addressOffset>
357           <size>8</size>
358           <access>read-write</access>
359           <resetValue>0</resetValue>
360           <resetMask>0</resetMask>
361           <fields>
362             <field>
363               <name>dmo</name>
364               <description>No description available</description>
365               <lsb>0</lsb>
366               <msb>0</msb>
367               <access>read-only</access>
368             </field>
369             <field>
370               <name>dpo</name>
371               <description>No description available</description>
372               <lsb>1</lsb>
373               <msb>1</msb>
374               <access>read-only</access>
375             </field>
376             <field>
377               <name>usbpuen</name>
378               <description>No description available</description>
379               <lsb>2</lsb>
380               <msb>2</msb>
381               <access>read-write</access>
382             </field>
383             <field>
384               <name>iomode</name>
385               <description>No description available</description>
386               <lsb>5</lsb>
387               <msb>5</msb>
388               <access>read-write</access>
389             </field>
390           </fields>
391         </register>
392         <register>
393           <name>USBFS_SIE_EP2_CR0</name>
394           <description>The Endpoint2 Control Register</description>
395           <addressOffset>0x1C8A</addressOffset>
396           <size>8</size>
397           <access>read-write</access>
398           <resetValue>0</resetValue>
399           <resetMask>0</resetMask>
400         </register>
401         <register>
402           <name>USBFS_SIE_EP3_CR0</name>
403           <description>The Endpoint3 Control Register</description>
404           <addressOffset>0x1C9A</addressOffset>
405           <size>8</size>
406           <access>read-write</access>
407           <resetValue>0</resetValue>
408           <resetMask>0</resetMask>
409         </register>
410         <register>
411           <name>USBFS_SIE_EP4_CR0</name>
412           <description>The Endpoint4 Control Register</description>
413           <addressOffset>0x1CAA</addressOffset>
414           <size>8</size>
415           <access>read-write</access>
416           <resetValue>0</resetValue>
417           <resetMask>0</resetMask>
418         </register>
419         <register>
420           <name>USBFS_SIE_EP5_CR0</name>
421           <description>The Endpoint5 Control Register</description>
422           <addressOffset>0x1CBA</addressOffset>
423           <size>8</size>
424           <access>read-write</access>
425           <resetValue>0</resetValue>
426           <resetMask>0</resetMask>
427         </register>
428         <register>
429           <name>USBFS_SIE_EP6_CR0</name>
430           <description>The Endpoint6 Control Register</description>
431           <addressOffset>0x1CCA</addressOffset>
432           <size>8</size>
433           <access>read-write</access>
434           <resetValue>0</resetValue>
435           <resetMask>0</resetMask>
436         </register>
437         <register>
438           <name>USBFS_SIE_EP7_CR0</name>
439           <description>The Endpoint7 Control Register</description>
440           <addressOffset>0x1CDA</addressOffset>
441           <size>8</size>
442           <access>read-write</access>
443           <resetValue>0</resetValue>
444           <resetMask>0</resetMask>
445         </register>
446         <register>
447           <name>USBFS_SIE_EP8_CR0</name>
448           <description>The Endpoint8 Control Register</description>
449           <addressOffset>0x1CEA</addressOffset>
450           <size>8</size>
451           <access>read-write</access>
452           <resetValue>0</resetValue>
453           <resetMask>0</resetMask>
454         </register>
455         <register>
456           <name>USBFS_BUF_SIZE</name>
457           <description>Dedicated Endpoint Buffer Size Register</description>
458           <addressOffset>0x1CF8</addressOffset>
459           <size>8</size>
460           <access>read-write</access>
461           <resetValue>0</resetValue>
462           <resetMask>0</resetMask>
463         </register>
464         <register>
465           <name>USBFS_EP_ACTIVE</name>
466           <description>Endpoint Active Indication Register</description>
467           <addressOffset>0x1CFA</addressOffset>
468           <size>8</size>
469           <access>read-write</access>
470           <resetValue>0</resetValue>
471           <resetMask>0</resetMask>
472         </register>
473         <register>
474           <name>USBFS_EP_TYPE</name>
475           <description>Endpoint Type (IN/OUT) Indication</description>
476           <addressOffset>0x1CFB</addressOffset>
477           <size>8</size>
478           <access>read-write</access>
479           <resetValue>0</resetValue>
480           <resetMask>0</resetMask>
481         </register>
482         <register>
483           <name>USBFS_USB_CLK_EN</name>
484           <description>USB Block Clock Enable Register</description>
485           <addressOffset>0x1D09</addressOffset>
486           <size>8</size>
487           <access>read-write</access>
488           <resetValue>0</resetValue>
489           <resetMask>0</resetMask>
490         </register>
491       </registers>
492     </peripheral>
493   </peripherals>
494 </device>