-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathADuCM350.svd
10342 lines (10277 loc) · 297 KB
/
ADuCM350.svd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<device schemaVersion="1.1" xs:noNamespaceSchemaLocation="CMSIS-SVD_Schema_1_1.xsd">
<vendor>Analog Devices</vendor>
<vendorID>ADI</vendorID>
<name>ADUCM350</name>
<version>0.1</version>
<description>Cortex-M3 Microcontroller Device</description>
<addressUnitBits>8</addressUnitBits>
<width>32</width>
<series>ARMCM3</series>
<!-- Register Default Properties -->
<!-- the size of the registers is set to a bit width of 32. This can be overruled for individual peripherals and/or registers -->
<size>32</size>
<!-- the access to all registers is set to be readable and writeable. This can be overruled for individual peripherals and/or registers -->
<access>read-write</access>
<!-- for demonstration purposes the resetValue for all registers of the device is set to be 0. This can be overruled within the description -->
<resetValue>0</resetValue>
<!-- the resetMask = 0 specifies that by default no register of this device has a defined reset value -->
<resetMask>0</resetMask>
<cpu>
<name>CM3</name>
<revision>r2p0</revision>
<endian>little</endian>
<mpuPresent>false</mpuPresent>
<fpuPresent>false</fpuPresent>
<nvicPrioBits>3</nvicPrioBits>
<vendorSystickConfig>false</vendorSystickConfig>
</cpu>
<!--- This file contains
This software is MODIFIED for the ADuCM350 processor by
LabLab UG, haftungsbeschraenkt ("LabLab") and subject to the following license agreement:
Analog Devices, Inc. ("ADI")
Software License Agreement
20171208-CM36xCPF-CTSLA
BEFORE YOU SELECT THE "I ACCEPT" BUTTON AT THE BOTTOM OF THIS WINDOW, CAREFULLY READ THE TERMS AND CONDITIONS SET FORTH BELOW. BY SELECTING THE "I ACCEPT" BUTTON BELOW, OR DOWNLOADING, REPRODUCING, DISTRIBUTING OR OTHERWISE USING THE SOFTWARE, YOU AGREE TO BE BOUND BY THE TERMS AND CONDITIONS SET FORTH BELOW. IF YOU DO NOT AGREE TO ALL OF THE TERMS AND CONDITIONS, SELECT THE 'I DO NOT ACCEPT' BUTTON AND YOU MUST NOT DOWNLOAD, INSTALL OR OTHERWISE USE THE SOFTWARE.
DOWNLOADING, REPRODUCING, DISTRIBUTING OR OTHERWISE USING THE SOFTWARE CONSTITUTES ACCEPTANCE OF THIS LICENSE. THE SOFTWARE MAY NOT BE USED EXCEPT AS EXPRESSLY AUTHORIZED UNDER THIS LICENSE.
The software is protected by copyright law and international copyright treaties.
1. License: Subject to the terms and conditions of this license, the software may be reproduced, modified and distributed in source code and object code form.
2. Conditions:
(a) Any distribution of the software must include a complete copy of this license and retain all copyright and other proprietary notices. The software that is distributed (including modified versions of the software) shall be subject to the terms and conditions of this license.
(b) The software may not be combined or merged with other software in any manner that would cause the software to become subject to terms and conditions which differ from those of this license.
(c) The software is licensed solely and exclusively for use with processors manufactured by or for ADI.
(d) Licensee shall not use the name or any trademark of ADI (including those of its licensors) or any contributor to endorse or promote products without prior written consent of the owner of the name or trademark. The term "contributor" means any person or entity that modifies or distributes the software.
(e) Modified versions of the Software must be conspicuously marked as such.
(f) Use of the software may or may not infringe patent rights of one or more patent holders. This license does not alleviate the obligation to obtain separate licenses from patent holders to use the software.
(g) All rights not expressly granted hereunder are reserved.
(h) This license shall be governed by the laws of Massachusetts, without regard to its conflict of laws rules. The software shall only be used in compliance with all applicable laws and regulations, including without limitation export control laws.
3. WARRANTY DISCLAIMER: THE SOFTWARE AND ANY RELATED INFORMATION AND/OR ADVICE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT REPRESENTATIONS, GUARANTEES OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, ORAL OR WRITTEN, INCLUDING WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. There is no obligation to provide software support or updates. The Software is not fault-tolerant and is not intended for use in high risk applications, including without limitation in the operation of nuclear facilities, aircraft navigation or control systems, air traffic control, life support machines, weapons systems or any other application in which the failure of the software could lead to death, personal injury, or severe physical or environmental damages. The software is not authorized to be used under such circumstances.
4. LIMITATION OF LIABILITY: TO THE MAXIMUM EXTENT PERMITTED BY LAW ADI (INCLUDING ITS LICENSORS) AND CONTRIBUTORS SHALL NOT BE LIABLE FOR ANY DAMAGES ARISING FROM OR RELATED TO THE SOFTWARE, ITS USE OR ANY RELATED INFORMATION AND/OR SERVICES, INCLUDING BUT NOT LIMITED TO ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE, EXEMPLARY, CONSEQUENTIAL OR ANALOGOUS DAMAGES (INCLUDING WITHOUT LIMITATION ANY DAMAGES RESULTING FROM LOSS OF USE, DATA, REVENUE, PROFITS, OR SAVINGS, COMPUTER DAMAGE OR ANY OTHER CAUSE), UNDER ANY LEGAL THEORY (INCLUDING WITHOUT LIMITATION CONTRACT, WARRANTY, TORT, NEGLIGENCE, STRICT OR PRODUCT LIABILITY), EVEN IF IT HAS BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. Some jurisdictions do not permit the exclusion or limitation of liability for consequential, incidental or other damages, and, as such, some portion of the above limitation may not apply. In such jurisdictions, liability is limited to the greatest extent permitted by law.
5. Third Party Software: The software may be accompanied by or include software made available by one or more third parties ("Third Party Software"). Each portion of Third Party Software is subject to its own separate software license terms and conditions ("Third Party Licenses"). The Third Party Licenses for Third Party Software delivered with the software are set forth or identified (by url or otherwise) in (i) Appendix A to this license (if any), (ii) the applicable software header or footer text, (iii) a text file located in the directory of the applicable Third Party Software component and/or (iv) such other location customarily used for licensing terms. The use of each portion of Third Party Software is subject to the Third Party Licenses, and you agree that your use of any Third Party Software is bound by the applicable Third Party License. You agree to review and comply with all applicable Third Party Licenses prior to any use or distribution of any Third Party Software. Third Party Software is provided on an "as is" basis without any representation, warranty or liability of any kind. ADI (including its licensors) and contributors shall have no liability or responsibility for the operation or performance of the Third Party Software and shall not be liable for any damages, costs, or expenses, direct or indirect, arising out of the performance or failure to perform of the Third Party Software. ADI (including its licensors) and contributors shall be entitled to the benefit of any and all limitations of liability and disclaimers of warranties contained in the Third Party Licenses. For the avoidance of doubt, this license does not alter, limit or expand the terms and conditions of, or rights granted to you pursuant to, Third Party Licenses.
In the event that Third Party Software has only been provided to you in object code form under this Agreement, and the Third Party License requires distribution of the corresponding source code, you may contact [email protected] regarding receiving a copy of such source code.
-->
<!--<device xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" schemaVersion="1.1" xs:noNamespaceSchemaLocation="CMSIS-SVD.xsd">-->
<peripherals>
<peripheral>
<name>RESET</name>
<description>Reset register</description>
<groupName>RESET</groupName>
<baseAddress>0x40002440</baseAddress>
<addressBlock>
<offset>0</offset>
<size>0x10</size>
<usage>registers</usage>
</addressBlock>
<registers>
<register>
<name>RSTSTA</name>
<addressOffset>0x00000000</addressOffset>
<size>0x00000010</size>
<fields>
<field>
<name>SWRST</name>
<description>Software reset. Set automatically; write 1 to clear</description>
<bitOffset>3</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>WDRST</name>
<description>Watchdog timeout. Set automatically; write 1 to clear</description>
<bitOffset>2</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>EXTRST</name>
<description>External reset. Set automatically; write 1 to clear</description>
<bitOffset>1</bitOffset>
<bitWidth>1</bitWidth>
</field>
<field>
<name>POR</name>
<description>Power-on reset. Set automatically; write 1 to clear</description>
<bitOffset>0</bitOffset>
<bitWidth>1</bitWidth>
</field>
</fields>
</register>
</registers>
</peripheral>
<peripheral>
<name>ADI_GPT0</name>
<description>General purpose Timer 0</description>
<groupName>GPT0</groupName>
<baseAddress>0x40000000</baseAddress>
<addressBlock>
<offset>0</offset>
<size>0x20</size>
<usage>registers</usage>
</addressBlock>
<interrupt>
<name>GP-TIMER0</name>
<value>11</value>
</interrupt>
<registers>
<register>
<name>GPT0LD</name>
<addressOffset>0x00000000</addressOffset>
<size>0x00000010</size>
<fields>
<field>
<name>VALUE</name>
<bitOffset>0</bitOffset>
<bitWidth>16</bitWidth>
</field>
</fields>
</register>
<register>
<name>GPT0VAL</name>
<addressOffset>0x00000004</addressOffset>
<size>0x00000010</size>
<fields>
<field>
<name>VALUE</name>
<bitOffset>0</bitOffset>
<bitWidth>16</bitWidth>
</field>
</fields>
</register>
<register>
<name>GPT0CON</name>
<addressOffset>0x00000008</addressOffset>
<size>0x00000010</size>
<!-- <description>Control Register</description>-->
<fields>
<field>
<name>EVENTEN</name>
<description>Enable time capture of an event</description>
<bitOffset>12</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>DIS</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>EN</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>EVENT</name>
<bitOffset>8</bitOffset>
<bitWidth>4</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>WUT_SRC</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>EXT0</name>
<value>1</value>
</enumeratedValue>
<enumeratedValue>
<name>EXT1</name>
<value>2</value>
</enumeratedValue>
<enumeratedValue>
<name>EXT2</name>
<value>3</value>
</enumeratedValue>
<enumeratedValue>
<name>EXT3</name>
<value>4</value>
</enumeratedValue>
<enumeratedValue>
<name>EXT4</name>
<value>5</value>
</enumeratedValue>
<enumeratedValue>
<name>EXT5</name>
<value>6</value>
</enumeratedValue>
<enumeratedValue>
<name>EXT6</name>
<value>7</value>
</enumeratedValue>
<enumeratedValue>
<name>EXT7</name>
<value>8</value>
</enumeratedValue>
<enumeratedValue>
<name>EXT8</name>
<value>9</value>
</enumeratedValue>
<enumeratedValue>
<name>Reserved</name>
<value>10</value>
</enumeratedValue>
<enumeratedValue>
<name>CapTouch</name>
<value>11</value>
</enumeratedValue>
<enumeratedValue>
<name>WDT</name>
<value>12</value>
</enumeratedValue>
<enumeratedValue>
<name>Flash_controller</name>
<value>13</value>
</enumeratedValue>
<enumeratedValue>
<name>Timer_1</name>
<value>14</value>
</enumeratedValue>
<enumeratedValue>
<name>Timer_2</name>
<value>15</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>RLD</name>
<description>Timer reload on write to clear register</description>
<bitOffset>7</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>DIS</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>EN</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>CLK</name>
<description>Clock Select</description>
<bitOffset>5</bitOffset>
<bitWidth>2</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>PCLK</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>HFOSC</name>
<value>1</value>
</enumeratedValue>
<enumeratedValue>
<name>LFOSC</name>
<value>2</value>
</enumeratedValue>
<enumeratedValue>
<name>LFXTAL</name>
<value>3</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>ENABLE</name>
<description>Enable</description>
<bitOffset>4</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>DIS</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>EN</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>MOD</name>
<!-- <description>Mode</description>-->
<bitOffset>3</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>FREERUN</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>PERIODIC</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>UP</name>
<description>Count-up</description>
<bitOffset>2</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>DIS</name>
<value>0</value>
<!--<description>- counter is set to count down</description>-->
</enumeratedValue>
<enumeratedValue>
<name>EN</name>
<value>1</value>
<!-- <description>- counter is set to count up</description>-->
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>PRE</name>
<description>Prescaler</description>
<bitOffset>0</bitOffset>
<bitWidth>2</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>DIV1</name>
<value>0</value>
<!-- <description>- If the selected clock source is 0 or 1 then this setting results in a prescaler of 4.</description>-->
</enumeratedValue>
<enumeratedValue>
<name>DIV16</name>
<value>1</value>
</enumeratedValue>
<enumeratedValue>
<name>DIV256</name>
<value>2</value>
</enumeratedValue>
<enumeratedValue>
<name>DIV32768</name>
<value>3</value>
</enumeratedValue>
</enumeratedValues>
</field>
</fields>
</register>
<register>
<name>GPT0CLRI</name>
<addressOffset>0x0000000C</addressOffset>
<size>0x00000010</size>
<!--<description>Clear interrupt register</description>-->
<fields>
<field>
<name>CAP</name>
<description>Clear captured event interrupt</description>
<bitOffset>1</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>CLR</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>TMOUT</name>
<description>Clear timeout interrupt</description>
<bitOffset>0</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>CLR</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
</fields>
</register>
<register>
<name>GPT0CAP</name>
<addressOffset>0x00000010</addressOffset>
<size>0x00000010</size>
<!-- <description>Capture Register</description>-->
<fields>
<field>
<name>VALUE</name>
<!-- <description>Capture value</description>-->
<bitOffset>0</bitOffset>
<bitWidth>16</bitWidth>
</field>
</fields>
</register>
<register>
<name>GPT0ALD</name>
<addressOffset>0x00000014</addressOffset>
<size>0x00000010</size>
<!-- <description>Load Value, Asynchronous Register</description>-->
<fields>
<field>
<name>ALOAD</name>
<description>Value updated in the timer clock domain</description>
<bitOffset>0</bitOffset>
<bitWidth>16</bitWidth>
</field>
</fields>
</register>
<register>
<name>GPT0AVAL</name>
<addressOffset>0x00000018</addressOffset>
<size>0x00000010</size>
<!-- <description>Counter Value, Asynchronous Register</description>-->
<fields>
<field>
<name>AVAL</name>
<description>Counter Value (current)</description>
<bitOffset>0</bitOffset>
<bitWidth>16</bitWidth>
</field>
</fields>
</register>
<register>
<name>GPT0STA</name>
<addressOffset>0x0000001C</addressOffset>
<size>0x00000010</size>
<!-- <description>Status Register</description>-->
<fields>
<field>
<name>PDOK</name>
<description>GPTCLRI[0] is updated in the timer clock domain</description>
<bitOffset>7</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>CLR</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>SET</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>BUSY</name>
<description>Timer busy. Check after writing GPTCON.</description>
<bitOffset>6</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>READY</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>NOT_READY</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>CAP</name>
<description>Capture event pending</description>
<bitOffset>1</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>CLR</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>SET</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>TMOUT</name>
<description>Time out event occurred</description>
<bitOffset>0</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>CLR</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>SET</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
</fields>
</register>
<register>
<name>GPT0PCON</name>
<addressOffset>0x00000020</addressOffset>
<size>0x00000010</size>
<!--<description>PWM Control Register</description>-->
<fields>
<field>
<name>IDLE_STATE</name>
<description>PWM idle state</description>
<bitOffset>1</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>IDLE_LOW</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>IDLE_HIGH</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>MATCH_EN</name>
<description>PWM match enabled</description>
<bitOffset>0</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>PWM_TOGGLE</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>PWM_MATCH</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
</fields>
</register>
<register>
<name>GPT0PMAT</name>
<addressOffset>0x00000024</addressOffset>
<size>0x00000010</size>
<!-- <description>PWM Match Value Register</description>-->
<fields>
<field>
<name>MATCH_VAL</name>
<description>PWM Match Value</description>
<bitOffset>0</bitOffset>
<bitWidth>16</bitWidth>
</field>
</fields>
</register>
</registers>
</peripheral>
<peripheral>
<name>ADI_GPT1</name>
<description>General purpose Timer 1</description>
<groupName>GPT1</groupName>
<baseAddress>0x40000400</baseAddress>
<addressBlock>
<offset>0</offset>
<size>0x20</size>
<usage>registers</usage>
</addressBlock>
<interrupt>
<name>GP-TIMER1</name>
<value>12</value>
</interrupt>
<registers>
<register>
<name>GPT1LD</name>
<addressOffset>0x00000000</addressOffset>
<size>0x00000010</size>
<!--<description>16-bit load value</description>-->
<fields>
<field>
<name>VALUE</name>
<description>Load value</description>
<bitOffset>0</bitOffset>
<bitWidth>16</bitWidth>
</field>
</fields>
</register>
<register>
<name>GPT1VAL</name>
<addressOffset>0x00000004</addressOffset>
<size>0x00000010</size>
<!--<description>"16-bit timer value, read only."</description>-->
<fields>
<field>
<name>VALUE</name>
<description>Current value</description>
<bitOffset>0</bitOffset>
<bitWidth>16</bitWidth>
</field>
</fields>
</register>
<register>
<name>GPT1CON</name>
<addressOffset>0x00000008</addressOffset>
<size>0x00000010</size>
<!--<description>Control Register</description>-->
<fields>
<field>
<name>EVENTEN</name>
<!--<description>Enable time capture of an event</description>-->
<bitOffset>12</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>DIS</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>EN</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>EVENT</name>
<description>Event select range. Timer event select range (0 to 15).</description>
<bitOffset>8</bitOffset>
<bitWidth>4</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>UART</name>
<value>0</value>
<!-- <description>UART source</description>-->
</enumeratedValue>
<enumeratedValue>
<name>SPI0</name>
<value>1</value>
<!-- <description>- SPI0</description>-->
</enumeratedValue>
<enumeratedValue>
<name>SPI1</name>
<value>2</value>
<!-- <description>- SPI 1</description>-->
</enumeratedValue>
<enumeratedValue>
<name>SPIH</name>
<value>3</value>
<!-- <description>- SPIH</description>-->
</enumeratedValue>
<enumeratedValue>
<name>I2C_master</name>
<value>4</value>
<!-- <description>- I2C_slave</description>-->
</enumeratedValue>
<enumeratedValue>
<name>I2C_master</name>
<value>5</value>
<!--<description>- I2C master</description>-->
</enumeratedValue>
<enumeratedValue>
<name>I2S</name>
<value>6</value>
<!-- <description>-I2S</description>-->
</enumeratedValue>
<enumeratedValue>
<name>USB</name>
<value>7</value>
<!-- <description>- USB</description>-->
</enumeratedValue>
<enumeratedValue>
<name>USB_DMA</name>
<value>8</value>
<!-- <description>- USB DMA</description>-->
</enumeratedValue>
<enumeratedValue>
<name>AFE_capture</name>
<value>9</value>
<!-- <description>- AFE capture</description>-->
</enumeratedValue>
<enumeratedValue>
<name>Beeper</name>
<value>10</value>
</enumeratedValue>
<enumeratedValue>
<name>DMA_Error</name>
<value>11</value>
</enumeratedValue>
<enumeratedValue>
<name>DMA_done</name>
<value>12</value>
</enumeratedValue>
<enumeratedValue>
<name>GP_Flash_controller</name>
<value>13</value>
</enumeratedValue>
<enumeratedValue>
<name>Timer_0</name>
<value>14</value>
</enumeratedValue>
<enumeratedValue>
<name>Timer_2</name>
<value>15</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>RLD</name>
<description>Timer reload on write to clear register</description>
<bitOffset>7</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>DIS</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>EN</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>CLK</name>
<description>Clock Select</description>
<bitOffset>5</bitOffset>
<bitWidth>2</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>PCLK</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>HFOSC</name>
<value>1</value>
<!--<description>- 16 MHz internal oscillator</description>-->
</enumeratedValue>
<enumeratedValue>
<name>LFOSC</name>
<value>2</value>
<!-- <description>- Internal 32 kHz Oscillator</description>-->
</enumeratedValue>
<enumeratedValue>
<name>LFXTAL</name>
<value>3</value>
<!--<description>- External 32 kHz crystal</description>-->
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>ENABLE</name>
<description>Enable</description>
<bitOffset>4</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>DIS</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>EN</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>MOD</name>
<description>Mode</description>
<bitOffset>3</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>FREERUN</name>
<value>0</value>
<!--<description>- counter starts at 0x0000 or 0xFFFF</description>-->
</enumeratedValue>
<enumeratedValue>
<name>PERIODIC</name>
<value>1</value>
<!-- <description>- counter starts at LOAD value</description>-->
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>UP</name>
<description>Count-up</description>
<bitOffset>2</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>DIS</name>
<value>0</value>
<!-- <description>- counter is set to count down</description>-->
</enumeratedValue>
<enumeratedValue>
<name>EN</name>
<value>1</value>
<!-- <description>- counter is set to count up</description>-->
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>PRE</name>
<description>Prescaler</description>
<bitOffset>0</bitOffset>
<bitWidth>2</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>DIV1</name>
<value>0</value>
<!-- <description>- If the selected clock source is 0 or 1 then this setting results in a prescaler of 4.</description>-->
</enumeratedValue>
<enumeratedValue>
<name>DIV16</name>
<value>1</value>
</enumeratedValue>
<enumeratedValue>
<name>DIV256</name>
<value>2</value>
</enumeratedValue>
<enumeratedValue>
<name>DIV32768</name>
<value>3</value>
</enumeratedValue>
</enumeratedValues>
</field>
</fields>
</register>
<register>
<name>GT1CLRI</name>
<addressOffset>0x0000000C</addressOffset>
<size>0x00000010</size>
<!--<description>Clear interrupt register</description> -->
<fields>
<field>
<name>CAP</name>
<!--<description>Clear captured event interrupt</description>-->
<bitOffset>1</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>CLR</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>TMOUT</name>
<!-- <description>Clear timeout interrupt</description>-->
<bitOffset>0</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>CLR</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
</fields>
</register>
<register>
<name>GPT1CAP</name>
<addressOffset>0x00000010</addressOffset>
<size>0x00000010</size>
<!--<description>Capture Register</description>-->
<fields>
<field>
<name>VALUE</name>
<description>Capture value</description>
<bitOffset>0</bitOffset>
<bitWidth>16</bitWidth>
</field>
</fields>
</register>
<register>
<name>GPT1ALD</name>
<addressOffset>0x00000014</addressOffset>
<size>0x00000010</size>
<!--<description>Load Value, Asynchronous Register</description>-->
<fields>
<field>
<name>ALOAD</name>
<description>Value updated in the timer clock domain</description>
<bitOffset>0</bitOffset>
<bitWidth>16</bitWidth>
</field>
</fields>
</register>
<register>
<name>GPT1AVAL</name>
<addressOffset>0x00000018</addressOffset>
<size>0x00000010</size>
<!--<description>Counter Value, Asynchronous Register</description>-->
<fields>
<field>
<name>AVAL</name>
<description>Counter Value (current)</description>
<bitOffset>0</bitOffset>
<bitWidth>16</bitWidth>
</field>
</fields>
</register>
<register>
<name>GPT1STA</name>
<addressOffset>0x0000001C</addressOffset>
<size>0x00000010</size>
<!-- <description>Status Register</description>-->
<fields>
<field>
<name>PDOK</name>
<description>GPTCLRI[0] is updated in the timer clock domain</description>
<bitOffset>7</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>CLR</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>SET</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>BUSY</name>
<description>Timer busy. Check after writing GPTCON.</description>
<bitOffset>6</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>READY</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>NOT_READY</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>CAP</name>
<description>Capture event pending</description>
<bitOffset>1</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>
<enumeratedValue>
<name>CLR</name>
<value>0</value>
</enumeratedValue>
<enumeratedValue>
<name>SET</name>
<value>1</value>
</enumeratedValue>
</enumeratedValues>
</field>
<field>
<name>TMOUT</name>
<description>Time out event occurred</description>
<bitOffset>0</bitOffset>
<bitWidth>1</bitWidth>
<enumeratedValues>