1<?xml version="1.0" encoding="utf-8"?>
2<device schemaVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD.xsd">
3  <peripheral>
4    <name>PTG</name>
5    <description>Pulse Train Generation</description>
6    <groupName>Pulse_Train</groupName>
7    <baseAddress>0x4003C000</baseAddress>
8    <size>32</size>
9    <access>read-write</access>
10    <addressBlock>
11      <offset>0</offset>
12      <size>0x0020</size>
13      <usage>registers</usage>
14    </addressBlock>
15    <interrupt>
16      <name>PT</name>
17      <description>Pulse Train IRQ</description>
18      <value>59</value>
19    </interrupt>
20    <registers>
21      <!-- ENABLE: Global Enable/Disable Controls for All Pulse Trains -->
22      <register>
23        <name>ENABLE</name>
24        <description>Global Enable/Disable Controls for All Pulse Trains</description>
25        <addressOffset>0x0000</addressOffset>
26        <access>read-write</access>
27        <fields>
28          <field>
29            <name>pt0</name>
30            <description>Enable/Disable control for PT0</description>
31            <bitOffset>0</bitOffset>
32            <bitWidth>1</bitWidth>
33            <access>read-write</access>
34          </field>
35          <field>
36            <name>pt1</name>
37            <description>Enable/Disable control for PT1</description>
38            <bitOffset>1</bitOffset>
39            <bitWidth>1</bitWidth>
40            <access>read-write</access>
41          </field>
42          <field>
43            <name>pt2</name>
44            <description>Enable/Disable control for PT2</description>
45            <bitOffset>2</bitOffset>
46            <bitWidth>1</bitWidth>
47            <access>read-write</access>
48          </field>
49          <field>
50            <name>pt3</name>
51            <description>Enable/Disable control for PT3</description>
52            <bitOffset>3</bitOffset>
53            <bitWidth>1</bitWidth>
54            <access>read-write</access>
55          </field>
56          <field>
57            <name>pt4</name>
58            <description>Enable/Disable control for PT4</description>
59            <bitOffset>4</bitOffset>
60            <bitWidth>1</bitWidth>
61            <access>read-write</access>
62          </field>
63          <field>
64            <name>pt5</name>
65            <description>Enable/Disable control for PT5</description>
66            <bitOffset>5</bitOffset>
67            <bitWidth>1</bitWidth>
68            <access>read-write</access>
69          </field>
70          <field>
71            <name>pt6</name>
72            <description>Enable/Disable control for PT6</description>
73            <bitOffset>6</bitOffset>
74            <bitWidth>1</bitWidth>
75            <access>read-write</access>
76          </field>
77          <field>
78            <name>pt7</name>
79            <description>Enable/Disable control for PT7</description>
80            <bitOffset>7</bitOffset>
81            <bitWidth>1</bitWidth>
82            <access>read-write</access>
83          </field>
84        </fields>
85      </register>
86      <!-- RESYNC:
87                                                                                                         Global Resync (All Pulse Trains) Control -->
88      <register>
89        <name>RESYNC</name>
90        <description>Global Resync (All Pulse Trains) Control</description>
91        <addressOffset>0x0004</addressOffset>
92        <access>read-write</access>
93        <fields>
94          <field>
95            <name>pt0</name>
96            <description>Resync control for PT0</description>
97            <bitOffset>0</bitOffset>
98            <bitWidth>1</bitWidth>
99            <access>read-write</access>
100          </field>
101          <field>
102            <name>pt1</name>
103            <description>Resync control for PT1</description>
104            <bitOffset>1</bitOffset>
105            <bitWidth>1</bitWidth>
106            <access>read-write</access>
107          </field>
108          <field>
109            <name>pt2</name>
110            <description>Resync control for PT2</description>
111            <bitOffset>2</bitOffset>
112            <bitWidth>1</bitWidth>
113            <access>read-write</access>
114          </field>
115          <field>
116            <name>pt3</name>
117            <description>Resync control for PT3</description>
118            <bitOffset>3</bitOffset>
119            <bitWidth>1</bitWidth>
120            <access>read-write</access>
121          </field>
122          <field>
123            <name>pt4</name>
124            <description>Resync control for PT4</description>
125            <bitOffset>4</bitOffset>
126            <bitWidth>1</bitWidth>
127            <access>read-write</access>
128          </field>
129          <field>
130            <name>pt5</name>
131            <description>Resync control for PT5</description>
132            <bitOffset>5</bitOffset>
133            <bitWidth>1</bitWidth>
134            <access>read-write</access>
135          </field>
136          <field>
137            <name>pt6</name>
138            <description>Resync control for PT6</description>
139            <bitOffset>6</bitOffset>
140            <bitWidth>1</bitWidth>
141            <access>read-write</access>
142          </field>
143          <field>
144            <name>pt7</name>
145            <description>Resync control for PT7</description>
146            <bitOffset>7</bitOffset>
147            <bitWidth>1</bitWidth>
148            <access>read-write</access>
149          </field>
150        </fields>
151      </register>
152      <!-- INTFL:
153                                                                                                                                                                         Pulse Train Interrupt Flags -->
154      <register>
155        <name>INTFL</name>
156        <description>Pulse Train Interrupt Flags</description>
157        <addressOffset>0x0008</addressOffset>
158        <access>read-write</access>
159        <fields>
160          <field>
161            <name>pt0</name>
162            <description>Pulse Train 0 Stopped Interrupt Flag</description>
163            <bitOffset>0</bitOffset>
164            <bitWidth>1</bitWidth>
165            <access>read-write</access>
166          </field>
167          <field>
168            <name>pt1</name>
169            <description>Pulse Train 1 Stopped Interrupt Flag</description>
170            <bitOffset>1</bitOffset>
171            <bitWidth>1</bitWidth>
172            <access>read-write</access>
173          </field>
174          <field>
175            <name>pt2</name>
176            <description>Pulse Train 2 Stopped Interrupt Flag</description>
177            <bitOffset>2</bitOffset>
178            <bitWidth>1</bitWidth>
179            <access>read-write</access>
180          </field>
181          <field>
182            <name>pt3</name>
183            <description>Pulse Train 3 Stopped Interrupt Flag</description>
184            <bitOffset>3</bitOffset>
185            <bitWidth>1</bitWidth>
186            <access>read-write</access>
187          </field>
188          <field>
189            <name>pt4</name>
190            <description>Pulse Train 4 Stopped Interrupt Flag</description>
191            <bitOffset>4</bitOffset>
192            <bitWidth>1</bitWidth>
193            <access>read-write</access>
194          </field>
195          <field>
196            <name>pt5</name>
197            <description>Pulse Train 5 Stopped Interrupt Flag</description>
198            <bitOffset>5</bitOffset>
199            <bitWidth>1</bitWidth>
200            <access>read-write</access>
201          </field>
202          <field>
203            <name>pt6</name>
204            <description>Pulse Train 6 Stopped Interrupt Flag</description>
205            <bitOffset>6</bitOffset>
206            <bitWidth>1</bitWidth>
207            <access>read-write</access>
208          </field>
209          <field>
210            <name>pt7</name>
211            <description>Pulse Train 7 Stopped Interrupt Flag</description>
212            <bitOffset>7</bitOffset>
213            <bitWidth>1</bitWidth>
214            <access>read-write</access>
215          </field>
216        </fields>
217      </register>
218      <!-- INTEN:
219                                                                                                                                                                         Pulse Train Interrupt Enable/Disable -->
220      <register>
221        <name>INTEN</name>
222        <description>Pulse Train Interrupt Enable/Disable</description>
223        <addressOffset>0x000C</addressOffset>
224        <access>read-write</access>
225        <fields>
226          <field>
227            <name>pt0</name>
228            <description>Pulse Train 0 Stopped Interrupt Enable/Disable</description>
229            <bitOffset>0</bitOffset>
230            <bitWidth>1</bitWidth>
231            <access>read-write</access>
232          </field>
233          <field>
234            <name>pt1</name>
235            <description>Pulse Train 1 Stopped Interrupt Enable/Disable</description>
236            <bitOffset>1</bitOffset>
237            <bitWidth>1</bitWidth>
238            <access>read-write</access>
239          </field>
240          <field>
241            <name>pt2</name>
242            <description>Pulse Train 2 Stopped Interrupt Enable/Disable</description>
243            <bitOffset>2</bitOffset>
244            <bitWidth>1</bitWidth>
245            <access>read-write</access>
246          </field>
247          <field>
248            <name>pt3</name>
249            <description>Pulse Train 3 Stopped Interrupt Enable/Disable</description>
250            <bitOffset>3</bitOffset>
251            <bitWidth>1</bitWidth>
252            <access>read-write</access>
253          </field>
254          <field>
255            <name>pt4</name>
256            <description>Pulse Train 4 Stopped Interrupt Enable/Disable</description>
257            <bitOffset>4</bitOffset>
258            <bitWidth>1</bitWidth>
259            <access>read-write</access>
260          </field>
261          <field>
262            <name>pt5</name>
263            <description>Pulse Train 5 Stopped Interrupt Enable/Disable</description>
264            <bitOffset>5</bitOffset>
265            <bitWidth>1</bitWidth>
266            <access>read-write</access>
267          </field>
268          <field>
269            <name>pt6</name>
270            <description>Pulse Train 6 Stopped Interrupt Enable/Disable</description>
271            <bitOffset>6</bitOffset>
272            <bitWidth>1</bitWidth>
273            <access>read-write</access>
274          </field>
275          <field>
276            <name>pt7</name>
277            <description>Pulse Train 7 Stopped Interrupt Enable/Disable</description>
278            <bitOffset>7</bitOffset>
279            <bitWidth>1</bitWidth>
280            <access>read-write</access>
281          </field>
282        </fields>
283      </register>
284      <register>
285        <name>SAFE_EN</name>
286        <description>Pulse Train Global Safe Enable.</description>
287        <addressOffset>0x0010</addressOffset>
288        <access>write-only</access>
289        <fields>
290          <field>
291            <name>PT0</name>
292            <bitOffset>0</bitOffset>
293            <bitWidth>1</bitWidth>
294            <access>write-only</access>
295          </field>
296          <field>
297            <name>PT1</name>
298            <bitOffset>1</bitOffset>
299            <bitWidth>1</bitWidth>
300            <access>write-only</access>
301          </field>
302          <field>
303            <name>PT2</name>
304            <bitOffset>2</bitOffset>
305            <bitWidth>1</bitWidth>
306            <access>write-only</access>
307          </field>
308          <field>
309            <name>PT3</name>
310            <bitOffset>3</bitOffset>
311            <bitWidth>1</bitWidth>
312            <access>write-only</access>
313          </field>
314          <field>
315            <name>PT4</name>
316            <bitOffset>4</bitOffset>
317            <bitWidth>1</bitWidth>
318            <access>write-only</access>
319          </field>
320          <field>
321            <name>PT5</name>
322            <bitOffset>5</bitOffset>
323            <bitWidth>1</bitWidth>
324            <access>write-only</access>
325          </field>
326          <field>
327            <name>PT6</name>
328            <bitOffset>6</bitOffset>
329            <bitWidth>1</bitWidth>
330            <access>write-only</access>
331          </field>
332          <field>
333            <name>PT7</name>
334            <bitOffset>7</bitOffset>
335            <bitWidth>1</bitWidth>
336            <access>write-only</access>
337          </field>
338        </fields>
339      </register>
340      <register>
341        <name>SAFE_DIS</name>
342        <description>Pulse Train Global Safe Disable.</description>
343        <addressOffset>0x0014</addressOffset>
344        <access>write-only</access>
345        <fields>
346          <field>
347            <name>PT0</name>
348            <bitOffset>0</bitOffset>
349            <bitWidth>1</bitWidth>
350            <access>write-only</access>
351          </field>
352          <field>
353            <name>PT1</name>
354            <bitOffset>1</bitOffset>
355            <bitWidth>1</bitWidth>
356            <access>write-only</access>
357          </field>
358          <field>
359            <name>PT2</name>
360            <bitOffset>2</bitOffset>
361            <bitWidth>1</bitWidth>
362            <access>write-only</access>
363          </field>
364          <field>
365            <name>PT3</name>
366            <bitOffset>3</bitOffset>
367            <bitWidth>1</bitWidth>
368            <access>write-only</access>
369          </field>
370          <field>
371            <name>PT4</name>
372            <bitOffset>4</bitOffset>
373            <bitWidth>1</bitWidth>
374            <access>write-only</access>
375          </field>
376          <field>
377            <name>PT5</name>
378            <bitOffset>5</bitOffset>
379            <bitWidth>1</bitWidth>
380            <access>write-only</access>
381          </field>
382          <field>
383            <name>PT6</name>
384            <bitOffset>6</bitOffset>
385            <bitWidth>1</bitWidth>
386            <access>write-only</access>
387          </field>
388          <field>
389            <name>PT7</name>
390            <bitOffset>7</bitOffset>
391            <bitWidth>1</bitWidth>
392            <access>write-only</access>
393          </field>
394        </fields>
395      </register>
396      <register>
397        <name>READY_INTFL</name>
398        <description>Pulse Train Ready Interrupt Flags</description>
399        <addressOffset>0x0018</addressOffset>
400        <access>read-write</access>
401        <fields>
402          <field>
403            <name>pt0</name>
404            <description>Pulse Train 0 Stopped Interrupt Flag</description>
405            <bitOffset>0</bitOffset>
406            <bitWidth>1</bitWidth>
407            <access>read-write</access>
408          </field>
409          <field>
410            <name>pt1</name>
411            <description>Pulse Train 1 Stopped Interrupt Flag</description>
412            <bitOffset>1</bitOffset>
413            <bitWidth>1</bitWidth>
414            <access>read-write</access>
415          </field>
416          <field>
417            <name>pt2</name>
418            <description>Pulse Train 2 Stopped Interrupt Flag</description>
419            <bitOffset>2</bitOffset>
420            <bitWidth>1</bitWidth>
421            <access>read-write</access>
422          </field>
423          <field>
424            <name>pt3</name>
425            <description>Pulse Train 3 Stopped Interrupt Flag</description>
426            <bitOffset>3</bitOffset>
427            <bitWidth>1</bitWidth>
428            <access>read-write</access>
429          </field>
430          <field>
431            <name>pt4</name>
432            <description>Pulse Train 4 Stopped Interrupt Flag</description>
433            <bitOffset>4</bitOffset>
434            <bitWidth>1</bitWidth>
435            <access>read-write</access>
436          </field>
437          <field>
438            <name>pt5</name>
439            <description>Pulse Train 5 Stopped Interrupt Flag</description>
440            <bitOffset>5</bitOffset>
441            <bitWidth>1</bitWidth>
442            <access>read-write</access>
443          </field>
444          <field>
445            <name>pt6</name>
446            <description>Pulse Train 6 Stopped Interrupt Flag</description>
447            <bitOffset>6</bitOffset>
448            <bitWidth>1</bitWidth>
449            <access>read-write</access>
450          </field>
451          <field>
452            <name>pt7</name>
453            <description>Pulse Train 7 Stopped Interrupt Flag</description>
454            <bitOffset>7</bitOffset>
455            <bitWidth>1</bitWidth>
456            <access>read-write</access>
457          </field>
458        </fields>
459      </register>
460      <register>
461        <name>READY_INTEN</name>
462        <description>Pulse Train Ready Interrupt Enable/Disable</description>
463        <addressOffset>0x001C</addressOffset>
464        <access>read-write</access>
465        <fields>
466          <field>
467            <name>pt0</name>
468            <description>Pulse Train 0 Stopped Interrupt Enable/Disable</description>
469            <bitOffset>0</bitOffset>
470            <bitWidth>1</bitWidth>
471            <access>read-write</access>
472          </field>
473          <field>
474            <name>pt1</name>
475            <description>Pulse Train 1 Stopped Interrupt Enable/Disable</description>
476            <bitOffset>1</bitOffset>
477            <bitWidth>1</bitWidth>
478            <access>read-write</access>
479          </field>
480          <field>
481            <name>pt2</name>
482            <description>Pulse Train 2 Stopped Interrupt Enable/Disable</description>
483            <bitOffset>2</bitOffset>
484            <bitWidth>1</bitWidth>
485            <access>read-write</access>
486          </field>
487          <field>
488            <name>pt3</name>
489            <description>Pulse Train 3 Stopped Interrupt Enable/Disable</description>
490            <bitOffset>3</bitOffset>
491            <bitWidth>1</bitWidth>
492            <access>read-write</access>
493          </field>
494          <field>
495            <name>pt4</name>
496            <description>Pulse Train 4 Stopped Interrupt Enable/Disable</description>
497            <bitOffset>4</bitOffset>
498            <bitWidth>1</bitWidth>
499            <access>read-write</access>
500          </field>
501          <field>
502            <name>pt5</name>
503            <description>Pulse Train 5 Stopped Interrupt Enable/Disable</description>
504            <bitOffset>5</bitOffset>
505            <bitWidth>1</bitWidth>
506            <access>read-write</access>
507          </field>
508          <field>
509            <name>pt6</name>
510            <description>Pulse Train 6 Stopped Interrupt Enable/Disable</description>
511            <bitOffset>6</bitOffset>
512            <bitWidth>1</bitWidth>
513            <access>read-write</access>
514          </field>
515          <field>
516            <name>pt7</name>
517            <description>Pulse Train 7 Stopped Interrupt Enable/Disable</description>
518            <bitOffset>7</bitOffset>
519            <bitWidth>1</bitWidth>
520            <access>read-write</access>
521          </field>
522        </fields>
523      </register>
524    </registers>
525  </peripheral>
526</device>