1<?xml version="1.0" encoding="utf-8"?>
2<!-- File naming: <vendor>_<part/series name>_svd.xml -->
3<device schemaVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" noNamespaceSchemaLocation="CMSIS-SVD.xsd">
4  <vendor>Nordic Semiconductor</vendor>                           <!-- Name for Doxygroup -->
5  <vendorID>Nordic</vendorID>                                     <!-- Vendor ID -->
6  <name>nrf51</name>                                              <!-- Official name of part or part series -->
7  <series>nrf51</series>
8  <version>522</version>                                          <!-- Version of this description. It is the run of the automatic generation of SUS. -->
9  <description>nRF51 reference description for radio MCU with ARM 32-bit Cortex-M0 Microcontroller at 16MHz CPU clock</description>
10  <licenseText>
11Copyright (c) 2010 - 2024, Nordic Semiconductor ASA All rights reserved.\n
12\n
13SPDX-License-Identifier: BSD-3-Clause\n
14\n
15Redistribution and use in source and binary forms, with or without\n
16modification, are permitted provided that the following conditions are met:\n
17\n
181. Redistributions of source code must retain the above copyright notice, this\n
19   list of conditions and the following disclaimer.\n
20\n
212. Redistributions in binary form must reproduce the above copyright\n
22   notice, this list of conditions and the following disclaimer in the\n
23   documentation and/or other materials provided with the distribution.\n
24\n
253. Neither the name of Nordic Semiconductor ASA nor the names of its\n
26   contributors may be used to endorse or promote products derived from this\n
27   software without specific prior written permission.\n
28\n
29THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\n
30AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n
31IMPLIED WARRANTIES OF MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE\n
32ARE DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE\n
33LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n
34CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n
35SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n
36INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n
37CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n
38ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n
39POSSIBILITY OF SUCH DAMAGE.\n
40  </licenseText>
41
42  <!-- Register Properties Group -->
43  <addressUnitBits>8</addressUnitBits>                            <!-- byte addressable memory -->
44  <width>32</width>                                               <!-- bus width is 32 bits -->
45  <size>32</size>                                                 <!-- this is the default size (number of bits) of all peripherals
46                                                                       and register that do not define "size" themselves              -->
47  <resetValue>0x00000000</resetValue>                             <!-- by default all bits of the registers are initialized to 0 on reset -->
48  <resetMask>0xFFFFFFFF</resetMask>                               <!-- by default all 32Bits of the registers are used -->
49
50  <cpu>
51    <name>CM0</name>
52    <revision>r3p1</revision>                                    <!-- CPU Revision r3p1 = 0x2000 -->
53    <endian>little</endian>                                      <!-- little, big, configurable (headerfile: little, big, configurable (#ifdef compilerflag)   -->
54    <mpuPresent>0</mpuPresent>                                   <!-- Does the CPU has a MPU? {0|1} -->
55    <fpuPresent>0</fpuPresent>                                   <!-- Does the CPU has a FPU? {0|1} -->
56    <nvicPrioBits>2</nvicPrioBits>                               <!-- Number of NVIC Priority Bits {8..2} -->
57    <vendorSystickConfig>0</vendorSystickConfig>                 <!-- Does the Vendor has his own Systick Configuration Function? See CMSIS: core_cm3.h -->
58  </cpu>
59
60  <headerSystemFilename>system_nrf51</headerSystemFilename>      <!-- System Header File overwrite -->
61  <headerDefinitionsPrefix>NRF_</headerDefinitionsPrefix>        <!-- Prefix for all structs and #defines -->
62
63  <vendorExtensions>
64    <ExampleStackSize>2048</ExampleStackSize>                                           <!-- Default stack size used in Nordic's startup_nrf51.s files. [Byte/decimal] -->
65    <ExampleHeapSize>2048</ExampleHeapSize>                                             <!-- Default heap size used in Nordic's startup_nrf51.s files. [Byte/decimal] -->
66    <MaxInterrupts>32</MaxInterrupts>                                                   <!-- Number of interrupts used in Nordic's startup_nrf51.s files. [Byte/decimal] -->
67  </vendorExtensions>
68
69  <peripherals>
70
71    <peripheral>
72      <name>POWER</name>
73      <version>522</version>
74      <description>Power Control.</description>
75      <groupName>POWER</groupName>
76      <baseAddress>0x40000000</baseAddress>
77      <size>32</size>
78      <access>read-write</access>
79
80      <addressBlock>
81        <offset>0</offset>
82        <size>0x1000</size>
83        <usage>registers</usage>
84      </addressBlock>
85
86      <interrupt>
87        <name>POWER_CLOCK</name>
88        <value>0</value>
89      </interrupt>
90
91      <registers>
92        <register>
93          <name>TASKS_CONSTLAT</name>
94          <description>Enable constant latency mode.</description>
95          <addressOffset>0x078</addressOffset>
96          <access>write-only</access>
97        </register>
98        <register>
99          <name>TASKS_LOWPWR</name>
100          <description>Enable low power mode (variable latency).</description>
101          <addressOffset>0x07C</addressOffset>
102          <access>write-only</access>
103        </register>
104
105        <register>
106          <name>EVENTS_POFWARN</name>
107          <description>Power failure warning.</description>
108          <addressOffset>0x108</addressOffset>
109        </register>
110
111        <register>
112          <name>INTENSET</name>
113          <description>Interrupt enable set register.</description>
114          <addressOffset>0x304</addressOffset>
115          <fields>
116            <field>
117              <name>POFWARN</name>
118              <description>Enable interrupt on POFWARN event.</description>
119              <lsb>2</lsb> <msb>2</msb>
120              <enumeratedValues>
121                <usage>read</usage>
122                <enumeratedValue>
123                  <name>Disabled</name>
124                  <description>Interrupt disabled.</description>
125                  <value>0</value>
126                </enumeratedValue>
127                <enumeratedValue>
128                  <name>Enabled</name>
129                  <description>Interrupt enabled.</description>
130                  <value>1</value>
131                </enumeratedValue>
132              </enumeratedValues>
133              <enumeratedValues>
134                <usage>write</usage>
135                <enumeratedValue>
136                  <name>Set</name>
137                  <description>Enable interrupt on write.</description>
138                  <value>1</value>
139                </enumeratedValue>
140              </enumeratedValues>
141            </field>
142          </fields>
143        </register>
144        <register>
145          <name>INTENCLR</name>
146          <description>Interrupt enable clear register.</description>
147          <addressOffset>0x308</addressOffset>
148          <fields>
149            <field>
150              <name>POFWARN</name>
151              <description>Disable interrupt on POFWARN event.</description>
152              <lsb>2</lsb> <msb>2</msb>
153              <enumeratedValues>
154                <usage>read</usage>
155                <enumeratedValue>
156                  <name>Disabled</name>
157                  <description>Interrupt disabled.</description>
158                  <value>0</value>
159                </enumeratedValue>
160                <enumeratedValue>
161                  <name>Enabled</name>
162                  <description>Interrupt enabled.</description>
163                  <value>1</value>
164                </enumeratedValue>
165              </enumeratedValues>
166              <enumeratedValues>
167                <usage>write</usage>
168                <enumeratedValue>
169                  <name>Clear</name>
170                  <description>Disable interrupt on write.</description>
171                  <value>1</value>
172                </enumeratedValue>
173              </enumeratedValues>
174            </field>
175          </fields>
176        </register>
177
178        <register>
179          <name>RESETREAS</name>
180          <description>Reset reason.</description>
181          <addressOffset>0x400</addressOffset>
182          <fields>
183            <field>
184              <name>RESETPIN</name>
185              <description>Reset from pin-reset detected.</description>
186              <lsb>0</lsb> <msb>0</msb>
187              <enumeratedValues>
188                <enumeratedValue>
189                  <name>NotDetected</name>
190                  <description>Reset not detected.</description>
191                  <value>0</value>
192                </enumeratedValue>
193                <enumeratedValue>
194                  <name>Detected</name>
195                  <description>Reset detected.</description>
196                  <value>1</value>
197                </enumeratedValue>
198              </enumeratedValues>
199            </field>
200            <field>
201              <name>DOG</name>
202              <description>Reset from watchdog detected.</description>
203              <lsb>1</lsb> <msb>1</msb>
204              <enumeratedValues>
205                <enumeratedValue>
206                  <name>NotDetected</name>
207                  <description>Reset not detected.</description>
208                  <value>0</value>
209                </enumeratedValue>
210                <enumeratedValue>
211                  <name>Detected</name>
212                  <description>Reset detected.</description>
213                  <value>1</value>
214                </enumeratedValue>
215              </enumeratedValues>
216            </field>
217            <field>
218              <name>SREQ</name>
219              <description>Reset from AIRCR.SYSRESETREQ detected.</description>
220              <lsb>2</lsb> <msb>2</msb>
221              <enumeratedValues>
222                <enumeratedValue>
223                  <name>NotDetected</name>
224                  <description>Reset not detected.</description>
225                  <value>0</value>
226                </enumeratedValue>
227                <enumeratedValue>
228                  <name>Detected</name>
229                  <description>Reset detected.</description>
230                  <value>1</value>
231                </enumeratedValue>
232              </enumeratedValues>
233            </field>
234            <field>
235              <name>LOCKUP</name>
236              <description>Reset from CPU lock-up detected.</description>
237              <lsb>3</lsb> <msb>3</msb>
238              <enumeratedValues>
239                <enumeratedValue>
240                  <name>NotDetected</name>
241                  <description>Reset not detected.</description>
242                  <value>0</value>
243                </enumeratedValue>
244                <enumeratedValue>
245                  <name>Detected</name>
246                  <description>Reset detected.</description>
247                  <value>1</value>
248                </enumeratedValue>
249              </enumeratedValues>
250            </field>
251            <field>
252              <name>OFF</name>
253              <description>Reset from wake-up from OFF mode detected by the use of DETECT signal from GPIO.</description>
254              <lsb>16</lsb> <msb>16</msb>
255              <enumeratedValues>
256                <enumeratedValue>
257                  <name>NotDetected</name>
258                  <description>Reset not detected.</description>
259                  <value>0</value>
260                </enumeratedValue>
261                <enumeratedValue>
262                  <name>Detected</name>
263                  <description>Reset detected.</description>
264                  <value>1</value>
265                </enumeratedValue>
266              </enumeratedValues>
267            </field>
268            <field>
269              <name>LPCOMP</name>
270              <description>Reset from wake-up from OFF mode detected by the use of ANADETECT signal from LPCOMP.</description>
271              <lsb>17</lsb> <msb>17</msb>
272              <enumeratedValues>
273                <enumeratedValue>
274                  <name>NotDetected</name>
275                  <description>Reset not detected.</description>
276                  <value>0</value>
277                </enumeratedValue>
278                <enumeratedValue>
279                  <name>Detected</name>
280                  <description>Reset detected.</description>
281                  <value>1</value>
282                </enumeratedValue>
283              </enumeratedValues>
284            </field>
285            <field>
286              <name>DIF</name>
287              <description>Reset from wake-up from OFF mode detected by entering into debug interface mode.</description>
288              <lsb>18</lsb> <msb>18</msb>
289              <enumeratedValues>
290                <enumeratedValue>
291                  <name>NotDetected</name>
292                  <description>Reset not detected.</description>
293                  <value>0</value>
294                </enumeratedValue>
295                <enumeratedValue>
296                  <name>Detected</name>
297                  <description>Reset detected.</description>
298                  <value>1</value>
299                </enumeratedValue>
300              </enumeratedValues>
301            </field>
302          </fields>
303        </register>
304
305        <register>
306          <name>RAMSTATUS</name>
307          <description>Ram status register.</description>
308          <addressOffset>0x428</addressOffset>
309          <access>read-only</access>
310          <fields>
311            <field>
312              <name>RAMBLOCK0</name>
313              <description>RAM block 0 status.</description>
314              <lsb>0</lsb> <msb>0</msb>
315              <enumeratedValues>
316                <enumeratedValue>
317                  <name>Off</name>
318                  <description>RAM block 0 is off or powering up.</description>
319                  <value>0</value>
320                </enumeratedValue>
321                <enumeratedValue>
322                  <name>On</name>
323                  <description>RAM block 0 is on.</description>
324                  <value>1</value>
325                </enumeratedValue>
326              </enumeratedValues>
327            </field>
328            <field>
329              <name>RAMBLOCK1</name>
330              <description>RAM block 1 status.</description>
331              <lsb>1</lsb> <msb>1</msb>
332              <enumeratedValues>
333                <enumeratedValue>
334                  <name>Off</name>
335                  <description>RAM block 1 is off or powering up.</description>
336                  <value>0</value>
337                </enumeratedValue>
338                <enumeratedValue>
339                  <name>On</name>
340                  <description>RAM block 1 is on.</description>
341                  <value>1</value>
342                </enumeratedValue>
343              </enumeratedValues>
344            </field>
345            <field>
346              <name>RAMBLOCK2</name>
347              <description>RAM block 2 status.</description>
348              <lsb>2</lsb> <msb>2</msb>
349              <enumeratedValues>
350                <enumeratedValue>
351                  <name>Off</name>
352                  <description>RAM block 2 is off or powering up.</description>
353                  <value>0</value>
354                </enumeratedValue>
355                <enumeratedValue>
356                  <name>On</name>
357                  <description>RAM block 2 is on.</description>
358                  <value>1</value>
359                </enumeratedValue>
360              </enumeratedValues>
361            </field>
362            <field>
363              <name>RAMBLOCK3</name>
364              <description>RAM block 3 status.</description>
365              <lsb>3</lsb> <msb>3</msb>
366              <enumeratedValues>
367                <enumeratedValue>
368                  <name>Off</name>
369                  <description>RAM block 3 is off or powering up.</description>
370                  <value>0</value>
371                </enumeratedValue>
372                <enumeratedValue>
373                  <name>On</name>
374                  <description>RAM block 3 is on.</description>
375                  <value>1</value>
376                </enumeratedValue>
377              </enumeratedValues>
378            </field>
379          </fields>
380        </register>
381
382        <register>
383          <name>SYSTEMOFF</name>
384          <description>System off register.</description>
385          <addressOffset>0x500</addressOffset>
386          <access>write-only</access>
387          <fields>
388            <field>
389              <name>SYSTEMOFF</name>
390              <description>Enter system off mode.</description>
391              <lsb>0</lsb> <msb>0</msb>
392              <enumeratedValues>
393                <enumeratedValue>
394                  <name>Enter</name>
395                  <description>Enter system off mode.</description>
396                  <value>1</value>
397                </enumeratedValue>
398              </enumeratedValues>
399            </field>
400          </fields>
401        </register>
402
403        <register>
404          <name>POFCON</name>
405          <description>Power failure configuration.</description>
406          <addressOffset>0x510</addressOffset>
407          <fields>
408            <field>
409              <name>POF</name>
410              <description>Power failure comparator enable.</description>
411              <lsb>0</lsb> <msb>0</msb>
412              <enumeratedValues>
413                <enumeratedValue>
414                  <name>Disabled</name>
415                  <description>Disabled.</description>
416                  <value>0</value>
417                </enumeratedValue>
418                <enumeratedValue>
419                  <name>Enabled</name>
420                  <description>Enabled.</description>
421                  <value>1</value>
422                </enumeratedValue>
423              </enumeratedValues>
424            </field>
425            <field>
426              <name>THRESHOLD</name>
427              <description>Set threshold level.</description>
428              <lsb>1</lsb> <msb>2</msb>
429              <enumeratedValues>
430                <enumeratedValue>
431                  <name>V21</name>
432                  <description>Set threshold to 2.1Volts.</description>
433                  <value>0x00</value>
434                </enumeratedValue>
435                <enumeratedValue>
436                  <name>V23</name>
437                  <description>Set threshold to 2.3Volts.</description>
438                  <value>0x01</value>
439                </enumeratedValue>
440                <enumeratedValue>
441                  <name>V25</name>
442                  <description>Set threshold to 2.5Volts.</description>
443                  <value>0x02</value>
444                </enumeratedValue>
445                <enumeratedValue>
446                  <name>V27</name>
447                  <description>Set threshold to 2.7Volts.</description>
448                  <value>0x03</value>
449                </enumeratedValue>
450              </enumeratedValues>
451            </field>
452          </fields>
453        </register>
454
455        <register>
456          <name>GPREGRET</name>
457          <description>General purpose retention register. This register is a retained register.</description>
458          <addressOffset>0x51C</addressOffset>
459          <fields>
460            <field>
461              <name>GPREGRET</name>
462              <description>General purpose retention register.</description>
463              <lsb>0</lsb> <msb>7</msb>
464            </field>
465          </fields>
466        </register>
467
468        <register>
469          <name>RAMON</name>
470          <description>Ram on/off.</description>
471          <addressOffset>0x524</addressOffset>
472          <resetValue>0x00000003</resetValue>
473          <fields>
474            <field>
475              <name>ONRAM0</name>
476              <description>RAM block 0 behaviour in ON mode.</description>
477              <lsb>0</lsb> <msb>0</msb>
478              <enumeratedValues>
479                <enumeratedValue>
480                  <name>RAM0Off</name>
481                  <description>RAM block 0 OFF in ON mode.</description>
482                  <value>0</value>
483                </enumeratedValue>
484                <enumeratedValue>
485                  <name>RAM0On</name>
486                  <description>RAM block 0 ON in ON mode.</description>
487                  <value>1</value>
488                </enumeratedValue>
489              </enumeratedValues>
490            </field>
491            <field>
492              <name>ONRAM1</name>
493              <description>RAM block 1 behaviour in ON mode.</description>
494              <lsb>1</lsb> <msb>1</msb>
495              <enumeratedValues>
496                <enumeratedValue>
497                  <name>RAM1Off</name>
498                  <description>RAM block 1 OFF in ON mode.</description>
499                  <value>0</value>
500                </enumeratedValue>
501                <enumeratedValue>
502                  <name>RAM1On</name>
503                  <description>RAM block 1 ON in ON mode.</description>
504                  <value>1</value>
505                </enumeratedValue>
506              </enumeratedValues>
507            </field>
508            <field>
509              <name>OFFRAM0</name>
510              <description>RAM block 0 behaviour in OFF mode.</description>
511              <lsb>16</lsb> <msb>16</msb>
512              <enumeratedValues>
513                <enumeratedValue>
514                  <name>RAM0Off</name>
515                  <description>RAM block 0 OFF in OFF mode.</description>
516                  <value>0</value>
517                </enumeratedValue>
518                <enumeratedValue>
519                  <name>RAM0On</name>
520                  <description>RAM block 0 ON in OFF mode.</description>
521                  <value>1</value>
522                </enumeratedValue>
523              </enumeratedValues>
524            </field>
525            <field>
526              <name>OFFRAM1</name>
527              <description>RAM block 1 behaviour in OFF mode.</description>
528              <lsb>17</lsb> <msb>17</msb>
529              <enumeratedValues>
530                <enumeratedValue>
531                  <name>RAM1Off</name>
532                  <description>RAM block 1 OFF in OFF mode.</description>
533                  <value>0</value>
534                </enumeratedValue>
535                <enumeratedValue>
536                  <name>RAM1On</name>
537                  <description>RAM block 1 ON in OFF mode.</description>
538                  <value>1</value>
539                </enumeratedValue>
540              </enumeratedValues>
541            </field>
542          </fields>
543        </register>
544
545        <register>
546          <name>RESET</name>
547          <description>Pin reset functionality configuration register. This register is a retained register.</description>
548          <addressOffset>0x544</addressOffset>
549          <fields>
550            <field>
551              <name>RESET</name>
552              <description>Enable or disable pin reset in debug interface mode.</description>
553              <lsb>0</lsb> <msb>0</msb>
554              <enumeratedValues>
555                <enumeratedValue>
556                  <name>Disabled</name>
557                  <description>Pin reset in debug interface mode disabled.</description>
558                  <value>0</value>
559                </enumeratedValue>
560                <enumeratedValue>
561                  <name>Enabled</name>
562                  <description>Pin reset in debug interface mode enabled.</description>
563                  <value>1</value>
564                </enumeratedValue>
565              </enumeratedValues>
566            </field>
567          </fields>
568        </register>
569
570        <register>
571          <name>RAMONB</name>
572          <description>Ram on/off.</description>
573          <addressOffset>0x554</addressOffset>
574          <resetValue>0x00000003</resetValue>
575          <fields>
576            <field>
577              <name>ONRAM2</name>
578              <description>RAM block 2 behaviour in ON mode.</description>
579              <lsb>0</lsb> <msb>0</msb>
580              <enumeratedValues>
581                <enumeratedValue>
582                  <name>RAM2Off</name>
583                  <description>RAM block 2 OFF in ON mode.</description>
584                  <value>0</value>
585                </enumeratedValue>
586                <enumeratedValue>
587                  <name>RAM2On</name>
588                  <description>RAM block 2 ON in ON mode.</description>
589                  <value>1</value>
590                </enumeratedValue>
591              </enumeratedValues>
592            </field>
593            <field>
594              <name>ONRAM3</name>
595              <description>RAM block 3 behaviour in ON mode.</description>
596              <lsb>1</lsb> <msb>1</msb>
597              <enumeratedValues>
598                <enumeratedValue>
599                  <name>RAM3Off</name>
600                  <description>RAM block 33 OFF in ON mode.</description>
601                  <value>0</value>
602                </enumeratedValue>
603                <enumeratedValue>
604                  <name>RAM3On</name>
605                  <description>RAM block 3 ON in ON mode.</description>
606                  <value>1</value>
607                </enumeratedValue>
608              </enumeratedValues>
609            </field>
610            <field>
611              <name>OFFRAM2</name>
612              <description>RAM block 2 behaviour in OFF mode.</description>
613              <lsb>16</lsb> <msb>16</msb>
614              <enumeratedValues>
615                <enumeratedValue>
616                  <name>RAM2Off</name>
617                  <description>RAM block 2 OFF in OFF mode.</description>
618                  <value>0</value>
619                </enumeratedValue>
620                <enumeratedValue>
621                  <name>RAM2On</name>
622                  <description>RAM block 2 ON in OFF mode.</description>
623                  <value>1</value>
624                </enumeratedValue>
625              </enumeratedValues>
626            </field>
627            <field>
628              <name>OFFRAM3</name>
629              <description>RAM block 3 behaviour in OFF mode.</description>
630              <lsb>17</lsb> <msb>17</msb>
631              <enumeratedValues>
632                <enumeratedValue>
633                  <name>RAM3Off</name>
634                  <description>RAM block 3 OFF in OFF mode.</description>
635                  <value>0</value>
636                </enumeratedValue>
637                <enumeratedValue>
638                  <name>RAM3On</name>
639                  <description>RAM block 3 ON in OFF mode.</description>
640                  <value>1</value>
641                </enumeratedValue>
642              </enumeratedValues>
643            </field>
644          </fields>
645        </register>
646
647        <register>
648          <name>DCDCEN</name>
649          <description>DCDC converter enable configuration register.</description>
650          <addressOffset>0x578</addressOffset>
651          <fields>
652            <field>
653              <name>DCDCEN</name>
654              <description>Enable DCDC converter.</description>
655              <lsb>0</lsb> <msb>0</msb>
656              <enumeratedValues>
657                <enumeratedValue>
658                  <name>Disabled</name>
659                  <description>DCDC converter disabled.</description>
660                  <value>0</value>
661                </enumeratedValue>
662                <enumeratedValue>
663                  <name>Enabled</name>
664                  <description>DCDC converter enabled.</description>
665                  <value>1</value>
666                </enumeratedValue>
667              </enumeratedValues>
668            </field>
669          </fields>
670        </register>
671        <register>
672          <name>DCDCFORCE</name>
673          <description>DCDC power-up force register.</description>
674          <addressOffset>0xA08</addressOffset>
675          <fields>
676            <field>
677              <name>FORCEOFF</name>
678              <description>DCDC power-up force off.</description>
679              <lsb>0</lsb> <msb>0</msb>
680              <enumeratedValues>
681                <enumeratedValue>
682                  <name>NoForce</name>
683                  <description>No force.</description>
684                  <value>0</value>
685                </enumeratedValue>
686                <enumeratedValue>
687                  <name>Force</name>
688                  <description>Force.</description>
689                  <value>1</value>
690                </enumeratedValue>
691              </enumeratedValues>
692            </field>
693            <field>
694              <name>FORCEON</name>
695              <description>DCDC power-up force on.</description>
696              <lsb>1</lsb> <msb>1</msb>
697              <enumeratedValues>
698                <enumeratedValue>
699                  <name>NoForce</name>
700                  <description>No force.</description>
701                  <value>0</value>
702                </enumeratedValue>
703                <enumeratedValue>
704                  <name>Force</name>
705                  <description>Force.</description>
706                  <value>1</value>
707                </enumeratedValue>
708              </enumeratedValues>
709            </field>
710          </fields>
711        </register>
712
713      </registers>
714    </peripheral>
715
716    <peripheral>
717      <name>CLOCK</name>
718      <version>522</version>
719      <description>Clock control.</description>
720      <groupName>CLOCK</groupName>
721      <baseAddress>0x40000000</baseAddress>
722      <size>32</size>
723      <access>read-write</access>
724      <alternatePeripheral>POWER</alternatePeripheral>
725
726      <addressBlock>
727        <offset>0</offset>
728        <size>0x1000</size>
729        <usage>registers</usage>
730      </addressBlock>
731
732      <interrupt>
733        <name>POWER_CLOCK</name>
734        <value>0</value>
735      </interrupt>
736
737      <registers>
738        <register>
739          <name>TASKS_HFCLKSTART</name>
740          <description>Start HFCLK clock source.</description>
741          <addressOffset>0x000</addressOffset>
742          <access>write-only</access>
743        </register>
744        <register>
745          <name>TASKS_HFCLKSTOP</name>
746          <description>Stop HFCLK clock source.</description>
747          <addressOffset>0x004</addressOffset>
748          <access>write-only</access>
749        </register>
750        <register>
751          <name>TASKS_LFCLKSTART</name>
752          <description>Start LFCLK clock source.</description>
753          <addressOffset>0x008</addressOffset>
754          <access>write-only</access>
755        </register>
756        <register>
757          <name>TASKS_LFCLKSTOP</name>
758          <description>Stop LFCLK clock source.</description>
759          <addressOffset>0x00C</addressOffset>
760          <access>write-only</access>
761        </register>
762        <register>
763          <name>TASKS_CAL</name>
764          <description>Start calibration of LFCLK RC oscillator.</description>
765          <addressOffset>0x010</addressOffset>
766          <access>write-only</access>
767        </register>
768        <register>
769          <name>TASKS_CTSTART</name>
770          <description>Start calibration timer.</description>
771          <addressOffset>0x014</addressOffset>
772          <access>write-only</access>
773        </register>
774        <register>
775          <name>TASKS_CTSTOP</name>
776          <description>Stop calibration timer.</description>
777          <addressOffset>0x018</addressOffset>
778          <access>write-only</access>
779        </register>
780
781        <register>
782          <name>EVENTS_HFCLKSTARTED</name>
783          <description>HFCLK oscillator started.</description>
784          <addressOffset>0x100</addressOffset>
785        </register>
786        <register>
787          <name>EVENTS_LFCLKSTARTED</name>
788          <description>LFCLK oscillator started.</description>
789          <addressOffset>0x104</addressOffset>
790        </register>
791        <register>
792          <name>EVENTS_DONE</name>
793          <description>Calibration of LFCLK RC oscillator completed.</description>
794          <addressOffset>0x10C</addressOffset>
795        </register>
796        <register>
797          <name>EVENTS_CTTO</name>
798          <description>Calibration timer timeout.</description>
799          <addressOffset>0x110</addressOffset>
800        </register>
801
802        <register>
803          <name>INTENSET</name>
804          <description>Interrupt enable set register.</description>
805          <addressOffset>0x304</addressOffset>
806          <fields>
807            <field>
808              <name>HFCLKSTARTED</name>
809              <description>Enable interrupt on HFCLKSTARTED event.</description>
810              <lsb>0</lsb> <msb>0</msb>
811              <enumeratedValues>
812                <usage>read</usage>
813                <enumeratedValue>
814                  <name>Disabled</name>
815                  <description>Interrupt disabled.</description>
816                  <value>0</value>
817                </enumeratedValue>
818                <enumeratedValue>
819                  <name>Enabled</name>
820                  <description>Interrupt enabled.</description>
821                  <value>1</value>
822                </enumeratedValue>
823              </enumeratedValues>
824              <enumeratedValues>
825                <usage>write</usage>
826                <enumeratedValue>
827                  <name>Set</name>
828                  <description>Enable interrupt on write.</description>
829                  <value>1</value>
830                </enumeratedValue>
831              </enumeratedValues>
832            </field>
833            <field>
834              <name>LFCLKSTARTED</name>
835              <description>Enable interrupt on LFCLKSTARTED event.</description>
836              <lsb>1</lsb> <msb>1</msb>
837              <enumeratedValues>
838                <usage>read</usage>
839                <enumeratedValue>
840                  <name>Disabled</name>
841                  <description>Interrupt disabled.</description>
842                  <value>0</value>
843                </enumeratedValue>
844                <enumeratedValue>
845                  <name>Enabled</name>
846                  <description>Interrupt enabled.</description>
847                  <value>1</value>
848                </enumeratedValue>
849              </enumeratedValues>
850              <enumeratedValues>
851                <usage>write</usage>
852                <enumeratedValue>
853                  <name>Set</name>
854                  <description>Enable interrupt on write.</description>
855                  <value>1</value>
856                </enumeratedValue>
857              </enumeratedValues>
858            </field>
859            <field>
860              <name>DONE</name>
861              <description>Enable interrupt on DONE event.</description>
862              <lsb>3</lsb> <msb>3</msb>
863              <enumeratedValues>
864                <usage>read</usage>
865                <enumeratedValue>
866                  <name>Disabled</name>
867                  <description>Interrupt disabled.</description>
868                  <value>0</value>
869                </enumeratedValue>
870                <enumeratedValue>
871                  <name>Enabled</name>
872                  <description>Interrupt enabled.</description>
873                  <value>1</value>
874                </enumeratedValue>
875              </enumeratedValues>
876              <enumeratedValues>
877                <usage>write</usage>
878                <enumeratedValue>
879                  <name>Set</name>
880                  <description>Enable interrupt on write.</description>
881                  <value>1</value>
882                </enumeratedValue>
883              </enumeratedValues>
884            </field>
885            <field>
886              <name>CTTO</name>
887              <description>Enable interrupt on CTTO event.</description>
888              <lsb>4</lsb> <msb>4</msb>
889              <enumeratedValues>
890                <usage>read</usage>
891                <enumeratedValue>
892                  <name>Disabled</name>
893                  <description>Interrupt disabled.</description>
894                  <value>0</value>
895                </enumeratedValue>
896                <enumeratedValue>
897                  <name>Enabled</name>
898                  <description>Interrupt enabled.</description>
899                  <value>1</value>
900                </enumeratedValue>
901              </enumeratedValues>
902              <enumeratedValues>
903                <usage>write</usage>
904                <enumeratedValue>
905                  <name>Set</name>
906                  <description>Enable interrupt on write.</description>
907                  <value>1</value>
908                </enumeratedValue>
909              </enumeratedValues>
910            </field>
911          </fields>
912        </register>
913        <register>
914          <name>INTENCLR</name>
915          <description>Interrupt enable clear register.</description>
916          <addressOffset>0x308</addressOffset>
917          <fields>
918            <field>
919              <name>HFCLKSTARTED</name>
920              <description>Disable interrupt on HFCLKSTARTED event.</description>
921              <lsb>0</lsb> <msb>0</msb>
922              <enumeratedValues>
923                <usage>read</usage>
924                <enumeratedValue>
925                  <name>Disabled</name>
926                  <description>Interrupt disabled.</description>
927                  <value>0</value>
928                </enumeratedValue>
929                <enumeratedValue>
930                  <name>Enabled</name>
931                  <description>Interrupt enabled.</description>
932                  <value>1</value>
933                </enumeratedValue>
934              </enumeratedValues>
935              <enumeratedValues>
936                <usage>write</usage>
937                <enumeratedValue>
938                  <name>Clear</name>
939                  <description>Disable interrupt on write.</description>
940                  <value>1</value>
941                </enumeratedValue>
942              </enumeratedValues>
943            </field>
944            <field>
945              <name>LFCLKSTARTED</name>
946              <description>Disable interrupt on LFCLKSTARTED event.</description>
947              <lsb>1</lsb> <msb>1</msb>
948              <enumeratedValues>
949                <usage>read</usage>
950                <enumeratedValue>
951                  <name>Disabled</name>
952                  <description>Interrupt disabled.</description>
953                  <value>0</value>
954                </enumeratedValue>
955                <enumeratedValue>
956                  <name>Enabled</name>
957                  <description>Interrupt enabled.</description>
958                  <value>1</value>
959                </enumeratedValue>
960              </enumeratedValues>
961              <enumeratedValues>
962                <usage>write</usage>
963                <enumeratedValue>
964                  <name>Clear</name>
965                  <description>Disable interrupt on write.</description>
966                  <value>1</value>
967                </enumeratedValue>
968              </enumeratedValues>
969            </field>
970            <field>
971              <name>DONE</name>
972              <description>Disable interrupt on DONE event.</description>
973              <lsb>3</lsb> <msb>3</msb>
974              <enumeratedValues>
975                <usage>read</usage>
976                <enumeratedValue>
977                  <name>Disabled</name>
978                  <description>Interrupt disabled.</description>
979                  <value>0</value>
980                </enumeratedValue>
981                <enumeratedValue>
982                  <name>Enabled</name>
983                  <description>Interrupt enabled.</description>
984                  <value>1</value>
985                </enumeratedValue>
986              </enumeratedValues>
987              <enumeratedValues>
988                <usage>write</usage>
989                <enumeratedValue>
990                  <name>Clear</name>
991                  <description>Disable interrupt on write.</description>
992                  <value>1</value>
993                </enumeratedValue>
994              </enumeratedValues>
995            </field>
996            <field>
997              <name>CTTO</name>
998              <description>Disable interrupt on CTTO event.</description>
999              <lsb>4</lsb> <msb>4</msb>
1000              <enumeratedValues>
1001                <usage>read</usage>
1002                <enumeratedValue>
1003                  <name>Disabled</name>
1004                  <description>Interrupt disabled.</description>
1005                  <value>0</value>
1006                </enumeratedValue>
1007                <enumeratedValue>
1008                  <name>Enabled</name>
1009                  <description>Interrupt enabled.</description>
1010                  <value>1</value>
1011                </enumeratedValue>
1012              </enumeratedValues>
1013              <enumeratedValues>
1014                <usage>write</usage>
1015                <enumeratedValue>
1016                  <name>Clear</name>
1017                  <description>Disable interrupt on write.</description>
1018                  <value>1</value>
1019                </enumeratedValue>
1020              </enumeratedValues>
1021            </field>
1022          </fields>
1023        </register>
1024
1025        <register>
1026          <name>HFCLKRUN</name>
1027          <description>Task HFCLKSTART trigger status.</description>
1028          <addressOffset>0x408</addressOffset>
1029          <access>read-only</access>
1030          <fields>
1031            <field>
1032              <name>STATUS</name>
1033              <description>Task HFCLKSTART trigger status.</description>
1034              <lsb>0</lsb> <msb>0</msb>
1035              <enumeratedValues>
1036                <enumeratedValue>
1037                  <name>NotTriggered</name>
1038                  <description>Task HFCLKSTART has not been triggered.</description>
1039                  <value>0</value>
1040                </enumeratedValue>
1041                <enumeratedValue>
1042                  <name>Triggered</name>
1043                  <description>Task HFCLKSTART has been triggered.</description>
1044                  <value>1</value>
1045                </enumeratedValue>
1046              </enumeratedValues>
1047            </field>
1048          </fields>
1049        </register>
1050
1051        <register>
1052          <name>HFCLKSTAT</name>
1053          <description>High frequency clock status.</description>
1054          <addressOffset>0x40C</addressOffset>
1055          <access>read-only</access>
1056          <fields>
1057            <field>
1058              <name>SRC</name>
1059              <description>Active clock source for the HF clock.</description>
1060              <lsb>0</lsb> <msb>0</msb>
1061              <enumeratedValues>
1062                <enumeratedValue>
1063                  <name>RC</name>
1064                  <description>Internal 16MHz RC oscillator running and generating the HFCLK clock.</description>
1065                  <value>0</value>
1066                </enumeratedValue>
1067                <enumeratedValue>
1068                  <name>Xtal</name>
1069                  <description>External 16MHz/32MHz crystal oscillator running and generating the HFCLK clock.</description>
1070                  <value>1</value>
1071                </enumeratedValue>
1072              </enumeratedValues>
1073            </field>
1074            <field>
1075              <name>STATE</name>
1076              <description>State for the HFCLK.</description>
1077              <lsb>16</lsb> <msb>16</msb>
1078              <enumeratedValues>
1079                <enumeratedValue>
1080                  <name>NotRunning</name>
1081                  <description>HFCLK clock not running.</description>
1082                  <value>0</value>
1083                </enumeratedValue>
1084                <enumeratedValue>
1085                  <name>Running</name>
1086                  <description>HFCLK clock running.</description>
1087                  <value>1</value>
1088                </enumeratedValue>
1089              </enumeratedValues>
1090            </field>
1091          </fields>
1092        </register>
1093
1094        <register>
1095          <name>LFCLKRUN</name>
1096          <description>Task LFCLKSTART triggered status.</description>
1097          <addressOffset>0x414</addressOffset>
1098          <access>read-only</access>
1099          <fields>
1100            <field>
1101              <name>STATUS</name>
1102              <description>Task LFCLKSTART triggered status.</description>
1103              <lsb>0</lsb> <msb>0</msb>
1104              <enumeratedValues>
1105                <enumeratedValue>
1106                  <name>NotTriggered</name>
1107                  <description>Task LFCLKSTART has not been triggered.</description>
1108                  <value>0</value>
1109                </enumeratedValue>
1110                <enumeratedValue>
1111                  <name>Triggered</name>
1112                  <description>Task LFCLKSTART has been triggered.</description>
1113                  <value>1</value>
1114                </enumeratedValue>
1115              </enumeratedValues>
1116            </field>
1117          </fields>
1118        </register>
1119
1120        <register>
1121          <name>LFCLKSTAT</name>
1122          <description>Low frequency clock status.</description>
1123          <addressOffset>0x418</addressOffset>
1124          <access>read-only</access>
1125          <fields>
1126            <field>
1127              <name>SRC</name>
1128              <description>Active clock source for the LF clock.</description>
1129              <lsb>0</lsb> <msb>1</msb>
1130              <enumeratedValues>
1131                <enumeratedValue>
1132                  <name>RC</name>
1133                  <description>Internal 32KiHz RC oscillator running and generating the LFCLK clock.</description>
1134                  <value>0</value>
1135                </enumeratedValue>
1136                <enumeratedValue>
1137                  <name>Xtal</name>
1138                  <description>External 32KiHz crystal oscillator running and generating the LFCLK clock.</description>
1139                  <value>1</value>
1140                </enumeratedValue>
1141                <enumeratedValue>
1142                  <name>Synth</name>
1143                  <description>Internal 32KiHz synthesizer from the HFCLK running and generating the LFCLK clock.</description>
1144                  <value>2</value>
1145                </enumeratedValue>
1146              </enumeratedValues>
1147            </field>
1148            <field>
1149              <name>STATE</name>
1150              <description>State for the LF clock.</description>
1151              <lsb>16</lsb> <msb>16</msb>
1152              <enumeratedValues>
1153                <enumeratedValue>
1154                  <name>NotRunning</name>
1155                  <description>LFCLK clock not running.</description>
1156                  <value>0</value>
1157                </enumeratedValue>
1158                <enumeratedValue>
1159                  <name>Running</name>
1160                  <description>LFCLK clock running.</description>
1161                  <value>1</value>
1162                </enumeratedValue>
1163              </enumeratedValues>
1164            </field>
1165          </fields>
1166        </register>
1167
1168        <register>
1169          <name>LFCLKSRCCOPY</name>
1170          <description>Clock source for the LFCLK clock, set when task LKCLKSTART is triggered.</description>
1171          <addressOffset>0x41C</addressOffset>
1172          <access>read-only</access>
1173          <fields>
1174            <field>
1175              <name>SRC</name>
1176              <description>Clock source for the LFCLK clock, set when task LKCLKSTART is triggered.</description>
1177              <lsb>0</lsb> <msb>1</msb>
1178              <enumeratedValues>
1179                <enumeratedValue>
1180                  <name>RC</name>
1181                  <description>Internal 32KiHz RC oscillator.</description>
1182                  <value>0</value>
1183                </enumeratedValue>
1184                <enumeratedValue>
1185                  <name>Xtal</name>
1186                  <description>External 32KiHz crystal.</description>
1187                  <value>1</value>
1188                </enumeratedValue>
1189                <enumeratedValue>
1190                  <name>Synth</name>
1191                  <description>Internal 32KiHz synthesizer from HFCLK system clock.</description>
1192                  <value>2</value>
1193                </enumeratedValue>
1194              </enumeratedValues>
1195            </field>
1196          </fields>
1197        </register>
1198
1199        <register>
1200          <name>LFCLKSRC</name>
1201          <description>Clock source for the LFCLK clock.</description>
1202          <addressOffset>0x518</addressOffset>
1203          <fields>
1204            <field>
1205              <name>SRC</name>
1206              <description>Clock source.</description>
1207              <lsb>0</lsb> <msb>1</msb>
1208              <enumeratedValues>
1209                <enumeratedValue>
1210                  <name>RC</name>
1211                  <description>Internal 32KiHz RC oscillator.</description>
1212                  <value>0</value>
1213                </enumeratedValue>
1214                <enumeratedValue>
1215                  <name>Xtal</name>
1216                  <description>External 32KiHz crystal.</description>
1217                  <value>1</value>
1218                </enumeratedValue>
1219                <enumeratedValue>
1220                  <name>Synth</name>
1221                  <description>Internal 32KiHz synthesizer from HFCLK system clock.</description>
1222                  <value>2</value>
1223                </enumeratedValue>
1224              </enumeratedValues>
1225            </field>
1226          </fields>
1227        </register>
1228
1229        <register>
1230          <name>CTIV</name>
1231          <description>Calibration timer interval.</description>
1232          <addressOffset>0x538</addressOffset>
1233          <fields>
1234            <field>
1235              <name>CTIV</name>
1236              <description>Calibration timer interval in 0.25s resolution.</description>
1237              <lsb>0</lsb> <msb>6</msb>
1238            </field>
1239          </fields>
1240        </register>
1241
1242        <register>
1243          <name>XTALFREQ</name>
1244          <description>Crystal frequency.</description>
1245          <addressOffset>0x550</addressOffset>
1246          <resetValue>0xFFFFFFFF</resetValue>
1247          <fields>
1248            <field>
1249              <name>XTALFREQ</name>
1250              <description>External Xtal frequency selection.</description>
1251              <lsb>0</lsb> <msb>7</msb>
1252              <enumeratedValues>
1253                <enumeratedValue>
1254                  <name>16MHz</name>
1255                  <description>16MHz xtal is used as source for the HFCLK oscillator.</description>
1256                  <value>0xFF</value>
1257                </enumeratedValue>
1258                <enumeratedValue>
1259                  <name>32MHz</name>
1260                  <description>32MHz xtal is used as source for the HFCLK oscillator.</description>
1261                  <value>0x00</value>
1262                </enumeratedValue>
1263              </enumeratedValues>
1264            </field>
1265          </fields>
1266        </register>
1267      </registers>
1268    </peripheral>
1269
1270    <peripheral>
1271      <name>MPU</name>
1272      <version>522</version>
1273      <description>Memory Protection Unit.</description>
1274      <groupName>MPU</groupName>
1275      <baseAddress>0x40000000</baseAddress>
1276      <size>32</size>
1277      <access>read-write</access>
1278      <alternatePeripheral>POWER</alternatePeripheral>
1279
1280      <addressBlock>
1281        <offset>0</offset>
1282        <size>0x1000</size>
1283        <usage>registers</usage>
1284      </addressBlock>
1285
1286      <registers>
1287        <register>
1288          <name>PERR0</name>
1289          <description>Configuration of peripherals in mpu regions.</description>
1290          <addressOffset>0x528</addressOffset>
1291          <fields>
1292            <field>
1293              <name>POWER_CLOCK</name>
1294              <description>POWER_CLOCK region configuration.</description>
1295              <lsb>0</lsb> <msb>0</msb>
1296              <enumeratedValues>
1297                <enumeratedValue>
1298                  <name>InRegion0</name>
1299                  <description>Peripheral configured in region 0.</description>
1300                  <value>1</value>
1301                </enumeratedValue>
1302                <enumeratedValue>
1303                  <name>InRegion1</name>
1304                  <description>Peripheral configured in region 1.</description>
1305                  <value>0</value>
1306                </enumeratedValue>
1307              </enumeratedValues>
1308            </field>
1309            <field>
1310              <name>RADIO</name>
1311              <description>RADIO region configuration.</description>
1312              <lsb>1</lsb> <msb>1</msb>
1313              <enumeratedValues>
1314                <enumeratedValue>
1315                  <name>InRegion0</name>
1316                  <description>Peripheral configured in region 0.</description>
1317                  <value>1</value>
1318                </enumeratedValue>
1319                <enumeratedValue>
1320                  <name>InRegion1</name>
1321                  <description>Peripheral configured in region 1.</description>
1322                  <value>0</value>
1323                </enumeratedValue>
1324              </enumeratedValues>
1325            </field>
1326            <field>
1327              <name>UART0</name>
1328              <description>UART0 region configuration.</description>
1329              <lsb>2</lsb> <msb>2</msb>
1330              <enumeratedValues>
1331                <enumeratedValue>
1332                  <name>InRegion0</name>
1333                  <description>Peripheral configured in region 0.</description>
1334                  <value>1</value>
1335                </enumeratedValue>
1336                <enumeratedValue>
1337                  <name>InRegion1</name>
1338                  <description>Peripheral configured in region 1.</description>
1339                  <value>0</value>
1340                </enumeratedValue>
1341              </enumeratedValues>
1342            </field>
1343            <field>
1344              <name>SPI0_TWI0</name>
1345              <description>SPI0 and TWI0 region configuration.</description>
1346              <lsb>3</lsb> <msb>3</msb>
1347              <enumeratedValues>
1348                <enumeratedValue>
1349                  <name>InRegion0</name>
1350                  <description>Peripheral configured in region 0.</description>
1351                  <value>1</value>
1352                </enumeratedValue>
1353                <enumeratedValue>
1354                  <name>InRegion1</name>
1355                  <description>Peripheral configured in region 1.</description>
1356                  <value>0</value>
1357                </enumeratedValue>
1358              </enumeratedValues>
1359            </field>
1360            <field>
1361              <name>SPI1_TWI1</name>
1362              <description>SPI1 and TWI1 region configuration.</description>
1363              <lsb>4</lsb> <msb>4</msb>
1364              <enumeratedValues>
1365                <enumeratedValue>
1366                  <name>InRegion0</name>
1367                  <description>Peripheral configured in region 0.</description>
1368                  <value>1</value>
1369                </enumeratedValue>
1370                <enumeratedValue>
1371                  <name>InRegion1</name>
1372                  <description>Peripheral configured in region 1.</description>
1373                  <value>0</value>
1374                </enumeratedValue>
1375              </enumeratedValues>
1376            </field>
1377            <field>
1378              <name>GPIOTE</name>
1379              <description>GPIOTE region configuration.</description>
1380              <lsb>6</lsb> <msb>6</msb>
1381              <enumeratedValues>
1382                <enumeratedValue>
1383                  <name>InRegion0</name>
1384                  <description>Peripheral configured in region 0.</description>
1385                  <value>1</value>
1386                </enumeratedValue>
1387                <enumeratedValue>
1388                  <name>InRegion1</name>
1389                  <description>Peripheral configured in region 1.</description>
1390                  <value>0</value>
1391                </enumeratedValue>
1392              </enumeratedValues>
1393            </field>
1394            <field>
1395              <name>ADC</name>
1396              <description>ADC region configuration.</description>
1397              <lsb>7</lsb> <msb>7</msb>
1398              <enumeratedValues>
1399                <enumeratedValue>
1400                  <name>InRegion0</name>
1401                  <description>Peripheral configured in region 0.</description>
1402                  <value>1</value>
1403                </enumeratedValue>
1404                <enumeratedValue>
1405                  <name>InRegion1</name>
1406                  <description>Peripheral configured in region 1.</description>
1407                  <value>0</value>
1408                </enumeratedValue>
1409              </enumeratedValues>
1410            </field>
1411            <field>
1412              <name>TIMER0</name>
1413              <description>TIMER0 region configuration.</description>
1414              <lsb>8</lsb> <msb>8</msb>
1415              <enumeratedValues>
1416                <enumeratedValue>
1417                  <name>InRegion0</name>
1418                  <description>Peripheral configured in region 0.</description>
1419                  <value>1</value>
1420                </enumeratedValue>
1421                <enumeratedValue>
1422                  <name>InRegion1</name>
1423                  <description>Peripheral configured in region 1.</description>
1424                  <value>0</value>
1425                </enumeratedValue>
1426              </enumeratedValues>
1427            </field>
1428            <field>
1429              <name>TIMER1</name>
1430              <description>TIMER1 region configuration.</description>
1431              <lsb>9</lsb> <msb>9</msb>
1432              <enumeratedValues>
1433                <enumeratedValue>
1434                  <name>InRegion0</name>
1435                  <description>Peripheral configured in region 0.</description>
1436                  <value>1</value>
1437                </enumeratedValue>
1438                <enumeratedValue>
1439                  <name>InRegion1</name>
1440                  <description>Peripheral configured in region 1.</description>
1441                  <value>0</value>
1442                </enumeratedValue>
1443              </enumeratedValues>
1444            </field>
1445            <field>
1446              <name>TIMER2</name>
1447              <description>TIMER2 region configuration.</description>
1448              <lsb>10</lsb> <msb>10</msb>
1449              <enumeratedValues>
1450                <enumeratedValue>
1451                  <name>InRegion0</name>
1452                  <description>Peripheral configured in region 0.</description>
1453                  <value>1</value>
1454                </enumeratedValue>
1455                <enumeratedValue>
1456                  <name>InRegion1</name>
1457                  <description>Peripheral configured in region 1.</description>
1458                  <value>0</value>
1459                </enumeratedValue>
1460              </enumeratedValues>
1461            </field>
1462            <field>
1463              <name>RTC0</name>
1464              <description>RTC0 region configuration.</description>
1465              <lsb>11</lsb> <msb>11</msb>
1466              <enumeratedValues>
1467                <enumeratedValue>
1468                  <name>InRegion0</name>
1469                  <description>Peripheral configured in region 0.</description>
1470                  <value>1</value>
1471                </enumeratedValue>
1472                <enumeratedValue>
1473                  <name>InRegion1</name>
1474                  <description>Peripheral configured in region 1.</description>
1475                  <value>0</value>
1476                </enumeratedValue>
1477              </enumeratedValues>
1478            </field>
1479            <field>
1480              <name>TEMP</name>
1481              <description>TEMP region configuration.</description>
1482              <lsb>12</lsb> <msb>12</msb>
1483              <enumeratedValues>
1484                <enumeratedValue>
1485                  <name>InRegion0</name>
1486                  <description>Peripheral configured in region 0.</description>
1487                  <value>1</value>
1488                </enumeratedValue>
1489                <enumeratedValue>
1490                  <name>InRegion1</name>
1491                  <description>Peripheral configured in region 1.</description>
1492                  <value>0</value>
1493                </enumeratedValue>
1494              </enumeratedValues>
1495            </field>
1496            <field>
1497              <name>RNG</name>
1498              <description>RNG region configuration.</description>
1499              <lsb>13</lsb> <msb>13</msb>
1500              <enumeratedValues>
1501                <enumeratedValue>
1502                  <name>InRegion0</name>
1503                  <description>Peripheral configured in region 0.</description>
1504                  <value>1</value>
1505                </enumeratedValue>
1506                <enumeratedValue>
1507                  <name>InRegion1</name>
1508                  <description>Peripheral configured in region 1.</description>
1509                  <value>0</value>
1510                </enumeratedValue>
1511              </enumeratedValues>
1512            </field>
1513            <field>
1514              <name>ECB</name>
1515              <description>ECB region configuration.</description>
1516              <lsb>14</lsb> <msb>14</msb>
1517              <enumeratedValues>
1518                <enumeratedValue>
1519                  <name>InRegion0</name>
1520                  <description>Peripheral configured in region 0.</description>
1521                  <value>1</value>
1522                </enumeratedValue>
1523                <enumeratedValue>
1524                  <name>InRegion1</name>
1525                  <description>Peripheral configured in region 1.</description>
1526                  <value>0</value>
1527                </enumeratedValue>
1528              </enumeratedValues>
1529            </field>
1530            <field>
1531              <name>CCM_AAR</name>
1532              <description>CCM and AAR region configuration.</description>
1533              <lsb>15</lsb> <msb>15</msb>
1534              <enumeratedValues>
1535                <enumeratedValue>
1536                  <name>InRegion0</name>
1537                  <description>Peripheral configured in region 0.</description>
1538                  <value>1</value>
1539                </enumeratedValue>
1540                <enumeratedValue>
1541                  <name>InRegion1</name>
1542                  <description>Peripheral configured in region 1.</description>
1543                  <value>0</value>
1544                </enumeratedValue>
1545              </enumeratedValues>
1546            </field>
1547            <field>
1548              <name>WDT</name>
1549              <description>WDT region configuration.</description>
1550              <lsb>16</lsb> <msb>16</msb>
1551              <enumeratedValues>
1552                <enumeratedValue>
1553                  <name>InRegion0</name>
1554                  <description>Peripheral configured in region 0.</description>
1555                  <value>1</value>
1556                </enumeratedValue>
1557                <enumeratedValue>
1558                  <name>InRegion1</name>
1559                  <description>Peripheral configured in region 1.</description>
1560                  <value>0</value>
1561                </enumeratedValue>
1562              </enumeratedValues>
1563            </field>
1564            <field>
1565              <name>RTC1</name>
1566              <description>RTC1 region configuration.</description>
1567              <lsb>17</lsb> <msb>17</msb>
1568              <enumeratedValues>
1569                <enumeratedValue>
1570                  <name>InRegion0</name>
1571                  <description>Peripheral configured in region 0.</description>
1572                  <value>1</value>
1573                </enumeratedValue>
1574                <enumeratedValue>
1575                  <name>InRegion1</name>
1576                  <description>Peripheral configured in region 1.</description>
1577                  <value>0</value>
1578                </enumeratedValue>
1579              </enumeratedValues>
1580            </field>
1581            <field>
1582              <name>QDEC</name>
1583              <description>QDEC region configuration.</description>
1584              <lsb>18</lsb> <msb>18</msb>
1585              <enumeratedValues>
1586                <enumeratedValue>
1587                  <name>InRegion0</name>
1588                  <description>Peripheral configured in region 0.</description>
1589                  <value>1</value>
1590                </enumeratedValue>
1591                <enumeratedValue>
1592                  <name>InRegion1</name>
1593                  <description>Peripheral configured in region 1.</description>
1594                  <value>0</value>
1595                </enumeratedValue>
1596              </enumeratedValues>
1597            </field>
1598            <field>
1599              <name>LPCOMP</name>
1600              <description>LPCOMP region configuration.</description>
1601              <lsb>19</lsb> <msb>19</msb>
1602              <enumeratedValues>
1603                <enumeratedValue>
1604                  <name>InRegion0</name>
1605                  <description>Peripheral configured in region 0.</description>
1606                  <value>1</value>
1607                </enumeratedValue>
1608                <enumeratedValue>
1609                  <name>InRegion1</name>
1610                  <description>Peripheral configured in region 1.</description>
1611                  <value>0</value>
1612                </enumeratedValue>
1613              </enumeratedValues>
1614            </field>
1615            <field>
1616              <name>NVMC</name>
1617              <description>NVMC region configuration.</description>
1618              <lsb>30</lsb> <msb>30</msb>
1619              <enumeratedValues>
1620                <enumeratedValue>
1621                  <name>InRegion0</name>
1622                  <description>Peripheral configured in region 0.</description>
1623                  <value>1</value>
1624                </enumeratedValue>
1625                <enumeratedValue>
1626                  <name>InRegion1</name>
1627                  <description>Peripheral configured in region 1.</description>
1628                  <value>0</value>
1629                </enumeratedValue>
1630              </enumeratedValues>
1631            </field>
1632            <field>
1633              <name>PPI</name>
1634              <description>PPI region configuration.</description>
1635              <lsb>31</lsb> <msb>31</msb>
1636              <enumeratedValues>
1637                <enumeratedValue>
1638                  <name>InRegion0</name>
1639                  <description>Peripheral configured in region 0.</description>
1640                  <value>1</value>
1641                </enumeratedValue>
1642                <enumeratedValue>
1643                  <name>InRegion1</name>
1644                  <description>Peripheral configured in region 1.</description>
1645                  <value>0</value>
1646                </enumeratedValue>
1647              </enumeratedValues>
1648            </field>
1649          </fields>
1650        </register>
1651
1652        <register>
1653          <name>RLENR0</name>
1654          <description>Length of RAM region 0.</description>
1655          <addressOffset>0x52C</addressOffset>
1656        </register>
1657
1658        <register>
1659          <name>PROTENSET0</name>
1660          <description>Erase and write protection bit enable set register.</description>
1661          <addressOffset>0x600</addressOffset>
1662          <fields>
1663            <field>
1664              <name>PROTREG0</name>
1665              <description>Protection enable for region 0.</description>
1666              <lsb>0</lsb> <msb>0</msb>
1667              <enumeratedValues>
1668                <usage>read</usage>
1669                <enumeratedValue>
1670                  <name>Disabled</name>
1671                  <description>Protection disabled.</description>
1672                  <value>0</value>
1673                </enumeratedValue>
1674                <enumeratedValue>
1675                  <name>Enabled</name>
1676                  <description>Protection enabled.</description>
1677                  <value>1</value>
1678                </enumeratedValue>
1679              </enumeratedValues>
1680              <enumeratedValues>
1681                <usage>write</usage>
1682                <enumeratedValue>
1683                  <name>Set</name>
1684                  <description>Enable protection on write.</description>
1685                  <value>1</value>
1686                </enumeratedValue>
1687              </enumeratedValues>
1688            </field>
1689            <field>
1690              <name>PROTREG1</name>
1691              <description>Protection enable for region 1.</description>
1692              <lsb>1</lsb> <msb>1</msb>
1693              <enumeratedValues>
1694                <usage>read</usage>
1695                <enumeratedValue>
1696                  <name>Disabled</name>
1697                  <description>Protection disabled.</description>
1698                  <value>0</value>
1699                </enumeratedValue>
1700                <enumeratedValue>
1701                  <name>Enabled</name>
1702                  <description>Protection enabled.</description>
1703                  <value>1</value>
1704                </enumeratedValue>
1705              </enumeratedValues>
1706              <enumeratedValues>
1707                <usage>write</usage>
1708                <enumeratedValue>
1709                  <name>Set</name>
1710                  <description>Enable protection on write.</description>
1711                  <value>1</value>
1712                </enumeratedValue>
1713              </enumeratedValues>
1714            </field>
1715            <field>
1716              <name>PROTREG2</name>
1717              <description>Protection enable for region 2.</description>
1718              <lsb>2</lsb> <msb>2</msb>
1719              <enumeratedValues>
1720                <usage>read</usage>
1721                <enumeratedValue>
1722                  <name>Disabled</name>
1723                  <description>Protection disabled.</description>
1724                  <value>0</value>
1725                </enumeratedValue>
1726                <enumeratedValue>
1727                  <name>Enabled</name>
1728                  <description>Protection enabled.</description>
1729                  <value>1</value>
1730                </enumeratedValue>
1731              </enumeratedValues>
1732              <enumeratedValues>
1733                <usage>write</usage>
1734                <enumeratedValue>
1735                  <name>Set</name>
1736                  <description>Enable protection on write.</description>
1737                  <value>1</value>
1738                </enumeratedValue>
1739              </enumeratedValues>
1740            </field>
1741            <field>
1742              <name>PROTREG3</name>
1743              <description>Protection enable for region 3.</description>
1744              <lsb>3</lsb> <msb>3</msb>
1745              <enumeratedValues>
1746                <usage>read</usage>
1747                <enumeratedValue>
1748                  <name>Disabled</name>
1749                  <description>Protection disabled.</description>
1750                  <value>0</value>
1751                </enumeratedValue>
1752                <enumeratedValue>
1753                  <name>Enabled</name>
1754                  <description>Protection enabled.</description>
1755                  <value>1</value>
1756                </enumeratedValue>
1757              </enumeratedValues>
1758              <enumeratedValues>
1759                <usage>write</usage>
1760                <enumeratedValue>
1761                  <name>Set</name>
1762                  <description>Enable protection on write.</description>
1763                  <value>1</value>
1764                </enumeratedValue>
1765              </enumeratedValues>
1766            </field>
1767            <field>
1768              <name>PROTREG4</name>
1769              <description>Protection enable for region 4.</description>
1770              <lsb>4</lsb> <msb>4</msb>
1771              <enumeratedValues>
1772                <usage>read</usage>
1773                <enumeratedValue>
1774                  <name>Disabled</name>
1775                  <description>Protection disabled.</description>
1776                  <value>0</value>
1777                </enumeratedValue>
1778                <enumeratedValue>
1779                  <name>Enabled</name>
1780                  <description>Protection enabled.</description>
1781                  <value>1</value>
1782                </enumeratedValue>
1783              </enumeratedValues>
1784              <enumeratedValues>
1785                <usage>write</usage>
1786                <enumeratedValue>
1787                  <name>Set</name>
1788                  <description>Enable protection on write.</description>
1789                  <value>1</value>
1790                </enumeratedValue>
1791              </enumeratedValues>
1792            </field>
1793            <field>
1794              <name>PROTREG5</name>
1795              <description>Protection enable for region 5.</description>
1796              <lsb>5</lsb> <msb>5</msb>
1797              <enumeratedValues>
1798                <usage>read</usage>
1799                <enumeratedValue>
1800                  <name>Disabled</name>
1801                  <description>Protection disabled.</description>
1802                  <value>0</value>
1803                </enumeratedValue>
1804                <enumeratedValue>
1805                  <name>Enabled</name>
1806                  <description>Protection enabled.</description>
1807                  <value>1</value>
1808                </enumeratedValue>
1809              </enumeratedValues>
1810              <enumeratedValues>
1811                <usage>write</usage>
1812                <enumeratedValue>
1813                  <name>Set</name>
1814                  <description>Enable protection on write.</description>
1815                  <value>1</value>
1816                </enumeratedValue>
1817              </enumeratedValues>
1818            </field>
1819            <field>
1820              <name>PROTREG6</name>
1821              <description>Protection enable for region 6.</description>
1822              <lsb>6</lsb> <msb>6</msb>
1823              <enumeratedValues>
1824                <usage>read</usage>
1825                <enumeratedValue>
1826                  <name>Disabled</name>
1827                  <description>Protection disabled.</description>
1828                  <value>0</value>
1829                </enumeratedValue>
1830                <enumeratedValue>
1831                  <name>Enabled</name>
1832                  <description>Protection enabled.</description>
1833                  <value>1</value>
1834                </enumeratedValue>
1835              </enumeratedValues>
1836              <enumeratedValues>
1837                <usage>write</usage>
1838                <enumeratedValue>
1839                  <name>Set</name>
1840                  <description>Enable protection on write.</description>
1841                  <value>1</value>
1842                </enumeratedValue>
1843              </enumeratedValues>
1844            </field>
1845            <field>
1846              <name>PROTREG7</name>
1847              <description>Protection enable for region 7.</description>
1848              <lsb>7</lsb> <msb>7</msb>
1849              <enumeratedValues>
1850                <usage>read</usage>
1851                <enumeratedValue>
1852                  <name>Disabled</name>
1853                  <description>Protection disabled.</description>
1854                  <value>0</value>
1855                </enumeratedValue>
1856                <enumeratedValue>
1857                  <name>Enabled</name>
1858                  <description>Protection enabled.</description>
1859                  <value>1</value>
1860                </enumeratedValue>
1861              </enumeratedValues>
1862              <enumeratedValues>
1863                <usage>write</usage>
1864                <enumeratedValue>
1865                  <name>Set</name>
1866                  <description>Enable protection on write.</description>
1867                  <value>1</value>
1868                </enumeratedValue>
1869              </enumeratedValues>
1870            </field>
1871            <field>
1872              <name>PROTREG8</name>
1873              <description>Protection enable for region 8.</description>
1874              <lsb>8</lsb> <msb>8</msb>
1875              <enumeratedValues>
1876                <usage>read</usage>
1877                <enumeratedValue>
1878                  <name>Disabled</name>
1879                  <description>Protection disabled.</description>
1880                  <value>0</value>
1881                </enumeratedValue>
1882                <enumeratedValue>
1883                  <name>Enabled</name>
1884                  <description>Protection enabled.</description>
1885                  <value>1</value>
1886                </enumeratedValue>
1887              </enumeratedValues>
1888              <enumeratedValues>
1889                <usage>write</usage>
1890                <enumeratedValue>
1891                  <name>Set</name>
1892                  <description>Enable protection on write.</description>
1893                  <value>1</value>
1894                </enumeratedValue>
1895              </enumeratedValues>
1896            </field>
1897            <field>
1898              <name>PROTREG9</name>
1899              <description>Protection enable for region 9.</description>
1900              <lsb>9</lsb> <msb>9</msb>
1901              <enumeratedValues>
1902                <usage>read</usage>
1903                <enumeratedValue>
1904                  <name>Disabled</name>
1905                  <description>Protection disabled.</description>
1906                  <value>0</value>
1907                </enumeratedValue>
1908                <enumeratedValue>
1909                  <name>Enabled</name>
1910                  <description>Protection enabled.</description>
1911                  <value>1</value>
1912                </enumeratedValue>
1913              </enumeratedValues>
1914              <enumeratedValues>
1915                <usage>write</usage>
1916                <enumeratedValue>
1917                  <name>Set</name>
1918                  <description>Enable protection on write.</description>
1919                  <value>1</value>
1920                </enumeratedValue>
1921              </enumeratedValues>
1922            </field>
1923            <field>
1924              <name>PROTREG10</name>
1925              <description>Protection enable for region 10.</description>
1926              <lsb>10</lsb> <msb>10</msb>
1927              <enumeratedValues>
1928                <usage>read</usage>
1929                <enumeratedValue>
1930                  <name>Disabled</name>
1931                  <description>Protection disabled.</description>
1932                  <value>0</value>
1933                </enumeratedValue>
1934                <enumeratedValue>
1935                  <name>Enabled</name>
1936                  <description>Protection enabled.</description>
1937                  <value>1</value>
1938                </enumeratedValue>
1939              </enumeratedValues>
1940              <enumeratedValues>
1941                <usage>write</usage>
1942                <enumeratedValue>
1943                  <name>Set</name>
1944                  <description>Enable protection on write.</description>
1945                  <value>1</value>
1946                </enumeratedValue>
1947              </enumeratedValues>
1948            </field>
1949            <field>
1950              <name>PROTREG11</name>
1951              <description>Protection enable for region 11.</description>
1952              <lsb>11</lsb> <msb>11</msb>
1953              <enumeratedValues>
1954                <usage>read</usage>
1955                <enumeratedValue>
1956                  <name>Disabled</name>
1957                  <description>Protection disabled.</description>
1958                  <value>0</value>
1959                </enumeratedValue>
1960                <enumeratedValue>
1961                  <name>Enabled</name>
1962                  <description>Protection enabled.</description>
1963                  <value>1</value>
1964                </enumeratedValue>
1965              </enumeratedValues>
1966              <enumeratedValues>
1967                <usage>write</usage>
1968                <enumeratedValue>
1969                  <name>Set</name>
1970                  <description>Enable protection on write.</description>
1971                  <value>1</value>
1972                </enumeratedValue>
1973              </enumeratedValues>
1974            </field>
1975            <field>
1976              <name>PROTREG12</name>
1977              <description>Protection enable for region 12.</description>
1978              <lsb>12</lsb> <msb>12</msb>
1979              <enumeratedValues>
1980                <usage>read</usage>
1981                <enumeratedValue>
1982                  <name>Disabled</name>
1983                  <description>Protection disabled.</description>
1984                  <value>0</value>
1985                </enumeratedValue>
1986                <enumeratedValue>
1987                  <name>Enabled</name>
1988                  <description>Protection enabled.</description>
1989                  <value>1</value>
1990                </enumeratedValue>
1991              </enumeratedValues>
1992              <enumeratedValues>
1993                <usage>write</usage>
1994                <enumeratedValue>
1995                  <name>Set</name>
1996                  <description>Enable protection on write.</description>
1997                  <value>1</value>
1998                </enumeratedValue>
1999              </enumeratedValues>
2000            </field>
2001            <field>
2002              <name>PROTREG13</name>
2003              <description>Protection enable for region 13.</description>
2004              <lsb>13</lsb> <msb>13</msb>
2005              <enumeratedValues>
2006                <usage>read</usage>
2007                <enumeratedValue>
2008                  <name>Disabled</name>
2009                  <description>Protection disabled.</description>
2010                  <value>0</value>
2011                </enumeratedValue>
2012                <enumeratedValue>
2013                  <name>Enabled</name>
2014                  <description>Protection enabled.</description>
2015                  <value>1</value>
2016                </enumeratedValue>
2017              </enumeratedValues>
2018              <enumeratedValues>
2019                <usage>write</usage>
2020                <enumeratedValue>
2021                  <name>Set</name>
2022                  <description>Enable protection on write.</description>
2023                  <value>1</value>
2024                </enumeratedValue>
2025              </enumeratedValues>
2026            </field>
2027            <field>
2028              <name>PROTREG14</name>
2029              <description>Protection enable for region 14.</description>
2030              <lsb>14</lsb> <msb>14</msb>
2031              <enumeratedValues>
2032                <usage>read</usage>
2033                <enumeratedValue>
2034                  <name>Disabled</name>
2035                  <description>Protection disabled.</description>
2036                  <value>0</value>
2037                </enumeratedValue>
2038                <enumeratedValue>
2039                  <name>Enabled</name>
2040                  <description>Protection enabled.</description>
2041                  <value>1</value>
2042                </enumeratedValue>
2043              </enumeratedValues>
2044              <enumeratedValues>
2045                <usage>write</usage>
2046                <enumeratedValue>
2047                  <name>Set</name>
2048                  <description>Enable protection on write.</description>
2049                  <value>1</value>
2050                </enumeratedValue>
2051              </enumeratedValues>
2052            </field>
2053            <field>
2054              <name>PROTREG15</name>
2055              <description>Protection enable for region 15.</description>
2056              <lsb>15</lsb> <msb>15</msb>
2057              <enumeratedValues>
2058                <usage>read</usage>
2059                <enumeratedValue>
2060                  <name>Disabled</name>
2061                  <description>Protection disabled.</description>
2062                  <value>0</value>
2063                </enumeratedValue>
2064                <enumeratedValue>
2065                  <name>Enabled</name>
2066                  <description>Protection enabled.</description>
2067                  <value>1</value>
2068                </enumeratedValue>
2069              </enumeratedValues>
2070              <enumeratedValues>
2071                <usage>write</usage>
2072                <enumeratedValue>
2073                  <name>Set</name>
2074                  <description>Enable protection on write.</description>
2075                  <value>1</value>
2076                </enumeratedValue>
2077              </enumeratedValues>
2078            </field>
2079            <field>
2080              <name>PROTREG16</name>
2081              <description>Protection enable for region 16.</description>
2082              <lsb>16</lsb> <msb>16</msb>
2083              <enumeratedValues>
2084                <usage>read</usage>
2085                <enumeratedValue>
2086                  <name>Disabled</name>
2087                  <description>Protection disabled.</description>
2088                  <value>0</value>
2089                </enumeratedValue>
2090                <enumeratedValue>
2091                  <name>Enabled</name>
2092                  <description>Protection enabled.</description>
2093                  <value>1</value>
2094                </enumeratedValue>
2095              </enumeratedValues>
2096              <enumeratedValues>
2097                <usage>write</usage>
2098                <enumeratedValue>
2099                  <name>Set</name>
2100                  <description>Enable protection on write.</description>
2101                  <value>1</value>
2102                </enumeratedValue>
2103              </enumeratedValues>
2104            </field>
2105            <field>
2106              <name>PROTREG17</name>
2107              <description>Protection enable for region 17.</description>
2108              <lsb>17</lsb> <msb>17</msb>
2109              <enumeratedValues>
2110                <usage>read</usage>
2111                <enumeratedValue>
2112                  <name>Disabled</name>
2113                  <description>Protection disabled.</description>
2114                  <value>0</value>
2115                </enumeratedValue>
2116                <enumeratedValue>
2117                  <name>Enabled</name>
2118                  <description>Protection enabled.</description>
2119                  <value>1</value>
2120                </enumeratedValue>
2121              </enumeratedValues>
2122              <enumeratedValues>
2123                <usage>write</usage>
2124                <enumeratedValue>
2125                  <name>Set</name>
2126                  <description>Enable protection on write.</description>
2127                  <value>1</value>
2128                </enumeratedValue>
2129              </enumeratedValues>
2130            </field>
2131            <field>
2132              <name>PROTREG18</name>
2133              <description>Protection enable for region 18.</description>
2134              <lsb>18</lsb> <msb>18</msb>
2135              <enumeratedValues>
2136                <usage>read</usage>
2137                <enumeratedValue>
2138                  <name>Disabled</name>
2139                  <description>Protection disabled.</description>
2140                  <value>0</value>
2141                </enumeratedValue>
2142                <enumeratedValue>
2143                  <name>Enabled</name>
2144                  <description>Protection enabled.</description>
2145                  <value>1</value>
2146                </enumeratedValue>
2147              </enumeratedValues>
2148              <enumeratedValues>
2149                <usage>write</usage>
2150                <enumeratedValue>
2151                  <name>Set</name>
2152                  <description>Enable protection on write.</description>
2153                  <value>1</value>
2154                </enumeratedValue>
2155              </enumeratedValues>
2156            </field>
2157            <field>
2158              <name>PROTREG19</name>
2159              <description>Protection enable for region 19.</description>
2160              <lsb>19</lsb> <msb>19</msb>
2161              <enumeratedValues>
2162                <usage>read</usage>
2163                <enumeratedValue>
2164                  <name>Disabled</name>
2165                  <description>Protection disabled.</description>
2166                  <value>0</value>
2167                </enumeratedValue>
2168                <enumeratedValue>
2169                  <name>Enabled</name>
2170                  <description>Protection enabled.</description>
2171                  <value>1</value>
2172                </enumeratedValue>
2173              </enumeratedValues>
2174              <enumeratedValues>
2175                <usage>write</usage>
2176                <enumeratedValue>
2177                  <name>Set</name>
2178                  <description>Enable protection on write.</description>
2179                  <value>1</value>
2180                </enumeratedValue>
2181              </enumeratedValues>
2182            </field>
2183            <field>
2184              <name>PROTREG20</name>
2185              <description>Protection enable for region 20.</description>
2186              <lsb>20</lsb> <msb>20</msb>
2187              <enumeratedValues>
2188                <usage>read</usage>
2189                <enumeratedValue>
2190                  <name>Disabled</name>
2191                  <description>Protection disabled.</description>
2192                  <value>0</value>
2193                </enumeratedValue>
2194                <enumeratedValue>
2195                  <name>Enabled</name>
2196                  <description>Protection enabled.</description>
2197                  <value>1</value>
2198                </enumeratedValue>
2199              </enumeratedValues>
2200              <enumeratedValues>
2201                <usage>write</usage>
2202                <enumeratedValue>
2203                  <name>Set</name>
2204                  <description>Enable protection on write.</description>
2205                  <value>1</value>
2206                </enumeratedValue>
2207              </enumeratedValues>
2208            </field>
2209            <field>
2210              <name>PROTREG21</name>
2211              <description>Protection enable for region 21.</description>
2212              <lsb>21</lsb> <msb>21</msb>
2213              <enumeratedValues>
2214                <usage>read</usage>
2215                <enumeratedValue>
2216                  <name>Disabled</name>
2217                  <description>Protection disabled.</description>
2218                  <value>0</value>
2219                </enumeratedValue>
2220                <enumeratedValue>
2221                  <name>Enabled</name>
2222                  <description>Protection enabled.</description>
2223                  <value>1</value>
2224                </enumeratedValue>
2225              </enumeratedValues>
2226              <enumeratedValues>
2227                <usage>write</usage>
2228                <enumeratedValue>
2229                  <name>Set</name>
2230                  <description>Enable protection on write.</description>
2231                  <value>1</value>
2232                </enumeratedValue>
2233              </enumeratedValues>
2234            </field>
2235            <field>
2236              <name>PROTREG22</name>
2237              <description>Protection enable for region 22.</description>
2238              <lsb>22</lsb> <msb>22</msb>
2239              <enumeratedValues>
2240                <usage>read</usage>
2241                <enumeratedValue>
2242                  <name>Disabled</name>
2243                  <description>Protection disabled.</description>
2244                  <value>0</value>
2245                </enumeratedValue>
2246                <enumeratedValue>
2247                  <name>Enabled</name>
2248                  <description>Protection enabled.</description>
2249                  <value>1</value>
2250                </enumeratedValue>
2251              </enumeratedValues>
2252              <enumeratedValues>
2253                <usage>write</usage>
2254                <enumeratedValue>
2255                  <name>Set</name>
2256                  <description>Enable protection on write.</description>
2257                  <value>1</value>
2258                </enumeratedValue>
2259              </enumeratedValues>
2260            </field>
2261            <field>
2262              <name>PROTREG23</name>
2263              <description>Protection enable for region 23.</description>
2264              <lsb>23</lsb> <msb>23</msb>
2265              <enumeratedValues>
2266                <usage>read</usage>
2267                <enumeratedValue>
2268                  <name>Disabled</name>
2269                  <description>Protection disabled.</description>
2270                  <value>0</value>
2271                </enumeratedValue>
2272                <enumeratedValue>
2273                  <name>Enabled</name>
2274                  <description>Protection enabled.</description>
2275                  <value>1</value>
2276                </enumeratedValue>
2277              </enumeratedValues>
2278              <enumeratedValues>
2279                <usage>write</usage>
2280                <enumeratedValue>
2281                  <name>Set</name>
2282                  <description>Enable protection on write.</description>
2283                  <value>1</value>
2284                </enumeratedValue>
2285              </enumeratedValues>
2286            </field>
2287            <field>
2288              <name>PROTREG24</name>
2289              <description>Protection enable for region 24.</description>
2290              <lsb>24</lsb> <msb>24</msb>
2291              <enumeratedValues>
2292                <usage>read</usage>
2293                <enumeratedValue>
2294                  <name>Disabled</name>
2295                  <description>Protection disabled.</description>
2296                  <value>0</value>
2297                </enumeratedValue>
2298                <enumeratedValue>
2299                  <name>Enabled</name>
2300                  <description>Protection enabled.</description>
2301                  <value>1</value>
2302                </enumeratedValue>
2303              </enumeratedValues>
2304              <enumeratedValues>
2305                <usage>write</usage>
2306                <enumeratedValue>
2307                  <name>Set</name>
2308                  <description>Enable protection on write.</description>
2309                  <value>1</value>
2310                </enumeratedValue>
2311              </enumeratedValues>
2312            </field>
2313            <field>
2314              <name>PROTREG25</name>
2315              <description>Protection enable for region 25.</description>
2316              <lsb>25</lsb> <msb>25</msb>
2317              <enumeratedValues>
2318                <usage>read</usage>
2319                <enumeratedValue>
2320                  <name>Disabled</name>
2321                  <description>Protection disabled.</description>
2322                  <value>0</value>
2323                </enumeratedValue>
2324                <enumeratedValue>
2325                  <name>Enabled</name>
2326                  <description>Protection enabled.</description>
2327                  <value>1</value>
2328                </enumeratedValue>
2329              </enumeratedValues>
2330              <enumeratedValues>
2331                <usage>write</usage>
2332                <enumeratedValue>
2333                  <name>Set</name>
2334                  <description>Enable protection on write.</description>
2335                  <value>1</value>
2336                </enumeratedValue>
2337              </enumeratedValues>
2338            </field>
2339            <field>
2340              <name>PROTREG26</name>
2341              <description>Protection enable for region 26.</description>
2342              <lsb>26</lsb> <msb>26</msb>
2343              <enumeratedValues>
2344                <usage>read</usage>
2345                <enumeratedValue>
2346                  <name>Disabled</name>
2347                  <description>Protection disabled.</description>
2348                  <value>0</value>
2349                </enumeratedValue>
2350                <enumeratedValue>
2351                  <name>Enabled</name>
2352                  <description>Protection enabled.</description>
2353                  <value>1</value>
2354                </enumeratedValue>
2355              </enumeratedValues>
2356              <enumeratedValues>
2357                <usage>write</usage>
2358                <enumeratedValue>
2359                  <name>Set</name>
2360                  <description>Enable protection on write.</description>
2361                  <value>1</value>
2362                </enumeratedValue>
2363              </enumeratedValues>
2364            </field>
2365            <field>
2366              <name>PROTREG27</name>
2367              <description>Protection enable for region 27.</description>
2368              <lsb>27</lsb> <msb>27</msb>
2369              <enumeratedValues>
2370                <usage>read</usage>
2371                <enumeratedValue>
2372                  <name>Disabled</name>
2373                  <description>Protection disabled.</description>
2374                  <value>0</value>
2375                </enumeratedValue>
2376                <enumeratedValue>
2377                  <name>Enabled</name>
2378                  <description>Protection enabled.</description>
2379                  <value>1</value>
2380                </enumeratedValue>
2381              </enumeratedValues>
2382              <enumeratedValues>
2383                <usage>write</usage>
2384                <enumeratedValue>
2385                  <name>Set</name>
2386                  <description>Enable protection on write.</description>
2387                  <value>1</value>
2388                </enumeratedValue>
2389              </enumeratedValues>
2390            </field>
2391            <field>
2392              <name>PROTREG28</name>
2393              <description>Protection enable for region 28.</description>
2394              <lsb>28</lsb> <msb>28</msb>
2395              <enumeratedValues>
2396                <usage>read</usage>
2397                <enumeratedValue>
2398                  <name>Disabled</name>
2399                  <description>Protection disabled.</description>
2400                  <value>0</value>
2401                </enumeratedValue>
2402                <enumeratedValue>
2403                  <name>Enabled</name>
2404                  <description>Protection enabled.</description>
2405                  <value>1</value>
2406                </enumeratedValue>
2407              </enumeratedValues>
2408              <enumeratedValues>
2409                <usage>write</usage>
2410                <enumeratedValue>
2411                  <name>Set</name>
2412                  <description>Enable protection on write.</description>
2413                  <value>1</value>
2414                </enumeratedValue>
2415              </enumeratedValues>
2416            </field>
2417            <field>
2418              <name>PROTREG29</name>
2419              <description>Protection enable for region 29.</description>
2420              <lsb>29</lsb> <msb>29</msb>
2421              <enumeratedValues>
2422                <usage>read</usage>
2423                <enumeratedValue>
2424                  <name>Disabled</name>
2425                  <description>Protection disabled.</description>
2426                  <value>0</value>
2427                </enumeratedValue>
2428                <enumeratedValue>
2429                  <name>Enabled</name>
2430                  <description>Protection enabled.</description>
2431                  <value>1</value>
2432                </enumeratedValue>
2433              </enumeratedValues>
2434              <enumeratedValues>
2435                <usage>write</usage>
2436                <enumeratedValue>
2437                  <name>Set</name>
2438                  <description>Enable protection on write.</description>
2439                  <value>1</value>
2440                </enumeratedValue>
2441              </enumeratedValues>
2442            </field>
2443            <field>
2444              <name>PROTREG30</name>
2445              <description>Protection enable for region 30.</description>
2446              <lsb>30</lsb> <msb>30</msb>
2447              <enumeratedValues>
2448                <usage>read</usage>
2449                <enumeratedValue>
2450                  <name>Disabled</name>
2451                  <description>Protection disabled.</description>
2452                  <value>0</value>
2453                </enumeratedValue>
2454                <enumeratedValue>
2455                  <name>Enabled</name>
2456                  <description>Protection enabled.</description>
2457                  <value>1</value>
2458                </enumeratedValue>
2459              </enumeratedValues>
2460              <enumeratedValues>
2461                <usage>write</usage>
2462                <enumeratedValue>
2463                  <name>Set</name>
2464                  <description>Enable protection on write.</description>
2465                  <value>1</value>
2466                </enumeratedValue>
2467              </enumeratedValues>
2468            </field>
2469            <field>
2470              <name>PROTREG31</name>
2471              <description>Protection enable for region 31.</description>
2472              <lsb>31</lsb> <msb>31</msb>
2473              <enumeratedValues>
2474                <usage>read</usage>
2475                <enumeratedValue>
2476                  <name>Disabled</name>
2477                  <description>Protection disabled.</description>
2478                  <value>0</value>
2479                </enumeratedValue>
2480                <enumeratedValue>
2481                  <name>Enabled</name>
2482                  <description>Protection enabled.</description>
2483                  <value>1</value>
2484                </enumeratedValue>
2485              </enumeratedValues>
2486              <enumeratedValues>
2487                <usage>write</usage>
2488                <enumeratedValue>
2489                  <name>Set</name>
2490                  <description>Enable protection on write.</description>
2491                  <value>1</value>
2492                </enumeratedValue>
2493              </enumeratedValues>
2494            </field>
2495          </fields>
2496        </register>
2497
2498        <register>
2499          <name>PROTENSET1</name>
2500          <description>Erase and write protection bit enable set register.</description>
2501          <addressOffset>0x604</addressOffset>
2502          <fields>
2503            <field>
2504              <name>PROTREG32</name>
2505              <description>Protection enable for region 32.</description>
2506              <lsb>0</lsb> <msb>0</msb>
2507              <enumeratedValues>
2508                <usage>read</usage>
2509                <enumeratedValue>
2510                  <name>Disabled</name>
2511                  <description>Protection disabled.</description>
2512                  <value>0</value>
2513                </enumeratedValue>
2514                <enumeratedValue>
2515                  <name>Enabled</name>
2516                  <description>Protection enabled.</description>
2517                  <value>1</value>
2518                </enumeratedValue>
2519              </enumeratedValues>
2520              <enumeratedValues>
2521                <usage>write</usage>
2522                <enumeratedValue>
2523                  <name>Set</name>
2524                  <description>Enable protection on write.</description>
2525                  <value>1</value>
2526                </enumeratedValue>
2527              </enumeratedValues>
2528            </field>
2529            <field>
2530              <name>PROTREG33</name>
2531              <description>Protection enable for region 33.</description>
2532              <lsb>1</lsb> <msb>1</msb>
2533              <enumeratedValues>
2534                <usage>read</usage>
2535                <enumeratedValue>
2536                  <name>Disabled</name>
2537                  <description>Protection disabled.</description>
2538                  <value>0</value>
2539                </enumeratedValue>
2540                <enumeratedValue>
2541                  <name>Enabled</name>
2542                  <description>Protection enabled.</description>
2543                  <value>1</value>
2544                </enumeratedValue>
2545              </enumeratedValues>
2546              <enumeratedValues>
2547                <usage>write</usage>
2548                <enumeratedValue>
2549                  <name>Set</name>
2550                  <description>Enable protection on write.</description>
2551                  <value>1</value>
2552                </enumeratedValue>
2553              </enumeratedValues>
2554            </field>
2555            <field>
2556              <name>PROTREG34</name>
2557              <description>Protection enable for region 34.</description>
2558              <lsb>2</lsb> <msb>2</msb>
2559              <enumeratedValues>
2560                <usage>read</usage>
2561                <enumeratedValue>
2562                  <name>Disabled</name>
2563                  <description>Protection disabled.</description>
2564                  <value>0</value>
2565                </enumeratedValue>
2566                <enumeratedValue>
2567                  <name>Enabled</name>
2568                  <description>Protection enabled.</description>
2569                  <value>1</value>
2570                </enumeratedValue>
2571              </enumeratedValues>
2572              <enumeratedValues>
2573                <usage>write</usage>
2574                <enumeratedValue>
2575                  <name>Set</name>
2576                  <description>Enable protection on write.</description>
2577                  <value>1</value>
2578                </enumeratedValue>
2579              </enumeratedValues>
2580            </field>
2581            <field>
2582              <name>PROTREG35</name>
2583              <description>Protection enable for region 35.</description>
2584              <lsb>3</lsb> <msb>3</msb>
2585              <enumeratedValues>
2586                <usage>read</usage>
2587                <enumeratedValue>
2588                  <name>Disabled</name>
2589                  <description>Protection disabled.</description>
2590                  <value>0</value>
2591                </enumeratedValue>
2592                <enumeratedValue>
2593                  <name>Enabled</name>
2594                  <description>Protection enabled.</description>
2595                  <value>1</value>
2596                </enumeratedValue>
2597              </enumeratedValues>
2598              <enumeratedValues>
2599                <usage>write</usage>
2600                <enumeratedValue>
2601                  <name>Set</name>
2602                  <description>Enable protection on write.</description>
2603                  <value>1</value>
2604                </enumeratedValue>
2605              </enumeratedValues>
2606            </field>
2607            <field>
2608              <name>PROTREG36</name>
2609              <description>Protection enable for region 36.</description>
2610              <lsb>4</lsb> <msb>4</msb>
2611              <enumeratedValues>
2612                <usage>read</usage>
2613                <enumeratedValue>
2614                  <name>Disabled</name>
2615                  <description>Protection disabled.</description>
2616                  <value>0</value>
2617                </enumeratedValue>
2618                <enumeratedValue>
2619                  <name>Enabled</name>
2620                  <description>Protection enabled.</description>
2621                  <value>1</value>
2622                </enumeratedValue>
2623              </enumeratedValues>
2624              <enumeratedValues>
2625                <usage>write</usage>
2626                <enumeratedValue>
2627                  <name>Set</name>
2628                  <description>Enable protection on write.</description>
2629                  <value>1</value>
2630                </enumeratedValue>
2631              </enumeratedValues>
2632            </field>
2633            <field>
2634              <name>PROTREG37</name>
2635              <description>Protection enable for region 37.</description>
2636              <lsb>5</lsb> <msb>5</msb>
2637              <enumeratedValues>
2638                <usage>read</usage>
2639                <enumeratedValue>
2640                  <name>Disabled</name>
2641                  <description>Protection disabled.</description>
2642                  <value>0</value>
2643                </enumeratedValue>
2644                <enumeratedValue>
2645                  <name>Enabled</name>
2646                  <description>Protection enabled.</description>
2647                  <value>1</value>
2648                </enumeratedValue>
2649              </enumeratedValues>
2650              <enumeratedValues>
2651                <usage>write</usage>
2652                <enumeratedValue>
2653                  <name>Set</name>
2654                  <description>Enable protection on write.</description>
2655                  <value>1</value>
2656                </enumeratedValue>
2657              </enumeratedValues>
2658            </field>
2659            <field>
2660              <name>PROTREG38</name>
2661              <description>Protection enable for region 38.</description>
2662              <lsb>6</lsb> <msb>6</msb>
2663              <enumeratedValues>
2664                <usage>read</usage>
2665                <enumeratedValue>
2666                  <name>Disabled</name>
2667                  <description>Protection disabled.</description>
2668                  <value>0</value>
2669                </enumeratedValue>
2670                <enumeratedValue>
2671                  <name>Enabled</name>
2672                  <description>Protection enabled.</description>
2673                  <value>1</value>
2674                </enumeratedValue>
2675              </enumeratedValues>
2676              <enumeratedValues>
2677                <usage>write</usage>
2678                <enumeratedValue>
2679                  <name>Set</name>
2680                  <description>Enable protection on write.</description>
2681                  <value>1</value>
2682                </enumeratedValue>
2683              </enumeratedValues>
2684            </field>
2685            <field>
2686              <name>PROTREG39</name>
2687              <description>Protection enable for region 39.</description>
2688              <lsb>7</lsb> <msb>7</msb>
2689              <enumeratedValues>
2690                <usage>read</usage>
2691                <enumeratedValue>
2692                  <name>Disabled</name>
2693                  <description>Protection disabled.</description>
2694                  <value>0</value>
2695                </enumeratedValue>
2696                <enumeratedValue>
2697                  <name>Enabled</name>
2698                  <description>Protection enabled.</description>
2699                  <value>1</value>
2700                </enumeratedValue>
2701              </enumeratedValues>
2702              <enumeratedValues>
2703                <usage>write</usage>
2704                <enumeratedValue>
2705                  <name>Set</name>
2706                  <description>Enable protection on write.</description>
2707                  <value>1</value>
2708                </enumeratedValue>
2709              </enumeratedValues>
2710            </field>
2711            <field>
2712              <name>PROTREG40</name>
2713              <description>Protection enable for region 40.</description>
2714              <lsb>8</lsb> <msb>8</msb>
2715              <enumeratedValues>
2716                <usage>read</usage>
2717                <enumeratedValue>
2718                  <name>Disabled</name>
2719                  <description>Protection disabled.</description>
2720                  <value>0</value>
2721                </enumeratedValue>
2722                <enumeratedValue>
2723                  <name>Enabled</name>
2724                  <description>Protection enabled.</description>
2725                  <value>1</value>
2726                </enumeratedValue>
2727              </enumeratedValues>
2728              <enumeratedValues>
2729                <usage>write</usage>
2730                <enumeratedValue>
2731                  <name>Set</name>
2732                  <description>Enable protection on write.</description>
2733                  <value>1</value>
2734                </enumeratedValue>
2735              </enumeratedValues>
2736            </field>
2737            <field>
2738              <name>PROTREG41</name>
2739              <description>Protection enable for region 41.</description>
2740              <lsb>9</lsb> <msb>9</msb>
2741              <enumeratedValues>
2742                <usage>read</usage>
2743                <enumeratedValue>
2744                  <name>Disabled</name>
2745                  <description>Protection disabled.</description>
2746                  <value>0</value>
2747                </enumeratedValue>
2748                <enumeratedValue>
2749                  <name>Enabled</name>
2750                  <description>Protection enabled.</description>
2751                  <value>1</value>
2752                </enumeratedValue>
2753              </enumeratedValues>
2754              <enumeratedValues>
2755                <usage>write</usage>
2756                <enumeratedValue>
2757                  <name>Set</name>
2758                  <description>Enable protection on write.</description>
2759                  <value>1</value>
2760                </enumeratedValue>
2761              </enumeratedValues>
2762            </field>
2763            <field>
2764              <name>PROTREG42</name>
2765              <description>Protection enable for region 42.</description>
2766              <lsb>10</lsb> <msb>10</msb>
2767              <enumeratedValues>
2768                <usage>read</usage>
2769                <enumeratedValue>
2770                  <name>Disabled</name>
2771                  <description>Protection disabled.</description>
2772                  <value>0</value>
2773                </enumeratedValue>
2774                <enumeratedValue>
2775                  <name>Enabled</name>
2776                  <description>Protection enabled.</description>
2777                  <value>1</value>
2778                </enumeratedValue>
2779              </enumeratedValues>
2780              <enumeratedValues>
2781                <usage>write</usage>
2782                <enumeratedValue>
2783                  <name>Set</name>
2784                  <description>Enable protection on write.</description>
2785                  <value>1</value>
2786                </enumeratedValue>
2787              </enumeratedValues>
2788            </field>
2789            <field>
2790              <name>PROTREG43</name>
2791              <description>Protection enable for region 43.</description>
2792              <lsb>11</lsb> <msb>11</msb>
2793              <enumeratedValues>
2794                <usage>read</usage>
2795                <enumeratedValue>
2796                  <name>Disabled</name>
2797                  <description>Protection disabled.</description>
2798                  <value>0</value>
2799                </enumeratedValue>
2800                <enumeratedValue>
2801                  <name>Enabled</name>
2802                  <description>Protection enabled.</description>
2803                  <value>1</value>
2804                </enumeratedValue>
2805              </enumeratedValues>
2806              <enumeratedValues>
2807                <usage>write</usage>
2808                <enumeratedValue>
2809                  <name>Set</name>
2810                  <description>Enable protection on write.</description>
2811                  <value>1</value>
2812                </enumeratedValue>
2813              </enumeratedValues>
2814            </field>
2815            <field>
2816              <name>PROTREG44</name>
2817              <description>Protection enable for region 44.</description>
2818              <lsb>12</lsb> <msb>12</msb>
2819              <enumeratedValues>
2820                <usage>read</usage>
2821                <enumeratedValue>
2822                  <name>Disabled</name>
2823                  <description>Protection disabled.</description>
2824                  <value>0</value>
2825                </enumeratedValue>
2826                <enumeratedValue>
2827                  <name>Enabled</name>
2828                  <description>Protection enabled.</description>
2829                  <value>1</value>
2830                </enumeratedValue>
2831              </enumeratedValues>
2832              <enumeratedValues>
2833                <usage>write</usage>
2834                <enumeratedValue>
2835                  <name>Set</name>
2836                  <description>Enable protection on write.</description>
2837                  <value>1</value>
2838                </enumeratedValue>
2839              </enumeratedValues>
2840            </field>
2841            <field>
2842              <name>PROTREG45</name>
2843              <description>Protection enable for region 45.</description>
2844              <lsb>13</lsb> <msb>13</msb>
2845              <enumeratedValues>
2846                <usage>read</usage>
2847                <enumeratedValue>
2848                  <name>Disabled</name>
2849                  <description>Protection disabled.</description>
2850                  <value>0</value>
2851                </enumeratedValue>
2852                <enumeratedValue>
2853                  <name>Enabled</name>
2854                  <description>Protection enabled.</description>
2855                  <value>1</value>
2856                </enumeratedValue>
2857              </enumeratedValues>
2858              <enumeratedValues>
2859                <usage>write</usage>
2860                <enumeratedValue>
2861                  <name>Set</name>
2862                  <description>Enable protection on write.</description>
2863                  <value>1</value>
2864                </enumeratedValue>
2865              </enumeratedValues>
2866            </field>
2867            <field>
2868              <name>PROTREG46</name>
2869              <description>Protection enable for region 46.</description>
2870              <lsb>14</lsb> <msb>14</msb>
2871              <enumeratedValues>
2872                <usage>read</usage>
2873                <enumeratedValue>
2874                  <name>Disabled</name>
2875                  <description>Protection disabled.</description>
2876                  <value>0</value>
2877                </enumeratedValue>
2878                <enumeratedValue>
2879                  <name>Enabled</name>
2880                  <description>Protection enabled.</description>
2881                  <value>1</value>
2882                </enumeratedValue>
2883              </enumeratedValues>
2884              <enumeratedValues>
2885                <usage>write</usage>
2886                <enumeratedValue>
2887                  <name>Set</name>
2888                  <description>Enable protection on write.</description>
2889                  <value>1</value>
2890                </enumeratedValue>
2891              </enumeratedValues>
2892            </field>
2893            <field>
2894              <name>PROTREG47</name>
2895              <description>Protection enable for region 47.</description>
2896              <lsb>15</lsb> <msb>15</msb>
2897              <enumeratedValues>
2898                <usage>read</usage>
2899                <enumeratedValue>
2900                  <name>Disabled</name>
2901                  <description>Protection disabled.</description>
2902                  <value>0</value>
2903                </enumeratedValue>
2904                <enumeratedValue>
2905                  <name>Enabled</name>
2906                  <description>Protection enabled.</description>
2907                  <value>1</value>
2908                </enumeratedValue>
2909              </enumeratedValues>
2910              <enumeratedValues>
2911                <usage>write</usage>
2912                <enumeratedValue>
2913                  <name>Set</name>
2914                  <description>Enable protection on write.</description>
2915                  <value>1</value>
2916                </enumeratedValue>
2917              </enumeratedValues>
2918            </field>
2919            <field>
2920              <name>PROTREG48</name>
2921              <description>Protection enable for region 48.</description>
2922              <lsb>16</lsb> <msb>16</msb>
2923              <enumeratedValues>
2924                <usage>read</usage>
2925                <enumeratedValue>
2926                  <name>Disabled</name>
2927                  <description>Protection disabled.</description>
2928                  <value>0</value>
2929                </enumeratedValue>
2930                <enumeratedValue>
2931                  <name>Enabled</name>
2932                  <description>Protection enabled.</description>
2933                  <value>1</value>
2934                </enumeratedValue>
2935              </enumeratedValues>
2936              <enumeratedValues>
2937                <usage>write</usage>
2938                <enumeratedValue>
2939                  <name>Set</name>
2940                  <description>Enable protection on write.</description>
2941                  <value>1</value>
2942                </enumeratedValue>
2943              </enumeratedValues>
2944            </field>
2945            <field>
2946              <name>PROTREG49</name>
2947              <description>Protection enable for region 49.</description>
2948              <lsb>17</lsb> <msb>17</msb>
2949              <enumeratedValues>
2950                <usage>read</usage>
2951                <enumeratedValue>
2952                  <name>Disabled</name>
2953                  <description>Protection disabled.</description>
2954                  <value>0</value>
2955                </enumeratedValue>
2956                <enumeratedValue>
2957                  <name>Enabled</name>
2958                  <description>Protection enabled.</description>
2959                  <value>1</value>
2960                </enumeratedValue>
2961              </enumeratedValues>
2962              <enumeratedValues>
2963                <usage>write</usage>
2964                <enumeratedValue>
2965                  <name>Set</name>
2966                  <description>Enable protection on write.</description>
2967                  <value>1</value>
2968                </enumeratedValue>
2969              </enumeratedValues>
2970            </field>
2971            <field>
2972              <name>PROTREG50</name>
2973              <description>Protection enable for region 50.</description>
2974              <lsb>18</lsb> <msb>18</msb>
2975              <enumeratedValues>
2976                <usage>read</usage>
2977                <enumeratedValue>
2978                  <name>Disabled</name>
2979                  <description>Protection disabled.</description>
2980                  <value>0</value>
2981                </enumeratedValue>
2982                <enumeratedValue>
2983                  <name>Enabled</name>
2984                  <description>Protection enabled.</description>
2985                  <value>1</value>
2986                </enumeratedValue>
2987              </enumeratedValues>
2988              <enumeratedValues>
2989                <usage>write</usage>
2990                <enumeratedValue>
2991                  <name>Set</name>
2992                  <description>Enable protection on write.</description>
2993                  <value>1</value>
2994                </enumeratedValue>
2995              </enumeratedValues>
2996            </field>
2997            <field>
2998              <name>PROTREG51</name>
2999              <description>Protection enable for region 51.</description>
3000              <lsb>19</lsb> <msb>19</msb>
3001              <enumeratedValues>
3002                <usage>read</usage>
3003                <enumeratedValue>
3004                  <name>Disabled</name>
3005                  <description>Protection disabled.</description>
3006                  <value>0</value>
3007                </enumeratedValue>
3008                <enumeratedValue>
3009                  <name>Enabled</name>
3010                  <description>Protection enabled.</description>
3011                  <value>1</value>
3012                </enumeratedValue>
3013              </enumeratedValues>
3014              <enumeratedValues>
3015                <usage>write</usage>
3016                <enumeratedValue>
3017                  <name>Set</name>
3018                  <description>Enable protection on write.</description>
3019                  <value>1</value>
3020                </enumeratedValue>
3021              </enumeratedValues>
3022            </field>
3023            <field>
3024              <name>PROTREG52</name>
3025              <description>Protection enable for region 52.</description>
3026              <lsb>20</lsb> <msb>20</msb>
3027              <enumeratedValues>
3028                <usage>read</usage>
3029                <enumeratedValue>
3030                  <name>Disabled</name>
3031                  <description>Protection disabled.</description>
3032                  <value>0</value>
3033                </enumeratedValue>
3034                <enumeratedValue>
3035                  <name>Enabled</name>
3036                  <description>Protection enabled.</description>
3037                  <value>1</value>
3038                </enumeratedValue>
3039              </enumeratedValues>
3040              <enumeratedValues>
3041                <usage>write</usage>
3042                <enumeratedValue>
3043                  <name>Set</name>
3044                  <description>Enable protection on write.</description>
3045                  <value>1</value>
3046                </enumeratedValue>
3047              </enumeratedValues>
3048            </field>
3049            <field>
3050              <name>PROTREG53</name>
3051              <description>Protection enable for region 53.</description>
3052              <lsb>21</lsb> <msb>21</msb>
3053              <enumeratedValues>
3054                <usage>read</usage>
3055                <enumeratedValue>
3056                  <name>Disabled</name>
3057                  <description>Protection disabled.</description>
3058                  <value>0</value>
3059                </enumeratedValue>
3060                <enumeratedValue>
3061                  <name>Enabled</name>
3062                  <description>Protection enabled.</description>
3063                  <value>1</value>
3064                </enumeratedValue>
3065              </enumeratedValues>
3066              <enumeratedValues>
3067                <usage>write</usage>
3068                <enumeratedValue>
3069                  <name>Set</name>
3070                  <description>Enable protection on write.</description>
3071                  <value>1</value>
3072                </enumeratedValue>
3073              </enumeratedValues>
3074            </field>
3075            <field>
3076              <name>PROTREG54</name>
3077              <description>Protection enable for region 54.</description>
3078              <lsb>22</lsb> <msb>22</msb>
3079              <enumeratedValues>
3080                <usage>read</usage>
3081                <enumeratedValue>
3082                  <name>Disabled</name>
3083                  <description>Protection disabled.</description>
3084                  <value>0</value>
3085                </enumeratedValue>
3086                <enumeratedValue>
3087                  <name>Enabled</name>
3088                  <description>Protection enabled.</description>
3089                  <value>1</value>
3090                </enumeratedValue>
3091              </enumeratedValues>
3092              <enumeratedValues>
3093                <usage>write</usage>
3094                <enumeratedValue>
3095                  <name>Set</name>
3096                  <description>Enable protection on write.</description>
3097                  <value>1</value>
3098                </enumeratedValue>
3099              </enumeratedValues>
3100            </field>
3101            <field>
3102              <name>PROTREG55</name>
3103              <description>Protection enable for region 55.</description>
3104              <lsb>23</lsb> <msb>23</msb>
3105              <enumeratedValues>
3106                <usage>read</usage>
3107                <enumeratedValue>
3108                  <name>Disabled</name>
3109                  <description>Protection disabled.</description>
3110                  <value>0</value>
3111                </enumeratedValue>
3112                <enumeratedValue>
3113                  <name>Enabled</name>
3114                  <description>Protection enabled.</description>
3115                  <value>1</value>
3116                </enumeratedValue>
3117              </enumeratedValues>
3118              <enumeratedValues>
3119                <usage>write</usage>
3120                <enumeratedValue>
3121                  <name>Set</name>
3122                  <description>Enable protection on write.</description>
3123                  <value>1</value>
3124                </enumeratedValue>
3125              </enumeratedValues>
3126            </field>
3127            <field>
3128              <name>PROTREG56</name>
3129              <description>Protection enable for region 56.</description>
3130              <lsb>24</lsb> <msb>24</msb>
3131              <enumeratedValues>
3132                <usage>read</usage>
3133                <enumeratedValue>
3134                  <name>Disabled</name>
3135                  <description>Protection disabled.</description>
3136                  <value>0</value>
3137                </enumeratedValue>
3138                <enumeratedValue>
3139                  <name>Enabled</name>
3140                  <description>Protection enabled.</description>
3141                  <value>1</value>
3142                </enumeratedValue>
3143              </enumeratedValues>
3144              <enumeratedValues>
3145                <usage>write</usage>
3146                <enumeratedValue>
3147                  <name>Set</name>
3148                  <description>Enable protection on write.</description>
3149                  <value>1</value>
3150                </enumeratedValue>
3151              </enumeratedValues>
3152            </field>
3153            <field>
3154              <name>PROTREG57</name>
3155              <description>Protection enable for region 57.</description>
3156              <lsb>25</lsb> <msb>25</msb>
3157              <enumeratedValues>
3158                <usage>read</usage>
3159                <enumeratedValue>
3160                  <name>Disabled</name>
3161                  <description>Protection disabled.</description>
3162                  <value>0</value>
3163                </enumeratedValue>
3164                <enumeratedValue>
3165                  <name>Enabled</name>
3166                  <description>Protection enabled.</description>
3167                  <value>1</value>
3168                </enumeratedValue>
3169              </enumeratedValues>
3170              <enumeratedValues>
3171                <usage>write</usage>
3172                <enumeratedValue>
3173                  <name>Set</name>
3174                  <description>Enable protection on write.</description>
3175                  <value>1</value>
3176                </enumeratedValue>
3177              </enumeratedValues>
3178            </field>
3179            <field>
3180              <name>PROTREG58</name>
3181              <description>Protection enable for region 58.</description>
3182              <lsb>26</lsb> <msb>26</msb>
3183              <enumeratedValues>
3184                <usage>read</usage>
3185                <enumeratedValue>
3186                  <name>Disabled</name>
3187                  <description>Protection disabled.</description>
3188                  <value>0</value>
3189                </enumeratedValue>
3190                <enumeratedValue>
3191                  <name>Enabled</name>
3192                  <description>Protection enabled.</description>
3193                  <value>1</value>
3194                </enumeratedValue>
3195              </enumeratedValues>
3196              <enumeratedValues>
3197                <usage>write</usage>
3198                <enumeratedValue>
3199                  <name>Set</name>
3200                  <description>Enable protection on write.</description>
3201                  <value>1</value>
3202                </enumeratedValue>
3203              </enumeratedValues>
3204            </field>
3205            <field>
3206              <name>PROTREG59</name>
3207              <description>Protection enable for region 59.</description>
3208              <lsb>27</lsb> <msb>27</msb>
3209              <enumeratedValues>
3210                <usage>read</usage>
3211                <enumeratedValue>
3212                  <name>Disabled</name>
3213                  <description>Protection disabled.</description>
3214                  <value>0</value>
3215                </enumeratedValue>
3216                <enumeratedValue>
3217                  <name>Enabled</name>
3218                  <description>Protection enabled.</description>
3219                  <value>1</value>
3220                </enumeratedValue>
3221              </enumeratedValues>
3222              <enumeratedValues>
3223                <usage>write</usage>
3224                <enumeratedValue>
3225                  <name>Set</name>
3226                  <description>Enable protection on write.</description>
3227                  <value>1</value>
3228                </enumeratedValue>
3229              </enumeratedValues>
3230            </field>
3231            <field>
3232              <name>PROTREG60</name>
3233              <description>Protection enable for region 60.</description>
3234              <lsb>28</lsb> <msb>28</msb>
3235              <enumeratedValues>
3236                <usage>read</usage>
3237                <enumeratedValue>
3238                  <name>Disabled</name>
3239                  <description>Protection disabled.</description>
3240                  <value>0</value>
3241                </enumeratedValue>
3242                <enumeratedValue>
3243                  <name>Enabled</name>
3244                  <description>Protection enabled.</description>
3245                  <value>1</value>
3246                </enumeratedValue>
3247              </enumeratedValues>
3248              <enumeratedValues>
3249                <usage>write</usage>
3250                <enumeratedValue>
3251                  <name>Set</name>
3252                  <description>Enable protection on write.</description>
3253                  <value>1</value>
3254                </enumeratedValue>
3255              </enumeratedValues>
3256            </field>
3257            <field>
3258              <name>PROTREG61</name>
3259              <description>Protection enable for region 61.</description>
3260              <lsb>29</lsb> <msb>29</msb>
3261              <enumeratedValues>
3262                <usage>read</usage>
3263                <enumeratedValue>
3264                  <name>Disabled</name>
3265                  <description>Protection disabled.</description>
3266                  <value>0</value>
3267                </enumeratedValue>
3268                <enumeratedValue>
3269                  <name>Enabled</name>
3270                  <description>Protection enabled.</description>
3271                  <value>1</value>
3272                </enumeratedValue>
3273              </enumeratedValues>
3274              <enumeratedValues>
3275                <usage>write</usage>
3276                <enumeratedValue>
3277                  <name>Set</name>
3278                  <description>Enable protection on write.</description>
3279                  <value>1</value>
3280                </enumeratedValue>
3281              </enumeratedValues>
3282            </field>
3283            <field>
3284              <name>PROTREG62</name>
3285              <description>Protection enable for region 62.</description>
3286              <lsb>30</lsb> <msb>30</msb>
3287              <enumeratedValues>
3288                <usage>read</usage>
3289                <enumeratedValue>
3290                  <name>Disabled</name>
3291                  <description>Protection disabled.</description>
3292                  <value>0</value>
3293                </enumeratedValue>
3294                <enumeratedValue>
3295                  <name>Enabled</name>
3296                  <description>Protection enabled.</description>
3297                  <value>1</value>
3298                </enumeratedValue>
3299              </enumeratedValues>
3300              <enumeratedValues>
3301                <usage>write</usage>
3302                <enumeratedValue>
3303                  <name>Set</name>
3304                  <description>Enable protection on write.</description>
3305                  <value>1</value>
3306                </enumeratedValue>
3307              </enumeratedValues>
3308            </field>
3309            <field>
3310              <name>PROTREG63</name>
3311              <description>Protection enable for region 63.</description>
3312              <lsb>31</lsb> <msb>31</msb>
3313              <enumeratedValues>
3314                <usage>read</usage>
3315                <enumeratedValue>
3316                  <name>Disabled</name>
3317                  <description>Protection disabled.</description>
3318                  <value>0</value>
3319                </enumeratedValue>
3320                <enumeratedValue>
3321                  <name>Enabled</name>
3322                  <description>Protection enabled.</description>
3323                  <value>1</value>
3324                </enumeratedValue>
3325              </enumeratedValues>
3326              <enumeratedValues>
3327                <usage>write</usage>
3328                <enumeratedValue>
3329                  <name>Set</name>
3330                  <description>Enable protection on write.</description>
3331                  <value>1</value>
3332                </enumeratedValue>
3333              </enumeratedValues>
3334            </field>
3335          </fields>
3336        </register>
3337
3338        <register>
3339          <name>DISABLEINDEBUG</name>
3340          <description>Disable erase and write protection mechanism in debug mode.</description>
3341          <addressOffset>0x608</addressOffset>
3342          <resetValue>0x00000001</resetValue>
3343          <fields>
3344            <field>
3345              <name>DISABLEINDEBUG</name>
3346              <description>Disable protection mechanism in debug mode.</description>
3347              <lsb>0</lsb> <msb>0</msb>
3348              <enumeratedValues>
3349                <enumeratedValue>
3350                  <name>Enabled</name>
3351                  <description>Protection enabled.</description>
3352                  <value>0</value>
3353                </enumeratedValue>
3354                <enumeratedValue>
3355                  <name>Disabled</name>
3356                  <description>Protection disabled.</description>
3357                  <value>1</value>
3358                </enumeratedValue>
3359              </enumeratedValues>
3360            </field>
3361          </fields>
3362        </register>
3363
3364        <register>
3365          <name>PROTBLOCKSIZE</name>
3366          <description>Erase and write protection block size.</description>
3367          <addressOffset>0x60C</addressOffset>
3368          <fields>
3369            <field>
3370              <name>PROTBLOCKSIZE</name>
3371              <description>Erase and write protection block size.</description>
3372              <lsb>0</lsb> <msb>1</msb>
3373              <enumeratedValues>
3374                <enumeratedValue>
3375                  <name>4k</name>
3376                  <description>Erase and write protection block size is 4k.</description>
3377                  <value>0</value>
3378                </enumeratedValue>
3379              </enumeratedValues>
3380            </field>
3381          </fields>
3382        </register>
3383
3384      </registers>
3385    </peripheral>
3386
3387    <peripheral>
3388      <name>RADIO</name>
3389      <version>522</version>
3390      <description>The radio.</description>
3391      <baseAddress>0x40001000</baseAddress>
3392      <groupName>RADIO</groupName>
3393      <size>32</size>
3394      <access>read-write</access>
3395
3396      <addressBlock>
3397        <offset>0</offset>
3398        <size>0x1000</size>
3399        <usage>registers</usage>
3400      </addressBlock>
3401
3402      <interrupt>
3403        <name>RADIO</name>
3404        <value>1</value>
3405      </interrupt>
3406
3407      <registers>
3408        <register>
3409          <name>TASKS_TXEN</name>
3410          <description>Enable radio in TX mode.</description>
3411          <addressOffset>0x000</addressOffset>
3412          <access>write-only</access>
3413        </register>
3414        <register>
3415          <name>TASKS_RXEN</name>
3416          <description>Enable radio in RX mode.</description>
3417          <addressOffset>0x004</addressOffset>
3418          <access>write-only</access>
3419        </register>
3420        <register>
3421          <name>TASKS_START</name>
3422          <description>Start radio.</description>
3423          <addressOffset>0x008</addressOffset>
3424          <access>write-only</access>
3425        </register>
3426        <register>
3427          <name>TASKS_STOP</name>
3428          <description>Stop radio.</description>
3429          <addressOffset>0x00C</addressOffset>
3430          <access>write-only</access>
3431        </register>
3432        <register>
3433          <name>TASKS_DISABLE</name>
3434          <description>Disable radio.</description>
3435          <addressOffset>0x010</addressOffset>
3436          <access>write-only</access>
3437        </register>
3438        <register>
3439          <name>TASKS_RSSISTART</name>
3440          <description>Start the RSSI and take one sample of the receive signal strength.</description>
3441          <addressOffset>0x014</addressOffset>
3442          <access>write-only</access>
3443        </register>
3444        <register>
3445          <name>TASKS_RSSISTOP</name>
3446          <description>Stop the RSSI measurement.</description>
3447          <addressOffset>0x018</addressOffset>
3448          <access>write-only</access>
3449        </register>
3450        <register>
3451          <name>TASKS_BCSTART</name>
3452          <description>Start the bit counter.</description>
3453          <addressOffset>0x01C</addressOffset>
3454          <access>write-only</access>
3455        </register>
3456        <register>
3457          <name>TASKS_BCSTOP</name>
3458          <description>Stop the bit counter.</description>
3459          <addressOffset>0x020</addressOffset>
3460          <access>write-only</access>
3461        </register>
3462
3463        <register>
3464          <name>EVENTS_READY</name>
3465          <description>Ready event.</description>
3466          <addressOffset>0x100</addressOffset>
3467        </register>
3468        <register>
3469          <name>EVENTS_ADDRESS</name>
3470          <description>Address event.</description>
3471          <addressOffset>0x104</addressOffset>
3472        </register>
3473        <register>
3474          <name>EVENTS_PAYLOAD</name>
3475          <description>Payload event.</description>
3476          <addressOffset>0x108</addressOffset>
3477        </register>
3478        <register>
3479          <name>EVENTS_END</name>
3480          <description>End event.</description>
3481          <addressOffset>0x10C</addressOffset>
3482        </register>
3483        <register>
3484          <name>EVENTS_DISABLED</name>
3485          <description>Disable event.</description>
3486          <addressOffset>0x110</addressOffset>
3487        </register>
3488        <register>
3489          <name>EVENTS_DEVMATCH</name>
3490          <description>A device address match occurred on the last received packet.</description>
3491          <addressOffset>0x114</addressOffset>
3492        </register>
3493        <register>
3494          <name>EVENTS_DEVMISS</name>
3495          <description>No device address match occurred on the last received packet.</description>
3496          <addressOffset>0x118</addressOffset>
3497        </register>
3498        <register>
3499          <name>EVENTS_RSSIEND</name>
3500          <description>Sampling of the receive signal strength complete. A new RSSI sample is ready for readout at the RSSISAMPLE register.</description>
3501          <addressOffset>0x11C</addressOffset>
3502        </register>
3503        <register>
3504          <name>EVENTS_BCMATCH</name>
3505          <description>Bit counter reached bit count value specified in BCC register.</description>
3506          <addressOffset>0x128</addressOffset>
3507        </register>
3508
3509        <register>
3510          <name>SHORTS</name>
3511          <description>Shortcuts for the radio.</description>
3512          <addressOffset>0x200</addressOffset>
3513          <fields>
3514            <field>
3515              <name>READY_START</name>
3516              <description>Shortcut between READY event and START task.</description>
3517              <lsb>0</lsb> <msb>0</msb>
3518              <enumeratedValues>
3519                <enumeratedValue>
3520                  <name>Disabled</name>
3521                  <description>Shortcut disabled.</description>
3522                  <value>0</value>
3523                </enumeratedValue>
3524                <enumeratedValue>
3525                  <name>Enabled</name>
3526                  <description>Shortcut enabled.</description>
3527                  <value>1</value>
3528                </enumeratedValue>
3529              </enumeratedValues>
3530            </field>
3531            <field>
3532              <name>END_DISABLE</name>
3533              <description>Shortcut between END event and DISABLE task.</description>
3534              <lsb>1</lsb> <msb>1</msb>
3535              <enumeratedValues>
3536                <enumeratedValue>
3537                  <name>Disabled</name>
3538                  <description>Shortcut disabled.</description>
3539                  <value>0</value>
3540                </enumeratedValue>
3541                <enumeratedValue>
3542                  <name>Enabled</name>
3543                  <description>Shortcut enabled.</description>
3544                  <value>1</value>
3545                </enumeratedValue>
3546              </enumeratedValues>
3547            </field>
3548            <field>
3549              <name>DISABLED_TXEN</name>
3550              <description>Shortcut between DISABLED event and TXEN task. </description>
3551              <lsb>2</lsb> <msb>2</msb>
3552              <enumeratedValues>
3553                <enumeratedValue>
3554                  <name>Disabled</name>
3555                  <description>Shortcut disabled.</description>
3556                  <value>0</value>
3557                </enumeratedValue>
3558                <enumeratedValue>
3559                  <name>Enabled</name>
3560                  <description>Shortcut enabled.</description>
3561                  <value>1</value>
3562                </enumeratedValue>
3563              </enumeratedValues>
3564            </field>
3565            <field>
3566              <name>DISABLED_RXEN</name>
3567              <description>Shortcut between DISABLED event and RXEN task.</description>
3568              <lsb>3</lsb> <msb>3</msb>
3569              <enumeratedValues>
3570                <enumeratedValue>
3571                  <name>Disabled</name>
3572                  <description>Shortcut disabled.</description>
3573                  <value>0</value>
3574                </enumeratedValue>
3575                <enumeratedValue>
3576                  <name>Enabled</name>
3577                  <description>Shortcut enabled.</description>
3578                  <value>1</value>
3579                </enumeratedValue>
3580              </enumeratedValues>
3581            </field>
3582            <field>
3583              <name>ADDRESS_RSSISTART</name>
3584              <description>Shortcut between ADDRESS event and RSSISTART task.</description>
3585              <lsb>4</lsb> <msb>4</msb>
3586              <enumeratedValues>
3587                <enumeratedValue>
3588                  <name>Disabled</name>
3589                  <description>Shortcut disabled.</description>
3590                  <value>0</value>
3591                </enumeratedValue>
3592                <enumeratedValue>
3593                  <name>Enabled</name>
3594                  <description>Shortcut enabled.</description>
3595                  <value>1</value>
3596                </enumeratedValue>
3597              </enumeratedValues>
3598            </field>
3599            <field>
3600              <name>END_START</name>
3601              <description>Shortcut between END event and START task.</description>
3602              <lsb>5</lsb> <msb>5</msb>
3603              <enumeratedValues>
3604                <enumeratedValue>
3605                  <name>Disabled</name>
3606                  <description>Shortcut disabled.</description>
3607                  <value>0</value>
3608                </enumeratedValue>
3609                <enumeratedValue>
3610                  <name>Enabled</name>
3611                  <description>Shortcut enabled.</description>
3612                  <value>1</value>
3613                </enumeratedValue>
3614              </enumeratedValues>
3615            </field>
3616            <field>
3617              <name>ADDRESS_BCSTART</name>
3618              <description>Shortcut between ADDRESS event and BCSTART task.</description>
3619              <lsb>6</lsb> <msb>6</msb>
3620              <enumeratedValues>
3621                <enumeratedValue>
3622                  <name>Disabled</name>
3623                  <description>Shortcut disabled.</description>
3624                  <value>0</value>
3625                </enumeratedValue>
3626                <enumeratedValue>
3627                  <name>Enabled</name>
3628                  <description>Shortcut enabled.</description>
3629                  <value>1</value>
3630                </enumeratedValue>
3631              </enumeratedValues>
3632            </field>
3633            <field>
3634              <name>DISABLED_RSSISTOP</name>
3635              <description>Shortcut between DISABLED event and RSSISTOP task.</description>
3636              <lsb>8</lsb> <msb>8</msb>
3637              <enumeratedValues>
3638                <enumeratedValue>
3639                  <name>Disabled</name>
3640                  <description>Shortcut disabled.</description>
3641                  <value>0</value>
3642                </enumeratedValue>
3643                <enumeratedValue>
3644                  <name>Enabled</name>
3645                  <description>Shortcut enabled.</description>
3646                  <value>1</value>
3647                </enumeratedValue>
3648              </enumeratedValues>
3649            </field>
3650          </fields>
3651        </register>
3652
3653        <register>
3654          <name>INTENSET</name>
3655          <description>Interrupt enable set register.</description>
3656          <addressOffset>0x304</addressOffset>
3657          <fields>
3658            <field>
3659              <name>READY</name>
3660              <description>Enable interrupt on READY event.</description>
3661              <lsb>0</lsb> <msb>0</msb>
3662              <enumeratedValues>
3663                <usage>read</usage>
3664                <enumeratedValue>
3665                  <name>Disabled</name>
3666                  <description>Interrupt disabled.</description>
3667                  <value>0</value>
3668                </enumeratedValue>
3669                <enumeratedValue>
3670                  <name>Enabled</name>
3671                  <description>Interrupt enabled.</description>
3672                  <value>1</value>
3673                </enumeratedValue>
3674              </enumeratedValues>
3675              <enumeratedValues>
3676                <usage>write</usage>
3677                <enumeratedValue>
3678                  <name>Set</name>
3679                  <description>Enable interrupt on write.</description>
3680                  <value>1</value>
3681                </enumeratedValue>
3682              </enumeratedValues>
3683            </field>
3684            <field>
3685              <name>ADDRESS</name>
3686              <description>Enable interrupt on ADDRESS event.</description>
3687              <lsb>1</lsb> <msb>1</msb>
3688              <enumeratedValues>
3689                <usage>read</usage>
3690                <enumeratedValue>
3691                  <name>Disabled</name>
3692                  <description>Interrupt disabled.</description>
3693                  <value>0</value>
3694                </enumeratedValue>
3695                <enumeratedValue>
3696                  <name>Enabled</name>
3697                  <description>Interrupt enabled.</description>
3698                  <value>1</value>
3699                </enumeratedValue>
3700              </enumeratedValues>
3701              <enumeratedValues>
3702                <usage>write</usage>
3703                <enumeratedValue>
3704                  <name>Set</name>
3705                  <description>Enable interrupt on write.</description>
3706                  <value>1</value>
3707                </enumeratedValue>
3708              </enumeratedValues>
3709            </field>
3710            <field>
3711              <name>PAYLOAD</name>
3712              <description>Enable interrupt on PAYLOAD event.</description>
3713              <lsb>2</lsb> <msb>2</msb>
3714              <enumeratedValues>
3715                <usage>read</usage>
3716                <enumeratedValue>
3717                  <name>Disabled</name>
3718                  <description>Interrupt disabled.</description>
3719                  <value>0</value>
3720                </enumeratedValue>
3721                <enumeratedValue>
3722                  <name>Enabled</name>
3723                  <description>Interrupt enabled.</description>
3724                  <value>1</value>
3725                </enumeratedValue>
3726              </enumeratedValues>
3727              <enumeratedValues>
3728                <usage>write</usage>
3729                <enumeratedValue>
3730                  <name>Set</name>
3731                  <description>Enable interrupt on write.</description>
3732                  <value>1</value>
3733                </enumeratedValue>
3734              </enumeratedValues>
3735            </field>
3736            <field>
3737              <name>END</name>
3738              <description>Enable interrupt on END event.</description>
3739              <lsb>3</lsb> <msb>3</msb>
3740              <enumeratedValues>
3741                <usage>read</usage>
3742                <enumeratedValue>
3743                  <name>Disabled</name>
3744                  <description>Interrupt disabled.</description>
3745                  <value>0</value>
3746                </enumeratedValue>
3747                <enumeratedValue>
3748                  <name>Enabled</name>
3749                  <description>Interrupt enabled.</description>
3750                  <value>1</value>
3751                </enumeratedValue>
3752              </enumeratedValues>
3753              <enumeratedValues>
3754                <usage>write</usage>
3755                <enumeratedValue>
3756                  <name>Set</name>
3757                  <description>Enable interrupt on write.</description>
3758                  <value>1</value>
3759                </enumeratedValue>
3760              </enumeratedValues>
3761            </field>
3762            <field>
3763              <name>DISABLED</name>
3764              <description>Enable interrupt on DISABLED event.</description>
3765              <lsb>4</lsb> <msb>4</msb>
3766              <enumeratedValues>
3767                <usage>read</usage>
3768                <enumeratedValue>
3769                  <name>Disabled</name>
3770                  <description>Interrupt disabled.</description>
3771                  <value>0</value>
3772                </enumeratedValue>
3773                <enumeratedValue>
3774                  <name>Enabled</name>
3775                  <description>Interrupt enabled.</description>
3776                  <value>1</value>
3777                </enumeratedValue>
3778              </enumeratedValues>
3779              <enumeratedValues>
3780                <usage>write</usage>
3781                <enumeratedValue>
3782                  <name>Set</name>
3783                  <description>Enable interrupt on write.</description>
3784                  <value>1</value>
3785                </enumeratedValue>
3786              </enumeratedValues>
3787            </field>
3788            <field>
3789              <name>DEVMATCH</name>
3790              <description>Enable interrupt on DEVMATCH event.</description>
3791              <lsb>5</lsb> <msb>5</msb>
3792              <enumeratedValues>
3793                <usage>read</usage>
3794                <enumeratedValue>
3795                  <name>Disabled</name>
3796                  <description>Interrupt disabled.</description>
3797                  <value>0</value>
3798                </enumeratedValue>
3799                <enumeratedValue>
3800                  <name>Enabled</name>
3801                  <description>Interrupt enabled.</description>
3802                  <value>1</value>
3803                </enumeratedValue>
3804              </enumeratedValues>
3805              <enumeratedValues>
3806                <usage>write</usage>
3807                <enumeratedValue>
3808                  <name>Set</name>
3809                  <description>Enable interrupt on write.</description>
3810                  <value>1</value>
3811                </enumeratedValue>
3812              </enumeratedValues>
3813            </field>
3814            <field>
3815              <name>DEVMISS</name>
3816              <description>Enable interrupt on DEVMISS event.</description>
3817              <lsb>6</lsb> <msb>6</msb>
3818              <enumeratedValues>
3819                <usage>read</usage>
3820                <enumeratedValue>
3821                  <name>Disabled</name>
3822                  <description>Interrupt disabled.</description>
3823                  <value>0</value>
3824                </enumeratedValue>
3825                <enumeratedValue>
3826                  <name>Enabled</name>
3827                  <description>Interrupt enabled.</description>
3828                  <value>1</value>
3829                </enumeratedValue>
3830              </enumeratedValues>
3831              <enumeratedValues>
3832                <usage>write</usage>
3833                <enumeratedValue>
3834                  <name>Set</name>
3835                  <description>Enable interrupt on write.</description>
3836                  <value>1</value>
3837                </enumeratedValue>
3838              </enumeratedValues>
3839            </field>
3840            <field>
3841              <name>RSSIEND</name>
3842              <description>Enable interrupt on RSSIEND event.</description>
3843              <lsb>7</lsb> <msb>7</msb>
3844              <enumeratedValues>
3845                <usage>read</usage>
3846                <enumeratedValue>
3847                  <name>Disabled</name>
3848                  <description>Interrupt disabled.</description>
3849                  <value>0</value>
3850                </enumeratedValue>
3851                <enumeratedValue>
3852                  <name>Enabled</name>
3853                  <description>Interrupt enabled.</description>
3854                  <value>1</value>
3855                </enumeratedValue>
3856              </enumeratedValues>
3857              <enumeratedValues>
3858                <usage>write</usage>
3859                <enumeratedValue>
3860                  <name>Set</name>
3861                  <description>Enable interrupt on write.</description>
3862                  <value>1</value>
3863                </enumeratedValue>
3864              </enumeratedValues>
3865            </field>
3866            <field>
3867              <name>BCMATCH</name>
3868              <description>Enable interrupt on BCMATCH event.</description>
3869              <lsb>10</lsb> <msb>10</msb>
3870              <enumeratedValues>
3871                <usage>read</usage>
3872                <enumeratedValue>
3873                  <name>Disabled</name>
3874                  <description>Interrupt disabled.</description>
3875                  <value>0</value>
3876                </enumeratedValue>
3877                <enumeratedValue>
3878                  <name>Enabled</name>
3879                  <description>Interrupt enabled.</description>
3880                  <value>1</value>
3881                </enumeratedValue>
3882              </enumeratedValues>
3883              <enumeratedValues>
3884                <usage>write</usage>
3885                <enumeratedValue>
3886                  <name>Set</name>
3887                  <description>Enable interrupt on write.</description>
3888                  <value>1</value>
3889                </enumeratedValue>
3890              </enumeratedValues>
3891            </field>
3892          </fields>
3893        </register>
3894        <register>
3895          <name>INTENCLR</name>
3896          <description>Interrupt enable clear register.</description>
3897          <addressOffset>0x308</addressOffset>
3898          <fields>
3899            <field>
3900              <name>READY</name>
3901              <description>Disable interrupt on READY event.</description>
3902              <lsb>0</lsb> <msb>0</msb>
3903              <enumeratedValues>
3904                <usage>read</usage>
3905                <enumeratedValue>
3906                  <name>Disabled</name>
3907                  <description>Interrupt disabled.</description>
3908                  <value>0</value>
3909                </enumeratedValue>
3910                <enumeratedValue>
3911                  <name>Enabled</name>
3912                  <description>Interrupt enabled.</description>
3913                  <value>1</value>
3914                </enumeratedValue>
3915              </enumeratedValues>
3916              <enumeratedValues>
3917                <usage>write</usage>
3918                <enumeratedValue>
3919                  <name>Clear</name>
3920                  <description>Disable interrupt on write.</description>
3921                  <value>1</value>
3922                </enumeratedValue>
3923              </enumeratedValues>
3924            </field>
3925            <field>
3926              <name>ADDRESS</name>
3927              <description>Disable interrupt on ADDRESS event.</description>
3928              <lsb>1</lsb> <msb>1</msb>
3929              <enumeratedValues>
3930                <usage>read</usage>
3931                <enumeratedValue>
3932                  <name>Disabled</name>
3933                  <description>Interrupt disabled.</description>
3934                  <value>0</value>
3935                </enumeratedValue>
3936                <enumeratedValue>
3937                  <name>Enabled</name>
3938                  <description>Interrupt enabled.</description>
3939                  <value>1</value>
3940                </enumeratedValue>
3941              </enumeratedValues>
3942              <enumeratedValues>
3943                <usage>write</usage>
3944                <enumeratedValue>
3945                  <name>Clear</name>
3946                  <description>Disable interrupt on write.</description>
3947                  <value>1</value>
3948                </enumeratedValue>
3949              </enumeratedValues>
3950            </field>
3951            <field>
3952              <name>PAYLOAD</name>
3953              <description>Disable interrupt on PAYLOAD event.</description>
3954              <lsb>2</lsb> <msb>2</msb>
3955              <enumeratedValues>
3956                <usage>read</usage>
3957                <enumeratedValue>
3958                  <name>Disabled</name>
3959                  <description>Interrupt disabled.</description>
3960                  <value>0</value>
3961                </enumeratedValue>
3962                <enumeratedValue>
3963                  <name>Enabled</name>
3964                  <description>Interrupt enabled.</description>
3965                  <value>1</value>
3966                </enumeratedValue>
3967              </enumeratedValues>
3968              <enumeratedValues>
3969                <usage>write</usage>
3970                <enumeratedValue>
3971                  <name>Clear</name>
3972                  <description>Disable interrupt on write.</description>
3973                  <value>1</value>
3974                </enumeratedValue>
3975              </enumeratedValues>
3976            </field>
3977            <field>
3978              <name>END</name>
3979              <description>Disable interrupt on END event.</description>
3980              <lsb>3</lsb> <msb>3</msb>
3981              <enumeratedValues>
3982                <usage>read</usage>
3983                <enumeratedValue>
3984                  <name>Disabled</name>
3985                  <description>Interrupt disabled.</description>
3986                  <value>0</value>
3987                </enumeratedValue>
3988                <enumeratedValue>
3989                  <name>Enabled</name>
3990                  <description>Interrupt enabled.</description>
3991                  <value>1</value>
3992                </enumeratedValue>
3993              </enumeratedValues>
3994              <enumeratedValues>
3995                <usage>write</usage>
3996                <enumeratedValue>
3997                  <name>Clear</name>
3998                  <description>Disable interrupt on write.</description>
3999                  <value>1</value>
4000                </enumeratedValue>
4001              </enumeratedValues>
4002            </field>
4003            <field>
4004              <name>DISABLED</name>
4005              <description>Disable interrupt on DISABLED event.</description>
4006              <lsb>4</lsb> <msb>4</msb>
4007              <enumeratedValues>
4008                <usage>read</usage>
4009                <enumeratedValue>
4010                  <name>Disabled</name>
4011                  <description>Interrupt disabled.</description>
4012                  <value>0</value>
4013                </enumeratedValue>
4014                <enumeratedValue>
4015                  <name>Enabled</name>
4016                  <description>Interrupt enabled.</description>
4017                  <value>1</value>
4018                </enumeratedValue>
4019              </enumeratedValues>
4020              <enumeratedValues>
4021                <usage>write</usage>
4022                <enumeratedValue>
4023                  <name>Clear</name>
4024                  <description>Disable interrupt on write.</description>
4025                  <value>1</value>
4026                </enumeratedValue>
4027              </enumeratedValues>
4028            </field>
4029            <field>
4030              <name>DEVMATCH</name>
4031              <description>Disable interrupt on DEVMATCH event.</description>
4032              <lsb>5</lsb> <msb>5</msb>
4033              <enumeratedValues>
4034                <usage>read</usage>
4035                <enumeratedValue>
4036                  <name>Disabled</name>
4037                  <description>Interrupt disabled.</description>
4038                  <value>0</value>
4039                </enumeratedValue>
4040                <enumeratedValue>
4041                  <name>Enabled</name>
4042                  <description>Interrupt enabled.</description>
4043                  <value>1</value>
4044                </enumeratedValue>
4045              </enumeratedValues>
4046              <enumeratedValues>
4047                <usage>write</usage>
4048                <enumeratedValue>
4049                  <name>Clear</name>
4050                  <description>Disable interrupt on write.</description>
4051                  <value>1</value>
4052                </enumeratedValue>
4053              </enumeratedValues>
4054            </field>
4055            <field>
4056              <name>DEVMISS</name>
4057              <description>Disable interrupt on DEVMISS event.</description>
4058              <lsb>6</lsb> <msb>6</msb>
4059              <enumeratedValues>
4060                <usage>read</usage>
4061                <enumeratedValue>
4062                  <name>Disabled</name>
4063                  <description>Interrupt disabled.</description>
4064                  <value>0</value>
4065                </enumeratedValue>
4066                <enumeratedValue>
4067                  <name>Enabled</name>
4068                  <description>Interrupt enabled.</description>
4069                  <value>1</value>
4070                </enumeratedValue>
4071              </enumeratedValues>
4072              <enumeratedValues>
4073                <usage>write</usage>
4074                <enumeratedValue>
4075                  <name>Clear</name>
4076                  <description>Disable interrupt on write.</description>
4077                  <value>1</value>
4078                </enumeratedValue>
4079              </enumeratedValues>
4080            </field>
4081            <field>
4082              <name>RSSIEND</name>
4083              <description>Disable interrupt on RSSIEND event.</description>
4084              <lsb>7</lsb> <msb>7</msb>
4085              <enumeratedValues>
4086                <usage>read</usage>
4087                <enumeratedValue>
4088                  <name>Disabled</name>
4089                  <description>Interrupt disabled.</description>
4090                  <value>0</value>
4091                </enumeratedValue>
4092                <enumeratedValue>
4093                  <name>Enabled</name>
4094                  <description>Interrupt enabled.</description>
4095                  <value>1</value>
4096                </enumeratedValue>
4097              </enumeratedValues>
4098              <enumeratedValues>
4099                <usage>write</usage>
4100                <enumeratedValue>
4101                  <name>Clear</name>
4102                  <description>Disable interrupt on write.</description>
4103                  <value>1</value>
4104                </enumeratedValue>
4105              </enumeratedValues>
4106            </field>
4107            <field>
4108              <name>BCMATCH</name>
4109              <description>Disable interrupt on BCMATCH event.</description>
4110              <lsb>10</lsb> <msb>10</msb>
4111              <enumeratedValues>
4112                <usage>read</usage>
4113                <enumeratedValue>
4114                  <name>Disabled</name>
4115                  <description>Interrupt disabled.</description>
4116                  <value>0</value>
4117                </enumeratedValue>
4118                <enumeratedValue>
4119                  <name>Enabled</name>
4120                  <description>Interrupt enabled.</description>
4121                  <value>1</value>
4122                </enumeratedValue>
4123              </enumeratedValues>
4124              <enumeratedValues>
4125                <usage>write</usage>
4126                <enumeratedValue>
4127                  <name>Clear</name>
4128                  <description>Disable interrupt on write.</description>
4129                  <value>1</value>
4130                </enumeratedValue>
4131              </enumeratedValues>
4132            </field>
4133          </fields>
4134        </register>
4135
4136        <register>
4137          <name>CRCSTATUS</name>
4138          <description>CRC status of received packet.</description>
4139          <addressOffset>0x400</addressOffset>
4140          <access>read-only</access>
4141          <fields>
4142            <field>
4143              <name>CRCSTATUS</name>
4144              <description>CRC status of received packet.</description>
4145              <lsb>0</lsb> <msb>0</msb>
4146              <enumeratedValues>
4147                <enumeratedValue>
4148                  <name>CRCError</name>
4149                  <description>Packet received with CRC error.</description>
4150                  <value>0</value>
4151                </enumeratedValue>
4152                <enumeratedValue>
4153                  <name>CRCOk</name>
4154                  <description>Packet received with CRC ok.</description>
4155                  <value>1</value>
4156                </enumeratedValue>
4157              </enumeratedValues>
4158            </field>
4159          </fields>
4160        </register>
4161
4162        <register>
4163          <name>RXMATCH</name>
4164          <description>Received address.</description>
4165          <addressOffset>0x408</addressOffset>
4166          <access>read-only</access>
4167          <fields>
4168            <field>
4169              <name>RXMATCH</name>
4170              <description>Logical address in which previous packet was received.</description>
4171              <lsb>0</lsb> <msb>2</msb>
4172            </field>
4173          </fields>
4174        </register>
4175
4176        <register>
4177          <name>RXCRC</name>
4178          <description>Received CRC.</description>
4179          <addressOffset>0x40C</addressOffset>
4180          <access>read-only</access>
4181          <fields>
4182            <field>
4183              <name>RXCRC</name>
4184              <description>CRC field of previously received packet.</description>
4185              <lsb>0</lsb> <msb>23</msb>
4186            </field>
4187          </fields>
4188        </register>
4189
4190        <register>
4191          <name>DAI</name>
4192          <description>Device address match index.</description>
4193          <addressOffset>0x410</addressOffset>
4194          <access>read-only</access>
4195          <fields>
4196            <field>
4197              <name>DAI</name>
4198              <description>Index (n) of device address (see DAB[n] and DAP[n]) that obtained an address match.</description>
4199              <lsb>0</lsb> <msb>2</msb>
4200            </field>
4201          </fields>
4202        </register>
4203
4204        <register>
4205          <name>PACKETPTR</name>
4206          <description>Packet pointer. Decision point: START task.</description>
4207          <addressOffset>0x504</addressOffset>
4208        </register>
4209
4210        <register>
4211          <name>FREQUENCY</name>
4212          <description>Frequency.</description>
4213          <addressOffset>0x508</addressOffset>
4214          <resetValue>0x00000002</resetValue>
4215          <fields>
4216            <field>
4217              <name>FREQUENCY</name>
4218              <description>Radio channel frequency offset in MHz: RF Frequency = 2400 + FREQUENCY (MHz). Decision point: TXEN or RXEN task. </description>
4219              <lsb>0</lsb> <msb>6</msb>
4220            </field>
4221          </fields>
4222        </register>
4223        <register>
4224          <name>TXPOWER</name>
4225          <description>Output power.</description>
4226          <addressOffset>0x50C</addressOffset>
4227          <fields>
4228            <field>
4229              <name>TXPOWER</name>
4230              <description>Radio output power. Decision point: TXEN task.</description>
4231              <lsb>0</lsb> <msb>7</msb>
4232              <enumeratedValues>
4233                <enumeratedValue>
4234                  <name>Pos4dBm</name>
4235                  <description>+4dBm.</description>
4236                  <value>0x04</value>
4237                </enumeratedValue>
4238                <enumeratedValue>
4239                  <name>0dBm</name>
4240                  <description>0dBm.</description>
4241                  <value>0x00</value>
4242                </enumeratedValue>
4243                <enumeratedValue>
4244                  <name>Neg4dBm</name>
4245                  <description>-4dBm.</description>
4246                  <value>0xFC</value>
4247                </enumeratedValue>
4248                <enumeratedValue>
4249                  <name>Neg8dBm</name>
4250                  <description>-8dBm.</description>
4251                  <value>0xF8</value>
4252                </enumeratedValue>
4253                <enumeratedValue>
4254                  <name>Neg12dBm</name>
4255                  <description>-12dBm.</description>
4256                  <value>0xF4</value>
4257                </enumeratedValue>
4258                <enumeratedValue>
4259                  <name>Neg16dBm</name>
4260                  <description>-16dBm.</description>
4261                  <value>0xF0</value>
4262                </enumeratedValue>
4263                <enumeratedValue>
4264                  <name>Neg20dBm</name>
4265                  <description>-20dBm.</description>
4266                  <value>0xEC</value>
4267                </enumeratedValue>
4268                <enumeratedValue>
4269                  <name>Neg30dBm</name>
4270                  <description>-30dBm.</description>
4271                  <value>0xD8</value>
4272                </enumeratedValue>
4273              </enumeratedValues>
4274            </field>
4275          </fields>
4276        </register>
4277        <register>
4278          <name>MODE</name>
4279          <description>Data rate and modulation.</description>
4280          <addressOffset>0x510</addressOffset>
4281          <fields>
4282            <field>
4283              <name>MODE</name>
4284              <description>Radio data rate and modulation setting. Decision point: TXEN or RXEN task.</description>
4285              <lsb>0</lsb> <msb>1</msb>
4286              <enumeratedValues>
4287                <enumeratedValue>
4288                  <name>Nrf_1Mbit</name>
4289                  <description>1Mbit/s Nordic propietary radio mode.</description>
4290                  <value>0x00</value>
4291                </enumeratedValue>
4292                <enumeratedValue>
4293                  <name>Nrf_2Mbit</name>
4294                  <description>2Mbit/s Nordic propietary radio mode.</description>
4295                  <value>0x01</value>
4296                </enumeratedValue>
4297                <enumeratedValue>
4298                  <name>Nrf_250Kbit</name>
4299                  <description>250kbit/s Nordic propietary radio mode.</description>
4300                  <value>0x02</value>
4301                </enumeratedValue>
4302                <enumeratedValue>
4303                  <name>Ble_1Mbit</name>
4304                  <description>1Mbit/s Bluetooth Low Energy</description>
4305                  <value>0x03</value>
4306                </enumeratedValue>
4307              </enumeratedValues>
4308            </field>
4309          </fields>
4310        </register>
4311        <register>
4312          <name>PCNF0</name>
4313          <description>Packet configuration 0.</description>
4314          <addressOffset>0x514</addressOffset>
4315          <fields>
4316            <field>
4317              <name>LFLEN</name>
4318              <description>Length of length field in number of bits. Decision point: START task.</description>
4319              <lsb>0</lsb> <msb>3</msb>
4320            </field>
4321            <field>
4322              <name>S0LEN</name>
4323              <description>Length of S0 field in number of bytes. Decision point: START task.</description>
4324              <lsb>8</lsb> <msb>8</msb>
4325            </field>
4326            <field>
4327              <name>S1LEN</name>
4328              <description>Length of S1 field in number of bits. Decision point: START task.</description>
4329              <lsb>16</lsb> <msb>19</msb>
4330            </field>
4331          </fields>
4332        </register>
4333        <register>
4334          <name>PCNF1</name>
4335          <description>Packet configuration 1.</description>
4336          <addressOffset>0x518</addressOffset>
4337          <fields>
4338            <field>
4339              <name>MAXLEN</name>
4340              <description>Maximum length of packet payload in number of bytes.</description>
4341              <lsb>0</lsb> <msb>7</msb>
4342            </field>
4343            <field>
4344              <name>STATLEN</name>
4345              <description>Static length in number of bytes. Decision point: START task.</description>
4346              <lsb>8</lsb> <msb>15</msb>
4347            </field>
4348            <field>
4349              <name>BALEN</name>
4350              <description>Base address length in number of bytes. Decision point: START task.</description>
4351              <lsb>16</lsb> <msb>18</msb>
4352            </field>
4353            <field>
4354              <name>ENDIAN</name>
4355              <description>On air endianness of packet length field. Decision point: START task.</description>
4356              <lsb>24</lsb> <msb>24</msb>
4357              <enumeratedValues>
4358                <enumeratedValue>
4359                  <name>Little</name>
4360                  <description>Least significant bit on air first</description>
4361                  <value>0</value>
4362                </enumeratedValue>
4363                <enumeratedValue>
4364                  <name>Big</name>
4365                  <description>Most significant bit on air first</description>
4366                  <value>1</value>
4367                </enumeratedValue>
4368              </enumeratedValues>
4369            </field>
4370            <field>
4371              <name>WHITEEN</name>
4372              <description>Packet whitening enable.</description>
4373              <lsb>25</lsb> <msb>25</msb>
4374              <enumeratedValues>
4375                <enumeratedValue>
4376                  <name>Disabled</name>
4377                  <description>Whitening disabled.</description>
4378                  <value>0</value>
4379                </enumeratedValue>
4380                <enumeratedValue>
4381                  <name>Enabled</name>
4382                  <description>Whitening enabled.</description>
4383                  <value>1</value>
4384                </enumeratedValue>
4385              </enumeratedValues>
4386            </field>
4387          </fields>
4388        </register>
4389        <register>
4390          <name>BASE0</name>
4391          <description>Radio base address 0. Decision point: START task.</description>
4392          <addressOffset>0x51C</addressOffset>
4393        </register>
4394        <register>
4395          <name>BASE1</name>
4396          <description>Radio base address 1. Decision point: START task.</description>
4397          <addressOffset>0x520</addressOffset>
4398        </register>
4399        <register>
4400          <name>PREFIX0</name>
4401          <description>Prefixes bytes for logical addresses 0 to 3.</description>
4402          <addressOffset>0x524</addressOffset>
4403          <fields>
4404            <field>
4405              <name>AP0</name>
4406              <description>Address prefix 0. Decision point: START task.</description>
4407              <lsb>0</lsb> <msb>7</msb>
4408            </field>
4409            <field>
4410              <name>AP1</name>
4411              <description>Address prefix 1. Decision point: START task.</description>
4412              <lsb>8</lsb> <msb>15</msb>
4413            </field>
4414            <field>
4415              <name>AP2</name>
4416              <description>Address prefix 2. Decision point: START task.</description>
4417              <lsb>16</lsb> <msb>23</msb>
4418            </field>
4419            <field>
4420              <name>AP3</name>
4421              <description>Address prefix 3. Decision point: START task.</description>
4422              <lsb>24</lsb> <msb>31</msb>
4423            </field>
4424          </fields>
4425        </register>
4426        <register>
4427          <name>PREFIX1</name>
4428          <description>Prefixes bytes for logical addresses 4 to 7.</description>
4429          <addressOffset>0x528</addressOffset>
4430          <fields>
4431            <field>
4432              <name>AP4</name>
4433              <description>Address prefix 4. Decision point: START task.</description>
4434              <lsb>0</lsb> <msb>7</msb>
4435            </field>
4436            <field>
4437              <name>AP5</name>
4438              <description>Address prefix 5. Decision point: START task.</description>
4439              <lsb>8</lsb> <msb>15</msb>
4440            </field>
4441            <field>
4442              <name>AP6</name>
4443              <description>Address prefix 6. Decision point: START task.</description>
4444              <lsb>16</lsb> <msb>23</msb>
4445            </field>
4446            <field>
4447              <name>AP7</name>
4448              <description>Address prefix 7. Decision point: START task.</description>
4449              <lsb>24</lsb> <msb>31</msb>
4450            </field>
4451          </fields>
4452        </register>
4453        <register>
4454          <name>TXADDRESS</name>
4455          <description>Transmit address select.</description>
4456          <addressOffset>0x52C</addressOffset>
4457          <fields>
4458            <field>
4459              <name>TXADDRESS</name>
4460              <description>Logical address to be used when transmitting a packet. Decision point: START task.</description>
4461              <lsb>0</lsb> <msb>2</msb>
4462            </field>
4463          </fields>
4464        </register>
4465        <register>
4466          <name>RXADDRESSES</name>
4467          <description>Receive address select.</description>
4468          <addressOffset>0x530</addressOffset>
4469          <fields>
4470            <field>
4471              <name>ADDR0</name>
4472              <description>Enable reception on logical address 0. Decision point: START task.</description>
4473              <lsb>0</lsb> <msb>0</msb>
4474              <enumeratedValues>
4475                <enumeratedValue>
4476                  <name>Disabled</name>
4477                  <description>Reception disabled.</description>
4478                  <value>0</value>
4479                </enumeratedValue>
4480                <enumeratedValue>
4481                  <name>Enabled</name>
4482                  <description>Reception enabled.</description>
4483                  <value>1</value>
4484                </enumeratedValue>
4485              </enumeratedValues>
4486            </field>
4487            <field>
4488              <name>ADDR1</name>
4489              <description>Enable reception on logical address 1. Decision point: START task.</description>
4490              <lsb>1</lsb> <msb>1</msb>
4491              <enumeratedValues>
4492                <enumeratedValue>
4493                  <name>Disabled</name>
4494                  <description>Reception disabled.</description>
4495                  <value>0</value>
4496                </enumeratedValue>
4497                <enumeratedValue>
4498                  <name>Enabled</name>
4499                  <description>Reception enabled.</description>
4500                  <value>1</value>
4501                </enumeratedValue>
4502              </enumeratedValues>
4503            </field>
4504            <field>
4505              <name>ADDR2</name>
4506              <description>Enable reception on logical address 2. Decision point: START task.</description>
4507              <lsb>2</lsb> <msb>2</msb>
4508              <enumeratedValues>
4509                <enumeratedValue>
4510                  <name>Disabled</name>
4511                  <description>Reception disabled.</description>
4512                  <value>0</value>
4513                </enumeratedValue>
4514                <enumeratedValue>
4515                  <name>Enabled</name>
4516                  <description>Reception enabled.</description>
4517                  <value>1</value>
4518                </enumeratedValue>
4519              </enumeratedValues>
4520            </field>
4521            <field>
4522              <name>ADDR3</name>
4523              <description>Enable reception on logical address 3. Decision point: START task.</description>
4524              <lsb>3</lsb> <msb>3</msb>
4525              <enumeratedValues>
4526                <enumeratedValue>
4527                  <name>Disabled</name>
4528                  <description>Reception disabled.</description>
4529                  <value>0</value>
4530                </enumeratedValue>
4531                <enumeratedValue>
4532                  <name>Enabled</name>
4533                  <description>Reception enabled.</description>
4534                  <value>1</value>
4535                </enumeratedValue>
4536              </enumeratedValues>
4537            </field>
4538            <field>
4539              <name>ADDR4</name>
4540              <description>Enable reception on logical address 4. Decision point: START task.</description>
4541              <lsb>4</lsb> <msb>4</msb>
4542              <enumeratedValues>
4543                <enumeratedValue>
4544                  <name>Disabled</name>
4545                  <description>Reception disabled.</description>
4546                  <value>0</value>
4547                </enumeratedValue>
4548                <enumeratedValue>
4549                  <name>Enabled</name>
4550                  <description>Reception enabled.</description>
4551                  <value>1</value>
4552                </enumeratedValue>
4553              </enumeratedValues>
4554            </field>
4555            <field>
4556              <name>ADDR5</name>
4557              <description>Enable reception on logical address 5. Decision point: START task.</description>
4558              <lsb>5</lsb> <msb>5</msb>
4559              <enumeratedValues>
4560                <enumeratedValue>
4561                  <name>Disabled</name>
4562                  <description>Reception disabled.</description>
4563                  <value>0</value>
4564                </enumeratedValue>
4565                <enumeratedValue>
4566                  <name>Enabled</name>
4567                  <description>Reception enabled.</description>
4568                  <value>1</value>
4569                </enumeratedValue>
4570              </enumeratedValues>
4571            </field>
4572            <field>
4573              <name>ADDR6</name>
4574              <description>Enable reception on logical address 6. Decision point: START task.</description>
4575              <lsb>6</lsb> <msb>6</msb>
4576              <enumeratedValues>
4577                <enumeratedValue>
4578                  <name>Disabled</name>
4579                  <description>Reception disabled.</description>
4580                  <value>0</value>
4581                </enumeratedValue>
4582                <enumeratedValue>
4583                  <name>Enabled</name>
4584                  <description>Reception enabled.</description>
4585                  <value>1</value>
4586                </enumeratedValue>
4587              </enumeratedValues>
4588            </field>
4589            <field>
4590              <name>ADDR7</name>
4591              <description>Enable reception on logical address 7. Decision point: START task.</description>
4592              <lsb>7</lsb> <msb>7</msb>
4593              <enumeratedValues>
4594                <enumeratedValue>
4595                  <name>Disabled</name>
4596                  <description>Reception disabled.</description>
4597                  <value>0</value>
4598                </enumeratedValue>
4599                <enumeratedValue>
4600                  <name>Enabled</name>
4601                  <description>Reception enabled.</description>
4602                  <value>1</value>
4603                </enumeratedValue>
4604              </enumeratedValues>
4605            </field>
4606          </fields>
4607        </register>
4608        <register>
4609          <name>CRCCNF</name>
4610          <description>CRC configuration.</description>
4611          <addressOffset>0x534</addressOffset>
4612          <fields>
4613            <field>
4614              <name>LEN</name>
4615              <description>CRC length. Decision point: START task.</description>
4616              <lsb>0</lsb> <msb>1</msb>
4617              <enumeratedValues>
4618                <enumeratedValue>
4619                  <name>Disabled</name>
4620                  <description>CRC calculation disabled.</description>
4621                  <value>0</value>
4622                </enumeratedValue>
4623                <enumeratedValue>
4624                  <name>One</name>
4625                  <description>One byte long CRC.</description>
4626                  <value>1</value>
4627                </enumeratedValue>
4628                <enumeratedValue>
4629                  <name>Two</name>
4630                  <description>Two bytes long CRC.</description>
4631                  <value>2</value>
4632                </enumeratedValue>
4633                <enumeratedValue>
4634                  <name>Three</name>
4635                  <description>Three bytes long CRC.</description>
4636                  <value>3</value>
4637                </enumeratedValue>
4638              </enumeratedValues>
4639            </field>
4640            <field>
4641              <name>SKIPADDR</name>
4642              <description>Leave packet address field out of the CRC calculation. Decision point: START task.</description>
4643              <lsb>8</lsb> <msb>8</msb>
4644              <enumeratedValues>
4645                <enumeratedValue>
4646                  <name>Include</name>
4647                  <description>Include packet address in CRC calculation.</description>
4648                  <value>0</value>
4649                </enumeratedValue>
4650                <enumeratedValue>
4651                  <name>Skip</name>
4652                  <description>Packet address is skipped in CRC calculation. The CRC calculation will start at the first byte after the address.</description>
4653                  <value>1</value>
4654                </enumeratedValue>
4655              </enumeratedValues>
4656            </field>
4657          </fields>
4658        </register>
4659        <register>
4660          <name>CRCPOLY</name>
4661          <description>CRC polynomial.</description>
4662          <addressOffset>0x538</addressOffset>
4663          <fields>
4664            <field>
4665              <name>CRCPOLY</name>
4666              <description>CRC polynomial. Decision point: START task.</description>
4667              <lsb>0</lsb> <msb>23</msb>
4668            </field>
4669          </fields>
4670        </register>
4671        <register>
4672          <name>CRCINIT</name>
4673          <description>CRC initial value.</description>
4674          <addressOffset>0x53C</addressOffset>
4675          <fields>
4676            <field>
4677              <name>CRCINIT</name>
4678              <description>Initial value for CRC calculation. Decision point: START task.</description>
4679              <lsb>0</lsb> <msb>23</msb>
4680            </field>
4681          </fields>
4682        </register>
4683        <register>
4684          <name>TEST</name>
4685          <description>Test features enable register.</description>
4686          <addressOffset>0x540</addressOffset>
4687          <fields>
4688            <field>
4689              <name>CONSTCARRIER</name>
4690              <description>Constant carrier. Decision point: TXEN task.</description>
4691              <lsb>0</lsb> <msb>0</msb>
4692              <enumeratedValues>
4693                <enumeratedValue>
4694                  <name>Disabled</name>
4695                  <description>Constant carrier disabled.</description>
4696                  <value>0</value>
4697                </enumeratedValue>
4698                <enumeratedValue>
4699                  <name>Enabled</name>
4700                  <description>Constant carrier enabled.</description>
4701                  <value>1</value>
4702                </enumeratedValue>
4703              </enumeratedValues>
4704            </field>
4705            <field>
4706              <name>PLLLOCK</name>
4707              <description>PLL lock. Decision point: TXEN or RXEN task.</description>
4708              <lsb>1</lsb> <msb>1</msb>
4709              <enumeratedValues>
4710                <enumeratedValue>
4711                  <name>Disabled</name>
4712                  <description>PLL lock disabled.</description>
4713                  <value>0</value>
4714                </enumeratedValue>
4715                <enumeratedValue>
4716                  <name>Enabled</name>
4717                  <description>PLL lock enabled.</description>
4718                  <value>1</value>
4719                </enumeratedValue>
4720              </enumeratedValues>
4721            </field>
4722          </fields>
4723        </register>
4724
4725        <register>
4726          <name>TIFS</name>
4727          <description>Inter Frame Spacing in microseconds.</description>
4728          <addressOffset>0x544</addressOffset>
4729          <fields>
4730            <field>
4731              <name>TIFS</name>
4732              <description>Inter frame spacing in microseconds. Decision point: START rask</description>
4733              <lsb>0</lsb> <msb>7</msb>
4734            </field>
4735          </fields>
4736        </register>
4737
4738        <register>
4739          <name>RSSISAMPLE</name>
4740          <description>RSSI sample.</description>
4741          <addressOffset>0x548</addressOffset>
4742          <access>read-only</access>
4743          <fields>
4744            <field>
4745              <name>RSSISAMPLE</name>
4746              <description>RSSI sample result. The result is read as a positive value so that ReceivedSignalStrength = -RSSISAMPLE dBm</description>
4747              <lsb>0</lsb> <msb>6</msb>
4748            </field>
4749          </fields>
4750        </register>
4751        <register>
4752          <name>STATE</name>
4753          <description>Current radio state.</description>
4754          <addressOffset>0x550</addressOffset>
4755          <access>read-only</access>
4756          <fields>
4757            <field>
4758              <name>STATE</name>
4759              <description>Current radio state.</description>
4760              <lsb>0</lsb> <msb>3</msb>
4761              <enumeratedValues>
4762                <enumeratedValue>
4763                  <name>Disabled</name>
4764                  <description>Radio is in the Disabled state.</description>
4765                  <value>0x00</value>
4766                </enumeratedValue>
4767                <enumeratedValue>
4768                  <name>RxRu</name>
4769                  <description>Radio is in the Rx Ramp Up state.</description>
4770                  <value>0x01</value>
4771                </enumeratedValue>
4772                <enumeratedValue>
4773                  <name>RxIdle</name>
4774                  <description>Radio is in the Rx Idle state.</description>
4775                  <value>0x02</value>
4776                </enumeratedValue>
4777                <enumeratedValue>
4778                  <name>Rx</name>
4779                  <description>Radio is in the Rx state.</description>
4780                  <value>0x03</value>
4781                </enumeratedValue>
4782                <enumeratedValue>
4783                  <name>RxDisable</name>
4784                  <description>Radio is in the Rx Disable state.</description>
4785                  <value>0x04</value>
4786                </enumeratedValue>
4787                <enumeratedValue>
4788                  <name>TxRu</name>
4789                  <description>Radio is in the Tx Ramp Up state.</description>
4790                  <value>0x09</value>
4791                </enumeratedValue>
4792                <enumeratedValue>
4793                  <name>TxIdle</name>
4794                  <description>Radio is in the Tx Idle state.</description>
4795                  <value>0x0A</value>
4796                </enumeratedValue>
4797                <enumeratedValue>
4798                  <name>Tx</name>
4799                  <description>Radio is in the Tx state.</description>
4800                  <value>0x0B</value>
4801                </enumeratedValue>
4802                <enumeratedValue>
4803                  <name>TxDisable</name>
4804                  <description>Radio is in the Tx Disable state.</description>
4805                  <value>0x0C</value>
4806                </enumeratedValue>
4807              </enumeratedValues>
4808            </field>
4809          </fields>
4810        </register>
4811        <register>
4812          <name>DATAWHITEIV</name>
4813          <description>Data whitening initial value.</description>
4814          <addressOffset>0x554</addressOffset>
4815          <resetValue>0x00000040</resetValue>
4816          <fields>
4817            <field>
4818              <name>DATAWHITEIV</name>
4819              <description>Data whitening initial value. Bit 0 corresponds to Position 0 of the LSFR, Bit 1 to position 5... Decision point: TXEN or RXEN task.</description>
4820              <lsb>0</lsb> <msb>6</msb>
4821            </field>
4822          </fields>
4823        </register>
4824
4825        <register>
4826          <name>BCC</name>
4827          <description>Bit counter compare.</description>
4828          <addressOffset>0x560</addressOffset>
4829        </register>
4830
4831        <register>
4832          <dim>8</dim>
4833          <dimIncrement>0x04</dimIncrement>
4834          <name>DAB[%s]</name>
4835          <description>Device address base segment.</description>
4836          <addressOffset>0x600</addressOffset>
4837        </register>
4838        <register>
4839          <dim>8</dim>
4840          <dimIncrement>0x04</dimIncrement>
4841          <name>DAP[%s]</name>
4842          <description>Device address prefix.</description>
4843          <addressOffset>0x620</addressOffset>
4844          <fields>
4845            <field>
4846              <name>DAP</name>
4847              <description>Device address prefix.</description>
4848              <lsb>0</lsb> <msb>15</msb>
4849            </field>
4850          </fields>
4851        </register>
4852        <register>
4853          <name>DACNF</name>
4854          <description>Device address match configuration.</description>
4855          <addressOffset>0x640</addressOffset>
4856          <fields>
4857            <field>
4858              <name>ENA0</name>
4859              <description>Enable or disable device address matching using device address 0.</description>
4860              <lsb>0</lsb> <msb>0</msb>
4861              <enumeratedValues>
4862                <enumeratedValue>
4863                  <name>Disabled</name>
4864                  <description>Disabled.</description>
4865                  <value>0</value>
4866                </enumeratedValue>
4867                <enumeratedValue>
4868                  <name>Enabled</name>
4869                  <description>Enabled.</description>
4870                  <value>1</value>
4871                </enumeratedValue>
4872              </enumeratedValues>
4873            </field>
4874            <field>
4875              <name>ENA1</name>
4876              <description>Enable or disable device address matching using device address 1.</description>
4877              <lsb>1</lsb> <msb>1</msb>
4878              <enumeratedValues>
4879                <enumeratedValue>
4880                  <name>Disabled</name>
4881                  <description>Disabled.</description>
4882                  <value>0</value>
4883                </enumeratedValue>
4884                <enumeratedValue>
4885                  <name>Enabled</name>
4886                  <description>Enabled.</description>
4887                  <value>1</value>
4888                </enumeratedValue>
4889              </enumeratedValues>
4890            </field>
4891            <field>
4892              <name>ENA2</name>
4893              <description>Enable or disable device address matching using device address 2.</description>
4894              <lsb>2</lsb> <msb>2</msb>
4895              <enumeratedValues>
4896                <enumeratedValue>
4897                  <name>Disabled</name>
4898                  <description>Disabled.</description>
4899                  <value>0</value>
4900                </enumeratedValue>
4901                <enumeratedValue>
4902                  <name>Enabled</name>
4903                  <description>Enabled.</description>
4904                  <value>1</value>
4905                </enumeratedValue>
4906              </enumeratedValues>
4907            </field>
4908            <field>
4909              <name>ENA3</name>
4910              <description>Enable or disable device address matching using device address 3.</description>
4911              <lsb>3</lsb> <msb>3</msb>
4912              <enumeratedValues>
4913                <enumeratedValue>
4914                  <name>Disabled</name>
4915                  <description>Disabled.</description>
4916                  <value>0</value>
4917                </enumeratedValue>
4918                <enumeratedValue>
4919                  <name>Enabled</name>
4920                  <description>Enabled.</description>
4921                  <value>1</value>
4922                </enumeratedValue>
4923              </enumeratedValues>
4924            </field>
4925            <field>
4926              <name>ENA4</name>
4927              <description>Enable or disable device address matching using device address 4.</description>
4928              <lsb>4</lsb> <msb>4</msb>
4929              <enumeratedValues>
4930                <enumeratedValue>
4931                  <name>Disabled</name>
4932                  <description>Disabled.</description>
4933                  <value>0</value>
4934                </enumeratedValue>
4935                <enumeratedValue>
4936                  <name>Enabled</name>
4937                  <description>Enabled.</description>
4938                  <value>1</value>
4939                </enumeratedValue>
4940              </enumeratedValues>
4941            </field>
4942            <field>
4943              <name>ENA5</name>
4944              <description>Enable or disable device address matching using device address 5.</description>
4945              <lsb>5</lsb> <msb>5</msb>
4946              <enumeratedValues>
4947                <enumeratedValue>
4948                  <name>Disabled</name>
4949                  <description>Disabled.</description>
4950                  <value>0</value>
4951                </enumeratedValue>
4952                <enumeratedValue>
4953                  <name>Enabled</name>
4954                  <description>Enabled.</description>
4955                  <value>1</value>
4956                </enumeratedValue>
4957              </enumeratedValues>
4958            </field>
4959            <field>
4960              <name>ENA6</name>
4961              <description>Enable or disable device address matching using device address 6.</description>
4962              <lsb>6</lsb> <msb>6</msb>
4963              <enumeratedValues>
4964                <enumeratedValue>
4965                  <name>Disabled</name>
4966                  <description>Disabled.</description>
4967                  <value>0</value>
4968                </enumeratedValue>
4969                <enumeratedValue>
4970                  <name>Enabled</name>
4971                  <description>Enabled.</description>
4972                  <value>1</value>
4973                </enumeratedValue>
4974              </enumeratedValues>
4975            </field>
4976            <field>
4977              <name>ENA7</name>
4978              <description>Enable or disable device address matching using device address 7.</description>
4979              <lsb>7</lsb> <msb>7</msb>
4980              <enumeratedValues>
4981                <enumeratedValue>
4982                  <name>Disabled</name>
4983                  <description>Disabled.</description>
4984                  <value>0</value>
4985                </enumeratedValue>
4986                <enumeratedValue>
4987                  <name>Enabled</name>
4988                  <description>Enabled.</description>
4989                  <value>1</value>
4990                </enumeratedValue>
4991              </enumeratedValues>
4992            </field>
4993            <field>
4994              <name>TXADD0</name>
4995              <description>TxAdd for device address 0.</description>
4996              <lsb>8</lsb> <msb>8</msb>
4997            </field>
4998            <field>
4999              <name>TXADD1</name>
5000              <description>TxAdd for device address 1.</description>
5001              <lsb>9</lsb> <msb>9</msb>
5002            </field>
5003            <field>
5004              <name>TXADD2</name>
5005              <description>TxAdd for device address 2.</description>
5006              <lsb>10</lsb> <msb>10</msb>
5007            </field>
5008            <field>
5009              <name>TXADD3</name>
5010              <description>TxAdd for device address 3.</description>
5011              <lsb>11</lsb> <msb>11</msb>
5012            </field>
5013            <field>
5014              <name>TXADD4</name>
5015              <description>TxAdd for device address 4.</description>
5016              <lsb>12</lsb> <msb>12</msb>
5017            </field>
5018            <field>
5019              <name>TXADD5</name>
5020              <description>TxAdd for device address 5.</description>
5021              <lsb>13</lsb> <msb>13</msb>
5022            </field>
5023            <field>
5024              <name>TXADD6</name>
5025              <description>TxAdd for device address 6.</description>
5026              <lsb>14</lsb> <msb>14</msb>
5027            </field>
5028            <field>
5029              <name>TXADD7</name>
5030              <description>TxAdd for device address 7.</description>
5031              <lsb>15</lsb> <msb>15</msb>
5032            </field>
5033          </fields>
5034        </register>
5035
5036        <register>
5037          <name>OVERRIDE0</name>
5038          <description>Trim value override register 0.</description>
5039          <addressOffset>0x724</addressOffset>
5040          <fields>
5041            <field>
5042              <name>OVERRIDE0</name>
5043              <description>Trim value override 0.</description>
5044              <lsb>0</lsb> <msb>31</msb>
5045            </field>
5046          </fields>
5047        </register>
5048        <register>
5049          <name>OVERRIDE1</name>
5050          <description>Trim value override register 1.</description>
5051          <addressOffset>0x728</addressOffset>
5052          <fields>
5053            <field>
5054              <name>OVERRIDE1</name>
5055              <description>Trim value override 1.</description>
5056              <lsb>0</lsb> <msb>31</msb>
5057            </field>
5058          </fields>
5059        </register>
5060        <register>
5061          <name>OVERRIDE2</name>
5062          <description>Trim value override register 2.</description>
5063          <addressOffset>0x72C</addressOffset>
5064          <fields>
5065            <field>
5066              <name>OVERRIDE2</name>
5067              <description>Trim value override 2.</description>
5068              <lsb>0</lsb> <msb>31</msb>
5069            </field>
5070          </fields>
5071        </register>
5072        <register>
5073          <name>OVERRIDE3</name>
5074          <description>Trim value override register 3.</description>
5075          <addressOffset>0x730</addressOffset>
5076          <fields>
5077            <field>
5078              <name>OVERRIDE3</name>
5079              <description>Trim value override 3.</description>
5080              <lsb>0</lsb> <msb>31</msb>
5081            </field>
5082          </fields>
5083        </register>
5084        <register>
5085          <name>OVERRIDE4</name>
5086          <description>Trim value override register 4.</description>
5087          <addressOffset>0x734</addressOffset>
5088          <fields>
5089            <field>
5090              <name>OVERRIDE4</name>
5091              <description>Trim value override 4.</description>
5092              <lsb>0</lsb> <msb>27</msb>
5093            </field>
5094            <field>
5095              <name>ENABLE</name>
5096              <description>Enable or disable override of default trim values.</description>
5097              <lsb>31</lsb> <msb>31</msb>
5098              <enumeratedValues>
5099                <enumeratedValue>
5100                  <name>Disabled</name>
5101                  <description>Override trim values disabled.</description>
5102                  <value>0</value>
5103                </enumeratedValue>
5104                <enumeratedValue>
5105                  <name>Enabled</name>
5106                  <description>Override trim values enabled.</description>
5107                  <value>1</value>
5108                </enumeratedValue>
5109              </enumeratedValues>
5110            </field>
5111          </fields>
5112        </register>
5113
5114        <register>
5115          <name>POWER</name>
5116          <description>Peripheral power control.</description>
5117          <addressOffset>0xFFC</addressOffset>
5118          <fields>
5119            <field>
5120              <name>POWER</name>
5121              <description>Peripheral power control.</description>
5122              <lsb>0</lsb> <msb>0</msb>
5123              <enumeratedValues>
5124                <enumeratedValue>
5125                  <name>Disabled</name>
5126                  <description>Module power disabled.</description>
5127                  <value>0</value>
5128                </enumeratedValue>
5129                <enumeratedValue>
5130                  <name>Enabled</name>
5131                  <description>Module power enabled.</description>
5132                  <value>1</value>
5133                </enumeratedValue>
5134              </enumeratedValues>
5135            </field>
5136          </fields>
5137        </register>
5138
5139      </registers>
5140    </peripheral>
5141
5142    <peripheral>
5143      <name>UART0</name>
5144      <version>522</version>
5145      <description>Universal Asynchronous Receiver/Transmitter.</description>
5146      <baseAddress>0x40002000</baseAddress>
5147      <groupName>UART</groupName>
5148      <size>32</size>
5149      <access>read-write</access>
5150      <headerStructName>UART</headerStructName>
5151
5152      <addressBlock>
5153        <offset>0</offset>
5154        <size>0x1000</size>
5155        <usage>registers</usage>
5156      </addressBlock>
5157
5158      <interrupt>
5159        <name>UART0</name>
5160        <value>2</value>
5161      </interrupt>
5162
5163      <registers>
5164        <register>
5165          <name>TASKS_STARTRX</name>
5166          <description>Start UART receiver.</description>
5167          <addressOffset>0x000</addressOffset>
5168          <access>write-only</access>
5169        </register>
5170        <register>
5171          <name>TASKS_STOPRX</name>
5172          <description>Stop UART receiver.</description>
5173          <addressOffset>0x004</addressOffset>
5174          <access>write-only</access>
5175        </register>
5176        <register>
5177          <name>TASKS_STARTTX</name>
5178          <description>Start UART transmitter.</description>
5179          <addressOffset>0x008</addressOffset>
5180          <access>write-only</access>
5181        </register>
5182        <register>
5183          <name>TASKS_STOPTX</name>
5184          <description>Stop UART transmitter.</description>
5185          <addressOffset>0x00C</addressOffset>
5186          <access>write-only</access>
5187        </register>
5188        <register>
5189          <name>TASKS_SUSPEND</name>
5190          <description>Suspend UART.</description>
5191          <addressOffset>0x01C</addressOffset>
5192          <access>write-only</access>
5193        </register>
5194
5195        <register>
5196          <name>EVENTS_CTS</name>
5197          <description>CTS activated.</description>
5198          <addressOffset>0x100</addressOffset>
5199        </register>
5200        <register>
5201          <name>EVENTS_NCTS</name>
5202          <description>CTS deactivated.</description>
5203          <addressOffset>0x104</addressOffset>
5204        </register>
5205        <register>
5206          <name>EVENTS_RXDRDY</name>
5207          <description>Data received in RXD.</description>
5208          <addressOffset>0x108</addressOffset>
5209        </register>
5210        <register>
5211          <name>EVENTS_TXDRDY</name>
5212          <description>Data sent from TXD.</description>
5213          <addressOffset>0x11C</addressOffset>
5214        </register>
5215        <register>
5216          <name>EVENTS_ERROR</name>
5217          <description>Error detected.</description>
5218          <addressOffset>0x124</addressOffset>
5219        </register>
5220        <register>
5221          <name>EVENTS_RXTO</name>
5222          <description>Receiver timeout.</description>
5223          <addressOffset>0x144</addressOffset>
5224        </register>
5225
5226        <register>
5227          <name>SHORTS</name>
5228          <description>Shortcuts for UART.</description>
5229          <addressOffset>0x200</addressOffset>
5230          <fields>
5231            <field>
5232              <name>CTS_STARTRX</name>
5233              <description>Shortcut between CTS event and STARTRX task.</description>
5234              <lsb>3</lsb>
5235              <msb>3</msb>
5236              <enumeratedValues>
5237                <enumeratedValue>
5238                  <name>Disabled</name>
5239                  <description>Shortcut disabled.</description>
5240                  <value>0</value>
5241                </enumeratedValue>
5242                <enumeratedValue>
5243                  <name>Enabled</name>
5244                  <description>Shortcut enabled.</description>
5245                  <value>1</value>
5246                </enumeratedValue>
5247              </enumeratedValues>
5248            </field>
5249            <field>
5250              <name>NCTS_STOPRX</name>
5251              <description>Shortcut between NCTS event and STOPRX task.</description>
5252              <lsb>4</lsb>
5253              <msb>4</msb>
5254              <enumeratedValues>
5255                <enumeratedValue>
5256                  <name>Disabled</name>
5257                  <description>Shortcut disabled.</description>
5258                  <value>0</value>
5259                </enumeratedValue>
5260                <enumeratedValue>
5261                  <name>Enabled</name>
5262                  <description>Shortcut enabled.</description>
5263                  <value>1</value>
5264                </enumeratedValue>
5265              </enumeratedValues>
5266            </field>
5267          </fields>
5268        </register>
5269
5270        <register>
5271          <name>INTENSET</name>
5272          <description>Interrupt enable set register.</description>
5273          <addressOffset>0x304</addressOffset>
5274          <fields>
5275            <field>
5276              <name>CTS</name>
5277              <description>Enable interrupt on CTS event.</description>
5278              <lsb>0</lsb> <msb>0</msb>
5279              <enumeratedValues>
5280                <usage>read</usage>
5281                <enumeratedValue>
5282                  <name>Disabled</name>
5283                  <description>Interrupt disabled.</description>
5284                  <value>0</value>
5285                </enumeratedValue>
5286                <enumeratedValue>
5287                  <name>Enabled</name>
5288                  <description>Interrupt enabled.</description>
5289                  <value>1</value>
5290                </enumeratedValue>
5291              </enumeratedValues>
5292              <enumeratedValues>
5293                <usage>write</usage>
5294                <enumeratedValue>
5295                  <name>Set</name>
5296                  <description>Enable interrupt on write.</description>
5297                  <value>1</value>
5298                </enumeratedValue>
5299              </enumeratedValues>
5300            </field>
5301            <field>
5302              <name>NCTS</name>
5303              <description>Enable interrupt on NCTS event.</description>
5304              <lsb>1</lsb> <msb>1</msb>
5305              <enumeratedValues>
5306                <usage>read</usage>
5307                <enumeratedValue>
5308                  <name>Disabled</name>
5309                  <description>Interrupt disabled.</description>
5310                  <value>0</value>
5311                </enumeratedValue>
5312                <enumeratedValue>
5313                  <name>Enabled</name>
5314                  <description>Interrupt enabled.</description>
5315                  <value>1</value>
5316                </enumeratedValue>
5317              </enumeratedValues>
5318              <enumeratedValues>
5319                <usage>write</usage>
5320                <enumeratedValue>
5321                  <name>Set</name>
5322                  <description>Enable interrupt on write.</description>
5323                  <value>1</value>
5324                </enumeratedValue>
5325              </enumeratedValues>
5326            </field>
5327            <field>
5328              <name>RXDRDY</name>
5329              <description>Enable interrupt on RXRDY event.</description>
5330              <lsb>2</lsb> <msb>2</msb>
5331              <enumeratedValues>
5332                <usage>read</usage>
5333                <enumeratedValue>
5334                  <name>Disabled</name>
5335                  <description>Interrupt disabled.</description>
5336                  <value>0</value>
5337                </enumeratedValue>
5338                <enumeratedValue>
5339                  <name>Enabled</name>
5340                  <description>Interrupt enabled.</description>
5341                  <value>1</value>
5342                </enumeratedValue>
5343              </enumeratedValues>
5344              <enumeratedValues>
5345                <usage>write</usage>
5346                <enumeratedValue>
5347                  <name>Set</name>
5348                  <description>Enable interrupt on write.</description>
5349                  <value>1</value>
5350                </enumeratedValue>
5351              </enumeratedValues>
5352            </field>
5353            <field>
5354              <name>TXDRDY</name>
5355              <description>Enable interrupt on TXRDY event.</description>
5356              <lsb>7</lsb> <msb>7</msb>
5357              <enumeratedValues>
5358                <usage>read</usage>
5359                <enumeratedValue>
5360                  <name>Disabled</name>
5361                  <description>Interrupt disabled.</description>
5362                  <value>0</value>
5363                </enumeratedValue>
5364                <enumeratedValue>
5365                  <name>Enabled</name>
5366                  <description>Interrupt enabled.</description>
5367                  <value>1</value>
5368                </enumeratedValue>
5369              </enumeratedValues>
5370              <enumeratedValues>
5371                <usage>write</usage>
5372                <enumeratedValue>
5373                  <name>Set</name>
5374                  <description>Enable interrupt on write.</description>
5375                  <value>1</value>
5376                </enumeratedValue>
5377              </enumeratedValues>
5378            </field>
5379            <field>
5380              <name>ERROR</name>
5381              <description>Enable interrupt on ERROR event.</description>
5382              <lsb>9</lsb> <msb>9</msb>
5383              <enumeratedValues>
5384                <usage>read</usage>
5385                <enumeratedValue>
5386                  <name>Disabled</name>
5387                  <description>Interrupt disabled.</description>
5388                  <value>0</value>
5389                </enumeratedValue>
5390                <enumeratedValue>
5391                  <name>Enabled</name>
5392                  <description>Interrupt enabled.</description>
5393                  <value>1</value>
5394                </enumeratedValue>
5395              </enumeratedValues>
5396              <enumeratedValues>
5397                <usage>write</usage>
5398                <enumeratedValue>
5399                  <name>Set</name>
5400                  <description>Enable interrupt on write.</description>
5401                  <value>1</value>
5402                </enumeratedValue>
5403              </enumeratedValues>
5404            </field>
5405            <field>
5406              <name>RXTO</name>
5407              <description>Enable interrupt on RXTO event.</description>
5408              <lsb>17</lsb> <msb>17</msb>
5409              <enumeratedValues>
5410                <usage>read</usage>
5411                <enumeratedValue>
5412                  <name>Disabled</name>
5413                  <description>Interrupt disabled.</description>
5414                  <value>0</value>
5415                </enumeratedValue>
5416                <enumeratedValue>
5417                  <name>Enabled</name>
5418                  <description>Interrupt enabled.</description>
5419                  <value>1</value>
5420                </enumeratedValue>
5421              </enumeratedValues>
5422              <enumeratedValues>
5423                <usage>write</usage>
5424                <enumeratedValue>
5425                  <name>Set</name>
5426                  <description>Enable interrupt on write.</description>
5427                  <value>1</value>
5428                </enumeratedValue>
5429              </enumeratedValues>
5430            </field>
5431          </fields>
5432        </register>
5433        <register>
5434          <name>INTENCLR</name>
5435          <description>Interrupt enable clear register.</description>
5436          <addressOffset>0x308</addressOffset>
5437          <fields>
5438            <field>
5439              <name>CTS</name>
5440              <description>Disable interrupt on CTS event.</description>
5441              <lsb>0</lsb> <msb>0</msb>
5442              <enumeratedValues>
5443                <usage>read</usage>
5444                <enumeratedValue>
5445                  <name>Disabled</name>
5446                  <description>Interrupt disabled.</description>
5447                  <value>0</value>
5448                </enumeratedValue>
5449                <enumeratedValue>
5450                  <name>Enabled</name>
5451                  <description>Interrupt enabled.</description>
5452                  <value>1</value>
5453                </enumeratedValue>
5454              </enumeratedValues>
5455              <enumeratedValues>
5456                <usage>write</usage>
5457                <enumeratedValue>
5458                  <name>Clear</name>
5459                  <description>Disable interrupt on write.</description>
5460                  <value>1</value>
5461                </enumeratedValue>
5462              </enumeratedValues>
5463            </field>
5464            <field>
5465              <name>NCTS</name>
5466              <description>Disable interrupt on NCTS event.</description>
5467              <lsb>1</lsb> <msb>1</msb>
5468              <enumeratedValues>
5469                <usage>read</usage>
5470                <enumeratedValue>
5471                  <name>Disabled</name>
5472                  <description>Interrupt disabled.</description>
5473                  <value>0</value>
5474                </enumeratedValue>
5475                <enumeratedValue>
5476                  <name>Enabled</name>
5477                  <description>Interrupt enabled.</description>
5478                  <value>1</value>
5479                </enumeratedValue>
5480              </enumeratedValues>
5481              <enumeratedValues>
5482                <usage>write</usage>
5483                <enumeratedValue>
5484                  <name>Clear</name>
5485                  <description>Disable interrupt on write.</description>
5486                  <value>1</value>
5487                </enumeratedValue>
5488              </enumeratedValues>
5489            </field>
5490            <field>
5491              <name>RXDRDY</name>
5492              <description>Disable interrupt on RXRDY event.</description>
5493              <lsb>2</lsb> <msb>2</msb>
5494              <enumeratedValues>
5495                <usage>read</usage>
5496                <enumeratedValue>
5497                  <name>Disabled</name>
5498                  <description>Interrupt disabled.</description>
5499                  <value>0</value>
5500                </enumeratedValue>
5501                <enumeratedValue>
5502                  <name>Enabled</name>
5503                  <description>Interrupt enabled.</description>
5504                  <value>1</value>
5505                </enumeratedValue>
5506              </enumeratedValues>
5507              <enumeratedValues>
5508                <usage>write</usage>
5509                <enumeratedValue>
5510                  <name>Clear</name>
5511                  <description>Disable interrupt on write.</description>
5512                  <value>1</value>
5513                </enumeratedValue>
5514              </enumeratedValues>
5515            </field>
5516            <field>
5517              <name>TXDRDY</name>
5518              <description>Disable interrupt on TXRDY event.</description>
5519              <lsb>7</lsb> <msb>7</msb>
5520              <enumeratedValues>
5521                <usage>read</usage>
5522                <enumeratedValue>
5523                  <name>Disabled</name>
5524                  <description>Interrupt disabled.</description>
5525                  <value>0</value>
5526                </enumeratedValue>
5527                <enumeratedValue>
5528                  <name>Enabled</name>
5529                  <description>Interrupt enabled.</description>
5530                  <value>1</value>
5531                </enumeratedValue>
5532              </enumeratedValues>
5533              <enumeratedValues>
5534                <usage>write</usage>
5535                <enumeratedValue>
5536                  <name>Clear</name>
5537                  <description>Disable interrupt on write.</description>
5538                  <value>1</value>
5539                </enumeratedValue>
5540              </enumeratedValues>
5541            </field>
5542            <field>
5543              <name>ERROR</name>
5544              <description>Disable interrupt on ERROR event.</description>
5545              <lsb>9</lsb> <msb>9</msb>
5546              <enumeratedValues>
5547                <usage>read</usage>
5548                <enumeratedValue>
5549                  <name>Disabled</name>
5550                  <description>Interrupt disabled.</description>
5551                  <value>0</value>
5552                </enumeratedValue>
5553                <enumeratedValue>
5554                  <name>Enabled</name>
5555                  <description>Interrupt enabled.</description>
5556                  <value>1</value>
5557                </enumeratedValue>
5558              </enumeratedValues>
5559              <enumeratedValues>
5560                <usage>write</usage>
5561                <enumeratedValue>
5562                  <name>Clear</name>
5563                  <description>Disable interrupt on write.</description>
5564                  <value>1</value>
5565                </enumeratedValue>
5566              </enumeratedValues>
5567            </field>
5568            <field>
5569              <name>RXTO</name>
5570              <description>Disable interrupt on RXTO event.</description>
5571              <lsb>17</lsb> <msb>17</msb>
5572              <enumeratedValues>
5573                <usage>read</usage>
5574                <enumeratedValue>
5575                  <name>Disabled</name>
5576                  <description>Interrupt disabled.</description>
5577                  <value>0</value>
5578                </enumeratedValue>
5579                <enumeratedValue>
5580                  <name>Enabled</name>
5581                  <description>Interrupt enabled.</description>
5582                  <value>1</value>
5583                </enumeratedValue>
5584              </enumeratedValues>
5585              <enumeratedValues>
5586                <usage>write</usage>
5587                <enumeratedValue>
5588                  <name>Clear</name>
5589                  <description>Disable interrupt on write.</description>
5590                  <value>1</value>
5591                </enumeratedValue>
5592              </enumeratedValues>
5593            </field>
5594          </fields>
5595        </register>
5596
5597        <register>
5598          <name>ERRORSRC</name>
5599          <description>Error source. Write error field to 1 to clear error.</description>
5600          <addressOffset>0x480</addressOffset>
5601          <fields>
5602            <field>
5603              <name>OVERRUN</name>
5604              <description>A start bit is received while the previous data still lies in RXD. (Data loss).</description>
5605              <lsb>0</lsb> <msb>0</msb>
5606              <enumeratedValues>
5607                <usage>read</usage>
5608                <enumeratedValue>
5609                  <name>NotPresent</name>
5610                  <description>Error not present.</description>
5611                  <value>0</value>
5612                </enumeratedValue>
5613                <enumeratedValue>
5614                  <name>Present</name>
5615                  <description>Error present.</description>
5616                  <value>1</value>
5617                </enumeratedValue>
5618              </enumeratedValues>
5619              <enumeratedValues>
5620                <usage>write</usage>
5621                <enumeratedValue>
5622                  <name>Clear</name>
5623                  <description>Clear error on write.</description>
5624                  <value>1</value>
5625                </enumeratedValue>
5626              </enumeratedValues>
5627            </field>
5628            <field>
5629              <name>PARITY</name>
5630              <description>A character with bad parity is received. Only checked if HW parity control is enabled.</description>
5631              <lsb>1</lsb> <msb>1</msb>
5632              <enumeratedValues>
5633                <usage>read</usage>
5634                <enumeratedValue>
5635                  <name>NotPresent</name>
5636                  <description>Error not present.</description>
5637                  <value>0</value>
5638                </enumeratedValue>
5639                <enumeratedValue>
5640                  <name>Present</name>
5641                  <description>Error present.</description>
5642                  <value>1</value>
5643                </enumeratedValue>
5644              </enumeratedValues>
5645              <enumeratedValues>
5646                <usage>write</usage>
5647                <enumeratedValue>
5648                  <name>Clear</name>
5649                  <description>Clear error on write.</description>
5650                  <value>1</value>
5651                </enumeratedValue>
5652              </enumeratedValues>
5653            </field>
5654            <field>
5655              <name>FRAMING</name>
5656              <description>A valid stop bit is not detected on the serial data input after all bits in a character have been received.</description>
5657              <lsb>2</lsb> <msb>2</msb>
5658              <enumeratedValues>
5659                <usage>read</usage>
5660                <enumeratedValue>
5661                  <name>NotPresent</name>
5662                  <description>Error not present.</description>
5663                  <value>0</value>
5664                </enumeratedValue>
5665                <enumeratedValue>
5666                  <name>Present</name>
5667                  <description>Error present.</description>
5668                  <value>1</value>
5669                </enumeratedValue>
5670              </enumeratedValues>
5671              <enumeratedValues>
5672                <usage>write</usage>
5673                <enumeratedValue>
5674                  <name>Clear</name>
5675                  <description>Clear error on write.</description>
5676                  <value>1</value>
5677                </enumeratedValue>
5678              </enumeratedValues>
5679            </field>
5680            <field>
5681              <name>BREAK</name>
5682              <description>The serial data input is '0' for longer than the length of a data frame.</description>
5683              <lsb>3</lsb> <msb>3</msb>
5684              <enumeratedValues>
5685                <usage>read</usage>
5686                <enumeratedValue>
5687                  <name>NotPresent</name>
5688                  <description>Error not present.</description>
5689                  <value>0</value>
5690                </enumeratedValue>
5691                <enumeratedValue>
5692                  <name>Present</name>
5693                  <description>Error present.</description>
5694                  <value>1</value>
5695                </enumeratedValue>
5696              </enumeratedValues>
5697              <enumeratedValues>
5698                <usage>write</usage>
5699                <enumeratedValue>
5700                  <name>Clear</name>
5701                  <description>Clear error on write.</description>
5702                  <value>1</value>
5703                </enumeratedValue>
5704              </enumeratedValues>
5705            </field>
5706          </fields>
5707        </register>
5708
5709        <register>
5710          <name>ENABLE</name>
5711          <description>Enable UART and acquire IOs.</description>
5712          <addressOffset>0x500</addressOffset>
5713          <fields>
5714            <field>
5715              <name>ENABLE</name>
5716              <description>Enable or disable UART and acquire IOs.</description>
5717              <lsb>0</lsb> <msb>2</msb>
5718              <enumeratedValues>
5719                <enumeratedValue>
5720                  <name>Disabled</name>
5721                  <description>UART disabled.</description>
5722                  <value>0x00</value>
5723                </enumeratedValue>
5724                <enumeratedValue>
5725                  <name>Enabled</name>
5726                  <description>UART enabled.</description>
5727                  <value>0x04</value>
5728                </enumeratedValue>
5729              </enumeratedValues>
5730            </field>
5731          </fields>
5732        </register>
5733        <register>
5734          <name>PSELRTS</name>
5735          <description>Pin select for RTS.</description>
5736          <addressOffset>0x508</addressOffset>
5737          <resetValue>0xFFFFFFFF</resetValue>
5738        </register>
5739        <register>
5740          <name>PSELTXD</name>
5741          <description>Pin select for TXD.</description>
5742          <addressOffset>0x50C</addressOffset>
5743          <resetValue>0xFFFFFFFF</resetValue>
5744        </register>
5745        <register>
5746          <name>PSELCTS</name>
5747          <description>Pin select for CTS.</description>
5748          <addressOffset>0x510</addressOffset>
5749          <resetValue>0xFFFFFFFF</resetValue>
5750        </register>
5751        <register>
5752          <name>PSELRXD</name>
5753          <description>Pin select for RXD.</description>
5754          <addressOffset>0x514</addressOffset>
5755          <resetValue>0xFFFFFFFF</resetValue>
5756        </register>
5757
5758        <register>
5759          <name>RXD</name>
5760          <description>RXD register. On read action the buffer pointer is displaced. Once read the character is consumed. If read when no character available, the UART will stop working.</description>
5761          <addressOffset>0x518</addressOffset>
5762          <access>read-only</access>
5763          <readAction>modifyExternal</readAction>
5764          <fields>
5765            <field>
5766              <name>RXD</name>
5767              <description>RX data from previous transfer. Double buffered.</description>
5768              <lsb>0</lsb> <msb>7</msb>
5769            </field>
5770          </fields>
5771        </register>
5772        <register>
5773          <name>TXD</name>
5774          <description>TXD register.</description>
5775          <addressOffset>0x51C</addressOffset>
5776          <access>write-only</access>
5777          <fields>
5778            <field>
5779              <name>TXD</name>
5780              <description>TX data for transfer.</description>
5781              <lsb>0</lsb> <msb>7</msb>
5782            </field>
5783          </fields>
5784        </register>
5785
5786        <register>
5787          <name>BAUDRATE</name>
5788          <description>UART Baudrate.</description>
5789          <addressOffset>0x524</addressOffset>
5790          <fields>
5791            <field>
5792              <name>BAUDRATE</name>
5793              <description>UART baudrate.</description>
5794              <lsb>0</lsb> <msb>31</msb>
5795              <enumeratedValues>
5796                <enumeratedValue>
5797                  <name>Baud1200</name>
5798                  <description>1200 baud.</description>
5799                  <value>0x0004F000</value>
5800                </enumeratedValue>
5801                <enumeratedValue>
5802                  <name>Baud2400</name>
5803                  <description>2400 baud.</description>
5804                  <value>0x0009D000</value>
5805                </enumeratedValue>
5806                <enumeratedValue>
5807                  <name>Baud4800</name>
5808                  <description>4800 baud.</description>
5809                  <value>0x0013B000</value>
5810                </enumeratedValue>
5811                <enumeratedValue>
5812                  <name>Baud9600</name>
5813                  <description>9600 baud.</description>
5814                  <value>0x00275000</value>
5815                </enumeratedValue>
5816                <enumeratedValue>
5817                  <name>Baud14400</name>
5818                  <description>14400 baud.</description>
5819                  <value>0x003B0000</value>
5820                </enumeratedValue>
5821                <enumeratedValue>
5822                  <name>Baud19200</name>
5823                  <description>19200 baud.</description>
5824                  <value>0x004EA000</value>
5825                </enumeratedValue>
5826                <enumeratedValue>
5827                  <name>Baud28800</name>
5828                  <description>28800 baud.</description>
5829                  <value>0x0075F000</value>
5830                </enumeratedValue>
5831                <enumeratedValue>
5832                  <name>Baud31250</name>
5833                  <description>31250 baud.</description>
5834                  <value>0x00800000</value>
5835                </enumeratedValue>
5836                <enumeratedValue>
5837                  <name>Baud38400</name>
5838                  <description>38400 baud.</description>
5839                  <value>0x009D5000</value>
5840                </enumeratedValue>
5841                <enumeratedValue>
5842                  <name>Baud56000</name>
5843                  <description>56000 baud.</description>
5844                  <value>0x00E50000</value>
5845                </enumeratedValue>
5846                <enumeratedValue>
5847                  <name>Baud57600</name>
5848                  <description>57600 baud.</description>
5849                  <value>0x00EBF000</value>
5850                </enumeratedValue>
5851                <enumeratedValue>
5852                  <name>Baud76800</name>
5853                  <description>76800 baud.</description>
5854                  <value>0x013A9000</value>
5855                </enumeratedValue>
5856                <enumeratedValue>
5857                  <name>Baud115200</name>
5858                  <description>115200 baud.</description>
5859                  <value>0x01D7E000</value>
5860                </enumeratedValue>
5861                <enumeratedValue>
5862                  <name>Baud230400</name>
5863                  <description>230400 baud.</description>
5864                  <value>0x03AFB000</value>
5865                </enumeratedValue>
5866                <enumeratedValue>
5867                  <name>Baud250000</name>
5868                  <description>250000 baud.</description>
5869                  <value>0x04000000</value>
5870                </enumeratedValue>
5871                <enumeratedValue>
5872                  <name>Baud460800</name>
5873                  <description>460800 baud.</description>
5874                  <value>0x075F7000</value>
5875                </enumeratedValue>
5876                <enumeratedValue>
5877                  <name>Baud921600</name>
5878                  <description>921600 baud.</description>
5879                  <value>0x0EBED000</value>
5880                </enumeratedValue>
5881                <enumeratedValue>
5882                  <name>Baud1M</name>
5883                  <description>1M baud.</description>
5884                  <value>0x10000000</value>
5885                </enumeratedValue>
5886              </enumeratedValues>
5887            </field>
5888          </fields>
5889        </register>
5890        <register>
5891          <name>CONFIG</name>
5892          <description>Configuration of parity and hardware flow control register.</description>
5893          <addressOffset>0x56C</addressOffset>
5894          <fields>
5895            <field>
5896              <name>HWFC</name>
5897              <description>Hardware flow control.</description>
5898              <lsb>0</lsb> <msb>0</msb>
5899              <enumeratedValues>
5900                <enumeratedValue>
5901                  <name>Disabled</name>
5902                  <description>Hardware flow control disabled.</description>
5903                  <value>0</value>
5904                </enumeratedValue>
5905                <enumeratedValue>
5906                  <name>Enabled</name>
5907                  <description>Hardware flow control enabled.</description>
5908                  <value>1</value>
5909                </enumeratedValue>
5910              </enumeratedValues>
5911            </field>
5912            <field>
5913              <name>PARITY</name>
5914              <description>Include parity bit.</description>
5915              <lsb>1</lsb> <msb>3</msb>
5916              <enumeratedValues>
5917                <enumeratedValue>
5918                  <name>Excluded</name>
5919                  <description>Parity bit excluded.</description>
5920                  <value>0</value>
5921                </enumeratedValue>
5922                <enumeratedValue>
5923                  <name>Included</name>
5924                  <description>Parity bit included.</description>
5925                  <value>7</value>
5926                </enumeratedValue>
5927              </enumeratedValues>
5928            </field>
5929          </fields>
5930        </register>
5931
5932        <register>
5933          <name>POWER</name>
5934          <description>Peripheral power control.</description>
5935          <addressOffset>0xFFC</addressOffset>
5936          <fields>
5937            <field>
5938              <name>POWER</name>
5939              <description>Peripheral power control.</description>
5940              <lsb>0</lsb> <msb>0</msb>
5941              <enumeratedValues>
5942                <enumeratedValue>
5943                  <name>Disabled</name>
5944                  <description>Module power disabled.</description>
5945                  <value>0</value>
5946                </enumeratedValue>
5947                <enumeratedValue>
5948                  <name>Enabled</name>
5949                  <description>Module power enabled.</description>
5950                  <value>1</value>
5951                </enumeratedValue>
5952              </enumeratedValues>
5953            </field>
5954          </fields>
5955        </register>
5956
5957      </registers>
5958    </peripheral>
5959
5960    <peripheral>
5961      <name>SPI0</name>
5962      <version>522</version>
5963      <description>SPI master 0.</description>
5964      <baseAddress>0x40003000</baseAddress>
5965      <groupName>SPI</groupName>
5966      <size>32</size>
5967      <access>read-write</access>
5968      <headerStructName>SPI</headerStructName>
5969
5970      <addressBlock>
5971        <offset>0</offset>
5972        <size>0x1000</size>
5973        <usage>registers</usage>
5974      </addressBlock>
5975
5976      <interrupt>
5977        <name>SPI0_TWI0</name>
5978        <value>3</value>
5979      </interrupt>
5980
5981      <registers>
5982
5983        <register>
5984          <name>EVENTS_READY</name>
5985          <description>TXD byte sent and RXD byte received.</description>
5986          <addressOffset>0x108</addressOffset>
5987        </register>
5988
5989        <register>
5990          <name>INTENSET</name>
5991          <description>Interrupt enable set register.</description>
5992          <addressOffset>0x304</addressOffset>
5993          <fields>
5994            <field>
5995              <name>READY</name>
5996              <description>Enable interrupt on READY event.</description>
5997              <lsb>2</lsb> <msb>2</msb>
5998              <enumeratedValues>
5999                <usage>read</usage>
6000                <enumeratedValue>
6001                  <name>Disabled</name>
6002                  <description>Interrupt disabled.</description>
6003                  <value>0</value>
6004                </enumeratedValue>
6005                <enumeratedValue>
6006                  <name>Enabled</name>
6007                  <description>Interrupt enabled.</description>
6008                  <value>1</value>
6009                </enumeratedValue>
6010              </enumeratedValues>
6011              <enumeratedValues>
6012                <usage>write</usage>
6013                <enumeratedValue>
6014                  <name>Set</name>
6015                  <description>Enable interrupt on write.</description>
6016                  <value>1</value>
6017                </enumeratedValue>
6018              </enumeratedValues>
6019            </field>
6020          </fields>
6021        </register>
6022        <register>
6023          <name>INTENCLR</name>
6024          <description>Interrupt enable clear register.</description>
6025          <addressOffset>0x308</addressOffset>
6026          <fields>
6027            <field>
6028              <name>READY</name>
6029              <description>Disable interrupt on READY event.</description>
6030              <lsb>2</lsb> <msb>2</msb>
6031              <enumeratedValues>
6032                <usage>read</usage>
6033                <enumeratedValue>
6034                  <name>Disabled</name>
6035                  <description>Interrupt disabled.</description>
6036                  <value>0</value>
6037                </enumeratedValue>
6038                <enumeratedValue>
6039                  <name>Enabled</name>
6040                  <description>Interrupt enabled.</description>
6041                  <value>1</value>
6042                </enumeratedValue>
6043              </enumeratedValues>
6044              <enumeratedValues>
6045                <usage>write</usage>
6046                <enumeratedValue>
6047                  <name>Clear</name>
6048                  <description>Disable interrupt on write.</description>
6049                  <value>1</value>
6050                </enumeratedValue>
6051              </enumeratedValues>
6052            </field>
6053          </fields>
6054        </register>
6055
6056        <register>
6057          <name>ENABLE</name>
6058          <description>Enable SPI.</description>
6059          <addressOffset>0x500</addressOffset>
6060          <fields>
6061            <field>
6062              <name>ENABLE</name>
6063              <description>Enable or disable SPI.</description>
6064              <lsb>0</lsb> <msb>2</msb>
6065              <enumeratedValues>
6066                <enumeratedValue>
6067                  <name>Disabled</name>
6068                  <description>Disabled SPI.</description>
6069                  <value>0x00</value>
6070                </enumeratedValue>
6071                <enumeratedValue>
6072                  <name>Enabled</name>
6073                  <description>Enable SPI.</description>
6074                  <value>0x01</value>
6075                </enumeratedValue>
6076              </enumeratedValues>
6077            </field>
6078          </fields>
6079        </register>
6080
6081        <register>
6082          <name>PSELSCK</name>
6083          <description>Pin select for SCK.</description>
6084          <addressOffset>0x508</addressOffset>
6085          <resetValue>0xFFFFFFFF</resetValue>
6086        </register>
6087        <register>
6088          <name>PSELMOSI</name>
6089          <description>Pin select for MOSI.</description>
6090          <addressOffset>0x50C</addressOffset>
6091          <resetValue>0xFFFFFFFF</resetValue>
6092        </register>
6093        <register>
6094          <name>PSELMISO</name>
6095          <description>Pin select for MISO.</description>
6096          <addressOffset>0x510</addressOffset>
6097          <resetValue>0xFFFFFFFF</resetValue>
6098        </register>
6099
6100        <register>
6101          <name>RXD</name>
6102          <description>RX data.</description>
6103          <addressOffset>0x518</addressOffset>
6104          <access>read-only</access>
6105          <readAction>modifyExternal</readAction>
6106          <fields>
6107            <field>
6108              <name>RXD</name>
6109              <description>RX data from last transfer.</description>
6110              <lsb>0</lsb> <msb>7</msb>
6111            </field>
6112          </fields>
6113        </register>
6114        <register>
6115          <name>TXD</name>
6116          <description>TX data.</description>
6117          <addressOffset>0x51C</addressOffset>
6118          <fields>
6119            <field>
6120              <name>TXD</name>
6121              <description>TX data for next transfer.</description>
6122              <lsb>0</lsb> <msb>7</msb>
6123            </field>
6124          </fields>
6125        </register>
6126        <register>
6127          <name>FREQUENCY</name>
6128          <description>SPI frequency</description>
6129          <addressOffset>0x524</addressOffset>
6130          <resetValue>0x04000000</resetValue>
6131          <fields>
6132            <field>
6133              <name>FREQUENCY</name>
6134              <description>SPI data rate.</description>
6135              <lsb>0</lsb> <msb>31</msb>
6136              <enumeratedValues>
6137                <enumeratedValue>
6138                  <name>K125</name>
6139                  <description>125kbps.</description>
6140                  <value>0x02000000</value>
6141                </enumeratedValue>
6142                <enumeratedValue>
6143                  <name>K250</name>
6144                  <description>250kbps.</description>
6145                  <value>0x04000000</value>
6146                </enumeratedValue>
6147                <enumeratedValue>
6148                  <name>K500</name>
6149                  <description>500kbps.</description>
6150                  <value>0x08000000</value>
6151                </enumeratedValue>
6152                <enumeratedValue>
6153                  <name>M1</name>
6154                  <description>1Mbps.</description>
6155                  <value>0x10000000</value>
6156                </enumeratedValue>
6157                <enumeratedValue>
6158                  <name>M2</name>
6159                  <description>2Mbps.</description>
6160                  <value>0x20000000</value>
6161                </enumeratedValue>
6162                <enumeratedValue>
6163                  <name>M4</name>
6164                  <description>4Mbps.</description>
6165                  <value>0x40000000</value>
6166                </enumeratedValue>
6167                <enumeratedValue>
6168                  <name>M8</name>
6169                  <description>8Mbps.</description>
6170                  <value>0x80000000</value>
6171                </enumeratedValue>
6172              </enumeratedValues>
6173            </field>
6174          </fields>
6175        </register>
6176        <register>
6177          <name>CONFIG</name>
6178          <description>Configuration register.</description>
6179          <addressOffset>0x554</addressOffset>
6180          <fields>
6181            <field>
6182              <name>ORDER</name>
6183              <description>Bit order.</description>
6184              <lsb>0</lsb> <msb>0</msb>
6185              <enumeratedValues>
6186                <enumeratedValue>
6187                  <name>MsbFirst</name>
6188                  <description>Most significant bit transmitted out first.</description>
6189                  <value>0</value>
6190                </enumeratedValue>
6191                <enumeratedValue>
6192                  <name>LsbFirst</name>
6193                  <description>Least significant bit transmitted out first.</description>
6194                  <value>1</value>
6195                </enumeratedValue>
6196              </enumeratedValues>
6197            </field>
6198            <field>
6199              <name>CPHA</name>
6200              <description>Serial clock (SCK) phase.</description>
6201              <lsb>1</lsb> <msb>1</msb>
6202              <enumeratedValues>
6203                <enumeratedValue>
6204                  <name>Leading</name>
6205                  <description>Sample on leading edge of the clock. Shift serial data on trailing edge.</description>
6206                  <value>0</value>
6207                </enumeratedValue>
6208                <enumeratedValue>
6209                  <name>Trailing</name>
6210                  <description>Sample on trailing edge of the clock. Shift serial data on leading edge.</description>
6211                  <value>1</value>
6212                </enumeratedValue>
6213              </enumeratedValues>
6214            </field>
6215            <field>
6216              <name>CPOL</name>
6217              <description>Serial clock (SCK) polarity.</description>
6218              <lsb>2</lsb> <msb>2</msb>
6219              <enumeratedValues>
6220                <enumeratedValue>
6221                  <name>ActiveHigh</name>
6222                  <description>Active high.</description>
6223                  <value>0</value>
6224                </enumeratedValue>
6225                <enumeratedValue>
6226                  <name>ActiveLow</name>
6227                  <description>Active low.</description>
6228                  <value>1</value>
6229                </enumeratedValue>
6230              </enumeratedValues>
6231            </field>
6232          </fields>
6233        </register>
6234
6235        <register>
6236          <name>POWER</name>
6237          <description>Peripheral power control.</description>
6238          <addressOffset>0xFFC</addressOffset>
6239          <fields>
6240            <field>
6241              <name>POWER</name>
6242              <description>Peripheral power control.</description>
6243              <lsb>0</lsb> <msb>0</msb>
6244              <enumeratedValues>
6245                <enumeratedValue>
6246                  <name>Disabled</name>
6247                  <description>Module power disabled.</description>
6248                  <value>0</value>
6249                </enumeratedValue>
6250                <enumeratedValue>
6251                  <name>Enabled</name>
6252                  <description>Module power enabled.</description>
6253                  <value>1</value>
6254                </enumeratedValue>
6255              </enumeratedValues>
6256            </field>
6257          </fields>
6258        </register>
6259
6260      </registers>
6261    </peripheral>
6262
6263    <peripheral>
6264      <name>TWI0</name>
6265      <version>522</version>
6266      <description>Two-wire interface master 0.</description>
6267      <baseAddress>0x40003000</baseAddress>
6268      <groupName>TWI</groupName>
6269      <size>32</size>
6270      <access>read-write</access>
6271      <headerStructName>TWI</headerStructName>
6272      <alternatePeripheral>SPI0</alternatePeripheral>
6273
6274      <addressBlock>
6275        <offset>0</offset>
6276        <size>0x1000</size>
6277        <usage>registers</usage>
6278      </addressBlock>
6279
6280      <interrupt>
6281        <name>SPI0_TWI0</name>
6282        <value>3</value>
6283      </interrupt>
6284
6285      <registers>
6286        <register>
6287          <name>TASKS_STARTRX</name>
6288          <description>Start 2-Wire master receive sequence.</description>
6289          <addressOffset>0x000</addressOffset>
6290          <access>write-only</access>
6291        </register>
6292        <register>
6293          <name>TASKS_STARTTX</name>
6294          <description>Start 2-Wire master transmit sequence.</description>
6295          <addressOffset>0x008</addressOffset>
6296          <access>write-only</access>
6297        </register>
6298        <register>
6299          <name>TASKS_STOP</name>
6300          <description>Stop 2-Wire transaction.</description>
6301          <addressOffset>0x014</addressOffset>
6302          <access>write-only</access>
6303        </register>
6304        <register>
6305          <name>TASKS_SUSPEND</name>
6306          <description>Suspend 2-Wire transaction.</description>
6307          <addressOffset>0x01C</addressOffset>
6308          <access>write-only</access>
6309        </register>
6310        <register>
6311          <name>TASKS_RESUME</name>
6312          <description>Resume 2-Wire transaction.</description>
6313          <addressOffset>0x020</addressOffset>
6314          <access>write-only</access>
6315        </register>
6316
6317        <register>
6318          <name>EVENTS_STOPPED</name>
6319          <description>Two-wire stopped.</description>
6320          <addressOffset>0x104</addressOffset>
6321        </register>
6322        <register>
6323          <name>EVENTS_RXDREADY</name>
6324          <description>Two-wire ready to deliver new RXD byte received.</description>
6325          <addressOffset>0x108</addressOffset>
6326        </register>
6327        <register>
6328          <name>EVENTS_TXDSENT</name>
6329          <description>Two-wire finished sending last TXD byte.</description>
6330          <addressOffset>0x11C</addressOffset>
6331        </register>
6332        <register>
6333          <name>EVENTS_ERROR</name>
6334          <description>Two-wire error detected.</description>
6335          <addressOffset>0x124</addressOffset>
6336        </register>
6337        <register>
6338          <name>EVENTS_BB</name>
6339          <description>Two-wire byte boundary.</description>
6340          <addressOffset>0x138</addressOffset>
6341        </register>
6342        <register>
6343          <name>EVENTS_SUSPENDED</name>
6344          <description>Two-wire suspended.</description>
6345          <addressOffset>0x148</addressOffset>
6346        </register>
6347
6348        <register>
6349          <name>SHORTS</name>
6350          <description>Shortcuts for TWI.</description>
6351          <addressOffset>0x200</addressOffset>
6352          <fields>
6353            <field>
6354              <name>BB_SUSPEND</name>
6355              <description>Shortcut between BB event and the SUSPEND task.</description>
6356              <lsb>0</lsb> <msb>0</msb>
6357              <enumeratedValues>
6358                <enumeratedValue>
6359                  <name>Disabled</name>
6360                  <description>Shortcut disabled.</description>
6361                  <value>0</value>
6362                </enumeratedValue>
6363                <enumeratedValue>
6364                  <name>Enabled</name>
6365                  <description>Shortcut enabled.</description>
6366                  <value>1</value>
6367                </enumeratedValue>
6368              </enumeratedValues>
6369            </field>
6370            <field>
6371              <name>BB_STOP</name>
6372              <description>Shortcut between BB event and the STOP task.</description>
6373              <lsb>1</lsb> <msb>1</msb>
6374              <enumeratedValues>
6375                <enumeratedValue>
6376                  <name>Disabled</name>
6377                  <description>Shortcut disabled.</description>
6378                  <value>0</value>
6379                </enumeratedValue>
6380                <enumeratedValue>
6381                  <name>Enabled</name>
6382                  <description>Shortcut enabled.</description>
6383                  <value>1</value>
6384                </enumeratedValue>
6385              </enumeratedValues>
6386            </field>
6387          </fields>
6388        </register>
6389
6390        <register>
6391          <name>INTENSET</name>
6392          <description>Interrupt enable set register.</description>
6393          <addressOffset>0x304</addressOffset>
6394          <fields>
6395            <field>
6396              <name>STOPPED</name>
6397              <description>Enable interrupt on STOPPED event.</description>
6398              <lsb>1</lsb> <msb>1</msb>
6399              <enumeratedValues>
6400                <usage>read</usage>
6401                <enumeratedValue>
6402                  <name>Disabled</name>
6403                  <description>Interrupt disabled.</description>
6404                  <value>0</value>
6405                </enumeratedValue>
6406                <enumeratedValue>
6407                  <name>Enabled</name>
6408                  <description>Interrupt enabled.</description>
6409                  <value>1</value>
6410                </enumeratedValue>
6411              </enumeratedValues>
6412              <enumeratedValues>
6413                <usage>write</usage>
6414                <enumeratedValue>
6415                  <name>Set</name>
6416                  <description>Enable interrupt on write.</description>
6417                  <value>1</value>
6418                </enumeratedValue>
6419              </enumeratedValues>
6420            </field>
6421            <field>
6422              <name>RXDREADY</name>
6423              <description>Enable interrupt on READY event.</description>
6424              <lsb>2</lsb> <msb>2</msb>
6425              <enumeratedValues>
6426                <usage>read</usage>
6427                <enumeratedValue>
6428                  <name>Disabled</name>
6429                  <description>Interrupt disabled.</description>
6430                  <value>0</value>
6431                </enumeratedValue>
6432                <enumeratedValue>
6433                  <name>Enabled</name>
6434                  <description>Interrupt enabled.</description>
6435                  <value>1</value>
6436                </enumeratedValue>
6437              </enumeratedValues>
6438              <enumeratedValues>
6439                <usage>write</usage>
6440                <enumeratedValue>
6441                  <name>Set</name>
6442                  <description>Enable interrupt on write.</description>
6443                  <value>1</value>
6444                </enumeratedValue>
6445              </enumeratedValues>
6446            </field>
6447            <field>
6448              <name>TXDSENT</name>
6449              <description>Enable interrupt on TXDSENT event.</description>
6450              <lsb>7</lsb> <msb>7</msb>
6451              <enumeratedValues>
6452                <usage>read</usage>
6453                <enumeratedValue>
6454                  <name>Disabled</name>
6455                  <description>Interrupt disabled.</description>
6456                  <value>0</value>
6457                </enumeratedValue>
6458                <enumeratedValue>
6459                  <name>Enabled</name>
6460                  <description>Interrupt enabled.</description>
6461                  <value>1</value>
6462                </enumeratedValue>
6463              </enumeratedValues>
6464              <enumeratedValues>
6465                <usage>write</usage>
6466                <enumeratedValue>
6467                  <name>Set</name>
6468                  <description>Enable interrupt on write.</description>
6469                  <value>1</value>
6470                </enumeratedValue>
6471              </enumeratedValues>
6472            </field>
6473            <field>
6474              <name>ERROR</name>
6475              <description>Enable interrupt on ERROR event.</description>
6476              <lsb>9</lsb> <msb>9</msb>
6477              <enumeratedValues>
6478                <usage>read</usage>
6479                <enumeratedValue>
6480                  <name>Disabled</name>
6481                  <description>Interrupt disabled.</description>
6482                  <value>0</value>
6483                </enumeratedValue>
6484                <enumeratedValue>
6485                  <name>Enabled</name>
6486                  <description>Interrupt enabled.</description>
6487                  <value>1</value>
6488                </enumeratedValue>
6489              </enumeratedValues>
6490              <enumeratedValues>
6491                <usage>write</usage>
6492                <enumeratedValue>
6493                  <name>Set</name>
6494                  <description>Enable interrupt on write.</description>
6495                  <value>1</value>
6496                </enumeratedValue>
6497              </enumeratedValues>
6498            </field>
6499            <field>
6500              <name>BB</name>
6501              <description>Enable interrupt on BB event.</description>
6502              <lsb>14</lsb> <msb>14</msb>
6503              <enumeratedValues>
6504                <usage>read</usage>
6505                <enumeratedValue>
6506                  <name>Disabled</name>
6507                  <description>Interrupt disabled.</description>
6508                  <value>0</value>
6509                </enumeratedValue>
6510                <enumeratedValue>
6511                  <name>Enabled</name>
6512                  <description>Interrupt enabled.</description>
6513                  <value>1</value>
6514                </enumeratedValue>
6515              </enumeratedValues>
6516              <enumeratedValues>
6517                <usage>write</usage>
6518                <enumeratedValue>
6519                  <name>Set</name>
6520                  <description>Enable interrupt on write.</description>
6521                  <value>1</value>
6522                </enumeratedValue>
6523              </enumeratedValues>
6524            </field>
6525            <field>
6526              <name>SUSPENDED</name>
6527              <description>Enable interrupt on SUSPENDED event.</description>
6528              <lsb>18</lsb> <msb>18</msb>
6529              <enumeratedValues>
6530                <usage>read</usage>
6531                <enumeratedValue>
6532                  <name>Disabled</name>
6533                  <description>Interrupt disabled.</description>
6534                  <value>0</value>
6535                </enumeratedValue>
6536                <enumeratedValue>
6537                  <name>Enabled</name>
6538                  <description>Interrupt enabled.</description>
6539                  <value>1</value>
6540                </enumeratedValue>
6541              </enumeratedValues>
6542              <enumeratedValues>
6543                <usage>write</usage>
6544                <enumeratedValue>
6545                  <name>Set</name>
6546                  <description>Enable interrupt on write.</description>
6547                  <value>1</value>
6548                </enumeratedValue>
6549              </enumeratedValues>
6550            </field>
6551          </fields>
6552        </register>
6553        <register>
6554          <name>INTENCLR</name>
6555          <description>Interrupt enable clear register.</description>
6556          <addressOffset>0x308</addressOffset>
6557          <fields>
6558            <field>
6559              <name>STOPPED</name>
6560              <description>Disable interrupt on STOPPED event.</description>
6561              <lsb>1</lsb> <msb>1</msb>
6562              <enumeratedValues>
6563                <usage>read</usage>
6564                <enumeratedValue>
6565                  <name>Disabled</name>
6566                  <description>Interrupt disabled.</description>
6567                  <value>0</value>
6568                </enumeratedValue>
6569                <enumeratedValue>
6570                  <name>Enabled</name>
6571                  <description>Interrupt enabled.</description>
6572                  <value>1</value>
6573                </enumeratedValue>
6574              </enumeratedValues>
6575              <enumeratedValues>
6576                <usage>write</usage>
6577                <enumeratedValue>
6578                  <name>Clear</name>
6579                  <description>Disable interrupt on write.</description>
6580                  <value>1</value>
6581                </enumeratedValue>
6582              </enumeratedValues>
6583            </field>
6584            <field>
6585              <name>RXDREADY</name>
6586              <description>Disable interrupt on RXDREADY event.</description>
6587              <lsb>2</lsb> <msb>2</msb>
6588              <enumeratedValues>
6589                <usage>read</usage>
6590                <enumeratedValue>
6591                  <name>Disabled</name>
6592                  <description>Interrupt disabled.</description>
6593                  <value>0</value>
6594                </enumeratedValue>
6595                <enumeratedValue>
6596                  <name>Enabled</name>
6597                  <description>Interrupt enabled.</description>
6598                  <value>1</value>
6599                </enumeratedValue>
6600              </enumeratedValues>
6601              <enumeratedValues>
6602                <usage>write</usage>
6603                <enumeratedValue>
6604                  <name>Clear</name>
6605                  <description>Disable interrupt on write.</description>
6606                  <value>1</value>
6607                </enumeratedValue>
6608              </enumeratedValues>
6609            </field>
6610            <field>
6611              <name>TXDSENT</name>
6612              <description>Disable interrupt on TXDSENT event.</description>
6613              <lsb>7</lsb> <msb>7</msb>
6614              <enumeratedValues>
6615                <usage>read</usage>
6616                <enumeratedValue>
6617                  <name>Disabled</name>
6618                  <description>Interrupt disabled.</description>
6619                  <value>0</value>
6620                </enumeratedValue>
6621                <enumeratedValue>
6622                  <name>Enabled</name>
6623                  <description>Interrupt enabled.</description>
6624                  <value>1</value>
6625                </enumeratedValue>
6626              </enumeratedValues>
6627              <enumeratedValues>
6628                <usage>write</usage>
6629                <enumeratedValue>
6630                  <name>Clear</name>
6631                  <description>Disable interrupt on write.</description>
6632                  <value>1</value>
6633                </enumeratedValue>
6634              </enumeratedValues>
6635            </field>
6636            <field>
6637              <name>ERROR</name>
6638              <description>Disable interrupt on ERROR event.</description>
6639              <lsb>9</lsb> <msb>9</msb>
6640              <enumeratedValues>
6641                <usage>read</usage>
6642                <enumeratedValue>
6643                  <name>Disabled</name>
6644                  <description>Interrupt disabled.</description>
6645                  <value>0</value>
6646                </enumeratedValue>
6647                <enumeratedValue>
6648                  <name>Enabled</name>
6649                  <description>Interrupt enabled.</description>
6650                  <value>1</value>
6651                </enumeratedValue>
6652              </enumeratedValues>
6653              <enumeratedValues>
6654                <usage>write</usage>
6655                <enumeratedValue>
6656                  <name>Clear</name>
6657                  <description>Disable interrupt on write.</description>
6658                  <value>1</value>
6659                </enumeratedValue>
6660              </enumeratedValues>
6661            </field>
6662            <field>
6663              <name>BB</name>
6664              <description>Disable interrupt on BB event.</description>
6665              <lsb>14</lsb> <msb>14</msb>
6666              <enumeratedValues>
6667                <usage>read</usage>
6668                <enumeratedValue>
6669                  <name>Disabled</name>
6670                  <description>Interrupt disabled.</description>
6671                  <value>0</value>
6672                </enumeratedValue>
6673                <enumeratedValue>
6674                  <name>Enabled</name>
6675                  <description>Interrupt enabled.</description>
6676                  <value>1</value>
6677                </enumeratedValue>
6678              </enumeratedValues>
6679              <enumeratedValues>
6680                <usage>write</usage>
6681                <enumeratedValue>
6682                  <name>Clear</name>
6683                  <description>Disable interrupt on write.</description>
6684                  <value>1</value>
6685                </enumeratedValue>
6686              </enumeratedValues>
6687            </field>
6688            <field>
6689              <name>SUSPENDED</name>
6690              <description>Disable interrupt on SUSPENDED event.</description>
6691              <lsb>18</lsb> <msb>18</msb>
6692              <enumeratedValues>
6693                <usage>read</usage>
6694                <enumeratedValue>
6695                  <name>Disabled</name>
6696                  <description>Interrupt disabled.</description>
6697                  <value>0</value>
6698                </enumeratedValue>
6699                <enumeratedValue>
6700                  <name>Enabled</name>
6701                  <description>Interrupt enabled.</description>
6702                  <value>1</value>
6703                </enumeratedValue>
6704              </enumeratedValues>
6705              <enumeratedValues>
6706                <usage>write</usage>
6707                <enumeratedValue>
6708                  <name>Clear</name>
6709                  <description>Disable interrupt on write.</description>
6710                  <value>1</value>
6711                </enumeratedValue>
6712              </enumeratedValues>
6713            </field>
6714          </fields>
6715        </register>
6716
6717        <register>
6718          <name>ERRORSRC</name>
6719          <description>Two-wire error source. Write error field to 1 to clear error.</description>
6720          <addressOffset>0x4C4</addressOffset>
6721          <fields>
6722            <field>
6723              <name>OVERRUN</name>
6724              <description>Byte received in RXD register before read of the last received byte (data loss).</description>
6725              <lsb>0</lsb> <msb>0</msb>
6726              <enumeratedValues>
6727                <usage>read</usage>
6728                <enumeratedValue>
6729                  <name>NotPresent</name>
6730                  <description>Error not present.</description>
6731                  <value>0</value>
6732                </enumeratedValue>
6733                <enumeratedValue>
6734                  <name>Present</name>
6735                  <description>Error present.</description>
6736                  <value>1</value>
6737                </enumeratedValue>
6738              </enumeratedValues>
6739              <enumeratedValues>
6740                <usage>write</usage>
6741                <enumeratedValue>
6742                  <name>Clear</name>
6743                  <description>Clear error on write.</description>
6744                  <value>1</value>
6745                </enumeratedValue>
6746              </enumeratedValues>
6747            </field>
6748            <field>
6749              <name>ANACK</name>
6750              <description>NACK received after sending the address.</description>
6751              <lsb>1</lsb> <msb>1</msb>
6752              <enumeratedValues>
6753                <usage>read</usage>
6754                <enumeratedValue>
6755                  <name>NotPresent</name>
6756                  <description>Error not present.</description>
6757                  <value>0</value>
6758                </enumeratedValue>
6759                <enumeratedValue>
6760                  <name>Present</name>
6761                  <description>Error present.</description>
6762                  <value>1</value>
6763                </enumeratedValue>
6764              </enumeratedValues>
6765              <enumeratedValues>
6766                <usage>write</usage>
6767                <enumeratedValue>
6768                  <name>Clear</name>
6769                  <description>Clear error on write.</description>
6770                  <value>1</value>
6771                </enumeratedValue>
6772              </enumeratedValues>
6773            </field>
6774            <field>
6775              <name>DNACK</name>
6776              <description>NACK received after sending a data byte.</description>
6777              <lsb>2</lsb> <msb>2</msb>
6778              <enumeratedValues>
6779                <usage>read</usage>
6780                <enumeratedValue>
6781                  <name>NotPresent</name>
6782                  <description>Error not present.</description>
6783                  <value>0</value>
6784                </enumeratedValue>
6785                <enumeratedValue>
6786                  <name>Present</name>
6787                  <description>Error present.</description>
6788                  <value>1</value>
6789                </enumeratedValue>
6790              </enumeratedValues>
6791              <enumeratedValues>
6792                <usage>write</usage>
6793                <enumeratedValue>
6794                  <name>Clear</name>
6795                  <description>Clear error on write.</description>
6796                  <value>1</value>
6797                </enumeratedValue>
6798              </enumeratedValues>
6799            </field>
6800          </fields>
6801        </register>
6802
6803        <register>
6804          <name>ENABLE</name>
6805          <description>Enable two-wire master.</description>
6806          <addressOffset>0x500</addressOffset>
6807          <fields>
6808            <field>
6809              <name>ENABLE</name>
6810              <description>Enable or disable W2M</description>
6811              <lsb>0</lsb> <msb>2</msb>
6812              <enumeratedValues>
6813                <enumeratedValue>
6814                  <name>Disabled</name>
6815                  <description>Disabled.</description>
6816                  <value>0x00</value>
6817                </enumeratedValue>
6818                <enumeratedValue>
6819                  <name>Enabled</name>
6820                  <description>Enabled.</description>
6821                  <value>0x05</value>
6822                </enumeratedValue>
6823              </enumeratedValues>
6824            </field>
6825          </fields>
6826        </register>
6827
6828        <register>
6829          <name>PSELSCL</name>
6830          <description>Pin select for SCL.</description>
6831          <addressOffset>0x508</addressOffset>
6832          <resetValue>0xFFFFFFFF</resetValue>
6833        </register>
6834        <register>
6835          <name>PSELSDA</name>
6836          <description>Pin select for SDA.</description>
6837          <addressOffset>0x50C</addressOffset>
6838          <resetValue>0xFFFFFFFF</resetValue>
6839        </register>
6840
6841        <register>
6842          <name>RXD</name>
6843          <description>RX data register.</description>
6844          <addressOffset>0x518</addressOffset>
6845          <access>read-only</access>
6846          <readAction>modifyExternal</readAction>
6847          <fields>
6848            <field>
6849              <name>RXD</name>
6850              <description>RX data from last transfer.</description>
6851              <lsb>0</lsb> <msb>7</msb>
6852            </field>
6853          </fields>
6854        </register>
6855        <register>
6856          <name>TXD</name>
6857          <description>TX data register.</description>
6858          <addressOffset>0x51C</addressOffset>
6859          <fields>
6860            <field>
6861              <name>TXD</name>
6862              <description>TX data for next transfer.</description>
6863              <lsb>0</lsb> <msb>7</msb>
6864            </field>
6865          </fields>
6866        </register>
6867        <register>
6868          <name>FREQUENCY</name>
6869          <description>Two-wire frequency.</description>
6870          <addressOffset>0x524</addressOffset>
6871          <resetValue>0x04000000</resetValue>
6872          <fields>
6873            <field>
6874              <name>FREQUENCY</name>
6875              <description>Two-wire master clock frequency.</description>
6876              <lsb>0</lsb> <msb>31</msb>
6877              <enumeratedValues>
6878                <enumeratedValue>
6879                  <name>K100</name>
6880                  <description>100 kbps.</description>
6881                  <value>0x01980000</value>
6882                </enumeratedValue>
6883                <enumeratedValue>
6884                  <name>K250</name>
6885                  <description>250 kbps.</description>
6886                  <value>0x04000000</value>
6887                </enumeratedValue>
6888                <enumeratedValue>
6889                  <name>K400</name>
6890                  <description>400 kbps (actual rate 410.256 kbps).</description>
6891                  <value>0x06680000</value>
6892                </enumeratedValue>
6893              </enumeratedValues>
6894            </field>
6895          </fields>
6896        </register>
6897
6898        <register>
6899          <name>ADDRESS</name>
6900          <description>Address used in the two-wire transfer.</description>
6901          <addressOffset>0x588</addressOffset>
6902          <fields>
6903            <field>
6904              <name>ADDRESS</name>
6905              <description>Two-wire address.</description>
6906              <lsb>0</lsb> <msb>6</msb>
6907            </field>
6908          </fields>
6909        </register>
6910
6911        <register>
6912          <name>POWER</name>
6913          <description>Peripheral power control.</description>
6914          <addressOffset>0xFFC</addressOffset>
6915          <fields>
6916            <field>
6917              <name>POWER</name>
6918              <description>Peripheral power control.</description>
6919              <lsb>0</lsb> <msb>0</msb>
6920              <enumeratedValues>
6921                <enumeratedValue>
6922                  <name>Disabled</name>
6923                  <description>Module power disabled.</description>
6924                  <value>0</value>
6925                </enumeratedValue>
6926                <enumeratedValue>
6927                  <name>Enabled</name>
6928                  <description>Module power enabled.</description>
6929                  <value>1</value>
6930                </enumeratedValue>
6931              </enumeratedValues>
6932            </field>
6933          </fields>
6934        </register>
6935
6936      </registers>
6937    </peripheral>
6938
6939    <peripheral derivedFrom="SPI0">
6940      <name>SPI1</name>
6941      <version>522</version>
6942      <description>SPI master 1.</description>
6943      <baseAddress>0x40004000</baseAddress>
6944      <access>read-write</access>
6945      <interrupt>
6946        <name>SPI1_TWI1</name>
6947        <value>4</value>
6948      </interrupt>
6949    </peripheral>
6950
6951    <peripheral derivedFrom="TWI0">
6952      <name>TWI1</name>
6953      <version>522</version>
6954      <description>Two-wire interface master 1.</description>
6955      <baseAddress>0x40004000</baseAddress>
6956      <access>read-write</access>
6957      <alternatePeripheral>SPI1</alternatePeripheral>
6958      <interrupt>
6959        <name>SPI1_TWI1</name>
6960        <value>4</value>
6961      </interrupt>
6962    </peripheral>
6963
6964    <peripheral>
6965      <name>SPIS1</name>
6966      <version>522</version>
6967      <description>SPI slave 1.</description>
6968      <baseAddress>0x40004000</baseAddress>
6969      <groupName>SPIS</groupName>
6970      <size>32</size>
6971      <access>read-write</access>
6972      <alternatePeripheral>SPI1</alternatePeripheral>
6973      <headerStructName>SPIS</headerStructName>
6974
6975      <addressBlock>
6976        <offset>0</offset>
6977        <size>0x1000</size>
6978        <usage>registers</usage>
6979      </addressBlock>
6980
6981      <interrupt>
6982        <name>SPI1_TWI1</name>
6983        <value>4</value>
6984      </interrupt>
6985
6986      <registers>
6987        <register>
6988          <name>TASKS_ACQUIRE</name>
6989          <description>Acquire SPI semaphore.</description>
6990          <addressOffset>0x024</addressOffset>
6991          <access>write-only</access>
6992        </register>
6993        <register>
6994          <name>TASKS_RELEASE</name>
6995          <description>Release SPI semaphore.</description>
6996          <addressOffset>0x028</addressOffset>
6997          <access>write-only</access>
6998        </register>
6999
7000        <register>
7001          <name>EVENTS_END</name>
7002          <description>Granted transaction completed.</description>
7003          <addressOffset>0x104</addressOffset>
7004        </register>
7005        <register>
7006          <name>EVENTS_ENDRX</name>
7007          <description>End of RXD buffer reached</description>
7008          <addressOffset>0x110</addressOffset>
7009          <access>read-write</access>
7010        </register>
7011        <register>
7012          <name>EVENTS_ACQUIRED</name>
7013          <description>Semaphore acquired.</description>
7014          <addressOffset>0x128</addressOffset>
7015        </register>
7016
7017        <register>
7018          <name>SHORTS</name>
7019          <description>Shortcuts for SPIS.</description>
7020          <addressOffset>0x200</addressOffset>
7021          <fields>
7022            <field>
7023              <name>END_ACQUIRE</name>
7024              <description>Shortcut between END event and the ACQUIRE task.</description>
7025              <lsb>2</lsb> <msb>2</msb>
7026              <enumeratedValues>
7027                <enumeratedValue>
7028                  <name>Disabled</name>
7029                  <description>Shortcut disabled.</description>
7030                  <value>0</value>
7031                </enumeratedValue>
7032                <enumeratedValue>
7033                  <name>Enabled</name>
7034                  <description>Shortcut enabled.</description>
7035                  <value>1</value>
7036                </enumeratedValue>
7037              </enumeratedValues>
7038            </field>
7039          </fields>
7040        </register>
7041
7042        <register>
7043          <name>INTENSET</name>
7044          <description>Interrupt enable set register.</description>
7045          <addressOffset>0x304</addressOffset>
7046          <fields>
7047            <field>
7048              <name>END</name>
7049              <description>Enable interrupt on END event.</description>
7050              <lsb>1</lsb> <msb>1</msb>
7051              <enumeratedValues>
7052                <usage>read</usage>
7053                <enumeratedValue>
7054                  <name>Disabled</name>
7055                  <description>Interrupt disabled.</description>
7056                  <value>0</value>
7057                </enumeratedValue>
7058                <enumeratedValue>
7059                  <name>Enabled</name>
7060                  <description>Interrupt enabled.</description>
7061                  <value>1</value>
7062                </enumeratedValue>
7063              </enumeratedValues>
7064              <enumeratedValues>
7065                <usage>write</usage>
7066                <enumeratedValue>
7067                  <name>Set</name>
7068                  <description>Enable interrupt on write.</description>
7069                  <value>1</value>
7070                </enumeratedValue>
7071              </enumeratedValues>
7072            </field>
7073            <field>
7074              <name>ENDRX</name>
7075              <description>enable interrupt on ENDRX event.</description>
7076              <lsb>4</lsb>
7077              <msb>4</msb>
7078              <enumeratedValues>
7079                <usage>read</usage>
7080                <enumeratedValue>
7081                  <name>Disabled</name>
7082                  <description>Interrupt disabled.</description>
7083                  <value>0</value>
7084                </enumeratedValue>
7085                <enumeratedValue>
7086                  <name>Enabled</name>
7087                  <description>Interrupt enabled.</description>
7088                  <value>1</value>
7089                </enumeratedValue>
7090              </enumeratedValues>
7091              <enumeratedValues>
7092                <usage>write</usage>
7093                <enumeratedValue>
7094                  <name>Set</name>
7095                  <description>Enable interrupt on write.</description>
7096                  <value>1</value>
7097                </enumeratedValue>
7098              </enumeratedValues>
7099            </field>
7100            <field>
7101              <name>ACQUIRED</name>
7102              <description>Enable interrupt on ACQUIRED event.</description>
7103              <lsb>10</lsb> <msb>10</msb>
7104              <enumeratedValues>
7105                <usage>read</usage>
7106                <enumeratedValue>
7107                  <name>Disabled</name>
7108                  <description>Interrupt disabled.</description>
7109                  <value>0</value>
7110                </enumeratedValue>
7111                <enumeratedValue>
7112                  <name>Enabled</name>
7113                  <description>Interrupt enabled.</description>
7114                  <value>1</value>
7115                </enumeratedValue>
7116              </enumeratedValues>
7117              <enumeratedValues>
7118                <usage>write</usage>
7119                <enumeratedValue>
7120                  <name>Set</name>
7121                  <description>Enable interrupt on write.</description>
7122                  <value>1</value>
7123                </enumeratedValue>
7124              </enumeratedValues>
7125            </field>
7126          </fields>
7127        </register>
7128        <register>
7129          <name>INTENCLR</name>
7130          <description>Interrupt enable clear register.</description>
7131          <addressOffset>0x308</addressOffset>
7132          <fields>
7133            <field>
7134              <name>END</name>
7135              <description>Disable interrupt on END event.</description>
7136              <lsb>1</lsb> <msb>1</msb>
7137              <enumeratedValues>
7138                <usage>read</usage>
7139                <enumeratedValue>
7140                  <name>Disabled</name>
7141                  <description>Interrupt disabled.</description>
7142                  <value>0</value>
7143                </enumeratedValue>
7144                <enumeratedValue>
7145                  <name>Enabled</name>
7146                  <description>Interrupt enabled.</description>
7147                  <value>1</value>
7148                </enumeratedValue>
7149              </enumeratedValues>
7150              <enumeratedValues>
7151                <usage>write</usage>
7152                <enumeratedValue>
7153                  <name>Clear</name>
7154                  <description>Disable interrupt on write.</description>
7155                  <value>1</value>
7156                </enumeratedValue>
7157              </enumeratedValues>
7158            </field>
7159            <field>
7160              <name>ENDRX</name>
7161              <description>Disable interrupt on ENDRX event.</description>
7162              <lsb>4</lsb> <msb>4</msb>
7163              <enumeratedValues>
7164                <usage>read</usage>
7165                <enumeratedValue>
7166                  <name>Disabled</name>
7167                  <description>Interrupt disabled.</description>
7168                  <value>0</value>
7169                </enumeratedValue>
7170                <enumeratedValue>
7171                  <name>Enabled</name>
7172                  <description>Interrupt enabled.</description>
7173                  <value>1</value>
7174                </enumeratedValue>
7175              </enumeratedValues>
7176              <enumeratedValues>
7177                <usage>write</usage>
7178                <enumeratedValue>
7179                  <name>Clear</name>
7180                  <description>Disable interrupt on write.</description>
7181                  <value>1</value>
7182                </enumeratedValue>
7183              </enumeratedValues>
7184            </field>
7185            <field>
7186              <name>ACQUIRED</name>
7187              <description>Disable interrupt on ACQUIRED event.</description>
7188              <lsb>10</lsb> <msb>10</msb>
7189              <enumeratedValues>
7190                <usage>read</usage>
7191                <enumeratedValue>
7192                  <name>Disabled</name>
7193                  <description>Interrupt disabled.</description>
7194                  <value>0</value>
7195                </enumeratedValue>
7196                <enumeratedValue>
7197                  <name>Enabled</name>
7198                  <description>Interrupt enabled.</description>
7199                  <value>1</value>
7200                </enumeratedValue>
7201              </enumeratedValues>
7202              <enumeratedValues>
7203                <usage>write</usage>
7204                <enumeratedValue>
7205                  <name>Clear</name>
7206                  <description>Disable interrupt on write.</description>
7207                  <value>1</value>
7208                </enumeratedValue>
7209              </enumeratedValues>
7210            </field>
7211          </fields>
7212        </register>
7213
7214        <register>
7215          <name>SEMSTAT</name>
7216          <description>Semaphore status.</description>
7217          <addressOffset>0x400</addressOffset>
7218          <access>read-only</access>
7219          <resetValue>0x00000001</resetValue>
7220          <fields>
7221            <field>
7222              <name>SEMSTAT</name>
7223              <description>Semaphore status.</description>
7224              <lsb>0</lsb> <msb>1</msb>
7225              <enumeratedValues>
7226                <enumeratedValue>
7227                  <name>Free</name>
7228                  <description>Semaphore is free.</description>
7229                  <value>0x00</value>
7230                </enumeratedValue>
7231                <enumeratedValue>
7232                  <name>CPU</name>
7233                  <description>Semaphore is assigned to the CPU.</description>
7234                  <value>0x01</value>
7235                </enumeratedValue>
7236                <enumeratedValue>
7237                  <name>SPIS</name>
7238                  <description>Semaphore is assigned to the SPIS.</description>
7239                  <value>0x02</value>
7240                </enumeratedValue>
7241                <enumeratedValue>
7242                  <name>CPUPending</name>
7243                  <description>Semaphore is assigned to the SPIS, but a handover to the CPU is pending.</description>
7244                  <value>0x03</value>
7245                </enumeratedValue>
7246              </enumeratedValues>
7247            </field>
7248          </fields>
7249        </register>
7250        <register>
7251          <name>STATUS</name>
7252          <description>Status from last transaction.</description>
7253          <addressOffset>0x440</addressOffset>
7254          <fields>
7255            <field>
7256              <name>OVERREAD</name>
7257              <description>TX buffer overread detected, and prevented.</description>
7258              <lsb>0</lsb> <msb>0</msb>
7259              <enumeratedValues>
7260                <usage>read</usage>
7261                <enumeratedValue>
7262                  <name>NotPresent</name>
7263                  <description>Error not present.</description>
7264                  <value>0</value>
7265                </enumeratedValue>
7266                <enumeratedValue>
7267                  <name>Present</name>
7268                  <description>Error present.</description>
7269                  <value>1</value>
7270                </enumeratedValue>
7271              </enumeratedValues>
7272              <enumeratedValues>
7273                <usage>write</usage>
7274                <enumeratedValue>
7275                  <name>Clear</name>
7276                  <description>Clear on write.</description>
7277                  <value>1</value>
7278                </enumeratedValue>
7279              </enumeratedValues>
7280            </field>
7281            <field>
7282              <name>OVERFLOW</name>
7283              <description>RX buffer overflow detected, and prevented.</description>
7284              <lsb>1</lsb> <msb>1</msb>
7285              <enumeratedValues>
7286                <usage>read</usage>
7287                <enumeratedValue>
7288                  <name>NotPresent</name>
7289                  <description>Error not present.</description>
7290                  <value>0</value>
7291                </enumeratedValue>
7292                <enumeratedValue>
7293                  <name>Present</name>
7294                  <description>Error present.</description>
7295                  <value>1</value>
7296                </enumeratedValue>
7297              </enumeratedValues>
7298               <enumeratedValues>
7299                <usage>write</usage>
7300                <enumeratedValue>
7301                  <name>Clear</name>
7302                  <description>Clear on write.</description>
7303                  <value>1</value>
7304                </enumeratedValue>
7305              </enumeratedValues>
7306            </field>
7307          </fields>
7308        </register>
7309
7310        <register>
7311          <name>ENABLE</name>
7312          <description>Enable SPIS.</description>
7313          <addressOffset>0x500</addressOffset>
7314          <fields>
7315            <field>
7316              <name>ENABLE</name>
7317              <description>Enable or disable SPIS.</description>
7318              <lsb>0</lsb> <msb>2</msb>
7319              <enumeratedValues>
7320                <enumeratedValue>
7321                  <name>Disabled</name>
7322                  <description>Disabled SPIS.</description>
7323                  <value>0x00</value>
7324                </enumeratedValue>
7325                <enumeratedValue>
7326                  <name>Enabled</name>
7327                  <description>Enable SPIS.</description>
7328                  <value>0x02</value>
7329                </enumeratedValue>
7330              </enumeratedValues>
7331            </field>
7332          </fields>
7333        </register>
7334
7335        <register>
7336          <name>PSELSCK</name>
7337          <description>Pin select for SCK.</description>
7338          <addressOffset>0x508</addressOffset>
7339          <resetValue>0xFFFFFFFF</resetValue>
7340        </register>
7341        <register>
7342          <name>PSELMISO</name>
7343          <description>Pin select for MISO.</description>
7344          <addressOffset>0x50C</addressOffset>
7345          <resetValue>0xFFFFFFFF</resetValue>
7346        </register>
7347        <register>
7348          <name>PSELMOSI</name>
7349          <description>Pin select for MOSI.</description>
7350          <addressOffset>0x510</addressOffset>
7351          <resetValue>0xFFFFFFFF</resetValue>
7352        </register>
7353        <register>
7354          <name>PSELCSN</name>
7355          <description>Pin select for CSN.</description>
7356          <addressOffset>0x514</addressOffset>
7357          <resetValue>0xFFFFFFFF</resetValue>
7358        </register>
7359
7360        <register>
7361          <name>RXDPTR</name>
7362          <description>RX data pointer.</description>
7363          <addressOffset>0x534</addressOffset>
7364        </register>
7365        <register>
7366          <name>MAXRX</name>
7367          <description>Maximum number of bytes in the receive buffer.</description>
7368          <addressOffset>0x538</addressOffset>
7369          <fields>
7370            <field>
7371              <name>MAXRX</name>
7372              <description>Maximum number of bytes in the receive buffer.</description>
7373              <lsb>0</lsb> <msb>7</msb>
7374            </field>
7375          </fields>
7376        </register>
7377        <register>
7378          <name>AMOUNTRX</name>
7379          <description>Number of bytes received in last granted transaction.</description>
7380          <addressOffset>0x53C</addressOffset>
7381          <access>read-only</access>
7382          <fields>
7383            <field>
7384              <name>AMOUNTRX</name>
7385              <description>Number of bytes received in last granted transaction.</description>
7386              <lsb>0</lsb> <msb>7</msb>
7387            </field>
7388          </fields>
7389        </register>
7390
7391        <register>
7392          <name>TXDPTR</name>
7393          <description>TX data pointer.</description>
7394          <addressOffset>0x544</addressOffset>
7395        </register>
7396        <register>
7397          <name>MAXTX</name>
7398          <description>Maximum number of bytes in the transmit buffer.</description>
7399          <addressOffset>0x548</addressOffset>
7400          <fields>
7401            <field>
7402              <name>MAXTX</name>
7403              <description>Maximum number of bytes in the transmit buffer.</description>
7404              <lsb>0</lsb> <msb>7</msb>
7405            </field>
7406          </fields>
7407        </register>
7408        <register>
7409          <name>AMOUNTTX</name>
7410          <description>Number of bytes transmitted in last granted transaction.</description>
7411          <addressOffset>0x54C</addressOffset>
7412          <access>read-only</access>
7413          <fields>
7414            <field>
7415              <name>AMOUNTTX</name>
7416              <description>Number of bytes transmitted in last granted transaction.</description>
7417              <lsb>0</lsb> <msb>7</msb>
7418            </field>
7419          </fields>
7420        </register>
7421
7422        <register>
7423          <name>CONFIG</name>
7424          <description>Configuration register.</description>
7425          <addressOffset>0x554</addressOffset>
7426          <fields>
7427            <field>
7428              <name>ORDER</name>
7429              <description>Bit order.</description>
7430              <lsb>0</lsb> <msb>0</msb>
7431              <enumeratedValues>
7432                <enumeratedValue>
7433                  <name>MsbFirst</name>
7434                  <description>Most significant bit transmitted out first.</description>
7435                  <value>0</value>
7436                </enumeratedValue>
7437                <enumeratedValue>
7438                  <name>LsbFirst</name>
7439                  <description>Least significant bit transmitted out first.</description>
7440                  <value>1</value>
7441                </enumeratedValue>
7442              </enumeratedValues>
7443            </field>
7444            <field>
7445              <name>CPHA</name>
7446              <description>Serial clock (SCK) phase.</description>
7447              <lsb>1</lsb> <msb>1</msb>
7448              <enumeratedValues>
7449                <enumeratedValue>
7450                  <name>Leading</name>
7451                  <description>Sample on leading edge of the clock. Shift serial data on trailing edge.</description>
7452                  <value>0</value>
7453                </enumeratedValue>
7454                <enumeratedValue>
7455                  <name>Trailing</name>
7456                  <description>Sample on trailing edge of the clock. Shift serial data on leading edge.</description>
7457                  <value>1</value>
7458                </enumeratedValue>
7459              </enumeratedValues>
7460            </field>
7461            <field>
7462              <name>CPOL</name>
7463              <description>Serial clock (SCK) polarity.</description>
7464              <lsb>2</lsb> <msb>2</msb>
7465              <enumeratedValues>
7466                <enumeratedValue>
7467                  <name>ActiveHigh</name>
7468                  <description>Active high.</description>
7469                  <value>0</value>
7470                </enumeratedValue>
7471                <enumeratedValue>
7472                  <name>ActiveLow</name>
7473                  <description>Active low.</description>
7474                  <value>1</value>
7475                </enumeratedValue>
7476              </enumeratedValues>
7477            </field>
7478          </fields>
7479        </register>
7480
7481        <register>
7482          <name>DEF</name>
7483          <description>Default character.</description>
7484          <addressOffset>0x55C</addressOffset>
7485          <fields>
7486            <field>
7487              <name>DEF</name>
7488              <description>Default character.</description>
7489              <lsb>0</lsb> <msb>7</msb>
7490            </field>
7491          </fields>
7492        </register>
7493        <register>
7494          <name>ORC</name>
7495          <description>Over-read character.</description>
7496          <addressOffset>0x5C0</addressOffset>
7497          <fields>
7498            <field>
7499              <name>ORC</name>
7500              <description>Over-read character.</description>
7501              <lsb>0</lsb> <msb>7</msb>
7502            </field>
7503          </fields>
7504        </register>
7505
7506        <register>
7507          <name>POWER</name>
7508          <description>Peripheral power control.</description>
7509          <addressOffset>0xFFC</addressOffset>
7510          <fields>
7511            <field>
7512              <name>POWER</name>
7513              <description>Peripheral power control.</description>
7514              <lsb>0</lsb> <msb>0</msb>
7515              <enumeratedValues>
7516                <enumeratedValue>
7517                  <name>Disabled</name>
7518                  <description>Module power disabled.</description>
7519                  <value>0</value>
7520                </enumeratedValue>
7521                <enumeratedValue>
7522                  <name>Enabled</name>
7523                  <description>Module power enabled.</description>
7524                  <value>1</value>
7525                </enumeratedValue>
7526              </enumeratedValues>
7527            </field>
7528          </fields>
7529        </register>
7530
7531      </registers>
7532    </peripheral>
7533
7534    <peripheral>
7535      <name>GPIOTE</name>
7536      <version>522</version>
7537      <description>GPIO tasks and events.</description>
7538      <baseAddress>0x40006000</baseAddress>
7539      <groupName>GPIOTE</groupName>
7540      <size>32</size>
7541      <access>read-write</access>
7542
7543      <addressBlock>
7544        <offset>0</offset>
7545        <size>0x1000</size>
7546        <usage>registers</usage>
7547      </addressBlock>
7548
7549      <interrupt>
7550        <name>GPIOTE</name>
7551        <value>6</value>
7552      </interrupt>
7553
7554      <registers>
7555        <register>
7556          <dim>4</dim>
7557          <dimIncrement>0x04</dimIncrement>
7558          <name>TASKS_OUT[%s]</name>
7559          <description>Tasks asssociated with GPIOTE channels.</description>
7560          <addressOffset>0x000</addressOffset>
7561          <access>write-only</access>
7562        </register>
7563
7564        <register>
7565          <dim>4</dim>
7566          <dimIncrement>0x04</dimIncrement>
7567          <name>EVENTS_IN[%s]</name>
7568          <description>Tasks asssociated with GPIOTE channels.</description>
7569          <addressOffset>0x100</addressOffset>
7570        </register>
7571        <register>
7572          <name>EVENTS_PORT</name>
7573          <description>Event generated from multiple pins.</description>
7574          <addressOffset>0x17C</addressOffset>
7575        </register>
7576
7577        <register>
7578          <name>INTENSET</name>
7579          <description>Interrupt enable set register.</description>
7580          <addressOffset>0x304</addressOffset>
7581          <fields>
7582            <field>
7583              <name>IN0</name>
7584              <description>Enable interrupt on IN[0] event.</description>
7585              <lsb>0</lsb> <msb>0</msb>
7586              <enumeratedValues>
7587                <usage>read</usage>
7588                <enumeratedValue>
7589                  <name>Disabled</name>
7590                  <description>Interrupt disabled.</description>
7591                  <value>0</value>
7592                </enumeratedValue>
7593                <enumeratedValue>
7594                  <name>Enabled</name>
7595                  <description>Interrupt enabled.</description>
7596                  <value>1</value>
7597                </enumeratedValue>
7598              </enumeratedValues>
7599              <enumeratedValues>
7600                <usage>write</usage>
7601                <enumeratedValue>
7602                  <name>Set</name>
7603                  <description>Enable interrupt on write.</description>
7604                  <value>1</value>
7605                </enumeratedValue>
7606              </enumeratedValues>
7607            </field>
7608            <field>
7609              <name>IN1</name>
7610              <description>Enable interrupt on IN[1] event.</description>
7611              <lsb>1</lsb> <msb>1</msb>
7612              <enumeratedValues>
7613                <usage>read</usage>
7614                <enumeratedValue>
7615                  <name>Disabled</name>
7616                  <description>Interrupt disabled.</description>
7617                  <value>0</value>
7618                </enumeratedValue>
7619                <enumeratedValue>
7620                  <name>Enabled</name>
7621                  <description>Interrupt enabled.</description>
7622                  <value>1</value>
7623                </enumeratedValue>
7624              </enumeratedValues>
7625              <enumeratedValues>
7626                <usage>write</usage>
7627                <enumeratedValue>
7628                  <name>Set</name>
7629                  <description>Enable interrupt on write.</description>
7630                  <value>1</value>
7631                </enumeratedValue>
7632              </enumeratedValues>
7633            </field>
7634            <field>
7635              <name>IN2</name>
7636              <description>Enable interrupt on IN[2] event.</description>
7637              <lsb>2</lsb> <msb>2</msb>
7638              <enumeratedValues>
7639                <usage>read</usage>
7640                <enumeratedValue>
7641                  <name>Disabled</name>
7642                  <description>Interrupt disabled.</description>
7643                  <value>0</value>
7644                </enumeratedValue>
7645                <enumeratedValue>
7646                  <name>Enabled</name>
7647                  <description>Interrupt enabled.</description>
7648                  <value>1</value>
7649                </enumeratedValue>
7650              </enumeratedValues>
7651              <enumeratedValues>
7652                <usage>write</usage>
7653                <enumeratedValue>
7654                  <name>Set</name>
7655                  <description>Enable interrupt on write.</description>
7656                  <value>1</value>
7657                </enumeratedValue>
7658              </enumeratedValues>
7659            </field>
7660            <field>
7661              <name>IN3</name>
7662              <description>Enable interrupt on IN[3] event.</description>
7663              <lsb>3</lsb> <msb>3</msb>
7664              <enumeratedValues>
7665                <usage>read</usage>
7666                <enumeratedValue>
7667                  <name>Disabled</name>
7668                  <description>Interrupt disabled.</description>
7669                  <value>0</value>
7670                </enumeratedValue>
7671                <enumeratedValue>
7672                  <name>Enabled</name>
7673                  <description>Interrupt enabled.</description>
7674                  <value>1</value>
7675                </enumeratedValue>
7676              </enumeratedValues>
7677              <enumeratedValues>
7678                <usage>write</usage>
7679                <enumeratedValue>
7680                  <name>Set</name>
7681                  <description>Enable interrupt on write.</description>
7682                  <value>1</value>
7683                </enumeratedValue>
7684              </enumeratedValues>
7685            </field>
7686            <field>
7687              <name>PORT</name>
7688              <description>Enable interrupt on PORT event.</description>
7689              <lsb>31</lsb> <msb>31</msb>
7690              <enumeratedValues>
7691                <usage>read</usage>
7692                <enumeratedValue>
7693                  <name>Disabled</name>
7694                  <description>Interrupt disabled.</description>
7695                  <value>0</value>
7696                </enumeratedValue>
7697                <enumeratedValue>
7698                  <name>Enabled</name>
7699                  <description>Interrupt enabled.</description>
7700                  <value>1</value>
7701                </enumeratedValue>
7702              </enumeratedValues>
7703              <enumeratedValues>
7704                <usage>write</usage>
7705                <enumeratedValue>
7706                  <name>Set</name>
7707                  <description>Enable interrupt on write.</description>
7708                  <value>1</value>
7709                </enumeratedValue>
7710              </enumeratedValues>
7711            </field>
7712          </fields>
7713        </register>
7714        <register>
7715          <name>INTENCLR</name>
7716          <description>Interrupt enable clear register.</description>
7717          <addressOffset>0x308</addressOffset>
7718          <fields>
7719            <field>
7720              <name>IN0</name>
7721              <description>Disable interrupt on IN[0] event.</description>
7722              <lsb>0</lsb> <msb>0</msb>
7723              <enumeratedValues>
7724                <usage>read</usage>
7725                <enumeratedValue>
7726                  <name>Disabled</name>
7727                  <description>Interrupt disabled.</description>
7728                  <value>0</value>
7729                </enumeratedValue>
7730                <enumeratedValue>
7731                  <name>Enabled</name>
7732                  <description>Interrupt enabled.</description>
7733                  <value>1</value>
7734                </enumeratedValue>
7735              </enumeratedValues>
7736              <enumeratedValues>
7737                <usage>write</usage>
7738                <enumeratedValue>
7739                  <name>Clear</name>
7740                  <description>Disable interrupt on write.</description>
7741                  <value>1</value>
7742                </enumeratedValue>
7743              </enumeratedValues>
7744            </field>
7745            <field>
7746              <name>IN1</name>
7747              <description>Disable interrupt on IN[1] event.</description>
7748              <lsb>1</lsb> <msb>1</msb>
7749              <enumeratedValues>
7750                <usage>read</usage>
7751                <enumeratedValue>
7752                  <name>Disabled</name>
7753                  <description>Interrupt disabled.</description>
7754                  <value>0</value>
7755                </enumeratedValue>
7756                <enumeratedValue>
7757                  <name>Enabled</name>
7758                  <description>Interrupt enabled.</description>
7759                  <value>1</value>
7760                </enumeratedValue>
7761              </enumeratedValues>
7762              <enumeratedValues>
7763                <usage>write</usage>
7764                <enumeratedValue>
7765                  <name>Clear</name>
7766                  <description>Disable interrupt on write.</description>
7767                  <value>1</value>
7768                </enumeratedValue>
7769              </enumeratedValues>
7770            </field>
7771            <field>
7772              <name>IN2</name>
7773              <description>Disable interrupt on IN[2] event.</description>
7774              <lsb>2</lsb> <msb>2</msb>
7775              <enumeratedValues>
7776                <usage>read</usage>
7777                <enumeratedValue>
7778                  <name>Disabled</name>
7779                  <description>Interrupt disabled.</description>
7780                  <value>0</value>
7781                </enumeratedValue>
7782                <enumeratedValue>
7783                  <name>Enabled</name>
7784                  <description>Interrupt enabled.</description>
7785                  <value>1</value>
7786                </enumeratedValue>
7787              </enumeratedValues>
7788              <enumeratedValues>
7789                <usage>write</usage>
7790                <enumeratedValue>
7791                  <name>Clear</name>
7792                  <description>Disable interrupt on write.</description>
7793                  <value>1</value>
7794                </enumeratedValue>
7795              </enumeratedValues>
7796            </field>
7797            <field>
7798              <name>IN3</name>
7799              <description>Disable interrupt on IN[3] event.</description>
7800              <lsb>3</lsb> <msb>3</msb>
7801              <enumeratedValues>
7802                <usage>read</usage>
7803                <enumeratedValue>
7804                  <name>Disabled</name>
7805                  <description>Interrupt disabled.</description>
7806                  <value>0</value>
7807                </enumeratedValue>
7808                <enumeratedValue>
7809                  <name>Enabled</name>
7810                  <description>Interrupt enabled.</description>
7811                  <value>1</value>
7812                </enumeratedValue>
7813              </enumeratedValues>
7814              <enumeratedValues>
7815                <usage>write</usage>
7816                <enumeratedValue>
7817                  <name>Clear</name>
7818                  <description>Disable interrupt on write.</description>
7819                  <value>1</value>
7820                </enumeratedValue>
7821              </enumeratedValues>
7822            </field>
7823            <field>
7824              <name>PORT</name>
7825              <description>Disable interrupt on PORT event.</description>
7826              <lsb>31</lsb> <msb>31</msb>
7827              <enumeratedValues>
7828                <usage>read</usage>
7829                <enumeratedValue>
7830                  <name>Disabled</name>
7831                  <description>Interrupt disabled.</description>
7832                  <value>0</value>
7833                </enumeratedValue>
7834                <enumeratedValue>
7835                  <name>Enabled</name>
7836                  <description>Interrupt enabled.</description>
7837                  <value>1</value>
7838                </enumeratedValue>
7839              </enumeratedValues>
7840              <enumeratedValues>
7841                <usage>write</usage>
7842                <enumeratedValue>
7843                  <name>Clear</name>
7844                  <description>Disable interrupt on write.</description>
7845                  <value>1</value>
7846                </enumeratedValue>
7847              </enumeratedValues>
7848            </field>
7849          </fields>
7850        </register>
7851
7852        <register>
7853          <dim>4</dim>
7854          <dimIncrement>0x04</dimIncrement>
7855          <name>CONFIG[%s]</name>
7856          <description>Channel configuration registers.</description>
7857          <addressOffset>0x510</addressOffset>
7858          <fields>
7859            <field>
7860              <name>MODE</name>
7861              <description>Mode</description>
7862              <lsb>0</lsb> <msb>1</msb>
7863              <enumeratedValues>
7864                <enumeratedValue>
7865                  <name>Disabled</name>
7866                  <description>Disabled.</description>
7867                  <value>0x00</value>
7868                </enumeratedValue>
7869                <enumeratedValue>
7870                  <name>Event</name>
7871                  <description>Channel configure in event mode.</description>
7872                  <value>0x01</value>
7873                </enumeratedValue>
7874                <enumeratedValue>
7875                  <name>Task</name>
7876                  <description>Channel configure in task mode.</description>
7877                  <value>0x03</value>
7878                </enumeratedValue>
7879              </enumeratedValues>
7880            </field>
7881            <field>
7882              <name>PSEL</name>
7883              <description>Pin select.</description>
7884              <lsb>8</lsb> <msb>12</msb>
7885            </field>
7886            <field>
7887              <name>POLARITY</name>
7888              <description>Effects on output when in Task mode, or events on input that generates an event.</description>
7889              <lsb>16</lsb> <msb>17</msb>
7890              <enumeratedValues>
7891                <enumeratedValue>
7892                  <name>None</name>
7893                  <description>No task or event.</description>
7894                  <value>0x00</value>
7895                </enumeratedValue>
7896                <enumeratedValue>
7897                  <name>LoToHi</name>
7898                  <description>Low to high.</description>
7899                  <value>0x01</value>
7900                </enumeratedValue>
7901                <enumeratedValue>
7902                  <name>HiToLo</name>
7903                  <description>High to low.</description>
7904                  <value>0x02</value>
7905                </enumeratedValue>
7906                <enumeratedValue>
7907                  <name>Toggle</name>
7908                  <description>Toggle.</description>
7909                  <value>0x03</value>
7910                </enumeratedValue>
7911              </enumeratedValues>
7912            </field>
7913            <field>
7914              <name>OUTINIT</name>
7915              <description>Initial value of the output when the GPIOTE channel is configured as a Task.</description>
7916              <lsb>20</lsb> <msb>20</msb>
7917              <enumeratedValues>
7918                <enumeratedValue>
7919                  <name>Low</name>
7920                  <description>Initial low output when in task mode.</description>
7921                  <value>0</value>
7922                </enumeratedValue>
7923                <enumeratedValue>
7924                  <name>High</name>
7925                  <description>Initial high output when in task mode.</description>
7926                  <value>1</value>
7927                </enumeratedValue>
7928              </enumeratedValues>
7929            </field>
7930          </fields>
7931        </register>
7932
7933        <register>
7934          <name>POWER</name>
7935          <description>Peripheral power control.</description>
7936          <addressOffset>0xFFC</addressOffset>
7937          <fields>
7938            <field>
7939              <name>POWER</name>
7940              <description>Peripheral power control.</description>
7941              <lsb>0</lsb> <msb>0</msb>
7942              <enumeratedValues>
7943                <enumeratedValue>
7944                  <name>Disabled</name>
7945                  <description>Module power disabled.</description>
7946                  <value>0</value>
7947                </enumeratedValue>
7948                <enumeratedValue>
7949                  <name>Enabled</name>
7950                  <description>Module power enabled.</description>
7951                  <value>1</value>
7952                </enumeratedValue>
7953              </enumeratedValues>
7954            </field>
7955          </fields>
7956        </register>
7957
7958      </registers>
7959    </peripheral>
7960
7961    <peripheral>
7962      <name>ADC</name>
7963      <version>522</version>
7964      <description>Analog to digital converter.</description>
7965      <baseAddress>0x40007000</baseAddress>
7966      <groupName>ADC</groupName>
7967      <size>32</size>
7968      <access>read-write</access>
7969
7970      <addressBlock>
7971        <offset>0</offset>
7972        <size>0x1000</size>
7973        <usage>registers</usage>
7974      </addressBlock>
7975
7976      <interrupt>
7977        <name>ADC</name>
7978        <value>7</value>
7979      </interrupt>
7980
7981      <registers>
7982        <register>
7983          <name>TASKS_START</name>
7984          <description>Start an ADC conversion.</description>
7985          <addressOffset>0x000</addressOffset>
7986          <access>write-only</access>
7987        </register>
7988        <register>
7989          <name>TASKS_STOP</name>
7990          <description>Stop ADC.</description>
7991          <addressOffset>0x004</addressOffset>
7992          <access>write-only</access>
7993        </register>
7994
7995        <register>
7996          <name>EVENTS_END</name>
7997          <description>ADC conversion complete.</description>
7998          <addressOffset>0x100</addressOffset>
7999        </register>
8000
8001        <register>
8002          <name>INTENSET</name>
8003          <description>Interrupt enable set register.</description>
8004          <addressOffset>0x304</addressOffset>
8005          <fields>
8006            <field>
8007              <name>END</name>
8008              <description>Enable interrupt on END event.</description>
8009              <lsb>0</lsb> <msb>0</msb>
8010              <enumeratedValues>
8011                <usage>read</usage>
8012                <enumeratedValue>
8013                  <name>Disabled</name>
8014                  <description>Interrupt disabled.</description>
8015                  <value>0</value>
8016                </enumeratedValue>
8017                <enumeratedValue>
8018                  <name>Enabled</name>
8019                  <description>Interrupt enabled.</description>
8020                  <value>1</value>
8021                </enumeratedValue>
8022              </enumeratedValues>
8023              <enumeratedValues>
8024                <usage>write</usage>
8025                <enumeratedValue>
8026                  <name>Set</name>
8027                  <description>Enable interrupt on write.</description>
8028                  <value>1</value>
8029                </enumeratedValue>
8030              </enumeratedValues>
8031            </field>
8032          </fields>
8033        </register>
8034        <register>
8035          <name>INTENCLR</name>
8036          <description>Interrupt enable clear register.</description>
8037          <addressOffset>0x308</addressOffset>
8038          <fields>
8039            <field>
8040              <name>END</name>
8041              <description>Disable interrupt on END event.</description>
8042              <lsb>0</lsb> <msb>0</msb>
8043              <enumeratedValues>
8044                <usage>read</usage>
8045                <enumeratedValue>
8046                  <name>Disabled</name>
8047                  <description>Interrupt disabled.</description>
8048                  <value>0</value>
8049                </enumeratedValue>
8050                <enumeratedValue>
8051                  <name>Enabled</name>
8052                  <description>Interrupt enabled.</description>
8053                  <value>1</value>
8054                </enumeratedValue>
8055              </enumeratedValues>
8056              <enumeratedValues>
8057                <usage>write</usage>
8058                <enumeratedValue>
8059                  <name>Clear</name>
8060                  <description>Disable interrupt on write.</description>
8061                  <value>1</value>
8062                </enumeratedValue>
8063              </enumeratedValues>
8064            </field>
8065          </fields>
8066        </register>
8067
8068        <register>
8069          <name>BUSY</name>
8070          <description>ADC busy register.</description>
8071          <addressOffset>0x400</addressOffset>
8072          <access>read-only</access>
8073          <fields>
8074            <field>
8075              <name>BUSY</name>
8076              <description>ADC busy register.</description>
8077              <lsb>0</lsb> <msb>0</msb>
8078              <enumeratedValues>
8079                <enumeratedValue>
8080                  <name>Ready</name>
8081                  <description>No ongoing ADC conversion is taking place. ADC is ready.</description>
8082                  <value>0</value>
8083                </enumeratedValue>
8084                <enumeratedValue>
8085                  <name>Busy</name>
8086                  <description>An ADC conversion is taking place. ADC is busy.</description>
8087                  <value>1</value>
8088                </enumeratedValue>
8089              </enumeratedValues>
8090            </field>
8091          </fields>
8092        </register>
8093
8094        <register>
8095          <name>ENABLE</name>
8096          <description>ADC enable.</description>
8097          <addressOffset>0x500</addressOffset>
8098          <fields>
8099            <field>
8100              <name>ENABLE</name>
8101              <description>ADC enable.</description>
8102              <lsb>0</lsb> <msb>1</msb>
8103              <enumeratedValues>
8104                <enumeratedValue>
8105                  <name>Disabled</name>
8106                  <description>ADC is disabled.</description>
8107                  <value>0x00</value>
8108                </enumeratedValue>
8109                <enumeratedValue>
8110                  <name>Enabled</name>
8111                  <description>ADC is enabled. If an analog input pin is selected as source of the conversion, the selected pin is configured as an analog input.</description>
8112                  <value>0x01</value>
8113                </enumeratedValue>
8114              </enumeratedValues>
8115            </field>
8116          </fields>
8117        </register>
8118
8119        <register>
8120          <name>CONFIG</name>
8121          <description>ADC configuration register.</description>
8122          <addressOffset>0x504</addressOffset>
8123          <resetValue>0x00000018</resetValue>
8124          <fields>
8125            <field>
8126              <name>RES</name>
8127              <description>ADC resolution.</description>
8128              <lsb>0</lsb> <msb>1</msb>
8129              <enumeratedValues>
8130                <enumeratedValue>
8131                  <name>8bit</name>
8132                  <description>8bit ADC resolution.</description>
8133                  <value>0x00</value>
8134                </enumeratedValue>
8135                <enumeratedValue>
8136                  <name>9bit</name>
8137                  <description>9bit ADC resolution.</description>
8138                  <value>0x01</value>
8139                </enumeratedValue>
8140                <enumeratedValue>
8141                  <name>10bit</name>
8142                  <description>10bit ADC resolution.</description>
8143                  <value>0x02</value>
8144                </enumeratedValue>
8145              </enumeratedValues>
8146            </field>
8147            <field>
8148              <name>INPSEL</name>
8149              <description>ADC input selection.</description>
8150              <lsb>2</lsb> <msb>4</msb>
8151              <enumeratedValues>
8152                <enumeratedValue>
8153                  <name>AnalogInputNoPrescaling</name>
8154                  <description>Analog input specified by PSEL with no prescaling used as input for the conversion.</description>
8155                  <value>0x00</value>
8156                </enumeratedValue>
8157                <enumeratedValue>
8158                  <name>AnalogInputTwoThirdsPrescaling</name>
8159                  <description>Analog input specified by PSEL with 2/3 prescaling used as input for the conversion.</description>
8160                  <value>0x01</value>
8161                </enumeratedValue>
8162                <enumeratedValue>
8163                  <name>AnalogInputOneThirdPrescaling</name>
8164                  <description>Analog input specified by PSEL with 1/3 prescaling used as input for the conversion.</description>
8165                  <value>0x02</value>
8166                </enumeratedValue>
8167                <enumeratedValue>
8168                  <name>SupplyTwoThirdsPrescaling</name>
8169                  <description>Supply voltage with 2/3 prescaling used as input for the conversion.</description>
8170                  <value>0x05</value>
8171                </enumeratedValue>
8172                <enumeratedValue>
8173                  <name>SupplyOneThirdPrescaling</name>
8174                  <description>Supply voltage with 1/3 prescaling used as input for the conversion.</description>
8175                  <value>0x06</value>
8176                </enumeratedValue>
8177              </enumeratedValues>
8178            </field>
8179            <field>
8180              <name>REFSEL</name>
8181              <description>ADC reference selection.</description>
8182              <lsb>5</lsb> <msb>6</msb>
8183              <enumeratedValues>
8184                <enumeratedValue>
8185                  <name>VBG</name>
8186                  <description>Use internal 1.2V bandgap voltage as reference for conversion.</description>
8187                  <value>0x00</value>
8188                </enumeratedValue>
8189                <enumeratedValue>
8190                  <name>External</name>
8191                  <description>Use external source configured by EXTREFSEL as reference for conversion.</description>
8192                  <value>0x01</value>
8193                </enumeratedValue>
8194                <enumeratedValue>
8195                  <name>SupplyOneHalfPrescaling</name>
8196                  <description>Use supply voltage with 1/2 prescaling as reference for conversion. Only usable when supply voltage is between 1.7V and 2.6V.</description>
8197                  <value>0x02</value>
8198                </enumeratedValue>
8199                <enumeratedValue>
8200                  <name>SupplyOneThirdPrescaling</name>
8201                  <description>Use supply voltage with 1/3 prescaling as reference for conversion. Only usable when supply voltage is between 2.5V and 3.6V.</description>
8202                  <value>0x03</value>
8203                </enumeratedValue>
8204              </enumeratedValues>
8205            </field>
8206            <field>
8207              <name>PSEL</name>
8208              <description>ADC analog pin selection.</description>
8209              <lsb>8</lsb> <msb>15</msb>
8210              <enumeratedValues>
8211                <enumeratedValue>
8212                  <name>Disabled</name>
8213                  <description>Analog input pins disabled.</description>
8214                  <value>0</value>
8215                </enumeratedValue>
8216                <enumeratedValue>
8217                  <name>AnalogInput0</name>
8218                  <description>Use analog input 0 as analog input.</description>
8219                  <value>1</value>
8220                </enumeratedValue>
8221                <enumeratedValue>
8222                  <name>AnalogInput1</name>
8223                  <description>Use analog input 1 as analog input.</description>
8224                  <value>2</value>
8225                </enumeratedValue>
8226                <enumeratedValue>
8227                  <name>AnalogInput2</name>
8228                  <description>Use analog input 2 as analog input.</description>
8229                  <value>4</value>
8230                </enumeratedValue>
8231                <enumeratedValue>
8232                  <name>AnalogInput3</name>
8233                  <description>Use analog input 3 as analog input.</description>
8234                  <value>8</value>
8235                </enumeratedValue><enumeratedValue>
8236                  <name>AnalogInput4</name>
8237                  <description>Use analog input 4 as analog input.</description>
8238                  <value>16</value>
8239                </enumeratedValue>
8240                <enumeratedValue>
8241                  <name>AnalogInput5</name>
8242                  <description>Use analog input 5 as analog input.</description>
8243                  <value>32</value>
8244                </enumeratedValue>
8245                <enumeratedValue>
8246                  <name>AnalogInput6</name>
8247                  <description>Use analog input 6 as analog input.</description>
8248                  <value>64</value>
8249                </enumeratedValue>
8250                <enumeratedValue>
8251                  <name>AnalogInput7</name>
8252                  <description>Use analog input 7 as analog input.</description>
8253                  <value>128</value>
8254                </enumeratedValue>
8255              </enumeratedValues>
8256            </field>
8257            <field>
8258              <name>EXTREFSEL</name>
8259              <description>ADC external reference pin selection.</description>
8260              <lsb>16</lsb> <msb>17</msb>
8261              <enumeratedValues>
8262                <enumeratedValue>
8263                  <name>None</name>
8264                  <description>Analog external reference inputs disabled.</description>
8265                  <value>0</value>
8266                </enumeratedValue>
8267                <enumeratedValue>
8268                  <name>AnalogReference0</name>
8269                  <description>Use analog reference 0 as reference.</description>
8270                  <value>1</value>
8271                </enumeratedValue>
8272                <enumeratedValue>
8273                  <name>AnalogReference1</name>
8274                  <description>Use analog reference 1 as reference.</description>
8275                  <value>2</value>
8276                </enumeratedValue>
8277              </enumeratedValues>
8278            </field>
8279          </fields>
8280        </register>
8281
8282        <register>
8283          <name>RESULT</name>
8284          <description>Result of ADC conversion.</description>
8285          <addressOffset>0x508</addressOffset>
8286          <access>read-only</access>
8287          <fields>
8288            <field>
8289              <name>RESULT</name>
8290              <description>Result of ADC conversion.</description>
8291              <lsb>0</lsb> <msb>9</msb>
8292            </field>
8293          </fields>
8294        </register>
8295
8296        <register>
8297          <name>POWER</name>
8298          <description>Peripheral power control.</description>
8299          <addressOffset>0xFFC</addressOffset>
8300          <fields>
8301            <field>
8302              <name>POWER</name>
8303              <description>Peripheral power control.</description>
8304              <lsb>0</lsb> <msb>0</msb>
8305              <enumeratedValues>
8306                <enumeratedValue>
8307                  <name>Disabled</name>
8308                  <description>Module power disabled.</description>
8309                  <value>0</value>
8310                </enumeratedValue>
8311                <enumeratedValue>
8312                  <name>Enabled</name>
8313                  <description>Module power enabled.</description>
8314                  <value>1</value>
8315                </enumeratedValue>
8316              </enumeratedValues>
8317            </field>
8318          </fields>
8319        </register>
8320
8321      </registers>
8322    </peripheral>
8323
8324    <peripheral>
8325      <name>TIMER0</name>
8326      <version>522</version>
8327      <description>Timer 0.</description>
8328      <baseAddress>0x40008000</baseAddress>
8329      <groupName>TIMER</groupName>
8330      <size>32</size>
8331      <access>read-write</access>
8332      <headerStructName>TIMER</headerStructName>
8333
8334
8335      <addressBlock>
8336        <offset>0</offset>
8337        <size>0x1000</size>
8338        <usage>registers</usage>
8339      </addressBlock>
8340
8341      <interrupt>
8342        <name>TIMER0</name>
8343        <value>8</value>
8344      </interrupt>
8345
8346      <registers>
8347        <register>
8348          <name>TASKS_START</name>
8349          <description>Start Timer.</description>
8350          <addressOffset>0x000</addressOffset>
8351          <access>write-only</access>
8352        </register>
8353        <register>
8354          <name>TASKS_STOP</name>
8355          <description>Stop Timer.</description>
8356          <addressOffset>0x004</addressOffset>
8357          <access>write-only</access>
8358        </register>
8359        <register>
8360          <name>TASKS_COUNT</name>
8361          <description>Increment Timer (In counter mode).</description>
8362          <addressOffset>0x008</addressOffset>
8363          <access>write-only</access>
8364        </register>
8365        <register>
8366          <name>TASKS_CLEAR</name>
8367          <description>Clear timer.</description>
8368          <addressOffset>0x00C</addressOffset>
8369          <access>write-only</access>
8370        </register>
8371        <register>
8372          <name>TASKS_SHUTDOWN</name>
8373          <description>Shutdown timer.</description>
8374          <addressOffset>0x010</addressOffset>
8375          <access>write-only</access>
8376        </register>
8377        <register>
8378          <dim>4</dim>
8379          <dimIncrement>0x04</dimIncrement>
8380          <name>TASKS_CAPTURE[%s]</name>
8381          <description>Capture Timer value to CC[n] registers.</description>
8382          <addressOffset>0x040</addressOffset>
8383          <access>write-only</access>
8384        </register>
8385
8386        <register>
8387          <dim>4</dim>
8388          <dimIncrement>0x04</dimIncrement>
8389          <name>EVENTS_COMPARE[%s]</name>
8390          <description>Compare event on CC[n] match.</description>
8391          <addressOffset>0x140</addressOffset>
8392        </register>
8393
8394        <register>
8395          <name>SHORTS</name>
8396          <description>Shortcuts for Timer.</description>
8397          <addressOffset>0x200</addressOffset>
8398          <fields>
8399            <field>
8400              <name>COMPARE0_CLEAR</name>
8401              <description>Shortcut between CC[0] event and the CLEAR task.</description>
8402              <lsb>0</lsb> <msb>0</msb>
8403              <enumeratedValues>
8404                <enumeratedValue>
8405                  <name>Disabled</name>
8406                  <description>Shortcut disabled.</description>
8407                  <value>0</value>
8408                </enumeratedValue>
8409                <enumeratedValue>
8410                  <name>Enabled</name>
8411                  <description>Shortcut enabled.</description>
8412                  <value>1</value>
8413                </enumeratedValue>
8414              </enumeratedValues>
8415            </field>
8416            <field>
8417              <name>COMPARE1_CLEAR</name>
8418              <description>Shortcut between CC[1] event and the CLEAR task.</description>
8419              <lsb>1</lsb> <msb>1</msb>
8420              <enumeratedValues>
8421                <enumeratedValue>
8422                  <name>Disabled</name>
8423                  <description>Shortcut disabled.</description>
8424                  <value>0</value>
8425                </enumeratedValue>
8426                <enumeratedValue>
8427                  <name>Enabled</name>
8428                  <description>Shortcut enabled.</description>
8429                  <value>1</value>
8430                </enumeratedValue>
8431              </enumeratedValues>
8432            </field>
8433            <field>
8434              <name>COMPARE2_CLEAR</name>
8435              <description>Shortcut between CC[2] event and the CLEAR task.</description>
8436              <lsb>2</lsb> <msb>2</msb>
8437              <enumeratedValues>
8438                <enumeratedValue>
8439                  <name>Disabled</name>
8440                  <description>Shortcut disabled.</description>
8441                  <value>0</value>
8442                </enumeratedValue>
8443                <enumeratedValue>
8444                  <name>Enabled</name>
8445                  <description>Shortcut enabled.</description>
8446                  <value>1</value>
8447                </enumeratedValue>
8448              </enumeratedValues>
8449            </field>
8450            <field>
8451              <name>COMPARE3_CLEAR</name>
8452              <description>Shortcut between CC[3] event and the CLEAR task.</description>
8453              <lsb>3</lsb> <msb>3</msb>
8454              <enumeratedValues>
8455                <enumeratedValue>
8456                  <name>Disabled</name>
8457                  <description>Shortcut disabled.</description>
8458                  <value>0</value>
8459                </enumeratedValue>
8460                <enumeratedValue>
8461                  <name>Enabled</name>
8462                  <description>Shortcut enabled.</description>
8463                  <value>1</value>
8464                </enumeratedValue>
8465              </enumeratedValues>
8466            </field>
8467            <field>
8468              <name>COMPARE0_STOP</name>
8469              <description>Shortcut between CC[0] event and the STOP task.</description>
8470              <lsb>8</lsb> <msb>8</msb>
8471              <enumeratedValues>
8472                <enumeratedValue>
8473                  <name>Disabled</name>
8474                  <description>Shortcut disabled.</description>
8475                  <value>0</value>
8476                </enumeratedValue>
8477                <enumeratedValue>
8478                  <name>Enabled</name>
8479                  <description>Shortcut enabled.</description>
8480                  <value>1</value>
8481                </enumeratedValue>
8482              </enumeratedValues>
8483            </field>
8484            <field>
8485              <name>COMPARE1_STOP</name>
8486              <description>Shortcut between CC[1] event and the STOP task.</description>
8487              <lsb>9</lsb> <msb>9</msb>
8488              <enumeratedValues>
8489                <enumeratedValue>
8490                  <name>Disabled</name>
8491                  <description>Shortcut disabled.</description>
8492                  <value>0</value>
8493                </enumeratedValue>
8494                <enumeratedValue>
8495                  <name>Enabled</name>
8496                  <description>Shortcut enabled.</description>
8497                  <value>1</value>
8498                </enumeratedValue>
8499              </enumeratedValues>
8500            </field>
8501            <field>
8502              <name>COMPARE2_STOP</name>
8503              <description>Shortcut between CC[2] event and the STOP task.</description>
8504              <lsb>10</lsb> <msb>10</msb>
8505              <enumeratedValues>
8506                <enumeratedValue>
8507                  <name>Disabled</name>
8508                  <description>Shortcut disabled.</description>
8509                  <value>0</value>
8510                </enumeratedValue>
8511                <enumeratedValue>
8512                  <name>Enabled</name>
8513                  <description>Shortcut enabled.</description>
8514                  <value>1</value>
8515                </enumeratedValue>
8516              </enumeratedValues>
8517            </field>
8518            <field>
8519              <name>COMPARE3_STOP</name>
8520              <description>Shortcut between CC[3] event and the STOP task.</description>
8521              <lsb>11</lsb> <msb>11</msb>
8522              <enumeratedValues>
8523                <enumeratedValue>
8524                  <name>Disabled</name>
8525                  <description>Shortcut disabled.</description>
8526                  <value>0</value>
8527                </enumeratedValue>
8528                <enumeratedValue>
8529                  <name>Enabled</name>
8530                  <description>Shortcut enabled.</description>
8531                  <value>1</value>
8532                </enumeratedValue>
8533              </enumeratedValues>
8534            </field>
8535          </fields>
8536        </register>
8537
8538        <register>
8539          <name>INTENSET</name>
8540          <description>Interrupt enable set register.</description>
8541          <addressOffset>0x304</addressOffset>
8542          <fields>
8543            <field>
8544              <name>COMPARE0</name>
8545              <description>Enable interrupt on COMPARE[0]</description>
8546              <lsb>16</lsb> <msb>16</msb>
8547              <enumeratedValues>
8548                <usage>read</usage>
8549                <enumeratedValue>
8550                  <name>Disabled</name>
8551                  <description>Interrupt disabled.</description>
8552                  <value>0</value>
8553                </enumeratedValue>
8554                <enumeratedValue>
8555                  <name>Enabled</name>
8556                  <description>Interrupt enabled.</description>
8557                  <value>1</value>
8558                </enumeratedValue>
8559              </enumeratedValues>
8560              <enumeratedValues>
8561                <usage>write</usage>
8562                <enumeratedValue>
8563                  <name>Set</name>
8564                  <description>Enable interrupt on write.</description>
8565                  <value>1</value>
8566                </enumeratedValue>
8567              </enumeratedValues>
8568            </field>
8569            <field>
8570              <name>COMPARE1</name>
8571              <description>Enable interrupt on COMPARE[1]</description>
8572              <lsb>17</lsb> <msb>17</msb>
8573              <enumeratedValues>
8574                <usage>read</usage>
8575                <enumeratedValue>
8576                  <name>Disabled</name>
8577                  <description>Interrupt disabled.</description>
8578                  <value>0</value>
8579                </enumeratedValue>
8580                <enumeratedValue>
8581                  <name>Enabled</name>
8582                  <description>Interrupt enabled.</description>
8583                  <value>1</value>
8584                </enumeratedValue>
8585              </enumeratedValues>
8586              <enumeratedValues>
8587                <usage>write</usage>
8588                <enumeratedValue>
8589                  <name>Set</name>
8590                  <description>Enable interrupt on write.</description>
8591                  <value>1</value>
8592                </enumeratedValue>
8593              </enumeratedValues>
8594            </field>
8595            <field>
8596              <name>COMPARE2</name>
8597              <description>Enable interrupt on COMPARE[2]</description>
8598              <lsb>18</lsb> <msb>18</msb>
8599              <enumeratedValues>
8600                <usage>read</usage>
8601                <enumeratedValue>
8602                  <name>Disabled</name>
8603                  <description>Interrupt disabled.</description>
8604                  <value>0</value>
8605                </enumeratedValue>
8606                <enumeratedValue>
8607                  <name>Enabled</name>
8608                  <description>Interrupt enabled.</description>
8609                  <value>1</value>
8610                </enumeratedValue>
8611              </enumeratedValues>
8612              <enumeratedValues>
8613                <usage>write</usage>
8614                <enumeratedValue>
8615                  <name>Set</name>
8616                  <description>Enable interrupt on write.</description>
8617                  <value>1</value>
8618                </enumeratedValue>
8619              </enumeratedValues>
8620            </field>
8621            <field>
8622              <name>COMPARE3</name>
8623              <description>Enable interrupt on COMPARE[3]</description>
8624              <lsb>19</lsb> <msb>19</msb>
8625              <enumeratedValues>
8626                <usage>read</usage>
8627                <enumeratedValue>
8628                  <name>Disabled</name>
8629                  <description>Interrupt disabled.</description>
8630                  <value>0</value>
8631                </enumeratedValue>
8632                <enumeratedValue>
8633                  <name>Enabled</name>
8634                  <description>Interrupt enabled.</description>
8635                  <value>1</value>
8636                </enumeratedValue>
8637              </enumeratedValues>
8638              <enumeratedValues>
8639                <usage>write</usage>
8640                <enumeratedValue>
8641                  <name>Set</name>
8642                  <description>Enable interrupt on write.</description>
8643                  <value>1</value>
8644                </enumeratedValue>
8645              </enumeratedValues>
8646            </field>
8647          </fields>
8648        </register>
8649        <register>
8650          <name>INTENCLR</name>
8651          <description>Interrupt enable clear register.</description>
8652          <addressOffset>0x308</addressOffset>
8653          <fields>
8654            <field>
8655              <name>COMPARE0</name>
8656              <description>Disable interrupt on COMPARE[0]</description>
8657              <lsb>16</lsb> <msb>16</msb>
8658              <enumeratedValues>
8659                <usage>read</usage>
8660                <enumeratedValue>
8661                  <name>Disabled</name>
8662                  <description>Interrupt disabled.</description>
8663                  <value>0</value>
8664                </enumeratedValue>
8665                <enumeratedValue>
8666                  <name>Enabled</name>
8667                  <description>Interrupt enabled.</description>
8668                  <value>1</value>
8669                </enumeratedValue>
8670              </enumeratedValues>
8671              <enumeratedValues>
8672                <usage>write</usage>
8673                <enumeratedValue>
8674                  <name>Clear</name>
8675                  <description>Disable interrupt on write.</description>
8676                  <value>1</value>
8677                </enumeratedValue>
8678              </enumeratedValues>
8679            </field>
8680            <field>
8681              <name>COMPARE1</name>
8682              <description>Disable interrupt on COMPARE[1]</description>
8683              <lsb>17</lsb> <msb>17</msb>
8684              <enumeratedValues>
8685                <usage>read</usage>
8686                <enumeratedValue>
8687                  <name>Disabled</name>
8688                  <description>Interrupt disabled.</description>
8689                  <value>0</value>
8690                </enumeratedValue>
8691                <enumeratedValue>
8692                  <name>Enabled</name>
8693                  <description>Interrupt enabled.</description>
8694                  <value>1</value>
8695                </enumeratedValue>
8696              </enumeratedValues>
8697              <enumeratedValues>
8698                <usage>write</usage>
8699                <enumeratedValue>
8700                  <name>Clear</name>
8701                  <description>Disable interrupt on write.</description>
8702                  <value>1</value>
8703                </enumeratedValue>
8704              </enumeratedValues>
8705            </field>
8706            <field>
8707              <name>COMPARE2</name>
8708              <description>Disable interrupt on COMPARE[2]</description>
8709              <lsb>18</lsb> <msb>18</msb>
8710              <enumeratedValues>
8711                <usage>read</usage>
8712                <enumeratedValue>
8713                  <name>Disabled</name>
8714                  <description>Interrupt disabled.</description>
8715                  <value>0</value>
8716                </enumeratedValue>
8717                <enumeratedValue>
8718                  <name>Enabled</name>
8719                  <description>Interrupt enabled.</description>
8720                  <value>1</value>
8721                </enumeratedValue>
8722              </enumeratedValues>
8723              <enumeratedValues>
8724                <usage>write</usage>
8725                <enumeratedValue>
8726                  <name>Clear</name>
8727                  <description>Disable interrupt on write.</description>
8728                  <value>1</value>
8729                </enumeratedValue>
8730              </enumeratedValues>
8731            </field>
8732            <field>
8733              <name>COMPARE3</name>
8734              <description>Disable interrupt on COMPARE[3]</description>
8735              <lsb>19</lsb> <msb>19</msb>
8736              <enumeratedValues>
8737                <usage>read</usage>
8738                <enumeratedValue>
8739                  <name>Disabled</name>
8740                  <description>Interrupt disabled.</description>
8741                  <value>0</value>
8742                </enumeratedValue>
8743                <enumeratedValue>
8744                  <name>Enabled</name>
8745                  <description>Interrupt enabled.</description>
8746                  <value>1</value>
8747                </enumeratedValue>
8748              </enumeratedValues>
8749              <enumeratedValues>
8750                <usage>write</usage>
8751                <enumeratedValue>
8752                  <name>Clear</name>
8753                  <description>Disable interrupt on write.</description>
8754                  <value>1</value>
8755                </enumeratedValue>
8756              </enumeratedValues>
8757            </field>
8758          </fields>
8759        </register>
8760
8761        <register>
8762          <name>MODE</name>
8763          <description>Timer Mode selection.</description>
8764          <addressOffset>0x504</addressOffset>
8765          <fields>
8766            <field>
8767              <name>MODE</name>
8768              <description>Select Normal or Counter mode.</description>
8769              <lsb>0</lsb> <msb>0</msb>
8770              <enumeratedValues>
8771                <enumeratedValue>
8772                  <name>Counter</name>
8773                  <description>Timer in Counter mode.</description>
8774                  <value>1</value>
8775                </enumeratedValue>
8776                <enumeratedValue>
8777                  <name>Timer</name>
8778                  <description>Timer in Normal mode.</description>
8779                  <value>0</value>
8780                </enumeratedValue>
8781              </enumeratedValues>
8782            </field>
8783          </fields>
8784        </register>
8785
8786        <register>
8787          <name>BITMODE</name>
8788          <description>Sets timer behaviour.</description>
8789          <addressOffset>0x508</addressOffset>
8790          <fields>
8791            <field>
8792              <name>BITMODE</name>
8793              <description>Sets timer behaviour ro be like the implementation of a timer with width as indicated.</description>
8794              <lsb>0</lsb> <msb>1</msb>
8795              <enumeratedValues>
8796                <enumeratedValue>
8797                  <name>16Bit</name>
8798                  <description>16-bit timer behaviour.</description>
8799                  <value>0x00</value>
8800                </enumeratedValue>
8801                <enumeratedValue>
8802                  <name>08Bit</name>
8803                  <description>8-bit timer behaviour.</description>
8804                  <value>0x01</value>
8805                </enumeratedValue>
8806                <enumeratedValue>
8807                  <name>24Bit</name>
8808                  <description>24-bit timer behaviour.</description>
8809                  <value>0x02</value>
8810                </enumeratedValue>
8811                <enumeratedValue>
8812                  <name>32Bit</name>
8813                  <description>32-bit timer behaviour.</description>
8814                  <value>0x03</value>
8815                </enumeratedValue>
8816              </enumeratedValues>
8817            </field>
8818          </fields>
8819        </register>
8820        <register>
8821          <name>PRESCALER</name>
8822          <description>4-bit prescaler to source clock frequency (max value 9). Source clock frequency is divided by 2^SCALE.</description>
8823          <addressOffset>0x510</addressOffset>
8824          <resetValue>0x00000004</resetValue>
8825          <fields>
8826            <field>
8827              <name>PRESCALER</name>
8828              <description>Timer PRESCALER value. Max value is 9.</description>
8829              <lsb>0</lsb> <msb>3</msb>
8830            </field>
8831          </fields>
8832        </register>
8833
8834        <register>
8835          <dim>4</dim>
8836          <dimIncrement>0x04</dimIncrement>
8837          <name>CC[%s]</name>
8838          <description>Capture/compare registers.</description>
8839          <addressOffset>0x540</addressOffset>
8840        </register>
8841
8842        <register>
8843          <name>POWER</name>
8844          <description>Peripheral power control.</description>
8845          <addressOffset>0xFFC</addressOffset>
8846          <fields>
8847            <field>
8848              <name>POWER</name>
8849              <description>Peripheral power control.</description>
8850              <lsb>0</lsb> <msb>0</msb>
8851              <enumeratedValues>
8852                <enumeratedValue>
8853                  <name>Disabled</name>
8854                  <description>Module power disabled.</description>
8855                  <value>0</value>
8856                </enumeratedValue>
8857                <enumeratedValue>
8858                  <name>Enabled</name>
8859                  <description>Module power enabled.</description>
8860                  <value>1</value>
8861                </enumeratedValue>
8862              </enumeratedValues>
8863            </field>
8864          </fields>
8865        </register>
8866
8867      </registers>
8868    </peripheral>
8869
8870    <peripheral derivedFrom="TIMER0">
8871      <name>TIMER1</name>
8872      <version>522</version>
8873      <description>Timer 1.</description>
8874      <baseAddress>0x40009000</baseAddress>
8875      <access>read-write</access>
8876      <interrupt>
8877        <name>TIMER1</name>
8878        <value>9</value>
8879      </interrupt>
8880    </peripheral>
8881
8882    <peripheral derivedFrom="TIMER0">
8883      <name>TIMER2</name>
8884      <version>522</version>
8885      <description>Timer 2.</description>
8886      <baseAddress>0x4000A000</baseAddress>
8887      <access>read-write</access>
8888      <interrupt>
8889        <name>TIMER2</name>
8890        <value>10</value>
8891      </interrupt>
8892    </peripheral>
8893
8894    <peripheral>
8895      <name>RTC0</name>
8896      <version>522</version>
8897      <description>Real time counter 0.</description>
8898      <baseAddress>0x4000B000</baseAddress>
8899      <groupName>RTC</groupName>
8900      <size>32</size>
8901      <access>read-write</access>
8902      <headerStructName>RTC</headerStructName>
8903
8904      <addressBlock>
8905        <offset>0</offset>
8906        <size>0x1000</size>
8907        <usage>registers</usage>
8908      </addressBlock>
8909
8910      <interrupt>
8911        <name>RTC0</name>
8912        <value>11</value>
8913      </interrupt>
8914
8915      <registers>
8916        <register>
8917          <name>TASKS_START</name>
8918          <description>Start RTC Counter.</description>
8919          <addressOffset>0x000</addressOffset>
8920          <access>write-only</access>
8921        </register>
8922        <register>
8923          <name>TASKS_STOP</name>
8924          <description>Stop RTC Counter.</description>
8925          <addressOffset>0x004</addressOffset>
8926          <access>write-only</access>
8927        </register>
8928        <register>
8929          <name>TASKS_CLEAR</name>
8930          <description>Clear RTC Counter.</description>
8931          <addressOffset>0x008</addressOffset>
8932          <access>write-only</access>
8933        </register>
8934        <register>
8935          <name>TASKS_TRIGOVRFLW</name>
8936          <description>Set COUNTER to 0xFFFFFFF0.</description>
8937          <addressOffset>0x00C</addressOffset>
8938          <access>write-only</access>
8939        </register>
8940
8941        <register>
8942          <name>EVENTS_TICK</name>
8943          <description>Event on COUNTER increment.</description>
8944          <addressOffset>0x100</addressOffset>
8945        </register>
8946        <register>
8947          <name>EVENTS_OVRFLW</name>
8948          <description>Event on COUNTER overflow.</description>
8949          <addressOffset>0x104</addressOffset>
8950        </register>
8951        <register>
8952          <dim>4</dim>
8953          <dimIncrement>0x04</dimIncrement>
8954          <name>EVENTS_COMPARE[%s]</name>
8955          <description>Compare event on CC[n] match.</description>
8956          <addressOffset>0x140</addressOffset>
8957        </register>
8958
8959        <register>
8960          <name>INTENSET</name>
8961          <description>Interrupt enable set register.</description>
8962          <addressOffset>0x304</addressOffset>
8963          <fields>
8964            <field>
8965              <name>TICK</name>
8966              <description>Enable interrupt on TICK event.</description>
8967              <lsb>0</lsb> <msb>0</msb>
8968              <enumeratedValues>
8969                <usage>read</usage>
8970                <enumeratedValue>
8971                  <name>Disabled</name>
8972                  <description>Interrupt disabled.</description>
8973                  <value>0</value>
8974                </enumeratedValue>
8975                <enumeratedValue>
8976                  <name>Enabled</name>
8977                  <description>Interrupt enabled.</description>
8978                  <value>1</value>
8979                </enumeratedValue>
8980              </enumeratedValues>
8981              <enumeratedValues>
8982                <usage>write</usage>
8983                <enumeratedValue>
8984                  <name>Set</name>
8985                  <description>Enable interrupt on write.</description>
8986                  <value>1</value>
8987                </enumeratedValue>
8988              </enumeratedValues>
8989            </field>
8990            <field>
8991              <name>OVRFLW</name>
8992              <description>Enable interrupt on OVRFLW event.</description>
8993              <lsb>1</lsb> <msb>1</msb>
8994              <enumeratedValues>
8995                <usage>read</usage>
8996                <enumeratedValue>
8997                  <name>Disabled</name>
8998                  <description>Interrupt disabled.</description>
8999                  <value>0</value>
9000                </enumeratedValue>
9001                <enumeratedValue>
9002                  <name>Enabled</name>
9003                  <description>Interrupt enabled.</description>
9004                  <value>1</value>
9005                </enumeratedValue>
9006              </enumeratedValues>
9007              <enumeratedValues>
9008                <usage>write</usage>
9009                <enumeratedValue>
9010                  <name>Set</name>
9011                  <description>Enable interrupt on write.</description>
9012                  <value>1</value>
9013                </enumeratedValue>
9014              </enumeratedValues>
9015            </field>
9016            <field>
9017              <name>COMPARE0</name>
9018              <description>Enable interrupt on COMPARE[0] event.</description>
9019              <lsb>16</lsb> <msb>16</msb>
9020              <enumeratedValues>
9021                <usage>read</usage>
9022                <enumeratedValue>
9023                  <name>Disabled</name>
9024                  <description>Interrupt disabled.</description>
9025                  <value>0</value>
9026                </enumeratedValue>
9027                <enumeratedValue>
9028                  <name>Enabled</name>
9029                  <description>Interrupt enabled.</description>
9030                  <value>1</value>
9031                </enumeratedValue>
9032              </enumeratedValues>
9033              <enumeratedValues>
9034                <usage>write</usage>
9035                <enumeratedValue>
9036                  <name>Set</name>
9037                  <description>Enable interrupt on write.</description>
9038                  <value>1</value>
9039                </enumeratedValue>
9040              </enumeratedValues>
9041            </field>
9042            <field>
9043              <name>COMPARE1</name>
9044              <description>Enable interrupt on COMPARE[1] event.</description>
9045              <lsb>17</lsb> <msb>17</msb>
9046              <enumeratedValues>
9047                <usage>read</usage>
9048                <enumeratedValue>
9049                  <name>Disabled</name>
9050                  <description>Interrupt disabled.</description>
9051                  <value>0</value>
9052                </enumeratedValue>
9053                <enumeratedValue>
9054                  <name>Enabled</name>
9055                  <description>Interrupt enabled.</description>
9056                  <value>1</value>
9057                </enumeratedValue>
9058              </enumeratedValues>
9059              <enumeratedValues>
9060                <usage>write</usage>
9061                <enumeratedValue>
9062                  <name>Set</name>
9063                  <description>Enable interrupt on write.</description>
9064                  <value>1</value>
9065                </enumeratedValue>
9066              </enumeratedValues>
9067            </field>
9068            <field>
9069              <name>COMPARE2</name>
9070              <description>Enable interrupt on COMPARE[2] event.</description>
9071              <lsb>18</lsb> <msb>18</msb>
9072              <enumeratedValues>
9073                <usage>read</usage>
9074                <enumeratedValue>
9075                  <name>Disabled</name>
9076                  <description>Interrupt disabled.</description>
9077                  <value>0</value>
9078                </enumeratedValue>
9079                <enumeratedValue>
9080                  <name>Enabled</name>
9081                  <description>Interrupt enabled.</description>
9082                  <value>1</value>
9083                </enumeratedValue>
9084              </enumeratedValues>
9085              <enumeratedValues>
9086                <usage>write</usage>
9087                <enumeratedValue>
9088                  <name>Set</name>
9089                  <description>Enable interrupt on write.</description>
9090                  <value>1</value>
9091                </enumeratedValue>
9092              </enumeratedValues>
9093            </field>
9094            <field>
9095              <name>COMPARE3</name>
9096              <description>Enable interrupt on COMPARE[3] event.</description>
9097              <lsb>19</lsb> <msb>19</msb>
9098              <enumeratedValues>
9099                <usage>read</usage>
9100                <enumeratedValue>
9101                  <name>Disabled</name>
9102                  <description>Interrupt disabled.</description>
9103                  <value>0</value>
9104                </enumeratedValue>
9105                <enumeratedValue>
9106                  <name>Enabled</name>
9107                  <description>Interrupt enabled.</description>
9108                  <value>1</value>
9109                </enumeratedValue>
9110              </enumeratedValues>
9111              <enumeratedValues>
9112                <usage>write</usage>
9113                <enumeratedValue>
9114                  <name>Set</name>
9115                  <description>Enable interrupt on write.</description>
9116                  <value>1</value>
9117                </enumeratedValue>
9118              </enumeratedValues>
9119            </field>
9120          </fields>
9121        </register>
9122        <register>
9123          <name>INTENCLR</name>
9124          <description>Interrupt enable clear register.</description>
9125          <addressOffset>0x308</addressOffset>
9126          <fields>
9127            <field>
9128              <name>TICK</name>
9129              <description>Disable interrupt on TICK event.</description>
9130              <lsb>0</lsb> <msb>0</msb>
9131              <enumeratedValues>
9132                <usage>read</usage>
9133                <enumeratedValue>
9134                  <name>Disabled</name>
9135                  <description>Interrupt disabled.</description>
9136                  <value>0</value>
9137                </enumeratedValue>
9138                <enumeratedValue>
9139                  <name>Enabled</name>
9140                  <description>Interrupt enabled.</description>
9141                  <value>1</value>
9142                </enumeratedValue>
9143              </enumeratedValues>
9144              <enumeratedValues>
9145                <usage>write</usage>
9146                <enumeratedValue>
9147                  <name>Clear</name>
9148                  <description>Disable interrupt on write.</description>
9149                  <value>1</value>
9150                </enumeratedValue>
9151              </enumeratedValues>
9152            </field>
9153            <field>
9154              <name>OVRFLW</name>
9155              <description>Disable interrupt on OVRFLW event.</description>
9156              <lsb>1</lsb> <msb>1</msb>
9157              <enumeratedValues>
9158                <usage>read</usage>
9159                <enumeratedValue>
9160                  <name>Disabled</name>
9161                  <description>Interrupt disabled.</description>
9162                  <value>0</value>
9163                </enumeratedValue>
9164                <enumeratedValue>
9165                  <name>Enabled</name>
9166                  <description>Interrupt enabled.</description>
9167                  <value>1</value>
9168                </enumeratedValue>
9169              </enumeratedValues>
9170              <enumeratedValues>
9171                <usage>write</usage>
9172                <enumeratedValue>
9173                  <name>Clear</name>
9174                  <description>Disable interrupt on write.</description>
9175                  <value>1</value>
9176                </enumeratedValue>
9177              </enumeratedValues>
9178            </field>
9179            <field>
9180              <name>COMPARE0</name>
9181              <description>Disable interrupt on COMPARE[0] event.</description>
9182              <lsb>16</lsb> <msb>16</msb>
9183              <enumeratedValues>
9184                <usage>read</usage>
9185                <enumeratedValue>
9186                  <name>Disabled</name>
9187                  <description>Interrupt disabled.</description>
9188                  <value>0</value>
9189                </enumeratedValue>
9190                <enumeratedValue>
9191                  <name>Enabled</name>
9192                  <description>Interrupt enabled.</description>
9193                  <value>1</value>
9194                </enumeratedValue>
9195              </enumeratedValues>
9196              <enumeratedValues>
9197                <usage>write</usage>
9198                <enumeratedValue>
9199                  <name>Clear</name>
9200                  <description>Disable interrupt on write.</description>
9201                  <value>1</value>
9202                </enumeratedValue>
9203              </enumeratedValues>
9204            </field>
9205            <field>
9206              <name>COMPARE1</name>
9207              <description>Disable interrupt on COMPARE[1] event.</description>
9208              <lsb>17</lsb> <msb>17</msb>
9209              <enumeratedValues>
9210                <usage>read</usage>
9211                <enumeratedValue>
9212                  <name>Disabled</name>
9213                  <description>Interrupt disabled.</description>
9214                  <value>0</value>
9215                </enumeratedValue>
9216                <enumeratedValue>
9217                  <name>Enabled</name>
9218                  <description>Interrupt enabled.</description>
9219                  <value>1</value>
9220                </enumeratedValue>
9221              </enumeratedValues>
9222              <enumeratedValues>
9223                <usage>write</usage>
9224                <enumeratedValue>
9225                  <name>Clear</name>
9226                  <description>Disable interrupt on write.</description>
9227                  <value>1</value>
9228                </enumeratedValue>
9229              </enumeratedValues>
9230            </field>
9231            <field>
9232              <name>COMPARE2</name>
9233              <description>Disable interrupt on COMPARE[2] event.</description>
9234              <lsb>18</lsb> <msb>18</msb>
9235              <enumeratedValues>
9236                <usage>read</usage>
9237                <enumeratedValue>
9238                  <name>Disabled</name>
9239                  <description>Interrupt disabled.</description>
9240                  <value>0</value>
9241                </enumeratedValue>
9242                <enumeratedValue>
9243                  <name>Enabled</name>
9244                  <description>Interrupt enabled.</description>
9245                  <value>1</value>
9246                </enumeratedValue>
9247              </enumeratedValues>
9248              <enumeratedValues>
9249                <usage>write</usage>
9250                <enumeratedValue>
9251                  <name>Clear</name>
9252                  <description>Disable interrupt on write.</description>
9253                  <value>1</value>
9254                </enumeratedValue>
9255              </enumeratedValues>
9256            </field>
9257            <field>
9258              <name>COMPARE3</name>
9259              <description>Disable interrupt on COMPARE[3] event.</description>
9260              <lsb>19</lsb> <msb>19</msb>
9261              <enumeratedValues>
9262                <usage>read</usage>
9263                <enumeratedValue>
9264                  <name>Disabled</name>
9265                  <description>Interrupt disabled.</description>
9266                  <value>0</value>
9267                </enumeratedValue>
9268                <enumeratedValue>
9269                  <name>Enabled</name>
9270                  <description>Interrupt enabled.</description>
9271                  <value>1</value>
9272                </enumeratedValue>
9273              </enumeratedValues>
9274              <enumeratedValues>
9275                <usage>write</usage>
9276                <enumeratedValue>
9277                  <name>Clear</name>
9278                  <description>Disable interrupt on write.</description>
9279                  <value>1</value>
9280                </enumeratedValue>
9281              </enumeratedValues>
9282            </field>
9283          </fields>
9284        </register>
9285
9286        <register>
9287          <name>EVTEN</name>
9288          <description>Configures event enable routing to PPI for each RTC event.</description>
9289          <addressOffset>0x340</addressOffset>
9290          <fields>
9291            <field>
9292              <name>TICK</name>
9293              <description>TICK event enable.</description>
9294              <lsb>0</lsb> <msb>0</msb>
9295              <enumeratedValues>
9296                <enumeratedValue>
9297                  <name>Disabled</name>
9298                  <description>Event disabled.</description>
9299                  <value>0</value>
9300                </enumeratedValue>
9301                <enumeratedValue>
9302                  <name>Enabled</name>
9303                  <description>Event enabled.</description>
9304                  <value>1</value>
9305                </enumeratedValue>
9306              </enumeratedValues>
9307            </field>
9308            <field>
9309              <name>OVRFLW</name>
9310              <description>OVRFLW event enable.</description>
9311              <lsb>1</lsb> <msb>1</msb>
9312              <enumeratedValues>
9313                <enumeratedValue>
9314                  <name>Disabled</name>
9315                  <description>Event disabled.</description>
9316                  <value>0</value>
9317                </enumeratedValue>
9318                <enumeratedValue>
9319                  <name>Enabled</name>
9320                  <description>Event enabled.</description>
9321                  <value>1</value>
9322                </enumeratedValue>
9323              </enumeratedValues>
9324            </field>
9325            <field>
9326              <name>COMPARE0</name>
9327              <description>COMPARE[0] event enable.</description>
9328              <lsb>16</lsb> <msb>16</msb>
9329              <enumeratedValues>
9330                <enumeratedValue>
9331                  <name>Disabled</name>
9332                  <description>Event disabled.</description>
9333                  <value>0</value>
9334                </enumeratedValue>
9335                <enumeratedValue>
9336                  <name>Enabled</name>
9337                  <description>Event enabled.</description>
9338                  <value>1</value>
9339                </enumeratedValue>
9340              </enumeratedValues>
9341            </field>
9342            <field>
9343              <name>COMPARE1</name>
9344              <description>COMPARE[1] event enable.</description>
9345              <lsb>17</lsb> <msb>17</msb>
9346              <enumeratedValues>
9347                <enumeratedValue>
9348                  <name>Disabled</name>
9349                  <description>Event disabled.</description>
9350                  <value>0</value>
9351                </enumeratedValue>
9352                <enumeratedValue>
9353                  <name>Enabled</name>
9354                  <description>Event enabled.</description>
9355                  <value>1</value>
9356                </enumeratedValue>
9357              </enumeratedValues>
9358            </field>
9359            <field>
9360              <name>COMPARE2</name>
9361              <description>COMPARE[2] event enable.</description>
9362              <lsb>18</lsb> <msb>18</msb>
9363              <enumeratedValues>
9364                <enumeratedValue>
9365                  <name>Disabled</name>
9366                  <description>Event disabled.</description>
9367                  <value>0</value>
9368                </enumeratedValue>
9369                <enumeratedValue>
9370                  <name>Enabled</name>
9371                  <description>Event enabled.</description>
9372                  <value>1</value>
9373                </enumeratedValue>
9374              </enumeratedValues>
9375            </field>
9376            <field>
9377              <name>COMPARE3</name>
9378              <description>COMPARE[3] event enable.</description>
9379              <lsb>19</lsb> <msb>19</msb>
9380              <enumeratedValues>
9381                <enumeratedValue>
9382                  <name>Disabled</name>
9383                  <description>Event disabled.</description>
9384                  <value>0</value>
9385                </enumeratedValue>
9386                <enumeratedValue>
9387                  <name>Enabled</name>
9388                  <description>Event enabled.</description>
9389                  <value>1</value>
9390                </enumeratedValue>
9391              </enumeratedValues>
9392            </field>
9393          </fields>
9394        </register>
9395        <register>
9396          <name>EVTENSET</name>
9397          <description>Enable events routing to PPI. The reading of this register gives the value of EVTEN.</description>
9398          <addressOffset>0x344</addressOffset>
9399          <fields>
9400            <field>
9401              <name>TICK</name>
9402              <description>Enable routing to PPI of TICK event.</description>
9403              <lsb>0</lsb> <msb>0</msb>
9404              <enumeratedValues>
9405                <usage>read</usage>
9406                <enumeratedValue>
9407                  <name>Disabled</name>
9408                  <description>Event disabled.</description>
9409                  <value>0</value>
9410                </enumeratedValue>
9411                <enumeratedValue>
9412                  <name>Enabled</name>
9413                  <description>Event enabled.</description>
9414                  <value>1</value>
9415                </enumeratedValue>
9416              </enumeratedValues>
9417              <enumeratedValues>
9418                <usage>write</usage>
9419                <enumeratedValue>
9420                  <name>Set</name>
9421                  <description>Enable event on write.</description>
9422                  <value>1</value>
9423                </enumeratedValue>
9424              </enumeratedValues>
9425            </field>
9426            <field>
9427              <name>OVRFLW</name>
9428              <description>Enable routing to PPI of OVRFLW event.</description>
9429              <lsb>1</lsb> <msb>1</msb>
9430              <enumeratedValues>
9431                <usage>read</usage>
9432                <enumeratedValue>
9433                  <name>Disabled</name>
9434                  <description>Event disabled.</description>
9435                  <value>0</value>
9436                </enumeratedValue>
9437                <enumeratedValue>
9438                  <name>Enabled</name>
9439                  <description>Event enabled.</description>
9440                  <value>1</value>
9441                </enumeratedValue>
9442              </enumeratedValues>
9443              <enumeratedValues>
9444                <usage>write</usage>
9445                <enumeratedValue>
9446                  <name>Set</name>
9447                  <description>Enable event on write.</description>
9448                  <value>1</value>
9449                </enumeratedValue>
9450              </enumeratedValues>
9451            </field>
9452            <field>
9453              <name>COMPARE0</name>
9454              <description>Enable routing to PPI of COMPARE[0] event.</description>
9455              <lsb>16</lsb> <msb>16</msb>
9456              <enumeratedValues>
9457                <usage>read</usage>
9458                <enumeratedValue>
9459                  <name>Disabled</name>
9460                  <description>Event disabled.</description>
9461                  <value>0</value>
9462                </enumeratedValue>
9463                <enumeratedValue>
9464                  <name>Enabled</name>
9465                  <description>Event enabled.</description>
9466                  <value>1</value>
9467                </enumeratedValue>
9468              </enumeratedValues>
9469              <enumeratedValues>
9470                <usage>write</usage>
9471                <enumeratedValue>
9472                  <name>Set</name>
9473                  <description>Enable event on write.</description>
9474                  <value>1</value>
9475                </enumeratedValue>
9476              </enumeratedValues>
9477            </field>
9478            <field>
9479              <name>COMPARE1</name>
9480              <description>Enable routing to PPI of COMPARE[1] event.</description>
9481              <lsb>17</lsb> <msb>17</msb>
9482              <enumeratedValues>
9483                <usage>read</usage>
9484                <enumeratedValue>
9485                  <name>Disabled</name>
9486                  <description>Event disabled.</description>
9487                  <value>0</value>
9488                </enumeratedValue>
9489                <enumeratedValue>
9490                  <name>Enabled</name>
9491                  <description>Event enabled.</description>
9492                  <value>1</value>
9493                </enumeratedValue>
9494              </enumeratedValues>
9495              <enumeratedValues>
9496                <usage>write</usage>
9497                <enumeratedValue>
9498                  <name>Set</name>
9499                  <description>Enable event on write.</description>
9500                  <value>1</value>
9501                </enumeratedValue>
9502              </enumeratedValues>
9503            </field>
9504            <field>
9505              <name>COMPARE2</name>
9506              <description>Enable routing to PPI of COMPARE[2] event.</description>
9507              <lsb>18</lsb> <msb>18</msb>
9508              <enumeratedValues>
9509                <usage>read</usage>
9510                <enumeratedValue>
9511                  <name>Disabled</name>
9512                  <description>Event disabled.</description>
9513                  <value>0</value>
9514                </enumeratedValue>
9515                <enumeratedValue>
9516                  <name>Enabled</name>
9517                  <description>Event enabled.</description>
9518                  <value>1</value>
9519                </enumeratedValue>
9520              </enumeratedValues>
9521              <enumeratedValues>
9522                <usage>write</usage>
9523                <enumeratedValue>
9524                  <name>Set</name>
9525                  <description>Enable event on write.</description>
9526                  <value>1</value>
9527                </enumeratedValue>
9528              </enumeratedValues>
9529            </field>
9530            <field>
9531              <name>COMPARE3</name>
9532              <description>Enable routing to PPI of COMPARE[3] event.</description>
9533              <lsb>19</lsb> <msb>19</msb>
9534              <enumeratedValues>
9535                <usage>read</usage>
9536                <enumeratedValue>
9537                  <name>Disabled</name>
9538                  <description>Event disabled.</description>
9539                  <value>0</value>
9540                </enumeratedValue>
9541                <enumeratedValue>
9542                  <name>Enabled</name>
9543                  <description>Event enabled.</description>
9544                  <value>1</value>
9545                </enumeratedValue>
9546              </enumeratedValues>
9547              <enumeratedValues>
9548                <usage>write</usage>
9549                <enumeratedValue>
9550                  <name>Set</name>
9551                  <description>Enable event on write.</description>
9552                  <value>1</value>
9553                </enumeratedValue>
9554              </enumeratedValues>
9555            </field>
9556          </fields>
9557        </register>
9558        <register>
9559          <name>EVTENCLR</name>
9560          <description>Disable events routing to PPI. The reading of this register gives the value of EVTEN.</description>
9561          <addressOffset>0x348</addressOffset>
9562          <fields>
9563            <field>
9564              <name>TICK</name>
9565              <description>Disable routing to PPI of TICK event.</description>
9566              <lsb>0</lsb> <msb>0</msb>
9567              <enumeratedValues>
9568                <usage>read</usage>
9569                <enumeratedValue>
9570                  <name>Disabled</name>
9571                  <description>Event disabled.</description>
9572                  <value>0</value>
9573                </enumeratedValue>
9574                <enumeratedValue>
9575                  <name>Enabled</name>
9576                  <description>Event enabled.</description>
9577                  <value>1</value>
9578                </enumeratedValue>
9579              </enumeratedValues>
9580              <enumeratedValues>
9581                <usage>write</usage>
9582                <enumeratedValue>
9583                  <name>Clear</name>
9584                  <description>Disable event on write.</description>
9585                  <value>1</value>
9586                </enumeratedValue>
9587              </enumeratedValues>
9588            </field>
9589            <field>
9590              <name>OVRFLW</name>
9591              <description>Disable routing to PPI of OVRFLW event.</description>
9592              <lsb>1</lsb> <msb>1</msb>
9593              <enumeratedValues>
9594                <usage>read</usage>
9595                <enumeratedValue>
9596                  <name>Disabled</name>
9597                  <description>Event disabled.</description>
9598                  <value>0</value>
9599                </enumeratedValue>
9600                <enumeratedValue>
9601                  <name>Enabled</name>
9602                  <description>Event enabled.</description>
9603                  <value>1</value>
9604                </enumeratedValue>
9605              </enumeratedValues>
9606              <enumeratedValues>
9607                <usage>write</usage>
9608                <enumeratedValue>
9609                  <name>Clear</name>
9610                  <description>Disable event on write.</description>
9611                  <value>1</value>
9612                </enumeratedValue>
9613              </enumeratedValues>
9614            </field>
9615            <field>
9616              <name>COMPARE0</name>
9617              <description>Disable routing to PPI of COMPARE[0] event.</description>
9618              <lsb>16</lsb> <msb>16</msb>
9619              <enumeratedValues>
9620                <usage>read</usage>
9621                <enumeratedValue>
9622                  <name>Disabled</name>
9623                  <description>Event disabled.</description>
9624                  <value>0</value>
9625                </enumeratedValue>
9626                <enumeratedValue>
9627                  <name>Enabled</name>
9628                  <description>Event enabled.</description>
9629                  <value>1</value>
9630                </enumeratedValue>
9631              </enumeratedValues>
9632              <enumeratedValues>
9633                <usage>write</usage>
9634                <enumeratedValue>
9635                  <name>Clear</name>
9636                  <description>Disable event on write.</description>
9637                  <value>1</value>
9638                </enumeratedValue>
9639              </enumeratedValues>
9640            </field>
9641            <field>
9642              <name>COMPARE1</name>
9643              <description>Disable routing to PPI of COMPARE[1] event.</description>
9644              <lsb>17</lsb> <msb>17</msb>
9645              <enumeratedValues>
9646                <usage>read</usage>
9647                <enumeratedValue>
9648                  <name>Disabled</name>
9649                  <description>Event disabled.</description>
9650                  <value>0</value>
9651                </enumeratedValue>
9652                <enumeratedValue>
9653                  <name>Enabled</name>
9654                  <description>Event enabled.</description>
9655                  <value>1</value>
9656                </enumeratedValue>
9657              </enumeratedValues>
9658              <enumeratedValues>
9659                <usage>write</usage>
9660                <enumeratedValue>
9661                  <name>Clear</name>
9662                  <description>Disable event on write.</description>
9663                  <value>1</value>
9664                </enumeratedValue>
9665              </enumeratedValues>
9666            </field>
9667            <field>
9668              <name>COMPARE2</name>
9669              <description>Disable routing to PPI of COMPARE[2] event.</description>
9670              <lsb>18</lsb> <msb>18</msb>
9671              <enumeratedValues>
9672                <usage>read</usage>
9673                <enumeratedValue>
9674                  <name>Disabled</name>
9675                  <description>Event disabled.</description>
9676                  <value>0</value>
9677                </enumeratedValue>
9678                <enumeratedValue>
9679                  <name>Enabled</name>
9680                  <description>Event enabled.</description>
9681                  <value>1</value>
9682                </enumeratedValue>
9683              </enumeratedValues>
9684              <enumeratedValues>
9685                <usage>write</usage>
9686                <enumeratedValue>
9687                  <name>Clear</name>
9688                  <description>Disable event on write.</description>
9689                  <value>1</value>
9690                </enumeratedValue>
9691              </enumeratedValues>
9692            </field>
9693            <field>
9694              <name>COMPARE3</name>
9695              <description>Disable routing to PPI of COMPARE[3] event.</description>
9696              <lsb>19</lsb> <msb>19</msb>
9697              <enumeratedValues>
9698                <usage>read</usage>
9699                <enumeratedValue>
9700                  <name>Disabled</name>
9701                  <description>Event disabled.</description>
9702                  <value>0</value>
9703                </enumeratedValue>
9704                <enumeratedValue>
9705                  <name>Enabled</name>
9706                  <description>Event enabled.</description>
9707                  <value>1</value>
9708                </enumeratedValue>
9709              </enumeratedValues>
9710              <enumeratedValues>
9711                <usage>write</usage>
9712                <enumeratedValue>
9713                  <name>Clear</name>
9714                  <description>Disable event on write.</description>
9715                  <value>1</value>
9716                </enumeratedValue>
9717              </enumeratedValues>
9718            </field>
9719          </fields>
9720        </register>
9721
9722        <register>
9723          <name>COUNTER</name>
9724          <description>Current COUNTER value.</description>
9725          <addressOffset>0x504</addressOffset>
9726          <access>read-only</access>
9727          <fields>
9728            <field>
9729              <name>COUNTER</name>
9730              <description>Counter value.</description>
9731              <lsb>0</lsb> <msb>23</msb>
9732            </field>
9733          </fields>
9734        </register>
9735
9736        <register>
9737          <name>PRESCALER</name>
9738          <description>12-bit prescaler for COUNTER frequency (32768/(PRESCALER+1)). Must be written when RTC is STOPed.</description>
9739          <addressOffset>0x508</addressOffset>
9740          <fields>
9741            <field>
9742              <name>PRESCALER</name>
9743              <description>RTC PRESCALER value.</description>
9744              <lsb>0</lsb> <msb>11</msb>
9745            </field>
9746          </fields>
9747        </register>
9748
9749        <register>
9750          <dim>4</dim>
9751          <dimIncrement>0x04</dimIncrement>
9752          <name>CC[%s]</name>
9753          <description>Capture/compare registers.</description>
9754          <addressOffset>0x540</addressOffset>
9755          <fields>
9756            <field>
9757              <name>COMPARE</name>
9758              <description>Compare value.</description>
9759              <lsb>0</lsb> <msb>23</msb>
9760            </field>
9761          </fields>
9762        </register>
9763
9764        <register>
9765          <name>POWER</name>
9766          <description>Peripheral power control.</description>
9767          <addressOffset>0xFFC</addressOffset>
9768          <fields>
9769            <field>
9770              <name>POWER</name>
9771              <description>Peripheral power control.</description>
9772              <lsb>0</lsb> <msb>0</msb>
9773              <enumeratedValues>
9774                <enumeratedValue>
9775                  <name>Disabled</name>
9776                  <description>Module power disabled.</description>
9777                  <value>0</value>
9778                </enumeratedValue>
9779                <enumeratedValue>
9780                  <name>Enabled</name>
9781                  <description>Module power enabled.</description>
9782                  <value>1</value>
9783                </enumeratedValue>
9784              </enumeratedValues>
9785            </field>
9786          </fields>
9787        </register>
9788
9789      </registers>
9790    </peripheral>
9791
9792    <peripheral>
9793      <name>TEMP</name>
9794      <version>522</version>
9795      <description>Temperature Sensor.</description>
9796      <groupName>TEMP</groupName>
9797      <baseAddress>0x4000C000</baseAddress>
9798      <size>32</size>
9799      <access>read-write</access>
9800
9801      <addressBlock>
9802        <offset>0</offset>
9803        <size>0x1000</size>
9804        <usage>registers</usage>
9805      </addressBlock>
9806
9807      <interrupt>
9808        <name>TEMP</name>
9809        <value>12</value>
9810      </interrupt>
9811
9812      <registers>
9813        <register>
9814          <name>TASKS_START</name>
9815          <description>Start temperature measurement.</description>
9816          <addressOffset>0x000</addressOffset>
9817          <access>write-only</access>
9818        </register>
9819        <register>
9820          <name>TASKS_STOP</name>
9821          <description>Stop temperature measurement.</description>
9822          <addressOffset>0x004</addressOffset>
9823          <access>write-only</access>
9824        </register>
9825
9826        <register>
9827          <name>EVENTS_DATARDY</name>
9828          <description>Temperature measurement complete, data ready event.</description>
9829          <addressOffset>0x100</addressOffset>
9830        </register>
9831
9832        <register>
9833          <name>INTENSET</name>
9834          <description>Interrupt enable set register.</description>
9835          <addressOffset>0x304</addressOffset>
9836          <fields>
9837            <field>
9838              <name>DATARDY</name>
9839              <description>Enable interrupt on DATARDY event.</description>
9840              <lsb>0</lsb> <msb>0</msb>
9841              <enumeratedValues>
9842                <usage>read</usage>
9843                <enumeratedValue>
9844                  <name>Disabled</name>
9845                  <description>Interrupt disabled.</description>
9846                  <value>0</value>
9847                </enumeratedValue>
9848                <enumeratedValue>
9849                  <name>Enabled</name>
9850                  <description>Interrupt enabled.</description>
9851                  <value>1</value>
9852                </enumeratedValue>
9853              </enumeratedValues>
9854              <enumeratedValues>
9855                <usage>write</usage>
9856                <enumeratedValue>
9857                  <name>Set</name>
9858                  <description>Enable interrupt on write.</description>
9859                  <value>1</value>
9860                </enumeratedValue>
9861              </enumeratedValues>
9862            </field>
9863          </fields>
9864        </register>
9865        <register>
9866          <name>INTENCLR</name>
9867          <description>Interrupt enable clear register.</description>
9868          <addressOffset>0x308</addressOffset>
9869          <fields>
9870            <field>
9871              <name>DATARDY</name>
9872              <description>Disable interrupt on DATARDY event.</description>
9873              <lsb>0</lsb> <msb>0</msb>
9874              <enumeratedValues>
9875                <usage>read</usage>
9876                <enumeratedValue>
9877                  <name>Disabled</name>
9878                  <description>Interrupt disabled.</description>
9879                  <value>0</value>
9880                </enumeratedValue>
9881                <enumeratedValue>
9882                  <name>Enabled</name>
9883                  <description>Interrupt enabled.</description>
9884                  <value>1</value>
9885                </enumeratedValue>
9886              </enumeratedValues>
9887              <enumeratedValues>
9888                <usage>write</usage>
9889                <enumeratedValue>
9890                  <name>Clear</name>
9891                  <description>Disable interrupt on write.</description>
9892                  <value>1</value>
9893                </enumeratedValue>
9894              </enumeratedValues>
9895            </field>
9896          </fields>
9897        </register>
9898
9899        <register>
9900          <name>TEMP</name>
9901          <description>Die temperature in degC, 2's complement format, 0.25 degC pecision.</description>
9902          <addressOffset>0x508</addressOffset>
9903          <access>read-only</access>
9904          <dataType>int32_t</dataType>
9905        </register>
9906
9907        <register>
9908          <name>POWER</name>
9909          <description>Peripheral power control.</description>
9910          <addressOffset>0xFFC</addressOffset>
9911          <fields>
9912            <field>
9913              <name>POWER</name>
9914              <description>Peripheral power control.</description>
9915              <lsb>0</lsb> <msb>0</msb>
9916              <enumeratedValues>
9917                <enumeratedValue>
9918                  <name>Disabled</name>
9919                  <description>Module power disabled.</description>
9920                  <value>0</value>
9921                </enumeratedValue>
9922                <enumeratedValue>
9923                  <name>Enabled</name>
9924                  <description>Module power enabled.</description>
9925                  <value>1</value>
9926                </enumeratedValue>
9927              </enumeratedValues>
9928            </field>
9929          </fields>
9930        </register>
9931
9932      </registers>
9933    </peripheral>
9934
9935    <peripheral>
9936      <name>RNG</name>
9937      <version>522</version>
9938      <description>Random Number Generator.</description>
9939      <baseAddress>0x4000D000</baseAddress>
9940      <groupName>RNG</groupName>
9941      <size>32</size>
9942      <access>read-write</access>
9943
9944      <addressBlock>
9945        <offset>0</offset>
9946        <size>0x1000</size>
9947        <usage>registers</usage>
9948      </addressBlock>
9949
9950      <interrupt>
9951        <name>RNG</name>
9952        <value>13</value>
9953      </interrupt>
9954
9955      <registers>
9956        <register>
9957          <name>TASKS_START</name>
9958          <description>Start the random number generator.</description>
9959          <addressOffset>0x000</addressOffset>
9960          <access>write-only</access>
9961        </register>
9962        <register>
9963          <name>TASKS_STOP</name>
9964          <description>Stop the random number generator.</description>
9965          <addressOffset>0x004</addressOffset>
9966          <access>write-only</access>
9967        </register>
9968
9969        <register>
9970          <name>EVENTS_VALRDY</name>
9971          <description>New random number generated and written to VALUE register.</description>
9972          <addressOffset>0x100</addressOffset>
9973        </register>
9974
9975        <register>
9976          <name>SHORTS</name>
9977          <description>Shortcuts for the RNG.</description>
9978          <addressOffset>0x200</addressOffset>
9979          <fields>
9980            <field>
9981              <name>VALRDY_STOP</name>
9982              <description>Shortcut between VALRDY event and STOP task.</description>
9983              <lsb>0</lsb> <msb>0</msb>
9984              <enumeratedValues>
9985                <enumeratedValue>
9986                  <name>Disabled</name>
9987                  <description>Shortcut disabled.</description>
9988                  <value>0</value>
9989                </enumeratedValue>
9990                <enumeratedValue>
9991                  <name>Enabled</name>
9992                  <description>Shortcut enabled.</description>
9993                  <value>1</value>
9994                </enumeratedValue>
9995              </enumeratedValues>
9996            </field>
9997          </fields>
9998        </register>
9999
10000        <register>
10001          <name>INTENSET</name>
10002          <description>Interrupt enable set register</description>
10003          <addressOffset>0x304</addressOffset>
10004          <fields>
10005            <field>
10006              <name>VALRDY</name>
10007              <description>Enable interrupt on VALRDY event.</description>
10008              <lsb>0</lsb> <msb>0</msb>
10009              <enumeratedValues>
10010                <usage>read</usage>
10011                <enumeratedValue>
10012                  <name>Disabled</name>
10013                  <description>Interrupt disabled.</description>
10014                  <value>0</value>
10015                </enumeratedValue>
10016                <enumeratedValue>
10017                  <name>Enabled</name>
10018                  <description>Interrupt enabled.</description>
10019                  <value>1</value>
10020                </enumeratedValue>
10021              </enumeratedValues>
10022              <enumeratedValues>
10023                <usage>write</usage>
10024                <enumeratedValue>
10025                  <name>Set</name>
10026                  <description>Enable interrupt on write.</description>
10027                  <value>1</value>
10028                </enumeratedValue>
10029              </enumeratedValues>
10030            </field>
10031          </fields>
10032        </register>
10033        <register>
10034          <name>INTENCLR</name>
10035          <description>Interrupt enable clear register</description>
10036          <addressOffset>0x308</addressOffset>
10037          <fields>
10038            <field>
10039              <name>VALRDY</name>
10040              <description>Disable interrupt on VALRDY event.</description>
10041              <lsb>0</lsb> <msb>0</msb>
10042              <enumeratedValues>
10043                <usage>read</usage>
10044                <enumeratedValue>
10045                  <name>Disabled</name>
10046                  <description>Interrupt disabled.</description>
10047                  <value>0</value>
10048                </enumeratedValue>
10049                <enumeratedValue>
10050                  <name>Enabled</name>
10051                  <description>Interrupt enabled.</description>
10052                  <value>1</value>
10053                </enumeratedValue>
10054              </enumeratedValues>
10055              <enumeratedValues>
10056                <usage>write</usage>
10057                <enumeratedValue>
10058                  <name>Clear</name>
10059                  <description>Disable interrupt on write.</description>
10060                  <value>1</value>
10061                </enumeratedValue>
10062              </enumeratedValues>
10063            </field>
10064          </fields>
10065        </register>
10066
10067        <register>
10068          <name>CONFIG</name>
10069          <description>Configuration register.</description>
10070          <addressOffset>0x504</addressOffset>
10071          <fields>
10072            <field>
10073              <name>DERCEN</name>
10074              <description>Digital error correction enable.</description>
10075              <lsb>0</lsb> <msb>0</msb>
10076              <enumeratedValues>
10077                <enumeratedValue>
10078                  <name>Disabled</name>
10079                  <description>Digital error correction disabled.</description>
10080                  <value>0</value>
10081                </enumeratedValue>
10082                <enumeratedValue>
10083                  <name>Enabled</name>
10084                  <description>Digital error correction enabled.</description>
10085                  <value>1</value>
10086                </enumeratedValue>
10087              </enumeratedValues>
10088            </field>
10089          </fields>
10090        </register>
10091
10092        <register>
10093          <name>VALUE</name>
10094          <description>RNG random number.</description>
10095          <addressOffset>0x508</addressOffset>
10096          <access>read-only</access>
10097          <fields>
10098            <field>
10099              <name>VALUE</name>
10100              <description>Generated random number.</description>
10101              <lsb>0</lsb> <msb>7</msb>
10102            </field>
10103          </fields>
10104        </register>
10105
10106        <register>
10107          <name>POWER</name>
10108          <description>Peripheral power control.</description>
10109          <addressOffset>0xFFC</addressOffset>
10110          <fields>
10111            <field>
10112              <name>POWER</name>
10113              <description>Peripheral power control.</description>
10114              <lsb>0</lsb> <msb>0</msb>
10115              <enumeratedValues>
10116                <enumeratedValue>
10117                  <name>Disabled</name>
10118                  <description>Module power disabled.</description>
10119                  <value>0</value>
10120                </enumeratedValue>
10121                <enumeratedValue>
10122                  <name>Enabled</name>
10123                  <description>Module power enabled.</description>
10124                  <value>1</value>
10125                </enumeratedValue>
10126              </enumeratedValues>
10127            </field>
10128          </fields>
10129        </register>
10130
10131      </registers>
10132    </peripheral>
10133
10134    <peripheral>
10135      <name>ECB</name>
10136      <version>522</version>
10137      <description>AES ECB Mode Encryption.</description>
10138      <baseAddress>0x4000E000</baseAddress>
10139      <groupName>ECB</groupName>
10140      <size>32</size>
10141      <access>read-write</access>
10142
10143      <addressBlock>
10144        <offset>0</offset>
10145        <size>0x1000</size>
10146        <usage>registers</usage>
10147      </addressBlock>
10148
10149      <interrupt>
10150        <name>ECB</name>
10151        <value>14</value>
10152      </interrupt>
10153
10154      <registers>
10155        <register>
10156          <name>TASKS_STARTECB</name>
10157          <description>Start ECB block encrypt. If a crypto operation is running, this will not initiate a new encryption and the ERRORECB event will be triggered.</description>
10158          <addressOffset>0x000</addressOffset>
10159          <access>write-only</access>
10160        </register>
10161        <register>
10162          <name>TASKS_STOPECB</name>
10163          <description>Stop current ECB encryption. If a crypto operation is running, this will will trigger the ERRORECB event.</description>
10164          <addressOffset>0x004</addressOffset>
10165          <access>write-only</access>
10166        </register>
10167
10168        <register>
10169          <name>EVENTS_ENDECB</name>
10170          <description>ECB block encrypt complete.</description>
10171          <addressOffset>0x100</addressOffset>
10172        </register>
10173        <register>
10174          <name>EVENTS_ERRORECB</name>
10175          <description>ECB block encrypt aborted due to a STOPECB task or due to an error.</description>
10176          <addressOffset>0x104</addressOffset>
10177        </register>
10178
10179        <register>
10180          <name>INTENSET</name>
10181          <description>Interrupt enable set register.</description>
10182          <addressOffset>0x304</addressOffset>
10183          <fields>
10184            <field>
10185              <name>ENDECB</name>
10186              <description>Enable interrupt on ENDECB event.</description>
10187              <lsb>0</lsb> <msb>0</msb>
10188              <enumeratedValues>
10189                <usage>read</usage>
10190                <enumeratedValue>
10191                  <name>Disabled</name>
10192                  <description>Interrupt disabled.</description>
10193                  <value>0</value>
10194                </enumeratedValue>
10195                <enumeratedValue>
10196                  <name>Enabled</name>
10197                  <description>Interrupt enabled.</description>
10198                  <value>1</value>
10199                </enumeratedValue>
10200              </enumeratedValues>
10201              <enumeratedValues>
10202                <usage>write</usage>
10203                <enumeratedValue>
10204                  <name>Set</name>
10205                  <description>Enable interrupt on write.</description>
10206                  <value>1</value>
10207                </enumeratedValue>
10208              </enumeratedValues>
10209            </field>
10210            <field>
10211              <name>ERRORECB</name>
10212              <description>Enable interrupt on ERRORECB event.</description>
10213              <lsb>1</lsb> <msb>1</msb>
10214              <enumeratedValues>
10215                <usage>read</usage>
10216                <enumeratedValue>
10217                  <name>Disabled</name>
10218                  <description>Interrupt disabled.</description>
10219                  <value>0</value>
10220                </enumeratedValue>
10221                <enumeratedValue>
10222                  <name>Enabled</name>
10223                  <description>Interrupt enabled.</description>
10224                  <value>1</value>
10225                </enumeratedValue>
10226              </enumeratedValues>
10227              <enumeratedValues>
10228                <usage>write</usage>
10229                <enumeratedValue>
10230                  <name>Set</name>
10231                  <description>Enable interrupt on write.</description>
10232                  <value>1</value>
10233                </enumeratedValue>
10234              </enumeratedValues>
10235            </field>
10236          </fields>
10237        </register>
10238        <register>
10239          <name>INTENCLR</name>
10240          <description>Interrupt enable clear register.</description>
10241          <addressOffset>0x308</addressOffset>
10242          <fields>
10243            <field>
10244              <name>ENDECB</name>
10245              <description>Disable interrupt on ENDECB event.</description>
10246              <lsb>0</lsb> <msb>0</msb>
10247              <enumeratedValues>
10248                <usage>read</usage>
10249                <enumeratedValue>
10250                  <name>Disabled</name>
10251                  <description>Interrupt disabled.</description>
10252                  <value>0</value>
10253                </enumeratedValue>
10254                <enumeratedValue>
10255                  <name>Enabled</name>
10256                  <description>Interrupt enabled.</description>
10257                  <value>1</value>
10258                </enumeratedValue>
10259              </enumeratedValues>
10260              <enumeratedValues>
10261                <usage>write</usage>
10262                <enumeratedValue>
10263                  <name>Clear</name>
10264                  <description>Disable interrupt on write.</description>
10265                  <value>1</value>
10266                </enumeratedValue>
10267              </enumeratedValues>
10268            </field>
10269            <field>
10270              <name>ERRORECB</name>
10271              <description>Disable interrupt on ERRORECB event.</description>
10272              <lsb>1</lsb> <msb>1</msb>
10273              <enumeratedValues>
10274                <usage>read</usage>
10275                <enumeratedValue>
10276                  <name>Disabled</name>
10277                  <description>Interrupt disabled.</description>
10278                  <value>0</value>
10279                </enumeratedValue>
10280                <enumeratedValue>
10281                  <name>Enabled</name>
10282                  <description>Interrupt enabled.</description>
10283                  <value>1</value>
10284                </enumeratedValue>
10285              </enumeratedValues>
10286              <enumeratedValues>
10287                <usage>write</usage>
10288                <enumeratedValue>
10289                  <name>Clear</name>
10290                  <description>Disable interrupt on write.</description>
10291                  <value>1</value>
10292                </enumeratedValue>
10293              </enumeratedValues>
10294            </field>
10295          </fields>
10296        </register>
10297
10298        <register>
10299          <name>ECBDATAPTR</name>
10300          <description>ECB block encrypt memory pointer.</description>
10301          <addressOffset>0x504</addressOffset>
10302        </register>
10303
10304        <register>
10305          <name>POWER</name>
10306          <description>Peripheral power control.</description>
10307          <addressOffset>0xFFC</addressOffset>
10308          <fields>
10309            <field>
10310              <name>POWER</name>
10311              <description>Peripheral power control.</description>
10312              <lsb>0</lsb> <msb>0</msb>
10313              <enumeratedValues>
10314                <enumeratedValue>
10315                  <name>Disabled</name>
10316                  <description>Module power disabled.</description>
10317                  <value>0</value>
10318                </enumeratedValue>
10319                <enumeratedValue>
10320                  <name>Enabled</name>
10321                  <description>Module power enabled.</description>
10322                  <value>1</value>
10323                </enumeratedValue>
10324              </enumeratedValues>
10325            </field>
10326          </fields>
10327        </register>
10328
10329      </registers>
10330    </peripheral>
10331
10332    <peripheral>
10333      <name>AAR</name>
10334      <version>522</version>
10335      <description>Accelerated Address Resolver.</description>
10336      <baseAddress>0x4000F000</baseAddress>
10337      <groupName>AAR</groupName>
10338      <size>32</size>
10339      <access>read-write</access>
10340
10341      <addressBlock>
10342        <offset>0</offset>
10343        <size>0x1000</size>
10344        <usage>registers</usage>
10345      </addressBlock>
10346
10347      <interrupt>
10348        <name>CCM_AAR</name>
10349        <value>15</value>
10350      </interrupt>
10351
10352      <registers>
10353        <register>
10354          <name>TASKS_START</name>
10355          <description>Start resolving addresses based on IRKs specified in the IRK data structure.</description>
10356          <addressOffset>0x000</addressOffset>
10357          <access>write-only</access>
10358        </register>
10359        <register>
10360          <name>TASKS_STOP</name>
10361          <description>Stop resolving addresses.</description>
10362          <addressOffset>0x008</addressOffset>
10363          <access>write-only</access>
10364        </register>
10365
10366        <register>
10367          <name>EVENTS_END</name>
10368          <description>Address resolution procedure completed.</description>
10369          <addressOffset>0x100</addressOffset>
10370        </register>
10371        <register>
10372          <name>EVENTS_RESOLVED</name>
10373          <description>Address resolved.</description>
10374          <addressOffset>0x104</addressOffset>
10375        </register>
10376        <register>
10377          <name>EVENTS_NOTRESOLVED</name>
10378          <description>Address not resolved.</description>
10379          <addressOffset>0x108</addressOffset>
10380        </register>
10381
10382
10383        <register>
10384          <name>INTENSET</name>
10385          <description>Interrupt enable set register.</description>
10386          <addressOffset>0x304</addressOffset>
10387          <fields>
10388            <field>
10389              <name>END</name>
10390              <description>Enable interrupt on END event.</description>
10391              <lsb>0</lsb> <msb>0</msb>
10392              <enumeratedValues>
10393                <usage>read</usage>
10394                <enumeratedValue>
10395                  <name>Disabled</name>
10396                  <description>Interrupt disabled.</description>
10397                  <value>0</value>
10398                </enumeratedValue>
10399                <enumeratedValue>
10400                  <name>Enabled</name>
10401                  <description>Interrupt enabled.</description>
10402                  <value>1</value>
10403                </enumeratedValue>
10404              </enumeratedValues>
10405              <enumeratedValues>
10406                <usage>write</usage>
10407                <enumeratedValue>
10408                  <name>Set</name>
10409                  <description>Enable interrupt on write.</description>
10410                  <value>1</value>
10411                </enumeratedValue>
10412              </enumeratedValues>
10413            </field>
10414            <field>
10415              <name>RESOLVED</name>
10416              <description>Enable interrupt on RESOLVED event.</description>
10417              <lsb>1</lsb> <msb>1</msb>
10418              <enumeratedValues>
10419                <usage>read</usage>
10420                <enumeratedValue>
10421                  <name>Disabled</name>
10422                  <description>Interrupt disabled.</description>
10423                  <value>0</value>
10424                </enumeratedValue>
10425                <enumeratedValue>
10426                  <name>Enabled</name>
10427                  <description>Interrupt enabled.</description>
10428                  <value>1</value>
10429                </enumeratedValue>
10430              </enumeratedValues>
10431              <enumeratedValues>
10432                <usage>write</usage>
10433                <enumeratedValue>
10434                  <name>Set</name>
10435                  <description>Enable interrupt on write.</description>
10436                  <value>1</value>
10437                </enumeratedValue>
10438              </enumeratedValues>
10439            </field>
10440            <field>
10441              <name>NOTRESOLVED</name>
10442              <description>Enable interrupt on NOTRESOLVED event.</description>
10443              <lsb>2</lsb> <msb>2</msb>
10444              <enumeratedValues>
10445                <usage>read</usage>
10446                <enumeratedValue>
10447                  <name>Disabled</name>
10448                  <description>Interrupt disabled.</description>
10449                  <value>0</value>
10450                </enumeratedValue>
10451                <enumeratedValue>
10452                  <name>Enabled</name>
10453                  <description>Interrupt enabled.</description>
10454                  <value>1</value>
10455                </enumeratedValue>
10456              </enumeratedValues>
10457              <enumeratedValues>
10458                <usage>write</usage>
10459                <enumeratedValue>
10460                  <name>Set</name>
10461                  <description>Enable interrupt on write.</description>
10462                  <value>1</value>
10463                </enumeratedValue>
10464              </enumeratedValues>
10465            </field>
10466          </fields>
10467        </register>
10468        <register>
10469          <name>INTENCLR</name>
10470          <description>Interrupt enable clear register.</description>
10471          <addressOffset>0x308</addressOffset>
10472          <fields>
10473            <field>
10474              <name>END</name>
10475              <description>Disable interrupt on ENDKSGEN event.</description>
10476              <lsb>0</lsb> <msb>0</msb>
10477              <enumeratedValues>
10478                <usage>read</usage>
10479                <enumeratedValue>
10480                  <name>Disabled</name>
10481                  <description>Interrupt disabled.</description>
10482                  <value>0</value>
10483                </enumeratedValue>
10484                <enumeratedValue>
10485                  <name>Enabled</name>
10486                  <description>Interrupt enabled.</description>
10487                  <value>1</value>
10488                </enumeratedValue>
10489              </enumeratedValues>
10490              <enumeratedValues>
10491                <usage>write</usage>
10492                <enumeratedValue>
10493                  <name>Clear</name>
10494                  <description>Disable interrupt on write.</description>
10495                  <value>1</value>
10496                </enumeratedValue>
10497              </enumeratedValues>
10498            </field>
10499            <field>
10500              <name>RESOLVED</name>
10501              <description>Disable interrupt on RESOLVED event.</description>
10502              <lsb>1</lsb> <msb>1</msb>
10503              <enumeratedValues>
10504                <usage>read</usage>
10505                <enumeratedValue>
10506                  <name>Disabled</name>
10507                  <description>Interrupt disabled.</description>
10508                  <value>0</value>
10509                </enumeratedValue>
10510                <enumeratedValue>
10511                  <name>Enabled</name>
10512                  <description>Interrupt enabled.</description>
10513                  <value>1</value>
10514                </enumeratedValue>
10515              </enumeratedValues>
10516              <enumeratedValues>
10517                <usage>write</usage>
10518                <enumeratedValue>
10519                  <name>Clear</name>
10520                  <description>Disable interrupt on write.</description>
10521                  <value>1</value>
10522                </enumeratedValue>
10523              </enumeratedValues>
10524            </field>
10525            <field>
10526              <name>NOTRESOLVED</name>
10527              <description>Disable interrupt on NOTRESOLVED event.</description>
10528              <lsb>2</lsb> <msb>2</msb>
10529              <enumeratedValues>
10530                <usage>read</usage>
10531                <enumeratedValue>
10532                  <name>Disabled</name>
10533                  <description>Interrupt disabled.</description>
10534                  <value>0</value>
10535                </enumeratedValue>
10536                <enumeratedValue>
10537                  <name>Enabled</name>
10538                  <description>Interrupt enabled.</description>
10539                  <value>1</value>
10540                </enumeratedValue>
10541              </enumeratedValues>
10542              <enumeratedValues>
10543                <usage>write</usage>
10544                <enumeratedValue>
10545                  <name>Clear</name>
10546                  <description>Disable interrupt on write.</description>
10547                  <value>1</value>
10548                </enumeratedValue>
10549              </enumeratedValues>
10550            </field>
10551          </fields>
10552        </register>
10553
10554        <register>
10555          <name>STATUS</name>
10556          <description>Resolution status.</description>
10557          <addressOffset>0x400</addressOffset>
10558          <access>read-only</access>
10559          <fields>
10560            <field>
10561              <name>STATUS</name>
10562              <description>The IRK used last time an address was resolved.</description>
10563              <lsb>0</lsb> <msb>3</msb>
10564            </field>
10565          </fields>
10566        </register>
10567
10568        <register>
10569          <name>ENABLE</name>
10570          <description>Enable AAR.</description>
10571          <addressOffset>0x500</addressOffset>
10572          <fields>
10573            <field>
10574              <name>ENABLE</name>
10575              <description>Enable AAR.</description>
10576              <lsb>0</lsb> <msb>1</msb>
10577              <enumeratedValues>
10578                <enumeratedValue>
10579                  <name>Disabled</name>
10580                  <description>Disabled AAR.</description>
10581                  <value>0x00</value>
10582                </enumeratedValue>
10583                <enumeratedValue>
10584                  <name>Enabled</name>
10585                  <description>Enable AAR.</description>
10586                  <value>0x03</value>
10587                </enumeratedValue>
10588              </enumeratedValues>
10589            </field>
10590          </fields>
10591        </register>
10592
10593        <register>
10594          <name>NIRK</name>
10595          <description>Number of Identity root Keys in the IRK data structure.</description>
10596          <addressOffset>0x504</addressOffset>
10597          <resetValue>0x00000001</resetValue>
10598          <fields>
10599            <field>
10600              <name>NIRK</name>
10601              <description>Number of Identity root Keys in the IRK data structure.</description>
10602              <lsb>0</lsb> <msb>4</msb>
10603            </field>
10604          </fields>
10605        </register>
10606
10607        <register>
10608          <name>IRKPTR</name>
10609          <description>Pointer to the IRK data structure.</description>
10610          <addressOffset>0x508</addressOffset>
10611        </register>
10612        <register>
10613          <name>ADDRPTR</name>
10614          <description>Pointer to the resolvable address (6 bytes).</description>
10615          <addressOffset>0x510</addressOffset>
10616        </register>
10617        <register>
10618          <name>SCRATCHPTR</name>
10619          <description>Pointer to a scratch data area used for temporary storage during resolution. A minimum of 3 bytes must be reserved.</description>
10620          <addressOffset>0x514</addressOffset>
10621        </register>
10622
10623        <register>
10624          <name>POWER</name>
10625          <description>Peripheral power control.</description>
10626          <addressOffset>0xFFC</addressOffset>
10627          <fields>
10628            <field>
10629              <name>POWER</name>
10630              <description>Peripheral power control.</description>
10631              <lsb>0</lsb> <msb>0</msb>
10632              <enumeratedValues>
10633                <enumeratedValue>
10634                  <name>Disabled</name>
10635                  <description>Module power disabled.</description>
10636                  <value>0</value>
10637                </enumeratedValue>
10638                <enumeratedValue>
10639                  <name>Enabled</name>
10640                  <description>Module power enabled.</description>
10641                  <value>1</value>
10642                </enumeratedValue>
10643              </enumeratedValues>
10644            </field>
10645          </fields>
10646        </register>
10647
10648      </registers>
10649    </peripheral>
10650
10651    <peripheral>
10652      <name>CCM</name>
10653      <version>522</version>
10654      <description>AES CCM Mode Encryption.</description>
10655      <baseAddress>0x4000F000</baseAddress>
10656      <groupName>CCM</groupName>
10657      <size>32</size>
10658      <access>read-write</access>
10659      <alternatePeripheral>AAR</alternatePeripheral>
10660
10661      <addressBlock>
10662        <offset>0</offset>
10663        <size>0x1000</size>
10664        <usage>registers</usage>
10665      </addressBlock>
10666
10667      <interrupt>
10668        <name>CCM_AAR</name>
10669        <value>15</value>
10670      </interrupt>
10671
10672      <registers>
10673        <register>
10674          <name>TASKS_KSGEN</name>
10675          <description>Start generation of key-stream. This operation will stop by itself when completed.</description>
10676          <addressOffset>0x000</addressOffset>
10677          <access>write-only</access>
10678        </register>
10679        <register>
10680          <name>TASKS_CRYPT</name>
10681          <description>Start encrypt/decrypt. This operation will stop by itself when completed.</description>
10682          <addressOffset>0x004</addressOffset>
10683          <access>write-only</access>
10684        </register>
10685        <register>
10686          <name>TASKS_STOP</name>
10687          <description>Stop encrypt/decrypt.</description>
10688          <addressOffset>0x008</addressOffset>
10689          <access>write-only</access>
10690        </register>
10691
10692        <register>
10693          <name>EVENTS_ENDKSGEN</name>
10694          <description>Keystream generation completed.</description>
10695          <addressOffset>0x100</addressOffset>
10696        </register>
10697        <register>
10698          <name>EVENTS_ENDCRYPT</name>
10699          <description>Encrypt/decrypt completed.</description>
10700          <addressOffset>0x104</addressOffset>
10701        </register>
10702        <register>
10703          <name>EVENTS_ERROR</name>
10704          <description>Error happened.</description>
10705          <addressOffset>0x108</addressOffset>
10706        </register>
10707
10708        <register>
10709          <name>SHORTS</name>
10710          <description>Shortcuts for the CCM.</description>
10711          <addressOffset>0x200</addressOffset>
10712          <fields>
10713            <field>
10714              <name>ENDKSGEN_CRYPT</name>
10715              <description>Shortcut between ENDKSGEN event and CRYPT task.</description>
10716              <lsb>0</lsb> <msb>0</msb>
10717              <enumeratedValues>
10718                <enumeratedValue>
10719                  <name>Disabled</name>
10720                  <description>Shortcut disabled.</description>
10721                  <value>0</value>
10722                </enumeratedValue>
10723                <enumeratedValue>
10724                  <name>Enabled</name>
10725                  <description>Shortcut enabled.</description>
10726                  <value>1</value>
10727                </enumeratedValue>
10728              </enumeratedValues>
10729            </field>
10730          </fields>
10731        </register>
10732
10733        <register>
10734          <name>INTENSET</name>
10735          <description>Interrupt enable set register.</description>
10736          <addressOffset>0x304</addressOffset>
10737          <fields>
10738            <field>
10739              <name>ENDKSGEN</name>
10740              <description>Enable interrupt on ENDKSGEN event.</description>
10741              <lsb>0</lsb> <msb>0</msb>
10742              <enumeratedValues>
10743                <usage>read</usage>
10744                <enumeratedValue>
10745                  <name>Disabled</name>
10746                  <description>Interrupt disabled.</description>
10747                  <value>0</value>
10748                </enumeratedValue>
10749                <enumeratedValue>
10750                  <name>Enabled</name>
10751                  <description>Interrupt enabled.</description>
10752                  <value>1</value>
10753                </enumeratedValue>
10754              </enumeratedValues>
10755              <enumeratedValues>
10756                <usage>write</usage>
10757                <enumeratedValue>
10758                  <name>Set</name>
10759                  <description>Enable interrupt on write.</description>
10760                  <value>1</value>
10761                </enumeratedValue>
10762              </enumeratedValues>
10763            </field>
10764            <field>
10765              <name>ENDCRYPT</name>
10766              <description>Enable interrupt on ENDCRYPT event.</description>
10767              <lsb>1</lsb> <msb>1</msb>
10768              <enumeratedValues>
10769                <usage>read</usage>
10770                <enumeratedValue>
10771                  <name>Disabled</name>
10772                  <description>Interrupt disabled.</description>
10773                  <value>0</value>
10774                </enumeratedValue>
10775                <enumeratedValue>
10776                  <name>Enabled</name>
10777                  <description>Interrupt enabled.</description>
10778                  <value>1</value>
10779                </enumeratedValue>
10780              </enumeratedValues>
10781              <enumeratedValues>
10782                <usage>write</usage>
10783                <enumeratedValue>
10784                  <name>Set</name>
10785                  <description>Enable interrupt on write.</description>
10786                  <value>1</value>
10787                </enumeratedValue>
10788              </enumeratedValues>
10789            </field>
10790            <field>
10791              <name>ERROR</name>
10792              <description>Enable interrupt on ERROR event.</description>
10793              <lsb>2</lsb> <msb>2</msb>
10794              <enumeratedValues>
10795                <usage>read</usage>
10796                <enumeratedValue>
10797                  <name>Disabled</name>
10798                  <description>Interrupt disabled.</description>
10799                  <value>0</value>
10800                </enumeratedValue>
10801                <enumeratedValue>
10802                  <name>Enabled</name>
10803                  <description>Interrupt enabled.</description>
10804                  <value>1</value>
10805                </enumeratedValue>
10806              </enumeratedValues>
10807              <enumeratedValues>
10808                <usage>write</usage>
10809                <enumeratedValue>
10810                  <name>Set</name>
10811                  <description>Enable interrupt on write.</description>
10812                  <value>1</value>
10813                </enumeratedValue>
10814              </enumeratedValues>
10815            </field>
10816          </fields>
10817        </register>
10818        <register>
10819          <name>INTENCLR</name>
10820          <description>Interrupt enable clear register.</description>
10821          <addressOffset>0x308</addressOffset>
10822          <fields>
10823            <field>
10824              <name>ENDKSGEN</name>
10825              <description>Disable interrupt on ENDKSGEN event.</description>
10826              <lsb>0</lsb> <msb>0</msb>
10827              <enumeratedValues>
10828                <usage>read</usage>
10829                <enumeratedValue>
10830                  <name>Disabled</name>
10831                  <description>Interrupt disabled.</description>
10832                  <value>0</value>
10833                </enumeratedValue>
10834                <enumeratedValue>
10835                  <name>Enabled</name>
10836                  <description>Interrupt enabled.</description>
10837                  <value>1</value>
10838                </enumeratedValue>
10839              </enumeratedValues>
10840              <enumeratedValues>
10841                <usage>write</usage>
10842                <enumeratedValue>
10843                  <name>Clear</name>
10844                  <description>Disable interrupt on write.</description>
10845                  <value>1</value>
10846                </enumeratedValue>
10847              </enumeratedValues>
10848            </field>
10849            <field>
10850              <name>ENDCRYPT</name>
10851              <description>Disable interrupt on ENDCRYPT event.</description>
10852              <lsb>1</lsb> <msb>1</msb>
10853              <enumeratedValues>
10854                <usage>read</usage>
10855                <enumeratedValue>
10856                  <name>Disabled</name>
10857                  <description>Interrupt disabled.</description>
10858                  <value>0</value>
10859                </enumeratedValue>
10860                <enumeratedValue>
10861                  <name>Enabled</name>
10862                  <description>Interrupt enabled.</description>
10863                  <value>1</value>
10864                </enumeratedValue>
10865              </enumeratedValues>
10866              <enumeratedValues>
10867                <usage>write</usage>
10868                <enumeratedValue>
10869                  <name>Clear</name>
10870                  <description>Disable interrupt on write.</description>
10871                  <value>1</value>
10872                </enumeratedValue>
10873              </enumeratedValues>
10874            </field>
10875            <field>
10876              <name>ERROR</name>
10877              <description>Disable interrupt on ERROR event.</description>
10878              <lsb>2</lsb> <msb>2</msb>
10879              <enumeratedValues>
10880                <usage>read</usage>
10881                <enumeratedValue>
10882                  <name>Disabled</name>
10883                  <description>Interrupt disabled.</description>
10884                  <value>0</value>
10885                </enumeratedValue>
10886                <enumeratedValue>
10887                  <name>Enabled</name>
10888                  <description>Interrupt enabled.</description>
10889                  <value>1</value>
10890                </enumeratedValue>
10891              </enumeratedValues>
10892              <enumeratedValues>
10893                <usage>write</usage>
10894                <enumeratedValue>
10895                  <name>Clear</name>
10896                  <description>Disable interrupt on write.</description>
10897                  <value>1</value>
10898                </enumeratedValue>
10899              </enumeratedValues>
10900            </field>
10901          </fields>
10902        </register>
10903
10904        <register>
10905          <name>MICSTATUS</name>
10906          <description>CCM RX MIC check result.</description>
10907          <addressOffset>0x400</addressOffset>
10908          <access>read-only</access>
10909          <fields>
10910            <field>
10911              <name>MICSTATUS</name>
10912              <description>Result of the MIC check performed during the previous CCM RX STARTCRYPT</description>
10913              <lsb>0</lsb> <msb>0</msb>
10914              <enumeratedValues>
10915                <enumeratedValue>
10916                  <name>CheckFailed</name>
10917                  <description>MIC check failed.</description>
10918                  <value>0</value>
10919                </enumeratedValue>
10920                <enumeratedValue>
10921                  <name>CheckPassed</name>
10922                  <description>MIC check passed.</description>
10923                  <value>1</value>
10924                </enumeratedValue>
10925              </enumeratedValues>
10926            </field>
10927          </fields>
10928        </register>
10929
10930        <register>
10931          <name>ENABLE</name>
10932          <description>CCM enable.</description>
10933          <addressOffset>0x500</addressOffset>
10934          <fields>
10935            <field>
10936              <name>ENABLE</name>
10937              <description>CCM enable.</description>
10938              <lsb>0</lsb> <msb>1</msb>
10939              <enumeratedValues>
10940                <enumeratedValue>
10941                  <name>Disabled</name>
10942                  <description>CCM is disabled.</description>
10943                  <value>0x00</value>
10944                </enumeratedValue>
10945                <enumeratedValue>
10946                  <name>Enabled</name>
10947                  <description>CCM is enabled.</description>
10948                  <value>0x02</value>
10949                </enumeratedValue>
10950              </enumeratedValues>
10951            </field>
10952          </fields>
10953        </register>
10954
10955        <register>
10956          <name>MODE</name>
10957          <description>Operation mode.</description>
10958          <addressOffset>0x504</addressOffset>
10959          <resetValue>0x00000001</resetValue>
10960          <fields>
10961            <field>
10962              <name>MODE</name>
10963              <description>CCM mode operation.</description>
10964              <lsb>0</lsb> <msb>0</msb>
10965              <enumeratedValues>
10966                <enumeratedValue>
10967                  <name>Encryption</name>
10968                  <description>CCM mode TX</description>
10969                  <value>0</value>
10970                </enumeratedValue>
10971                <enumeratedValue>
10972                  <name>Decryption</name>
10973                  <description>CCM mode TX</description>
10974                  <value>1</value>
10975                </enumeratedValue>
10976              </enumeratedValues>
10977            </field>
10978          </fields>
10979        </register>
10980
10981        <register>
10982          <name>CNFPTR</name>
10983          <description>Pointer to a data structure holding AES key and NONCE vector.</description>
10984          <addressOffset>0x508</addressOffset>
10985        </register>
10986        <register>
10987          <name>INPTR</name>
10988          <description>Pointer to the input packet.</description>
10989          <addressOffset>0x50C</addressOffset>
10990        </register>
10991        <register>
10992          <name>OUTPTR</name>
10993          <description>Pointer to the output packet.</description>
10994          <addressOffset>0x510</addressOffset>
10995        </register>
10996        <register>
10997          <name>SCRATCHPTR</name>
10998          <description>Pointer to a scratch data area used for temporary storage during resolution. A minimum of 43 bytes must be reserved.</description>
10999          <addressOffset>0x514</addressOffset>
11000        </register>
11001
11002        <register>
11003          <name>POWER</name>
11004          <description>Peripheral power control.</description>
11005          <addressOffset>0xFFC</addressOffset>
11006          <fields>
11007            <field>
11008              <name>POWER</name>
11009              <description>Peripheral power control.</description>
11010              <lsb>0</lsb> <msb>0</msb>
11011              <enumeratedValues>
11012                <enumeratedValue>
11013                  <name>Disabled</name>
11014                  <description>Module power disabled.</description>
11015                  <value>0</value>
11016                </enumeratedValue>
11017                <enumeratedValue>
11018                  <name>Enabled</name>
11019                  <description>Module power enabled.</description>
11020                  <value>1</value>
11021                </enumeratedValue>
11022              </enumeratedValues>
11023            </field>
11024          </fields>
11025        </register>
11026
11027      </registers>
11028    </peripheral>
11029
11030    <peripheral>
11031      <name>WDT</name>
11032      <version>522</version>
11033      <description>Watchdog Timer.</description>
11034      <groupName>WDT</groupName>
11035      <baseAddress>0x40010000</baseAddress>
11036      <size>32</size>
11037      <access>read-write</access>
11038
11039      <addressBlock>
11040        <offset>0</offset>
11041        <size>0x1000</size>
11042        <usage>registers</usage>
11043      </addressBlock>
11044
11045      <interrupt>
11046        <name>WDT</name>
11047        <value>16</value>
11048      </interrupt>
11049
11050      <registers>
11051        <register>
11052          <name>TASKS_START</name>
11053          <description>Start the watchdog.</description>
11054          <addressOffset>0x000</addressOffset>
11055          <access>write-only</access>
11056        </register>
11057
11058        <register>
11059          <name>EVENTS_TIMEOUT</name>
11060          <description>Watchdog timeout.</description>
11061          <addressOffset>0x100</addressOffset>
11062        </register>
11063
11064        <register>
11065          <name>INTENSET</name>
11066          <description>Interrupt enable set register.</description>
11067          <addressOffset>0x304</addressOffset>
11068          <fields>
11069            <field>
11070              <name>TIMEOUT</name>
11071              <description>Enable interrupt on TIMEOUT event.</description>
11072              <lsb>0</lsb> <msb>0</msb>
11073              <enumeratedValues>
11074                <usage>read</usage>
11075                <enumeratedValue>
11076                  <name>Disabled</name>
11077                  <description>Interrupt disabled.</description>
11078                  <value>0</value>
11079                </enumeratedValue>
11080                <enumeratedValue>
11081                  <name>Enabled</name>
11082                  <description>Interrupt enabled.</description>
11083                  <value>1</value>
11084                </enumeratedValue>
11085              </enumeratedValues>
11086              <enumeratedValues>
11087                <usage>write</usage>
11088                <enumeratedValue>
11089                  <name>Set</name>
11090                  <description>Enable interrupt on write.</description>
11091                  <value>1</value>
11092                </enumeratedValue>
11093              </enumeratedValues>
11094            </field>
11095          </fields>
11096        </register>
11097        <register>
11098          <name>INTENCLR</name>
11099          <description>Interrupt enable clear register.</description>
11100          <addressOffset>0x308</addressOffset>
11101          <fields>
11102            <field>
11103              <name>TIMEOUT</name>
11104              <description>Disable interrupt on TIMEOUT event.</description>
11105              <lsb>0</lsb> <msb>0</msb>
11106              <enumeratedValues>
11107                <usage>read</usage>
11108                <enumeratedValue>
11109                  <name>Disabled</name>
11110                  <description>Interrupt disabled.</description>
11111                  <value>0</value>
11112                </enumeratedValue>
11113                <enumeratedValue>
11114                  <name>Enabled</name>
11115                  <description>Interrupt enabled.</description>
11116                  <value>1</value>
11117                </enumeratedValue>
11118              </enumeratedValues>
11119              <enumeratedValues>
11120                <usage>write</usage>
11121                <enumeratedValue>
11122                  <name>Clear</name>
11123                  <description>Disable interrupt on write.</description>
11124                  <value>1</value>
11125                </enumeratedValue>
11126              </enumeratedValues>
11127            </field>
11128          </fields>
11129        </register>
11130
11131        <register>
11132          <name>RUNSTATUS</name>
11133          <description>Watchdog running status.</description>
11134          <addressOffset>0x400</addressOffset>
11135          <access>read-only</access>
11136          <fields>
11137            <field>
11138              <name>RUNSTATUS</name>
11139              <description>Watchdog running status.</description>
11140              <lsb>0</lsb> <msb>0</msb>
11141              <enumeratedValues>
11142                <enumeratedValue>
11143                  <name>NotRunning</name>
11144                  <description>Watchdog timer is not running.</description>
11145                  <value>0</value>
11146                </enumeratedValue>
11147                <enumeratedValue>
11148                  <name>Running</name>
11149                  <description>Watchdog timer is running.</description>
11150                  <value>1</value>
11151                </enumeratedValue>
11152              </enumeratedValues>
11153            </field>
11154          </fields>
11155        </register>
11156
11157        <register>
11158          <name>REQSTATUS</name>
11159          <description>Request status.</description>
11160          <addressOffset>0x404</addressOffset>
11161          <resetValue>0x00000001</resetValue>
11162          <access>read-only</access>
11163          <fields>
11164            <field>
11165              <name>RR0</name>
11166              <description>Request status for RR[0].</description>
11167              <lsb>0</lsb> <msb>0</msb>
11168              <enumeratedValues>
11169                <enumeratedValue>
11170                  <name>DisabledOrRequested</name>
11171                  <description>RR[0] register is not enabled or has already requested reload.</description>
11172                  <value>0</value>
11173                </enumeratedValue>
11174                <enumeratedValue>
11175                  <name>EnabledAndUnrequested</name>
11176                  <description>RR[0] register is enabled and has not jet requested.</description>
11177                  <value>1</value>
11178                </enumeratedValue>
11179              </enumeratedValues>
11180            </field>
11181            <field>
11182              <name>RR1</name>
11183              <description>Request status for RR[1].</description>
11184              <lsb>1</lsb> <msb>1</msb>
11185              <enumeratedValues>
11186                <enumeratedValue>
11187                  <name>DisabledOrRequested</name>
11188                  <description>RR[1] register is not enabled or has already requested reload.</description>
11189                  <value>0</value>
11190                </enumeratedValue>
11191                <enumeratedValue>
11192                  <name>EnabledAndUnrequested</name>
11193                  <description>RR[1] register is enabled and has not jet requested.</description>
11194                  <value>1</value>
11195                </enumeratedValue>
11196              </enumeratedValues>
11197            </field>
11198            <field>
11199              <name>RR2</name>
11200              <description>Request status for RR[2].</description>
11201              <lsb>2</lsb> <msb>2</msb>
11202              <enumeratedValues>
11203                <enumeratedValue>
11204                  <name>DisabledOrRequested</name>
11205                  <description>RR[2] register is not enabled or has already requested reload.</description>
11206                  <value>0</value>
11207                </enumeratedValue>
11208                <enumeratedValue>
11209                  <name>EnabledAndUnrequested</name>
11210                  <description>RR[2] register is enabled and has not jet requested.</description>
11211                  <value>1</value>
11212                </enumeratedValue>
11213              </enumeratedValues>
11214            </field>
11215            <field>
11216              <name>RR3</name>
11217              <description>Request status for RR[3].</description>
11218              <lsb>3</lsb> <msb>3</msb>
11219              <enumeratedValues>
11220                <enumeratedValue>
11221                  <name>DisabledOrRequested</name>
11222                  <description>RR[3] register is not enabled or has already requested reload.</description>
11223                  <value>0</value>
11224                </enumeratedValue>
11225                <enumeratedValue>
11226                  <name>EnabledAndUnrequested</name>
11227                  <description>RR[3] register is enabled and has not jet requested.</description>
11228                  <value>1</value>
11229                </enumeratedValue>
11230              </enumeratedValues>
11231            </field>
11232            <field>
11233              <name>RR4</name>
11234              <description>Request status for RR[4].</description>
11235              <lsb>4</lsb> <msb>4</msb>
11236              <enumeratedValues>
11237                <enumeratedValue>
11238                  <name>DisabledOrRequested</name>
11239                  <description>RR[4] register is not enabled or has already requested reload.</description>
11240                  <value>0</value>
11241                </enumeratedValue>
11242                <enumeratedValue>
11243                  <name>EnabledAndUnrequested</name>
11244                  <description>RR[4] register is enabled and has not jet requested.</description>
11245                  <value>1</value>
11246                </enumeratedValue>
11247              </enumeratedValues>
11248            </field>
11249            <field>
11250              <name>RR5</name>
11251              <description>Request status for RR[5].</description>
11252              <lsb>5</lsb> <msb>5</msb>
11253              <enumeratedValues>
11254                <enumeratedValue>
11255                  <name>DisabledOrRequested</name>
11256                  <description>RR[5] register is not enabled or has already requested reload.</description>
11257                  <value>0</value>
11258                </enumeratedValue>
11259                <enumeratedValue>
11260                  <name>EnabledAndUnrequested</name>
11261                  <description>RR[5] register is enabled and has not jet requested.</description>
11262                  <value>1</value>
11263                </enumeratedValue>
11264              </enumeratedValues>
11265            </field>
11266            <field>
11267              <name>RR6</name>
11268              <description>Request status for RR[6].</description>
11269              <lsb>6</lsb> <msb>6</msb>
11270              <enumeratedValues>
11271                <enumeratedValue>
11272                  <name>DisabledOrRequested</name>
11273                  <description>RR[6] register is not enabled or has already requested reload.</description>
11274                  <value>0</value>
11275                </enumeratedValue>
11276                <enumeratedValue>
11277                  <name>EnabledAndUnrequested</name>
11278                  <description>RR[6] register is enabled and has not jet requested.</description>
11279                  <value>1</value>
11280                </enumeratedValue>
11281              </enumeratedValues>
11282            </field>
11283            <field>
11284              <name>RR7</name>
11285              <description>Request status for RR[7].</description>
11286              <lsb>7</lsb> <msb>7</msb>
11287              <enumeratedValues>
11288                <enumeratedValue>
11289                  <name>DisabledOrRequested</name>
11290                  <description>RR[7] register is not enabled or has already requested reload.</description>
11291                  <value>0</value>
11292                </enumeratedValue>
11293                <enumeratedValue>
11294                  <name>EnabledAndUnrequested</name>
11295                  <description>RR[7] register is enabled and has not jet requested.</description>
11296                  <value>1</value>
11297                </enumeratedValue>
11298              </enumeratedValues>
11299            </field>
11300          </fields>
11301        </register>
11302
11303        <register>
11304          <name>CRV</name>
11305          <description>Counter reload value in number of 32kiHz clock cycles.</description>
11306          <addressOffset>0x504</addressOffset>
11307          <resetValue>0xFFFFFFFF</resetValue>
11308        </register>
11309
11310        <register>
11311          <name>RREN</name>
11312          <description>Reload request enable.</description>
11313          <addressOffset>0x508</addressOffset>
11314          <resetValue>0x00000001</resetValue>
11315          <fields>
11316            <field>
11317              <name>RR0</name>
11318              <description>Enable or disable RR[0] register.</description>
11319              <lsb>0</lsb> <msb>0</msb>
11320              <enumeratedValues>
11321                <enumeratedValue>
11322                  <name>Disabled</name>
11323                  <description>RR[0] register is disabled.</description>
11324                  <value>0</value>
11325                </enumeratedValue>
11326                <enumeratedValue>
11327                  <name>Enabled</name>
11328                  <description>RR[0] register is enabled.</description>
11329                  <value>1</value>
11330                </enumeratedValue>
11331              </enumeratedValues>
11332            </field>
11333            <field>
11334              <name>RR1</name>
11335              <description>Enable or disable RR[1] register.</description>
11336              <lsb>1</lsb> <msb>1</msb>
11337              <enumeratedValues>
11338                <enumeratedValue>
11339                  <name>Disabled</name>
11340                  <description>RR[1] register is disabled.</description>
11341                  <value>0</value>
11342                </enumeratedValue>
11343                <enumeratedValue>
11344                  <name>Enabled</name>
11345                  <description>RR[1] register is enabled.</description>
11346                  <value>1</value>
11347                </enumeratedValue>
11348              </enumeratedValues>
11349            </field>
11350            <field>
11351              <name>RR2</name>
11352              <description>Enable or disable RR[2] register.</description>
11353              <lsb>2</lsb> <msb>2</msb>
11354              <enumeratedValues>
11355                <enumeratedValue>
11356                  <name>Disabled</name>
11357                  <description>RR[2] register is disabled.</description>
11358                  <value>0</value>
11359                </enumeratedValue>
11360                <enumeratedValue>
11361                  <name>Enabled</name>
11362                  <description>RR[2] register is enabled.</description>
11363                  <value>1</value>
11364                </enumeratedValue>
11365              </enumeratedValues>
11366            </field>
11367            <field>
11368              <name>RR3</name>
11369              <description>Enable or disable RR[3] register.</description>
11370              <lsb>3</lsb> <msb>3</msb>
11371              <enumeratedValues>
11372                <enumeratedValue>
11373                  <name>Disabled</name>
11374                  <description>RR[3] register is disabled.</description>
11375                  <value>0</value>
11376                </enumeratedValue>
11377                <enumeratedValue>
11378                  <name>Enabled</name>
11379                  <description>RR[3] register is enabled.</description>
11380                  <value>1</value>
11381                </enumeratedValue>
11382              </enumeratedValues>
11383            </field>
11384            <field>
11385              <name>RR4</name>
11386              <description>Enable or disable RR[4] register.</description>
11387              <lsb>4</lsb> <msb>4</msb>
11388              <enumeratedValues>
11389                <enumeratedValue>
11390                  <name>Disabled</name>
11391                  <description>RR[4] register is disabled.</description>
11392                  <value>0</value>
11393                </enumeratedValue>
11394                <enumeratedValue>
11395                  <name>Enabled</name>
11396                  <description>RR[4] register is enabled.</description>
11397                  <value>1</value>
11398                </enumeratedValue>
11399              </enumeratedValues>
11400            </field>
11401            <field>
11402              <name>RR5</name>
11403              <description>Enable or disable RR[5] register.</description>
11404              <lsb>5</lsb> <msb>5</msb>
11405              <enumeratedValues>
11406                <enumeratedValue>
11407                  <name>Disabled</name>
11408                  <description>RR[5] register is disabled.</description>
11409                  <value>0</value>
11410                </enumeratedValue>
11411                <enumeratedValue>
11412                  <name>Enabled</name>
11413                  <description>RR[5] register is enabled.</description>
11414                  <value>1</value>
11415                </enumeratedValue>
11416              </enumeratedValues>
11417            </field>
11418            <field>
11419              <name>RR6</name>
11420              <description>Enable or disable RR[6] register.</description>
11421              <lsb>6</lsb> <msb>6</msb>
11422              <enumeratedValues>
11423                <enumeratedValue>
11424                  <name>Disabled</name>
11425                  <description>RR[6] register is disabled.</description>
11426                  <value>0</value>
11427                </enumeratedValue>
11428                <enumeratedValue>
11429                  <name>Enabled</name>
11430                  <description>RR[6] register is enabled.</description>
11431                  <value>1</value>
11432                </enumeratedValue>
11433              </enumeratedValues>
11434            </field>
11435            <field>
11436              <name>RR7</name>
11437              <description>Enable or disable RR[7] register.</description>
11438              <lsb>7</lsb> <msb>7</msb>
11439              <enumeratedValues>
11440                <enumeratedValue>
11441                  <name>Disabled</name>
11442                  <description>RR[7] register is disabled.</description>
11443                  <value>0</value>
11444                </enumeratedValue>
11445                <enumeratedValue>
11446                  <name>Enabled</name>
11447                  <description>RR[7] register is enabled.</description>
11448                  <value>1</value>
11449                </enumeratedValue>
11450              </enumeratedValues>
11451            </field>
11452          </fields>
11453        </register>
11454
11455        <register>
11456          <name>CONFIG</name>
11457          <description>Configuration register.</description>
11458          <addressOffset>0x50C</addressOffset>
11459          <resetValue>0x00000001</resetValue>
11460          <fields>
11461            <field>
11462              <name>SLEEP</name>
11463              <description>Configure the watchdog to pause or not while the CPU is sleeping.</description>
11464              <lsb>0</lsb> <msb>0</msb>
11465              <enumeratedValues>
11466                <enumeratedValue>
11467                  <name>Pause</name>
11468                  <description>Pause watchdog while the CPU is asleep.</description>
11469                  <value>0</value>
11470                </enumeratedValue>
11471                <enumeratedValue>
11472                  <name>Run</name>
11473                  <description>Do not pause watchdog while the CPU is asleep.</description>
11474                  <value>1</value>
11475                </enumeratedValue>
11476              </enumeratedValues>
11477            </field>
11478            <field>
11479              <name>HALT</name>
11480              <description>Configure the watchdog to pause or not while the CPU is halted by the debugger.</description>
11481              <lsb>3</lsb> <msb>3</msb>
11482              <enumeratedValues>
11483                <enumeratedValue>
11484                  <name>Pause</name>
11485                  <description>Pause watchdog while the CPU is halted by the debugger.</description>
11486                  <value>0</value>
11487                </enumeratedValue>
11488                <enumeratedValue>
11489                  <name>Run</name>
11490                  <description>Do not pause watchdog while the CPU is halted by the debugger.</description>
11491                  <value>1</value>
11492                </enumeratedValue>
11493              </enumeratedValues>
11494            </field>
11495          </fields>
11496        </register>
11497
11498        <register>
11499          <dim>8</dim>
11500          <dimIncrement>0x04</dimIncrement>
11501          <name>RR[%s]</name>
11502          <description>Reload requests registers.</description>
11503          <addressOffset>0x600</addressOffset>
11504          <access>write-only</access>
11505          <fields>
11506            <field>
11507              <name>RR</name>
11508              <description>Reload register.</description>
11509              <lsb>0</lsb> <msb>31</msb>
11510              <enumeratedValues>
11511                <enumeratedValue>
11512                  <name>Reload</name>
11513                  <description>Value to request a reload of the watchdog timer.</description>
11514                  <value>0x6E524635</value>
11515                </enumeratedValue>
11516              </enumeratedValues>
11517            </field>
11518          </fields>
11519        </register>
11520
11521        <register>
11522          <name>POWER</name>
11523          <description>Peripheral power control.</description>
11524          <addressOffset>0xFFC</addressOffset>
11525          <fields>
11526            <field>
11527              <name>POWER</name>
11528              <description>Peripheral power control.</description>
11529              <lsb>0</lsb> <msb>0</msb>
11530              <enumeratedValues>
11531                <enumeratedValue>
11532                  <name>Disabled</name>
11533                  <description>Module power disabled.</description>
11534                  <value>0</value>
11535                </enumeratedValue>
11536                <enumeratedValue>
11537                  <name>Enabled</name>
11538                  <description>Module power enabled.</description>
11539                  <value>1</value>
11540                </enumeratedValue>
11541              </enumeratedValues>
11542            </field>
11543          </fields>
11544        </register>
11545
11546      </registers>
11547    </peripheral>
11548
11549    <peripheral derivedFrom="RTC0">
11550      <name>RTC1</name>
11551      <version>522</version>
11552      <description>Real time counter 1.</description>
11553      <baseAddress>0x40011000</baseAddress>
11554      <access>read-write</access>
11555      <interrupt>
11556        <name>RTC1</name>
11557        <value>17</value>
11558      </interrupt>
11559    </peripheral>
11560
11561    <peripheral>
11562      <name>QDEC</name>
11563      <version>522</version>
11564      <description>Rotary decoder.</description>
11565      <groupName>QDEC</groupName>
11566      <baseAddress>0x40012000</baseAddress>
11567      <size>32</size>
11568      <access>read-write</access>
11569
11570      <addressBlock>
11571        <offset>0</offset>
11572        <size>0x1000</size>
11573        <usage>registers</usage>
11574      </addressBlock>
11575
11576      <interrupt>
11577        <name>QDEC</name>
11578        <value>18</value>
11579      </interrupt>
11580
11581      <registers>
11582        <register>
11583          <name>TASKS_START</name>
11584          <description>Start the quadrature decoder.</description>
11585          <addressOffset>0x000</addressOffset>
11586          <access>write-only</access>
11587        </register>
11588        <register>
11589          <name>TASKS_STOP</name>
11590          <description>Stop the quadrature decoder.</description>
11591          <addressOffset>0x004</addressOffset>
11592          <access>write-only</access>
11593        </register>
11594        <register>
11595          <name>TASKS_READCLRACC</name>
11596          <description>Transfers the content from ACC registers to ACCREAD registers, and clears the ACC registers.</description>
11597          <addressOffset>0x008</addressOffset>
11598          <access>write-only</access>
11599        </register>
11600
11601        <register>
11602          <name>EVENTS_SAMPLERDY</name>
11603          <description>A new sample is written to the sample register.</description>
11604          <addressOffset>0x100</addressOffset>
11605        </register>
11606        <register>
11607          <name>EVENTS_REPORTRDY</name>
11608          <description>REPORTPER number of samples accumulated in ACC register, and ACC register different than zero.</description>
11609          <addressOffset>0x104</addressOffset>
11610        </register>
11611        <register>
11612          <name>EVENTS_ACCOF</name>
11613          <description>ACC or ACCDBL register overflow.</description>
11614          <addressOffset>0x108</addressOffset>
11615        </register>
11616
11617        <register>
11618          <name>SHORTS</name>
11619          <description>Shortcuts for the QDEC.</description>
11620          <addressOffset>0x200</addressOffset>
11621          <fields>
11622            <field>
11623              <name>REPORTRDY_READCLRACC</name>
11624              <description>Shortcut between REPORTRDY event and READCLRACC task.</description>
11625              <lsb>0</lsb> <msb>0</msb>
11626              <enumeratedValues>
11627                <enumeratedValue>
11628                  <name>Disabled</name>
11629                  <description>Shortcut disabled.</description>
11630                  <value>0</value>
11631                </enumeratedValue>
11632                <enumeratedValue>
11633                  <name>Enabled</name>
11634                  <description>Shortcut enabled.</description>
11635                  <value>1</value>
11636                </enumeratedValue>
11637              </enumeratedValues>
11638            </field>
11639            <field>
11640              <name>SAMPLERDY_STOP</name>
11641              <description>Shortcut between SAMPLERDY event and STOP task.</description>
11642              <lsb>1</lsb> <msb>1</msb>
11643              <enumeratedValues>
11644                <enumeratedValue>
11645                  <name>Disabled</name>
11646                  <description>Shortcut disabled.</description>
11647                  <value>0</value>
11648                </enumeratedValue>
11649                <enumeratedValue>
11650                  <name>Enabled</name>
11651                  <description>Shortcut enabled.</description>
11652                  <value>1</value>
11653                </enumeratedValue>
11654              </enumeratedValues>
11655            </field>
11656          </fields>
11657        </register>
11658
11659        <register>
11660          <name>INTENSET</name>
11661          <description>Interrupt enable set register.</description>
11662          <addressOffset>0x304</addressOffset>
11663          <fields>
11664            <field>
11665              <name>SAMPLERDY</name>
11666              <description>Enable interrupt on SAMPLERDY event.</description>
11667              <lsb>0</lsb> <msb>0</msb>
11668              <enumeratedValues>
11669                <usage>read</usage>
11670                <enumeratedValue>
11671                  <name>Disabled</name>
11672                  <description>Interrupt disabled.</description>
11673                  <value>0</value>
11674                </enumeratedValue>
11675                <enumeratedValue>
11676                  <name>Enabled</name>
11677                  <description>Interrupt enabled.</description>
11678                  <value>1</value>
11679                </enumeratedValue>
11680              </enumeratedValues>
11681              <enumeratedValues>
11682                <usage>write</usage>
11683                <enumeratedValue>
11684                  <name>Set</name>
11685                  <description>Enable interrupt on write.</description>
11686                  <value>1</value>
11687                </enumeratedValue>
11688              </enumeratedValues>
11689            </field>
11690            <field>
11691              <name>REPORTRDY</name>
11692              <description>Enable interrupt on REPORTRDY event.</description>
11693              <lsb>1</lsb> <msb>1</msb>
11694              <enumeratedValues>
11695                <usage>read</usage>
11696                <enumeratedValue>
11697                  <name>Disabled</name>
11698                  <description>Interrupt disabled.</description>
11699                  <value>0</value>
11700                </enumeratedValue>
11701                <enumeratedValue>
11702                  <name>Enabled</name>
11703                  <description>Interrupt enabled.</description>
11704                  <value>1</value>
11705                </enumeratedValue>
11706              </enumeratedValues>
11707              <enumeratedValues>
11708                <usage>write</usage>
11709                <enumeratedValue>
11710                  <name>Set</name>
11711                  <description>Enable interrupt on write.</description>
11712                  <value>1</value>
11713                </enumeratedValue>
11714              </enumeratedValues>
11715            </field>
11716            <field>
11717              <name>ACCOF</name>
11718              <description>Enable interrupt on ACCOF event.</description>
11719              <lsb>2</lsb> <msb>2</msb>
11720              <enumeratedValues>
11721                <usage>read</usage>
11722                <enumeratedValue>
11723                  <name>Disabled</name>
11724                  <description>Interrupt disabled.</description>
11725                  <value>0</value>
11726                </enumeratedValue>
11727                <enumeratedValue>
11728                  <name>Enabled</name>
11729                  <description>Interrupt enabled.</description>
11730                  <value>1</value>
11731                </enumeratedValue>
11732              </enumeratedValues>
11733              <enumeratedValues>
11734                <usage>write</usage>
11735                <enumeratedValue>
11736                  <name>Set</name>
11737                  <description>Enable interrupt on write.</description>
11738                  <value>1</value>
11739                </enumeratedValue>
11740              </enumeratedValues>
11741            </field>
11742          </fields>
11743        </register>
11744        <register>
11745          <name>INTENCLR</name>
11746          <description>Interrupt enable clear register.</description>
11747          <addressOffset>0x308</addressOffset>
11748          <fields>
11749            <field>
11750              <name>SAMPLERDY</name>
11751              <description>Disable interrupt on SAMPLERDY event.</description>
11752              <lsb>0</lsb> <msb>0</msb>
11753              <enumeratedValues>
11754                <usage>read</usage>
11755                <enumeratedValue>
11756                  <name>Disabled</name>
11757                  <description>Interrupt disabled.</description>
11758                  <value>0</value>
11759                </enumeratedValue>
11760                <enumeratedValue>
11761                  <name>Enabled</name>
11762                  <description>Interrupt enabled.</description>
11763                  <value>1</value>
11764                </enumeratedValue>
11765              </enumeratedValues>
11766              <enumeratedValues>
11767                <usage>write</usage>
11768                <enumeratedValue>
11769                  <name>Clear</name>
11770                  <description>Disable interrupt on write.</description>
11771                  <value>1</value>
11772                </enumeratedValue>
11773              </enumeratedValues>
11774            </field>
11775            <field>
11776              <name>REPORTRDY</name>
11777              <description>Disable interrupt on REPORTRDY event.</description>
11778              <lsb>1</lsb> <msb>1</msb>
11779              <enumeratedValues>
11780                <usage>read</usage>
11781                <enumeratedValue>
11782                  <name>Disabled</name>
11783                  <description>Interrupt disabled.</description>
11784                  <value>0</value>
11785                </enumeratedValue>
11786                <enumeratedValue>
11787                  <name>Enabled</name>
11788                  <description>Interrupt enabled.</description>
11789                  <value>1</value>
11790                </enumeratedValue>
11791              </enumeratedValues>
11792              <enumeratedValues>
11793                <usage>write</usage>
11794                <enumeratedValue>
11795                  <name>Clear</name>
11796                  <description>Disable interrupt on write.</description>
11797                  <value>1</value>
11798                </enumeratedValue>
11799              </enumeratedValues>
11800            </field>
11801            <field>
11802              <name>ACCOF</name>
11803              <description>Disable interrupt on ACCOF event.</description>
11804              <lsb>2</lsb> <msb>2</msb>
11805              <enumeratedValues>
11806                <usage>read</usage>
11807                <enumeratedValue>
11808                  <name>Disabled</name>
11809                  <description>Interrupt disabled.</description>
11810                  <value>0</value>
11811                </enumeratedValue>
11812                <enumeratedValue>
11813                  <name>Enabled</name>
11814                  <description>Interrupt enabled.</description>
11815                  <value>1</value>
11816                </enumeratedValue>
11817              </enumeratedValues>
11818              <enumeratedValues>
11819                <usage>write</usage>
11820                <enumeratedValue>
11821                  <name>Clear</name>
11822                  <description>Disable interrupt on write.</description>
11823                  <value>1</value>
11824                </enumeratedValue>
11825              </enumeratedValues>
11826            </field>
11827          </fields>
11828        </register>
11829
11830        <register>
11831          <name>ENABLE</name>
11832          <description>Enable the QDEC.</description>
11833          <addressOffset>0x500</addressOffset>
11834          <fields>
11835            <field>
11836              <name>ENABLE</name>
11837              <description>Enable or disable QDEC.</description>
11838              <lsb>0</lsb> <msb>0</msb>
11839              <enumeratedValues>
11840                <enumeratedValue>
11841                  <name>Disabled</name>
11842                  <description>Disabled QDEC.</description>
11843                  <value>0</value>
11844                </enumeratedValue>
11845                <enumeratedValue>
11846                  <name>Enabled</name>
11847                  <description>Enable QDEC.</description>
11848                  <value>1</value>
11849                </enumeratedValue>
11850              </enumeratedValues>
11851            </field>
11852          </fields>
11853        </register>
11854
11855        <register>
11856          <name>LEDPOL</name>
11857          <description>LED output pin polarity.</description>
11858          <addressOffset>0x504</addressOffset>
11859          <fields>
11860            <field>
11861              <name>LEDPOL</name>
11862              <description>LED output pin polarity.</description>
11863              <lsb>0</lsb> <msb>0</msb>
11864              <enumeratedValues>
11865                <enumeratedValue>
11866                  <name>ActiveLow</name>
11867                  <description>LED output is active low.</description>
11868                  <value>0</value>
11869                </enumeratedValue>
11870                <enumeratedValue>
11871                  <name>ActiveHigh</name>
11872                  <description>LED output is active high.</description>
11873                  <value>1</value>
11874                </enumeratedValue>
11875              </enumeratedValues>
11876            </field>
11877          </fields>
11878        </register>
11879
11880        <register>
11881          <name>SAMPLEPER</name>
11882          <description>Sample period.</description>
11883          <addressOffset>0x508</addressOffset>
11884          <fields>
11885            <field>
11886              <name>SAMPLEPER</name>
11887              <description>Sample period.</description>
11888              <lsb>0</lsb> <msb>2</msb>
11889              <enumeratedValues>
11890                <enumeratedValue>
11891                  <name>128us</name>
11892                  <description>128us sample period.</description>
11893                  <value>0x00</value>
11894                </enumeratedValue>
11895                <enumeratedValue>
11896                  <name>256us</name>
11897                  <description>256us sample period.</description>
11898                  <value>0x01</value>
11899                </enumeratedValue>
11900                <enumeratedValue>
11901                  <name>512us</name>
11902                  <description>512us sample period.</description>
11903                  <value>0x02</value>
11904                </enumeratedValue>
11905                <enumeratedValue>
11906                  <name>1024us</name>
11907                  <description>1024us sample period.</description>
11908                  <value>0x03</value>
11909                </enumeratedValue>
11910                <enumeratedValue>
11911                  <name>2048us</name>
11912                  <description>2048us sample period.</description>
11913                  <value>0x04</value>
11914                </enumeratedValue>
11915                <enumeratedValue>
11916                  <name>4096us</name>
11917                  <description>4096us sample period.</description>
11918                  <value>0x05</value>
11919                </enumeratedValue>
11920                <enumeratedValue>
11921                  <name>8192us</name>
11922                  <description>8192us sample period.</description>
11923                  <value>0x06</value>
11924                </enumeratedValue>
11925                <enumeratedValue>
11926                  <name>16384us</name>
11927                  <description>16384us sample period.</description>
11928                  <value>0x07</value>
11929                </enumeratedValue>
11930              </enumeratedValues>
11931            </field>
11932          </fields>
11933        </register>
11934
11935        <register>
11936          <name>SAMPLE</name>
11937          <description>Motion sample value.</description>
11938          <addressOffset>0x50C</addressOffset>
11939          <access>read-only</access>
11940          <dataType>int32_t</dataType>
11941          <fields>
11942            <field>
11943              <name>SAMPLE</name>
11944              <description>Last sample taken in compliment to 2.</description>
11945              <lsb>0</lsb> <msb>31</msb>
11946            </field>
11947          </fields>
11948        </register>
11949
11950        <register>
11951          <name>REPORTPER</name>
11952          <description>Number of samples to generate an EVENT_REPORTRDY.</description>
11953          <addressOffset>0x510</addressOffset>
11954          <fields>
11955            <field>
11956              <name>REPORTPER</name>
11957              <description>Number of samples to generate an EVENT_REPORTRDY.</description>
11958              <lsb>0</lsb> <msb>2</msb>
11959              <enumeratedValues>
11960                <enumeratedValue>
11961                  <name>10Smpl</name>
11962                  <description>10 samples per report.</description>
11963                  <value>0x00</value>
11964                </enumeratedValue>
11965                <enumeratedValue>
11966                  <name>40Smpl</name>
11967                  <description>40 samples per report.</description>
11968                  <value>0x01</value>
11969                </enumeratedValue>
11970                <enumeratedValue>
11971                  <name>80Smpl</name>
11972                  <description>80 samples per report.</description>
11973                  <value>0x02</value>
11974                </enumeratedValue>
11975                <enumeratedValue>
11976                  <name>120Smpl</name>
11977                  <description>120 samples per report.</description>
11978                  <value>0x03</value>
11979                </enumeratedValue>
11980                <enumeratedValue>
11981                  <name>160Smpl</name>
11982                  <description>160 samples per report.</description>
11983                  <value>0x04</value>
11984                </enumeratedValue>
11985                <enumeratedValue>
11986                  <name>200Smpl</name>
11987                  <description>200 samples per report.</description>
11988                  <value>0x05</value>
11989                </enumeratedValue>
11990                <enumeratedValue>
11991                  <name>240Smpl</name>
11992                  <description>240 samples per report.</description>
11993                  <value>0x06</value>
11994                </enumeratedValue>
11995                <enumeratedValue>
11996                  <name>280Smpl</name>
11997                  <description>280 samples per report.</description>
11998                  <value>0x07</value>
11999                </enumeratedValue>
12000              </enumeratedValues>
12001            </field>
12002          </fields>
12003        </register>
12004
12005        <register>
12006          <name>ACC</name>
12007          <description>Accumulated valid transitions register.</description>
12008          <addressOffset>0x514</addressOffset>
12009          <access>read-only</access>
12010          <dataType>int32_t</dataType>
12011        </register>
12012
12013        <register>
12014          <name>ACCREAD</name>
12015          <description>Snapshot of ACC register. Value generated by the TASKS_READCLEACC task.</description>
12016          <addressOffset>0x518</addressOffset>
12017          <access>read-only</access>
12018          <dataType>int32_t</dataType>
12019        </register>
12020
12021        <register>
12022          <name>PSELLED</name>
12023          <description>Pin select for LED output.</description>
12024          <addressOffset>0x51C</addressOffset>
12025          <resetValue>0xFFFFFFFF</resetValue>
12026        </register>
12027        <register>
12028          <name>PSELA</name>
12029          <description>Pin select for phase A input.</description>
12030          <addressOffset>0x520</addressOffset>
12031          <resetValue>0xFFFFFFFF</resetValue>
12032        </register>
12033        <register>
12034          <name>PSELB</name>
12035          <description>Pin select for phase B input.</description>
12036          <addressOffset>0x524</addressOffset>
12037          <resetValue>0xFFFFFFFF</resetValue>
12038        </register>
12039
12040        <register>
12041          <name>DBFEN</name>
12042          <description>Enable debouncer input filters.</description>
12043          <addressOffset>0x528</addressOffset>
12044          <fields>
12045            <field>
12046              <name>DBFEN</name>
12047              <description>Enable debounce input filters.</description>
12048              <lsb>0</lsb> <msb>0</msb>
12049              <enumeratedValues>
12050                <enumeratedValue>
12051                  <name>Disabled</name>
12052                  <description>Debounce input filters disabled.</description>
12053                  <value>0</value>
12054                </enumeratedValue>
12055                <enumeratedValue>
12056                  <name>Enabled</name>
12057                  <description>Debounce input filters enabled.</description>
12058                  <value>1</value>
12059                </enumeratedValue>
12060              </enumeratedValues>
12061            </field>
12062          </fields>
12063        </register>
12064
12065        <register>
12066          <name>LEDPRE</name>
12067          <description>Time LED is switched ON before the sample.</description>
12068          <addressOffset>0x540</addressOffset>
12069          <resetValue>0x00000010</resetValue>
12070          <fields>
12071            <field>
12072              <name>LEDPRE</name>
12073              <description>Period in us the LED in switched on prior to sampling.</description>
12074              <lsb>0</lsb> <msb>8</msb>
12075            </field>
12076          </fields>
12077        </register>
12078
12079        <register>
12080          <name>ACCDBL</name>
12081          <description>Accumulated double (error) transitions register.</description>
12082          <addressOffset>0x544</addressOffset>
12083          <access>read-only</access>
12084          <fields>
12085            <field>
12086              <name>ACCDBL</name>
12087              <description>Accumulated double (error) transitions.</description>
12088              <lsb>0</lsb> <msb>3</msb>
12089            </field>
12090          </fields>
12091        </register>
12092
12093        <register>
12094          <name>ACCDBLREAD</name>
12095          <description>Snapshot of ACCDBL register. Value generated by the TASKS_READCLEACC task.</description>
12096          <addressOffset>0x548</addressOffset>
12097          <access>read-only</access>
12098          <fields>
12099            <field>
12100              <name>ACCDBLREAD</name>
12101              <description>Snapshot of accumulated double (error) transitions.</description>
12102              <lsb>0</lsb> <msb>3</msb>
12103            </field>
12104          </fields>
12105        </register>
12106
12107        <register>
12108          <name>POWER</name>
12109          <description>Peripheral power control.</description>
12110          <addressOffset>0xFFC</addressOffset>
12111          <fields>
12112            <field>
12113              <name>POWER</name>
12114              <description>Peripheral power control.</description>
12115              <lsb>0</lsb> <msb>0</msb>
12116              <enumeratedValues>
12117                <enumeratedValue>
12118                  <name>Disabled</name>
12119                  <description>Module power disabled.</description>
12120                  <value>0</value>
12121                </enumeratedValue>
12122                <enumeratedValue>
12123                  <name>Enabled</name>
12124                  <description>Module power enabled.</description>
12125                  <value>1</value>
12126                </enumeratedValue>
12127              </enumeratedValues>
12128            </field>
12129          </fields>
12130        </register>
12131
12132      </registers>
12133    </peripheral>
12134
12135    <peripheral>
12136      <name>LPCOMP</name>
12137      <version>522</version>
12138      <description>Low power comparator.</description>
12139      <groupName>LPCOMP</groupName>
12140      <baseAddress>0x40013000</baseAddress>
12141      <size>32</size>
12142      <access>read-write</access>
12143
12144      <addressBlock>
12145        <offset>0</offset>
12146        <size>0x1000</size>
12147        <usage>registers</usage>
12148      </addressBlock>
12149
12150      <interrupt>
12151        <name>LPCOMP</name>
12152        <value>19</value>
12153      </interrupt>
12154
12155      <registers>
12156        <register>
12157          <name>TASKS_START</name>
12158          <description>Start the comparator.</description>
12159          <addressOffset>0x000</addressOffset>
12160          <access>write-only</access>
12161        </register>
12162        <register>
12163          <name>TASKS_STOP</name>
12164          <description>Stop the comparator.</description>
12165          <addressOffset>0x004</addressOffset>
12166          <access>write-only</access>
12167        </register>
12168        <register>
12169          <name>TASKS_SAMPLE</name>
12170          <description>Sample comparator value.</description>
12171          <addressOffset>0x008</addressOffset>
12172          <access>write-only</access>
12173        </register>
12174
12175        <register>
12176          <name>EVENTS_READY</name>
12177          <description>LPCOMP is ready and output is valid.</description>
12178          <addressOffset>0x100</addressOffset>
12179        </register>
12180        <register>
12181          <name>EVENTS_DOWN</name>
12182          <description>Input voltage crossed the threshold going down.</description>
12183          <addressOffset>0x104</addressOffset>
12184        </register>
12185        <register>
12186          <name>EVENTS_UP</name>
12187          <description>Input voltage crossed the threshold going up.</description>
12188          <addressOffset>0x108</addressOffset>
12189        </register>
12190        <register>
12191          <name>EVENTS_CROSS</name>
12192          <description>Input voltage crossed the threshold in any direction.</description>
12193          <addressOffset>0x10C</addressOffset>
12194        </register>
12195
12196        <register>
12197          <name>SHORTS</name>
12198          <description>Shortcuts for the LPCOMP.</description>
12199          <addressOffset>0x200</addressOffset>
12200          <fields>
12201            <field>
12202              <name>READY_SAMPLE</name>
12203              <description>Shortcut between READY event and SAMPLE task.</description>
12204              <lsb>0</lsb> <msb>0</msb>
12205              <enumeratedValues>
12206                <enumeratedValue>
12207                  <name>Disabled</name>
12208                  <description>Shortcut disabled.</description>
12209                  <value>0</value>
12210                </enumeratedValue>
12211                <enumeratedValue>
12212                  <name>Enabled</name>
12213                  <description>Shortcut enabled.</description>
12214                  <value>1</value>
12215                </enumeratedValue>
12216              </enumeratedValues>
12217            </field>
12218            <field>
12219              <name>READY_STOP</name>
12220              <description>Shortcut between RADY event and STOP task.</description>
12221              <lsb>1</lsb> <msb>1</msb>
12222              <enumeratedValues>
12223                <enumeratedValue>
12224                  <name>Disabled</name>
12225                  <description>Shortcut disabled.</description>
12226                  <value>0</value>
12227                </enumeratedValue>
12228                <enumeratedValue>
12229                  <name>Enabled</name>
12230                  <description>Shortcut enabled.</description>
12231                  <value>1</value>
12232                </enumeratedValue>
12233              </enumeratedValues>
12234            </field>
12235            <field>
12236              <name>DOWN_STOP</name>
12237              <description>Shortcut between DOWN event and STOP task.</description>
12238              <lsb>2</lsb> <msb>2</msb>
12239              <enumeratedValues>
12240                <enumeratedValue>
12241                  <name>Disabled</name>
12242                  <description>Shortcut disabled.</description>
12243                  <value>0</value>
12244                </enumeratedValue>
12245                <enumeratedValue>
12246                  <name>Enabled</name>
12247                  <description>Shortcut enabled.</description>
12248                  <value>1</value>
12249                </enumeratedValue>
12250              </enumeratedValues>
12251            </field>
12252            <field>
12253              <name>UP_STOP</name>
12254              <description>Shortcut between UP event and STOP task.</description>
12255              <lsb>3</lsb> <msb>3</msb>
12256              <enumeratedValues>
12257                <enumeratedValue>
12258                  <name>Disabled</name>
12259                  <description>Shortcut disabled.</description>
12260                  <value>0</value>
12261                </enumeratedValue>
12262                <enumeratedValue>
12263                  <name>Enabled</name>
12264                  <description>Shortcut enabled.</description>
12265                  <value>1</value>
12266                </enumeratedValue>
12267              </enumeratedValues>
12268            </field>
12269            <field>
12270              <name>CROSS_STOP</name>
12271              <description>Shortcut between CROSS event and STOP task.</description>
12272              <lsb>4</lsb> <msb>4</msb>
12273              <enumeratedValues>
12274                <enumeratedValue>
12275                  <name>Disabled</name>
12276                  <description>Shortcut disabled.</description>
12277                  <value>0</value>
12278                </enumeratedValue>
12279                <enumeratedValue>
12280                  <name>Enabled</name>
12281                  <description>Shortcut enabled.</description>
12282                  <value>1</value>
12283                </enumeratedValue>
12284              </enumeratedValues>
12285            </field>
12286          </fields>
12287        </register>
12288
12289        <register>
12290          <name>INTENSET</name>
12291          <description>Interrupt enable set register.</description>
12292          <addressOffset>0x304</addressOffset>
12293          <fields>
12294            <field>
12295              <name>READY</name>
12296              <description>Enable interrupt on READY event.</description>
12297              <lsb>0</lsb> <msb>0</msb>
12298              <enumeratedValues>
12299                <usage>read</usage>
12300                <enumeratedValue>
12301                  <name>Disabled</name>
12302                  <description>Interrupt disabled.</description>
12303                  <value>0</value>
12304                </enumeratedValue>
12305                <enumeratedValue>
12306                  <name>Enabled</name>
12307                  <description>Interrupt enabled.</description>
12308                  <value>1</value>
12309                </enumeratedValue>
12310              </enumeratedValues>
12311              <enumeratedValues>
12312                <usage>write</usage>
12313                <enumeratedValue>
12314                  <name>Set</name>
12315                  <description>Enable interrupt on write.</description>
12316                  <value>1</value>
12317                </enumeratedValue>
12318              </enumeratedValues>
12319            </field>
12320            <field>
12321              <name>DOWN</name>
12322              <description>Enable interrupt on DOWN event.</description>
12323              <lsb>1</lsb> <msb>1</msb>
12324              <enumeratedValues>
12325                <usage>read</usage>
12326                <enumeratedValue>
12327                  <name>Disabled</name>
12328                  <description>Interrupt disabled.</description>
12329                  <value>0</value>
12330                </enumeratedValue>
12331                <enumeratedValue>
12332                  <name>Enabled</name>
12333                  <description>Interrupt enabled.</description>
12334                  <value>1</value>
12335                </enumeratedValue>
12336              </enumeratedValues>
12337              <enumeratedValues>
12338                <usage>write</usage>
12339                <enumeratedValue>
12340                  <name>Set</name>
12341                  <description>Enable interrupt on write.</description>
12342                  <value>1</value>
12343                </enumeratedValue>
12344              </enumeratedValues>
12345            </field>
12346            <field>
12347              <name>UP</name>
12348              <description>Enable interrupt on UP event.</description>
12349              <lsb>2</lsb> <msb>2</msb>
12350              <enumeratedValues>
12351                <usage>read</usage>
12352                <enumeratedValue>
12353                  <name>Disabled</name>
12354                  <description>Interrupt disabled.</description>
12355                  <value>0</value>
12356                </enumeratedValue>
12357                <enumeratedValue>
12358                  <name>Enabled</name>
12359                  <description>Interrupt enabled.</description>
12360                  <value>1</value>
12361                </enumeratedValue>
12362              </enumeratedValues>
12363              <enumeratedValues>
12364                <usage>write</usage>
12365                <enumeratedValue>
12366                  <name>Set</name>
12367                  <description>Enable interrupt on write.</description>
12368                  <value>1</value>
12369                </enumeratedValue>
12370              </enumeratedValues>
12371            </field>
12372            <field>
12373              <name>CROSS</name>
12374              <description>Enable interrupt on CROSS event.</description>
12375              <lsb>3</lsb> <msb>3</msb>
12376              <enumeratedValues>
12377                <usage>read</usage>
12378                <enumeratedValue>
12379                  <name>Disabled</name>
12380                  <description>Interrupt disabled.</description>
12381                  <value>0</value>
12382                </enumeratedValue>
12383                <enumeratedValue>
12384                  <name>Enabled</name>
12385                  <description>Interrupt enabled.</description>
12386                  <value>1</value>
12387                </enumeratedValue>
12388              </enumeratedValues>
12389              <enumeratedValues>
12390                <usage>write</usage>
12391                <enumeratedValue>
12392                  <name>Set</name>
12393                  <description>Enable interrupt on write.</description>
12394                  <value>1</value>
12395                </enumeratedValue>
12396              </enumeratedValues>
12397            </field>
12398          </fields>
12399        </register>
12400        <register>
12401          <name>INTENCLR</name>
12402          <description>Interrupt enable clear register.</description>
12403          <addressOffset>0x308</addressOffset>
12404          <fields>
12405            <field>
12406              <name>READY</name>
12407              <description>Disable interrupt on READY event.</description>
12408              <lsb>0</lsb> <msb>0</msb>
12409              <enumeratedValues>
12410                <usage>read</usage>
12411                <enumeratedValue>
12412                  <name>Disabled</name>
12413                  <description>Interrupt disabled.</description>
12414                  <value>0</value>
12415                </enumeratedValue>
12416                <enumeratedValue>
12417                  <name>Enabled</name>
12418                  <description>Interrupt enabled.</description>
12419                  <value>1</value>
12420                </enumeratedValue>
12421              </enumeratedValues>
12422              <enumeratedValues>
12423                <usage>write</usage>
12424                <enumeratedValue>
12425                  <name>Clear</name>
12426                  <description>Disable interrupt on write.</description>
12427                  <value>1</value>
12428                </enumeratedValue>
12429              </enumeratedValues>
12430            </field>
12431            <field>
12432              <name>DOWN</name>
12433              <description>Disable interrupt on DOWN event.</description>
12434              <lsb>1</lsb> <msb>1</msb>
12435              <enumeratedValues>
12436                <usage>read</usage>
12437                <enumeratedValue>
12438                  <name>Disabled</name>
12439                  <description>Interrupt disabled.</description>
12440                  <value>0</value>
12441                </enumeratedValue>
12442                <enumeratedValue>
12443                  <name>Enabled</name>
12444                  <description>Interrupt enabled.</description>
12445                  <value>1</value>
12446                </enumeratedValue>
12447              </enumeratedValues>
12448              <enumeratedValues>
12449                <usage>write</usage>
12450                <enumeratedValue>
12451                  <name>Clear</name>
12452                  <description>Disable interrupt on write.</description>
12453                  <value>1</value>
12454                </enumeratedValue>
12455              </enumeratedValues>
12456            </field>
12457            <field>
12458              <name>UP</name>
12459              <description>Disable interrupt on UP event.</description>
12460              <lsb>2</lsb> <msb>2</msb>
12461              <enumeratedValues>
12462                <usage>read</usage>
12463                <enumeratedValue>
12464                  <name>Disabled</name>
12465                  <description>Interrupt disabled.</description>
12466                  <value>0</value>
12467                </enumeratedValue>
12468                <enumeratedValue>
12469                  <name>Enabled</name>
12470                  <description>Interrupt enabled.</description>
12471                  <value>1</value>
12472                </enumeratedValue>
12473              </enumeratedValues>
12474              <enumeratedValues>
12475                <usage>write</usage>
12476                <enumeratedValue>
12477                  <name>Clear</name>
12478                  <description>Disable interrupt on write.</description>
12479                  <value>1</value>
12480                </enumeratedValue>
12481              </enumeratedValues>
12482            </field>
12483            <field>
12484              <name>CROSS</name>
12485              <description>Disable interrupt on CROSS event.</description>
12486              <lsb>3</lsb> <msb>3</msb>
12487              <enumeratedValues>
12488                <usage>read</usage>
12489                <enumeratedValue>
12490                  <name>Disabled</name>
12491                  <description>Interrupt disabled.</description>
12492                  <value>0</value>
12493                </enumeratedValue>
12494                <enumeratedValue>
12495                  <name>Enabled</name>
12496                  <description>Interrupt enabled.</description>
12497                  <value>1</value>
12498                </enumeratedValue>
12499              </enumeratedValues>
12500              <enumeratedValues>
12501                <usage>write</usage>
12502                <enumeratedValue>
12503                  <name>Clear</name>
12504                  <description>Disable interrupt on write.</description>
12505                  <value>1</value>
12506                </enumeratedValue>
12507              </enumeratedValues>
12508            </field>
12509          </fields>
12510        </register>
12511
12512        <register>
12513          <name>RESULT</name>
12514          <description>Result of last compare.</description>
12515          <addressOffset>0x400</addressOffset>
12516          <access>read-only</access>
12517          <fields>
12518            <field>
12519              <name>RESULT</name>
12520              <description>Result of last compare. Decision point SAMPLE task.</description>
12521              <lsb>0</lsb> <msb>0</msb>
12522              <enumeratedValues>
12523                <enumeratedValue>
12524                  <name>Below</name>
12525                  <description>Input voltage is bellow the reference threshold.</description>
12526                  <value>0</value>
12527                </enumeratedValue>
12528                <enumeratedValue>
12529                  <name>Above</name>
12530                  <description>Input voltage is above the reference threshold.</description>
12531                  <value>1</value>
12532                </enumeratedValue>
12533              </enumeratedValues>
12534            </field>
12535          </fields>
12536        </register>
12537
12538        <register>
12539          <name>ENABLE</name>
12540          <description>Enable the LPCOMP.</description>
12541          <addressOffset>0x500</addressOffset>
12542          <fields>
12543            <field>
12544              <name>ENABLE</name>
12545              <description>Enable or disable LPCOMP.</description>
12546              <lsb>0</lsb> <msb>1</msb>
12547              <enumeratedValues>
12548                <enumeratedValue>
12549                  <name>Disabled</name>
12550                  <description>Disabled LPCOMP.</description>
12551                  <value>0x00</value>
12552                </enumeratedValue>
12553                <enumeratedValue>
12554                  <name>Enabled</name>
12555                  <description>Enable LPCOMP.</description>
12556                  <value>0x01</value>
12557                </enumeratedValue>
12558              </enumeratedValues>
12559            </field>
12560          </fields>
12561        </register>
12562
12563        <register>
12564          <name>PSEL</name>
12565          <description>Input pin select.</description>
12566          <addressOffset>0x504</addressOffset>
12567          <fields>
12568            <field>
12569              <name>PSEL</name>
12570              <description>Analog input pin select.</description>
12571              <lsb>0</lsb> <msb>2</msb>
12572              <enumeratedValues>
12573                <enumeratedValue>
12574                  <name>AnalogInput0</name>
12575                  <description>Use analog input 0 as analog input.</description>
12576                  <value>0</value>
12577                </enumeratedValue>
12578                <enumeratedValue>
12579                  <name>AnalogInput1</name>
12580                  <description>Use analog input 1 as analog input.</description>
12581                  <value>1</value>
12582                </enumeratedValue>
12583                <enumeratedValue>
12584                  <name>AnalogInput2</name>
12585                  <description>Use analog input 2 as analog input.</description>
12586                  <value>2</value>
12587                </enumeratedValue><enumeratedValue>
12588                  <name>AnalogInput3</name>
12589                  <description>Use analog input 3 as analog input.</description>
12590                  <value>3</value>
12591                </enumeratedValue>
12592                <enumeratedValue>
12593                  <name>AnalogInput4</name>
12594                  <description>Use analog input 4 as analog input.</description>
12595                  <value>4</value>
12596                </enumeratedValue>
12597                <enumeratedValue>
12598                  <name>AnalogInput5</name>
12599                  <description>Use analog input 5 as analog input.</description>
12600                  <value>5</value>
12601                </enumeratedValue>
12602                <enumeratedValue>
12603                  <name>AnalogInput6</name>
12604                  <description>Use analog input 6 as analog input.</description>
12605                  <value>6</value>
12606                </enumeratedValue>
12607                <enumeratedValue>
12608                  <name>AnalogInput7</name>
12609                  <description>Use analog input 7 as analog input.</description>
12610                  <value>7</value>
12611                </enumeratedValue>
12612              </enumeratedValues>
12613            </field>
12614          </fields>
12615        </register>
12616
12617        <register>
12618          <name>REFSEL</name>
12619          <description>Reference select.</description>
12620          <addressOffset>0x508</addressOffset>
12621          <fields>
12622            <field>
12623              <name>REFSEL</name>
12624              <description>Reference select.</description>
12625              <lsb>0</lsb> <msb>2</msb>
12626              <enumeratedValues>
12627                <enumeratedValue>
12628                  <name>SupplyOneEighthPrescaling</name>
12629                  <description>Use supply with a 1/8 prescaler as reference.</description>
12630                  <value>0</value>
12631                </enumeratedValue>
12632                <enumeratedValue>
12633                  <name>SupplyTwoEighthsPrescaling</name>
12634                  <description>Use supply with a 2/8 prescaler as reference.</description>
12635                  <value>1</value>
12636                </enumeratedValue>
12637                <enumeratedValue>
12638                  <name>SupplyThreeEighthsPrescaling</name>
12639                  <description>Use supply with a 3/8 prescaler as reference.</description>
12640                  <value>2</value>
12641                </enumeratedValue>
12642                <enumeratedValue>
12643                  <name>SupplyFourEighthsPrescaling</name>
12644                  <description>Use supply with a 4/8 prescaler as reference.</description>
12645                  <value>3</value>
12646                </enumeratedValue>
12647                <enumeratedValue>
12648                  <name>SupplyFiveEighthsPrescaling</name>
12649                  <description>Use supply with a 5/8 prescaler as reference.</description>
12650                  <value>4</value>
12651                </enumeratedValue>
12652                <enumeratedValue>
12653                  <name>SupplySixEighthsPrescaling</name>
12654                  <description>Use supply with a 6/8 prescaler as reference.</description>
12655                  <value>5</value>
12656                </enumeratedValue>
12657                <enumeratedValue>
12658                  <name>SupplySevenEighthsPrescaling</name>
12659                  <description>Use supply with a 7/8 prescaler as reference.</description>
12660                  <value>6</value>
12661                </enumeratedValue>
12662                <enumeratedValue>
12663                  <name>ARef</name>
12664                  <description>Use external analog reference as reference.</description>
12665                  <value>7</value>
12666                </enumeratedValue>
12667              </enumeratedValues>
12668            </field>
12669          </fields>
12670        </register>
12671
12672        <register>
12673          <name>EXTREFSEL</name>
12674          <description>External reference select.</description>
12675          <addressOffset>0x50C</addressOffset>
12676          <fields>
12677            <field>
12678              <name>EXTREFSEL</name>
12679              <description>External analog reference pin selection.</description>
12680              <lsb>0</lsb> <msb>0</msb>
12681              <enumeratedValues>
12682                <enumeratedValue>
12683                  <name>AnalogReference0</name>
12684                  <description>Use analog reference 0 as reference.</description>
12685                  <value>0</value>
12686                </enumeratedValue>
12687                <enumeratedValue>
12688                  <name>AnalogReference1</name>
12689                  <description>Use analog reference 1 as reference.</description>
12690                  <value>1</value>
12691                </enumeratedValue>
12692              </enumeratedValues>
12693            </field>
12694          </fields>
12695        </register>
12696
12697        <register>
12698          <name>ANADETECT</name>
12699          <description>Analog detect configuration.</description>
12700          <addressOffset>0x520</addressOffset>
12701          <fields>
12702            <field>
12703              <name>ANADETECT</name>
12704              <description>Analog detect configuration.</description>
12705              <lsb>0</lsb> <msb>1</msb>
12706              <enumeratedValues>
12707                <enumeratedValue>
12708                  <name>Cross</name>
12709                  <description>Generate ANADETEC on crossing, both upwards and downwards crossing.</description>
12710                  <value>0</value>
12711                </enumeratedValue>
12712                <enumeratedValue>
12713                  <name>Up</name>
12714                  <description>Generate ANADETEC on upwards crossing only.</description>
12715                  <value>1</value>
12716                </enumeratedValue>
12717                <enumeratedValue>
12718                  <name>Down</name>
12719                  <description>Generate ANADETEC on downwards crossing only.</description>
12720                  <value>2</value>
12721                </enumeratedValue>
12722              </enumeratedValues>
12723            </field>
12724          </fields>
12725        </register>
12726
12727        <register>
12728          <name>POWER</name>
12729          <description>Peripheral power control.</description>
12730          <addressOffset>0xFFC</addressOffset>
12731          <fields>
12732            <field>
12733              <name>POWER</name>
12734              <description>Peripheral power control.</description>
12735              <lsb>0</lsb> <msb>0</msb>
12736              <enumeratedValues>
12737                <enumeratedValue>
12738                  <name>Disabled</name>
12739                  <description>Module power disabled.</description>
12740                  <value>0</value>
12741                </enumeratedValue>
12742                <enumeratedValue>
12743                  <name>Enabled</name>
12744                  <description>Module power enabled.</description>
12745                  <value>1</value>
12746                </enumeratedValue>
12747              </enumeratedValues>
12748            </field>
12749          </fields>
12750        </register>
12751
12752      </registers>
12753    </peripheral>
12754
12755    <peripheral>
12756      <name>SWI</name>
12757      <version>522</version>
12758      <description>SW Interrupts.</description>
12759      <groupName>SWI</groupName>
12760      <baseAddress>0x40014000</baseAddress>
12761      <size>32</size>
12762
12763      <addressBlock>
12764        <offset>0</offset>
12765        <size>0x6000</size>
12766        <usage>registers</usage>
12767      </addressBlock>
12768
12769      <interrupt>
12770        <name>SWI0</name>
12771        <value>20</value>
12772      </interrupt>
12773      <interrupt>
12774        <name>SWI1</name>
12775        <value>21</value>
12776      </interrupt>
12777      <interrupt>
12778        <name>SWI2</name>
12779        <value>22</value>
12780      </interrupt>
12781      <interrupt>
12782        <name>SWI3</name>
12783        <value>23</value>
12784      </interrupt>
12785      <interrupt>
12786        <name>SWI4</name>
12787        <value>24</value>
12788      </interrupt>
12789      <interrupt>
12790        <name>SWI5</name>
12791        <value>25</value>
12792      </interrupt>
12793
12794      <registers>
12795        <register>
12796          <name>UNUSED</name>
12797          <description>Unused.</description>
12798          <addressOffset>0x000</addressOffset>
12799          <resetValue>0x00000000</resetValue>
12800          <access>read-only</access>
12801        </register>
12802      </registers>
12803    </peripheral>
12804
12805    <peripheral>
12806      <name>NVMC</name>
12807      <version>522</version>
12808      <description>Non Volatile Memory Controller.</description>
12809      <groupName>NVMC</groupName>
12810      <baseAddress>0x4001E000</baseAddress>
12811      <size>32</size>
12812      <access>read-write</access>
12813
12814      <addressBlock>
12815        <offset>0</offset>
12816        <size>0x1000</size>
12817        <usage>registers</usage>
12818      </addressBlock>
12819
12820      <registers>
12821        <register>
12822          <name>READY</name>
12823          <description>Ready flag.</description>
12824          <addressOffset>0x400</addressOffset>
12825          <access>read-only</access>
12826          <fields>
12827            <field>
12828              <name>READY</name>
12829              <description>NVMC ready.</description>
12830              <lsb>0</lsb> <msb>0</msb>
12831              <enumeratedValues>
12832                <enumeratedValue>
12833                  <name>Busy</name>
12834                  <description>NVMC is busy (on-going write or erase operation).</description>
12835                  <value>0</value>
12836                </enumeratedValue>
12837                <enumeratedValue>
12838                  <name>Ready</name>
12839                  <description>NVMC is ready.</description>
12840                  <value>1</value>
12841                </enumeratedValue>
12842              </enumeratedValues>
12843            </field>
12844          </fields>
12845        </register>
12846
12847        <register>
12848          <name>CONFIG</name>
12849          <description>Configuration register.</description>
12850          <addressOffset>0x504</addressOffset>
12851          <fields>
12852            <field>
12853              <name>WEN</name>
12854              <description>Program write enable.</description>
12855              <lsb>0</lsb> <msb>1</msb>
12856              <enumeratedValues>
12857                <enumeratedValue>
12858                  <name>Ren</name>
12859                  <description>Read only access.</description>
12860                  <value>0x00</value>
12861                </enumeratedValue>
12862                <enumeratedValue>
12863                  <name>Wen</name>
12864                  <description>Write enabled.</description>
12865                  <value>0x01</value>
12866                </enumeratedValue>
12867                <enumeratedValue>
12868                  <name>Een</name>
12869                  <description>Erase enabled.</description>
12870                  <value>0x02</value>
12871                </enumeratedValue>
12872              </enumeratedValues>
12873            </field>
12874          </fields>
12875        </register>
12876
12877        <register>
12878          <name>ERASEPAGE</name>
12879          <description>Register for erasing a non-protected non-volatile memory page.</description>
12880          <addressOffset>0x508</addressOffset>
12881        </register>
12882        <register>
12883          <name>ERASEPCR1</name>
12884          <description>Register for erasing a non-protected non-volatile memory page.</description>
12885          <addressOffset>0x508</addressOffset>
12886          <alternateRegister>ERASEPAGE</alternateRegister>
12887        </register>
12888
12889        <register>
12890          <name>ERASEALL</name>
12891          <description>Register for erasing all non-volatile user memory.</description>
12892          <addressOffset>0x50C</addressOffset>
12893          <fields>
12894            <field>
12895              <name>ERASEALL</name>
12896              <description>Starts the erasing of all user NVM (code region 0/1 and UICR registers).</description>
12897              <lsb>0</lsb> <msb>0</msb>
12898              <enumeratedValues>
12899                <enumeratedValue>
12900                  <name>NoOperation</name>
12901                  <description>No operation.</description>
12902                  <value>0</value>
12903                </enumeratedValue>
12904                <enumeratedValue>
12905                  <name>Erase</name>
12906                  <description>Start chip erase.</description>
12907                  <value>1</value>
12908                </enumeratedValue>
12909              </enumeratedValues>
12910            </field>
12911          </fields>
12912        </register>
12913
12914        <register>
12915          <name>ERASEPCR0</name>
12916          <description>Register for erasing a protected non-volatile memory page.</description>
12917          <addressOffset>0x510</addressOffset>
12918        </register>
12919
12920        <register>
12921          <name>ERASEUICR</name>
12922          <description>Register for start erasing User Information Congfiguration Registers.</description>
12923          <addressOffset>0x514</addressOffset>
12924          <fields>
12925            <field>
12926              <name>ERASEUICR</name>
12927              <description>It can only be used when all contents of code region 1 are erased.</description>
12928              <lsb>0</lsb> <msb>0</msb>
12929              <enumeratedValues>
12930                <enumeratedValue>
12931                  <name>NoOperation</name>
12932                  <description>No operation.</description>
12933                  <value>0</value>
12934                </enumeratedValue>
12935                <enumeratedValue>
12936                  <name>Erase</name>
12937                  <description>Start UICR erase.</description>
12938                  <value>1</value>
12939                </enumeratedValue>
12940              </enumeratedValues>
12941            </field>
12942          </fields>
12943        </register>
12944      </registers>
12945    </peripheral>
12946
12947    <peripheral>
12948      <name>PPI</name>
12949      <version>522</version>
12950      <description>PPI controller.</description>
12951      <baseAddress>0x4001F000</baseAddress>
12952      <groupName>PPI</groupName>
12953      <size>32</size>
12954      <access>read-write</access>
12955
12956      <addressBlock>
12957        <offset>0</offset>
12958        <size>0x1000</size>
12959        <usage>registers</usage>
12960      </addressBlock>
12961
12962      <registers>
12963        <cluster>
12964          <dim>4</dim>
12965          <dimIncrement>0x08</dimIncrement>
12966          <name>TASKS_CHG[%s]</name>
12967          <description>Channel group tasks.</description>
12968          <addressOffset>0x000</addressOffset>
12969          <register>
12970            <name>EN</name>
12971            <description>Enable channel group.</description>
12972            <addressOffset>0x000</addressOffset>
12973            <access>write-only</access>
12974          </register>
12975          <register>
12976            <name>DIS</name>
12977            <description>Disable channel group.</description>
12978            <addressOffset>0x004</addressOffset>
12979            <access>write-only</access>
12980          </register>
12981        </cluster>
12982
12983        <register>
12984          <name>CHEN</name>
12985          <description>Channel enable.</description>
12986          <addressOffset>0x500</addressOffset>
12987          <fields>
12988            <field>
12989              <name>CH0</name>
12990              <description>Enable PPI channel 0.</description>
12991              <lsb>0</lsb> <msb>0</msb>
12992              <enumeratedValues>
12993                <enumeratedValue>
12994                  <name>Disabled</name>
12995                  <description>Channel disabled.</description>
12996                  <value>0</value>
12997                </enumeratedValue>
12998                <enumeratedValue>
12999                  <name>Enabled</name>
13000                  <description>Channel enabled.</description>
13001                  <value>1</value>
13002                </enumeratedValue>
13003              </enumeratedValues>
13004            </field>
13005            <field>
13006              <name>CH1</name>
13007              <description>Enable PPI channel 1.</description>
13008              <lsb>1</lsb> <msb>1</msb>
13009              <enumeratedValues>
13010                <enumeratedValue>
13011                  <name>Disabled</name>
13012                  <description>Channel disabled.</description>
13013                  <value>0</value>
13014                </enumeratedValue>
13015                <enumeratedValue>
13016                  <name>Enabled</name>
13017                  <description>Channel enabled.</description>
13018                  <value>1</value>
13019                </enumeratedValue>
13020              </enumeratedValues>
13021            </field>
13022            <field>
13023              <name>CH2</name>
13024              <description>Enable PPI channel 2.</description>
13025              <lsb>2</lsb> <msb>2</msb>
13026              <enumeratedValues>
13027                <enumeratedValue>
13028                  <name>Disabled</name>
13029                  <description>Channel disabled.</description>
13030                  <value>0</value>
13031                </enumeratedValue>
13032                <enumeratedValue>
13033                  <name>Enabled</name>
13034                  <description>Channel enabled.</description>
13035                  <value>1</value>
13036                </enumeratedValue>
13037              </enumeratedValues>
13038            </field>
13039            <field>
13040              <name>CH3</name>
13041              <description>Enable PPI channel 3.</description>
13042              <lsb>3</lsb> <msb>3</msb>
13043              <enumeratedValues>
13044                <enumeratedValue>
13045                  <name>Disabled</name>
13046                  <description>Channel disabled</description>
13047                  <value>0</value>
13048                </enumeratedValue>
13049                <enumeratedValue>
13050                  <name>Enabled</name>
13051                  <description>Channel enabled</description>
13052                  <value>1</value>
13053                </enumeratedValue>
13054              </enumeratedValues>
13055            </field>
13056            <field>
13057              <name>CH4</name>
13058              <description>Enable PPI channel 4.</description>
13059              <lsb>4</lsb> <msb>4</msb>
13060              <enumeratedValues>
13061                <enumeratedValue>
13062                  <name>Disabled</name>
13063                  <description>Channel disabled.</description>
13064                  <value>0</value>
13065                </enumeratedValue>
13066                <enumeratedValue>
13067                  <name>Enabled</name>
13068                  <description>Channel enabled.</description>
13069                  <value>1</value>
13070                </enumeratedValue>
13071              </enumeratedValues>
13072            </field>
13073            <field>
13074              <name>CH5</name>
13075              <description>Enable PPI channel 5.</description>
13076              <lsb>5</lsb> <msb>5</msb>
13077              <enumeratedValues>
13078                <enumeratedValue>
13079                  <name>Disabled</name>
13080                  <description>Channel disabled.</description>
13081                  <value>0</value>
13082                </enumeratedValue>
13083                <enumeratedValue>
13084                  <name>Enabled</name>
13085                  <description>Channel enabled.</description>
13086                  <value>1</value>
13087                </enumeratedValue>
13088              </enumeratedValues>
13089            </field>
13090            <field>
13091              <name>CH6</name>
13092              <description>Enable PPI channel 6.</description>
13093              <lsb>6</lsb> <msb>6</msb>
13094              <enumeratedValues>
13095                <enumeratedValue>
13096                  <name>Disabled</name>
13097                  <description>Channel disabled.</description>
13098                  <value>0</value>
13099                </enumeratedValue>
13100                <enumeratedValue>
13101                  <name>Enabled</name>
13102                  <description>Channel enabled.</description>
13103                  <value>1</value>
13104                </enumeratedValue>
13105              </enumeratedValues>
13106            </field>
13107            <field>
13108              <name>CH7</name>
13109              <description>Enable PPI channel 7.</description>
13110              <lsb>7</lsb> <msb>7</msb>
13111              <enumeratedValues>
13112                <enumeratedValue>
13113                  <name>Disabled</name>
13114                  <description>Channel disabled.</description>
13115                  <value>0</value>
13116                </enumeratedValue>
13117                <enumeratedValue>
13118                  <name>Enabled</name>
13119                  <description>Channel enabled.</description>
13120                  <value>1</value>
13121                </enumeratedValue>
13122              </enumeratedValues>
13123            </field>
13124            <field>
13125              <name>CH8</name>
13126              <description>Enable PPI channel 8.</description>
13127              <lsb>8</lsb> <msb>8</msb>
13128              <enumeratedValues>
13129                <enumeratedValue>
13130                  <name>Disabled</name>
13131                  <description>Channel disabled.</description>
13132                  <value>0</value>
13133                </enumeratedValue>
13134                <enumeratedValue>
13135                  <name>Enabled</name>
13136                  <description>Channel enabled.</description>
13137                  <value>1</value>
13138                </enumeratedValue>
13139              </enumeratedValues>
13140            </field>
13141            <field>
13142              <name>CH9</name>
13143              <description>Enable PPI channel 9.</description>
13144              <lsb>9</lsb> <msb>9</msb>
13145              <enumeratedValues>
13146                <enumeratedValue>
13147                  <name>Disabled</name>
13148                  <description>Channel disabled.</description>
13149                  <value>0</value>
13150                </enumeratedValue>
13151                <enumeratedValue>
13152                  <name>Enabled</name>
13153                  <description>Channel enabled.</description>
13154                  <value>1</value>
13155                </enumeratedValue>
13156              </enumeratedValues>
13157            </field>
13158            <field>
13159              <name>CH10</name>
13160              <description>Enable PPI channel 10.</description>
13161              <lsb>10</lsb> <msb>10</msb>
13162              <enumeratedValues>
13163                <enumeratedValue>
13164                  <name>Disabled</name>
13165                  <description>Channel disabled.</description>
13166                  <value>0</value>
13167                </enumeratedValue>
13168                <enumeratedValue>
13169                  <name>Enabled</name>
13170                  <description>Channel enabled.</description>
13171                  <value>1</value>
13172                </enumeratedValue>
13173              </enumeratedValues>
13174            </field>
13175            <field>
13176              <name>CH11</name>
13177              <description>Enable PPI channel 11.</description>
13178              <lsb>11</lsb> <msb>11</msb>
13179              <enumeratedValues>
13180                <enumeratedValue>
13181                  <name>Disabled</name>
13182                  <description>Channel disabled.</description>
13183                  <value>0</value>
13184                </enumeratedValue>
13185                <enumeratedValue>
13186                  <name>Enabled</name>
13187                  <description>Channel enabled.</description>
13188                  <value>1</value>
13189                </enumeratedValue>
13190              </enumeratedValues>
13191            </field>
13192            <field>
13193              <name>CH12</name>
13194              <description>Enable PPI channel 12.</description>
13195              <lsb>12</lsb> <msb>12</msb>
13196              <enumeratedValues>
13197                <enumeratedValue>
13198                  <name>Disabled</name>
13199                  <description>Channel disabled.</description>
13200                  <value>0</value>
13201                </enumeratedValue>
13202                <enumeratedValue>
13203                  <name>Enabled</name>
13204                  <description>Channel enabled.</description>
13205                  <value>1</value>
13206                </enumeratedValue>
13207              </enumeratedValues>
13208            </field>
13209            <field>
13210              <name>CH13</name>
13211              <description>Enable PPI channel 13.</description>
13212              <lsb>13</lsb> <msb>13</msb>
13213              <enumeratedValues>
13214                <enumeratedValue>
13215                  <name>Disabled</name>
13216                  <description>Channel disabled.</description>
13217                  <value>0</value>
13218                </enumeratedValue>
13219                <enumeratedValue>
13220                  <name>Enabled</name>
13221                  <description>Channel enabled.</description>
13222                  <value>1</value>
13223                </enumeratedValue>
13224              </enumeratedValues>
13225            </field>
13226            <field>
13227              <name>CH14</name>
13228              <description>Enable PPI channel 14.</description>
13229              <lsb>14</lsb> <msb>14</msb>
13230              <enumeratedValues>
13231                <enumeratedValue>
13232                  <name>Disabled</name>
13233                  <description>Channel disabled.</description>
13234                  <value>0</value>
13235                </enumeratedValue>
13236                <enumeratedValue>
13237                  <name>Enabled</name>
13238                  <description>Channel enabled.</description>
13239                  <value>1</value>
13240                </enumeratedValue>
13241              </enumeratedValues>
13242            </field>
13243            <field>
13244              <name>CH15</name>
13245              <description>Enable PPI channel 15.</description>
13246              <lsb>15</lsb> <msb>15</msb>
13247              <enumeratedValues>
13248                <enumeratedValue>
13249                  <name>Disabled</name>
13250                  <description>Channel disabled.</description>
13251                  <value>0</value>
13252                </enumeratedValue>
13253                <enumeratedValue>
13254                  <name>Enabled</name>
13255                  <description>Channel enabled.</description>
13256                  <value>1</value>
13257                </enumeratedValue>
13258              </enumeratedValues>
13259            </field>
13260            <field>
13261              <name>CH20</name>
13262              <description>Enable PPI channel 20.</description>
13263              <lsb>20</lsb> <msb>20</msb>
13264              <enumeratedValues>
13265                <enumeratedValue>
13266                  <name>Disabled</name>
13267                  <description>Channel disabled.</description>
13268                  <value>0</value>
13269                </enumeratedValue>
13270                <enumeratedValue>
13271                  <name>Enabled</name>
13272                  <description>Channel enabled.</description>
13273                  <value>1</value>
13274                </enumeratedValue>
13275              </enumeratedValues>
13276            </field>
13277            <field>
13278              <name>CH21</name>
13279              <description>Enable PPI channel 21.</description>
13280              <lsb>21</lsb> <msb>21</msb>
13281              <enumeratedValues>
13282                <enumeratedValue>
13283                  <name>Disabled</name>
13284                  <description>Channel disabled.</description>
13285                  <value>0</value>
13286                </enumeratedValue>
13287                <enumeratedValue>
13288                  <name>Enabled</name>
13289                  <description>Channel enabled.</description>
13290                  <value>1</value>
13291                </enumeratedValue>
13292              </enumeratedValues>
13293            </field>
13294            <field>
13295              <name>CH22</name>
13296              <description>Enable PPI channel 22.</description>
13297              <lsb>22</lsb> <msb>22</msb>
13298              <enumeratedValues>
13299                <enumeratedValue>
13300                  <name>Disabled</name>
13301                  <description>Channel disabled.</description>
13302                  <value>0</value>
13303                </enumeratedValue>
13304                <enumeratedValue>
13305                  <name>Enabled</name>
13306                  <description>Channel enabled.</description>
13307                  <value>1</value>
13308                </enumeratedValue>
13309              </enumeratedValues>
13310            </field>
13311            <field>
13312              <name>CH23</name>
13313              <description>Enable PPI channel 23.</description>
13314              <lsb>23</lsb> <msb>23</msb>
13315              <enumeratedValues>
13316                <enumeratedValue>
13317                  <name>Disabled</name>
13318                  <description>Channel disabled.</description>
13319                  <value>0</value>
13320                </enumeratedValue>
13321                <enumeratedValue>
13322                  <name>Enabled</name>
13323                  <description>Channel enabled.</description>
13324                  <value>1</value>
13325                </enumeratedValue>
13326              </enumeratedValues>
13327            </field>
13328            <field>
13329              <name>CH24</name>
13330              <description>Enable PPI channel 24.</description>
13331              <lsb>24</lsb> <msb>24</msb>
13332              <enumeratedValues>
13333                <enumeratedValue>
13334                  <name>Disabled</name>
13335                  <description>Channel disabled.</description>
13336                  <value>0</value>
13337                </enumeratedValue>
13338                <enumeratedValue>
13339                  <name>Enabled</name>
13340                  <description>Channel enabled.</description>
13341                  <value>1</value>
13342                </enumeratedValue>
13343              </enumeratedValues>
13344            </field>
13345            <field>
13346              <name>CH25</name>
13347              <description>Enable PPI channel 25.</description>
13348              <lsb>25</lsb> <msb>25</msb>
13349              <enumeratedValues>
13350                <enumeratedValue>
13351                  <name>Disabled</name>
13352                  <description>Channel disabled.</description>
13353                  <value>0</value>
13354                </enumeratedValue>
13355                <enumeratedValue>
13356                  <name>Enabled</name>
13357                  <description>Channel enabled.</description>
13358                  <value>1</value>
13359                </enumeratedValue>
13360              </enumeratedValues>
13361            </field>
13362            <field>
13363              <name>CH26</name>
13364              <description>Enable PPI channel 26.</description>
13365              <lsb>26</lsb> <msb>26</msb>
13366              <enumeratedValues>
13367                <enumeratedValue>
13368                  <name>Disabled</name>
13369                  <description>Channel disabled.</description>
13370                  <value>0</value>
13371                </enumeratedValue>
13372                <enumeratedValue>
13373                  <name>Enabled</name>
13374                  <description>Channel enabled.</description>
13375                  <value>1</value>
13376                </enumeratedValue>
13377              </enumeratedValues>
13378            </field>
13379            <field>
13380              <name>CH27</name>
13381              <description>Enable PPI channel 27.</description>
13382              <lsb>27</lsb> <msb>27</msb>
13383              <enumeratedValues>
13384                <enumeratedValue>
13385                  <name>Disabled</name>
13386                  <description>Channel disabled.</description>
13387                  <value>0</value>
13388                </enumeratedValue>
13389                <enumeratedValue>
13390                  <name>Enabled</name>
13391                  <description>Channel enabled.</description>
13392                  <value>1</value>
13393                </enumeratedValue>
13394              </enumeratedValues>
13395            </field>
13396            <field>
13397              <name>CH28</name>
13398              <description>Enable PPI channel 28.</description>
13399              <lsb>28</lsb> <msb>28</msb>
13400              <enumeratedValues>
13401                <enumeratedValue>
13402                  <name>Disabled</name>
13403                  <description>Channel disabled.</description>
13404                  <value>0</value>
13405                </enumeratedValue>
13406                <enumeratedValue>
13407                  <name>Enabled</name>
13408                  <description>Channel enabled.</description>
13409                  <value>1</value>
13410                </enumeratedValue>
13411              </enumeratedValues>
13412            </field>
13413            <field>
13414              <name>CH29</name>
13415              <description>Enable PPI channel 29.</description>
13416              <lsb>29</lsb> <msb>29</msb>
13417              <enumeratedValues>
13418                <enumeratedValue>
13419                  <name>Disabled</name>
13420                  <description>Channel disabled.</description>
13421                  <value>0</value>
13422                </enumeratedValue>
13423                <enumeratedValue>
13424                  <name>Enabled</name>
13425                  <description>Channel enabled.</description>
13426                  <value>1</value>
13427                </enumeratedValue>
13428              </enumeratedValues>
13429            </field>
13430            <field>
13431              <name>CH30</name>
13432              <description>Enable PPI channel 30.</description>
13433              <lsb>30</lsb> <msb>30</msb>
13434              <enumeratedValues>
13435                <enumeratedValue>
13436                  <name>Disabled</name>
13437                  <description>Channel disabled.</description>
13438                  <value>0</value>
13439                </enumeratedValue>
13440                <enumeratedValue>
13441                  <name>Enabled</name>
13442                  <description>Channel enabled.</description>
13443                  <value>1</value>
13444                </enumeratedValue>
13445              </enumeratedValues>
13446            </field>
13447            <field>
13448              <name>CH31</name>
13449              <description>Enable PPI channel 31.</description>
13450              <lsb>31</lsb> <msb>31</msb>
13451              <enumeratedValues>
13452                <enumeratedValue>
13453                  <name>Disabled</name>
13454                  <description>Channel disabled.</description>
13455                  <value>0</value>
13456                </enumeratedValue>
13457                <enumeratedValue>
13458                  <name>Enabled</name>
13459                  <description>Channel enabled.</description>
13460                  <value>1</value>
13461                </enumeratedValue>
13462              </enumeratedValues>
13463            </field>
13464          </fields>
13465        </register>
13466        <register>
13467          <name>CHENSET</name>
13468          <description>Channel enable set.</description>
13469          <addressOffset>0x504</addressOffset>
13470          <fields>
13471            <field>
13472              <name>CH0</name>
13473              <description>Enable PPI channel 0.</description>
13474              <lsb>0</lsb> <msb>0</msb>
13475			        <enumeratedValues>
13476                <usage>read</usage>
13477                <enumeratedValue>
13478                  <name>Disabled</name>
13479                  <description>Channel disabled.</description>
13480                  <value>0</value>
13481                </enumeratedValue>
13482                <enumeratedValue>
13483                  <name>Enabled</name>
13484                  <description>Channel enabled.</description>
13485                  <value>1</value>
13486                </enumeratedValue>
13487              </enumeratedValues>
13488              <enumeratedValues>
13489                <usage>write</usage>
13490                <enumeratedValue>
13491                  <name>Set</name>
13492                  <description>Enable channel on write.</description>
13493                  <value>1</value>
13494                </enumeratedValue>
13495              </enumeratedValues>
13496            </field>
13497            <field>
13498              <name>CH1</name>
13499              <description>Enable PPI channel 1.</description>
13500              <lsb>1</lsb> <msb>1</msb>
13501              <enumeratedValues>
13502                <usage>read</usage>
13503                <enumeratedValue>
13504                  <name>Disabled</name>
13505                  <description>Channel disabled.</description>
13506                  <value>0</value>
13507                </enumeratedValue>
13508                <enumeratedValue>
13509                  <name>Enabled</name>
13510                  <description>Channel enabled.</description>
13511                  <value>1</value>
13512                </enumeratedValue>
13513              </enumeratedValues>
13514              <enumeratedValues>
13515                <usage>write</usage>
13516                <enumeratedValue>
13517                  <name>Set</name>
13518                  <description>Enable channel on write.</description>
13519                  <value>1</value>
13520                </enumeratedValue>
13521              </enumeratedValues>
13522            </field>
13523            <field>
13524              <name>CH2</name>
13525              <description>Enable PPI channel 2.</description>
13526              <lsb>2</lsb> <msb>2</msb>
13527              <enumeratedValues>
13528                <usage>read</usage>
13529                <enumeratedValue>
13530                  <name>Disabled</name>
13531                  <description>Channel disabled.</description>
13532                  <value>0</value>
13533                </enumeratedValue>
13534                <enumeratedValue>
13535                  <name>Enabled</name>
13536                  <description>Channel enabled.</description>
13537                  <value>1</value>
13538                </enumeratedValue>
13539              </enumeratedValues>
13540              <enumeratedValues>
13541                <usage>write</usage>
13542                <enumeratedValue>
13543                  <name>Set</name>
13544                  <description>Enable channel on write.</description>
13545                  <value>1</value>
13546                </enumeratedValue>
13547              </enumeratedValues>
13548            </field>
13549            <field>
13550              <name>CH3</name>
13551              <description>Enable PPI channel 3.</description>
13552              <lsb>3</lsb> <msb>3</msb>
13553              <enumeratedValues>
13554                <usage>read</usage>
13555                <enumeratedValue>
13556                  <name>Disabled</name>
13557                  <description>Channel disabled.</description>
13558                  <value>0</value>
13559                </enumeratedValue>
13560                <enumeratedValue>
13561                  <name>Enabled</name>
13562                  <description>Channel enabled.</description>
13563                  <value>1</value>
13564                </enumeratedValue>
13565              </enumeratedValues>
13566              <enumeratedValues>
13567                <usage>write</usage>
13568                <enumeratedValue>
13569                  <name>Set</name>
13570                  <description>Enable channel on write.</description>
13571                  <value>1</value>
13572                </enumeratedValue>
13573              </enumeratedValues>
13574            </field>
13575            <field>
13576              <name>CH4</name>
13577              <description>Enable PPI channel 4.</description>
13578              <lsb>4</lsb> <msb>4</msb>
13579              <enumeratedValues>
13580                <usage>read</usage>
13581                <enumeratedValue>
13582                  <name>Disabled</name>
13583                  <description>Channel disabled.</description>
13584                  <value>0</value>
13585                </enumeratedValue>
13586                <enumeratedValue>
13587                  <name>Enabled</name>
13588                  <description>Channel enabled.</description>
13589                  <value>1</value>
13590                </enumeratedValue>
13591              </enumeratedValues>
13592              <enumeratedValues>
13593                <usage>write</usage>
13594                <enumeratedValue>
13595                  <name>Set</name>
13596                  <description>Enable channel on write.</description>
13597                  <value>1</value>
13598                </enumeratedValue>
13599              </enumeratedValues>
13600            </field>
13601            <field>
13602              <name>CH5</name>
13603              <description>Enable PPI channel 5.</description>
13604              <lsb>5</lsb> <msb>5</msb>
13605              <enumeratedValues>
13606                <usage>read</usage>
13607                <enumeratedValue>
13608                  <name>Disabled</name>
13609                  <description>Channel disabled.</description>
13610                  <value>0</value>
13611                </enumeratedValue>
13612                <enumeratedValue>
13613                  <name>Enabled</name>
13614                  <description>Channel enabled.</description>
13615                  <value>1</value>
13616                </enumeratedValue>
13617              </enumeratedValues>
13618              <enumeratedValues>
13619                <usage>write</usage>
13620                <enumeratedValue>
13621                  <name>Set</name>
13622                  <description>Enable channel on write.</description>
13623                  <value>1</value>
13624                </enumeratedValue>
13625              </enumeratedValues>
13626            </field>
13627            <field>
13628              <name>CH6</name>
13629              <description>Enable PPI channel 6.</description>
13630              <lsb>6</lsb> <msb>6</msb>
13631              <enumeratedValues>
13632                <usage>read</usage>
13633                <enumeratedValue>
13634                  <name>Disabled</name>
13635                  <description>Channel disabled.</description>
13636                  <value>0</value>
13637                </enumeratedValue>
13638                <enumeratedValue>
13639                  <name>Enabled</name>
13640                  <description>Channel enabled.</description>
13641                  <value>1</value>
13642                </enumeratedValue>
13643              </enumeratedValues>
13644              <enumeratedValues>
13645                <usage>write</usage>
13646                <enumeratedValue>
13647                  <name>Set</name>
13648                  <description>Enable channel on write.</description>
13649                  <value>1</value>
13650                </enumeratedValue>
13651              </enumeratedValues>
13652            </field>
13653            <field>
13654              <name>CH7</name>
13655              <description>Enable PPI channel 7.</description>
13656              <lsb>7</lsb> <msb>7</msb>
13657              <enumeratedValues>
13658                <usage>read</usage>
13659                <enumeratedValue>
13660                  <name>Disabled</name>
13661                  <description>Channel disabled.</description>
13662                  <value>0</value>
13663                </enumeratedValue>
13664                <enumeratedValue>
13665                  <name>Enabled</name>
13666                  <description>Channel enabled.</description>
13667                  <value>1</value>
13668                </enumeratedValue>
13669              </enumeratedValues>
13670              <enumeratedValues>
13671                <usage>write</usage>
13672                <enumeratedValue>
13673                  <name>Set</name>
13674                  <description>Enable channel on write.</description>
13675                  <value>1</value>
13676                </enumeratedValue>
13677              </enumeratedValues>
13678            </field>
13679            <field>
13680              <name>CH8</name>
13681              <description>Enable PPI channel 8.</description>
13682              <lsb>8</lsb> <msb>8</msb>
13683              <enumeratedValues>
13684                <usage>read</usage>
13685                <enumeratedValue>
13686                  <name>Disabled</name>
13687                  <description>Channel disabled.</description>
13688                  <value>0</value>
13689                </enumeratedValue>
13690                <enumeratedValue>
13691                  <name>Enabled</name>
13692                  <description>Channel enabled.</description>
13693                  <value>1</value>
13694                </enumeratedValue>
13695              </enumeratedValues>
13696              <enumeratedValues>
13697                <usage>write</usage>
13698                <enumeratedValue>
13699                  <name>Set</name>
13700                  <description>Enable channel on write.</description>
13701                  <value>1</value>
13702                </enumeratedValue>
13703              </enumeratedValues>
13704            </field>
13705            <field>
13706              <name>CH9</name>
13707              <description>Enable PPI channel 9.</description>
13708              <lsb>9</lsb> <msb>9</msb>
13709              <enumeratedValues>
13710                <usage>read</usage>
13711                <enumeratedValue>
13712                  <name>Disabled</name>
13713                  <description>Channel disabled.</description>
13714                  <value>0</value>
13715                </enumeratedValue>
13716                <enumeratedValue>
13717                  <name>Enabled</name>
13718                  <description>Channel enabled.</description>
13719                  <value>1</value>
13720                </enumeratedValue>
13721              </enumeratedValues>
13722              <enumeratedValues>
13723                <usage>write</usage>
13724                <enumeratedValue>
13725                  <name>Set</name>
13726                  <description>Enable channel on write.</description>
13727                  <value>1</value>
13728                </enumeratedValue>
13729              </enumeratedValues>
13730            </field>
13731            <field>
13732              <name>CH10</name>
13733              <description>Enable PPI channel 10.</description>
13734              <lsb>10</lsb> <msb>10</msb>
13735              <enumeratedValues>
13736                <usage>read</usage>
13737                <enumeratedValue>
13738                  <name>Disabled</name>
13739                  <description>Channel disabled.</description>
13740                  <value>0</value>
13741                </enumeratedValue>
13742                <enumeratedValue>
13743                  <name>Enabled</name>
13744                  <description>Channel enabled.</description>
13745                  <value>1</value>
13746                </enumeratedValue>
13747              </enumeratedValues>
13748              <enumeratedValues>
13749                <usage>write</usage>
13750                <enumeratedValue>
13751                  <name>Set</name>
13752                  <description>Enable channel on write.</description>
13753                  <value>1</value>
13754                </enumeratedValue>
13755              </enumeratedValues>
13756            </field>
13757            <field>
13758              <name>CH11</name>
13759              <description>Enable PPI channel 11.</description>
13760              <lsb>11</lsb> <msb>11</msb>
13761              <enumeratedValues>
13762                <usage>read</usage>
13763                <enumeratedValue>
13764                  <name>Disabled</name>
13765                  <description>Channel disabled.</description>
13766                  <value>0</value>
13767                </enumeratedValue>
13768                <enumeratedValue>
13769                  <name>Enabled</name>
13770                  <description>Channel enabled.</description>
13771                  <value>1</value>
13772                </enumeratedValue>
13773              </enumeratedValues>
13774              <enumeratedValues>
13775                <usage>write</usage>
13776                <enumeratedValue>
13777                  <name>Set</name>
13778                  <description>Enable channel on write.</description>
13779                  <value>1</value>
13780                </enumeratedValue>
13781              </enumeratedValues>
13782            </field>
13783            <field>
13784              <name>CH12</name>
13785              <description>Enable PPI channel 12.</description>
13786              <lsb>12</lsb> <msb>12</msb>
13787              <enumeratedValues>
13788                <usage>read</usage>
13789                <enumeratedValue>
13790                  <name>Disabled</name>
13791                  <description>Channel disabled.</description>
13792                  <value>0</value>
13793                </enumeratedValue>
13794                <enumeratedValue>
13795                  <name>Enabled</name>
13796                  <description>Channel enabled.</description>
13797                  <value>1</value>
13798                </enumeratedValue>
13799              </enumeratedValues>
13800              <enumeratedValues>
13801                <usage>write</usage>
13802                <enumeratedValue>
13803                  <name>Set</name>
13804                  <description>Enable channel on write.</description>
13805                  <value>1</value>
13806                </enumeratedValue>
13807              </enumeratedValues>
13808            </field>
13809            <field>
13810              <name>CH13</name>
13811              <description>Enable PPI channel 13.</description>
13812              <lsb>13</lsb> <msb>13</msb>
13813              <enumeratedValues>
13814                <usage>read</usage>
13815                <enumeratedValue>
13816                  <name>Disabled</name>
13817                  <description>Channel disabled.</description>
13818                  <value>0</value>
13819                </enumeratedValue>
13820                <enumeratedValue>
13821                  <name>Enabled</name>
13822                  <description>Channel enabled.</description>
13823                  <value>1</value>
13824                </enumeratedValue>
13825              </enumeratedValues>
13826              <enumeratedValues>
13827                <usage>write</usage>
13828                <enumeratedValue>
13829                  <name>Set</name>
13830                  <description>Enable channel on write.</description>
13831                  <value>1</value>
13832                </enumeratedValue>
13833              </enumeratedValues>
13834            </field>
13835            <field>
13836              <name>CH14</name>
13837              <description>Enable PPI channel 14.</description>
13838              <lsb>14</lsb> <msb>14</msb>
13839              <enumeratedValues>
13840                <usage>read</usage>
13841                <enumeratedValue>
13842                  <name>Disabled</name>
13843                  <description>Channel disabled.</description>
13844                  <value>0</value>
13845                </enumeratedValue>
13846                <enumeratedValue>
13847                  <name>Enabled</name>
13848                  <description>Channel enabled.</description>
13849                  <value>1</value>
13850                </enumeratedValue>
13851              </enumeratedValues>
13852              <enumeratedValues>
13853                <usage>write</usage>
13854                <enumeratedValue>
13855                  <name>Set</name>
13856                  <description>Enable channel on write.</description>
13857                  <value>1</value>
13858                </enumeratedValue>
13859              </enumeratedValues>
13860            </field>
13861            <field>
13862              <name>CH15</name>
13863              <description>Enable PPI channel 15.</description>
13864              <lsb>15</lsb> <msb>15</msb>
13865              <enumeratedValues>
13866                <usage>read</usage>
13867                <enumeratedValue>
13868                  <name>Disabled</name>
13869                  <description>Channel disabled.</description>
13870                  <value>0</value>
13871                </enumeratedValue>
13872                <enumeratedValue>
13873                  <name>Enabled</name>
13874                  <description>Channel enabled.</description>
13875                  <value>1</value>
13876                </enumeratedValue>
13877              </enumeratedValues>
13878              <enumeratedValues>
13879                <usage>write</usage>
13880                <enumeratedValue>
13881                  <name>Set</name>
13882                  <description>Enable channel on write.</description>
13883                  <value>1</value>
13884                </enumeratedValue>
13885              </enumeratedValues>
13886            </field>
13887            <field>
13888              <name>CH20</name>
13889              <description>Enable PPI channel 20.</description>
13890              <lsb>20</lsb> <msb>20</msb>
13891              <enumeratedValues>
13892                <usage>read</usage>
13893                <enumeratedValue>
13894                  <name>Disabled</name>
13895                  <description>Channel disabled.</description>
13896                  <value>0</value>
13897                </enumeratedValue>
13898                <enumeratedValue>
13899                  <name>Enabled</name>
13900                  <description>Channel enabled.</description>
13901                  <value>1</value>
13902                </enumeratedValue>
13903              </enumeratedValues>
13904              <enumeratedValues>
13905                <usage>write</usage>
13906                <enumeratedValue>
13907                  <name>Set</name>
13908                  <description>Enable channel on write.</description>
13909                  <value>1</value>
13910                </enumeratedValue>
13911              </enumeratedValues>
13912            </field>
13913            <field>
13914              <name>CH21</name>
13915              <description>Enable PPI channel 21.</description>
13916              <lsb>21</lsb> <msb>21</msb>
13917              <enumeratedValues>
13918                <usage>read</usage>
13919                <enumeratedValue>
13920                  <name>Disabled</name>
13921                  <description>Channel disabled.</description>
13922                  <value>0</value>
13923                </enumeratedValue>
13924                <enumeratedValue>
13925                  <name>Enabled</name>
13926                  <description>Channel enabled.</description>
13927                  <value>1</value>
13928                </enumeratedValue>
13929              </enumeratedValues>
13930              <enumeratedValues>
13931                <usage>write</usage>
13932                <enumeratedValue>
13933                  <name>Set</name>
13934                  <description>Enable channel on write.</description>
13935                  <value>1</value>
13936                </enumeratedValue>
13937              </enumeratedValues>
13938            </field>
13939            <field>
13940              <name>CH22</name>
13941              <description>Enable PPI channel 22.</description>
13942              <lsb>22</lsb> <msb>22</msb>
13943              <enumeratedValues>
13944                <usage>read</usage>
13945                <enumeratedValue>
13946                  <name>Disabled</name>
13947                  <description>Channel disabled.</description>
13948                  <value>0</value>
13949                </enumeratedValue>
13950                <enumeratedValue>
13951                  <name>Enabled</name>
13952                  <description>Channel enabled.</description>
13953                  <value>1</value>
13954                </enumeratedValue>
13955              </enumeratedValues>
13956              <enumeratedValues>
13957                <usage>write</usage>
13958                <enumeratedValue>
13959                  <name>Set</name>
13960                  <description>Enable channel on write.</description>
13961                  <value>1</value>
13962                </enumeratedValue>
13963              </enumeratedValues>
13964            </field>
13965            <field>
13966              <name>CH23</name>
13967              <description>Enable PPI channel 23.</description>
13968              <lsb>23</lsb> <msb>23</msb>
13969              <enumeratedValues>
13970                <usage>read</usage>
13971                <enumeratedValue>
13972                  <name>Disabled</name>
13973                  <description>Channel disabled.</description>
13974                  <value>0</value>
13975                </enumeratedValue>
13976                <enumeratedValue>
13977                  <name>Enabled</name>
13978                  <description>Channel enabled.</description>
13979                  <value>1</value>
13980                </enumeratedValue>
13981              </enumeratedValues>
13982              <enumeratedValues>
13983                <usage>write</usage>
13984                <enumeratedValue>
13985                  <name>Set</name>
13986                  <description>Enable channel on write.</description>
13987                  <value>1</value>
13988                </enumeratedValue>
13989              </enumeratedValues>
13990            </field>
13991            <field>
13992              <name>CH24</name>
13993              <description>Enable PPI channel 24.</description>
13994              <lsb>24</lsb> <msb>24</msb>
13995              <enumeratedValues>
13996                <usage>read</usage>
13997                <enumeratedValue>
13998                  <name>Disabled</name>
13999                  <description>Channel disabled.</description>
14000                  <value>0</value>
14001                </enumeratedValue>
14002                <enumeratedValue>
14003                  <name>Enabled</name>
14004                  <description>Channel enabled.</description>
14005                  <value>1</value>
14006                </enumeratedValue>
14007              </enumeratedValues>
14008              <enumeratedValues>
14009                <usage>write</usage>
14010                <enumeratedValue>
14011                  <name>Set</name>
14012                  <description>Enable channel on write.</description>
14013                  <value>1</value>
14014                </enumeratedValue>
14015              </enumeratedValues>
14016            </field>
14017            <field>
14018              <name>CH25</name>
14019              <description>Enable PPI channel 25.</description>
14020              <lsb>25</lsb> <msb>25</msb>
14021              <enumeratedValues>
14022                <usage>read</usage>
14023                <enumeratedValue>
14024                  <name>Disabled</name>
14025                  <description>Channel disabled.</description>
14026                  <value>0</value>
14027                </enumeratedValue>
14028                <enumeratedValue>
14029                  <name>Enabled</name>
14030                  <description>Channel enabled.</description>
14031                  <value>1</value>
14032                </enumeratedValue>
14033              </enumeratedValues>
14034              <enumeratedValues>
14035                <usage>write</usage>
14036                <enumeratedValue>
14037                  <name>Set</name>
14038                  <description>Enable channel on write.</description>
14039                  <value>1</value>
14040                </enumeratedValue>
14041              </enumeratedValues>
14042            </field>
14043            <field>
14044              <name>CH26</name>
14045              <description>Enable PPI channel 26.</description>
14046              <lsb>26</lsb> <msb>26</msb>
14047              <enumeratedValues>
14048                <usage>read</usage>
14049                <enumeratedValue>
14050                  <name>Disabled</name>
14051                  <description>Channel disabled.</description>
14052                  <value>0</value>
14053                </enumeratedValue>
14054                <enumeratedValue>
14055                  <name>Enabled</name>
14056                  <description>Channel enabled.</description>
14057                  <value>1</value>
14058                </enumeratedValue>
14059              </enumeratedValues>
14060              <enumeratedValues>
14061                <usage>write</usage>
14062                <enumeratedValue>
14063                  <name>Set</name>
14064                  <description>Enable channel on write.</description>
14065                  <value>1</value>
14066                </enumeratedValue>
14067              </enumeratedValues>
14068            </field>
14069            <field>
14070              <name>CH27</name>
14071              <description>Enable PPI channel 27.</description>
14072              <lsb>27</lsb> <msb>27</msb>
14073              <enumeratedValues>
14074                <usage>read</usage>
14075                <enumeratedValue>
14076                  <name>Disabled</name>
14077                  <description>Channel disabled.</description>
14078                  <value>0</value>
14079                </enumeratedValue>
14080                <enumeratedValue>
14081                  <name>Enabled</name>
14082                  <description>Channel enabled.</description>
14083                  <value>1</value>
14084                </enumeratedValue>
14085              </enumeratedValues>
14086              <enumeratedValues>
14087                <usage>write</usage>
14088                <enumeratedValue>
14089                  <name>Set</name>
14090                  <description>Enable channel on write.</description>
14091                  <value>1</value>
14092                </enumeratedValue>
14093              </enumeratedValues>
14094            </field>
14095            <field>
14096              <name>CH28</name>
14097              <description>Enable PPI channel 28.</description>
14098              <lsb>28</lsb> <msb>28</msb>
14099              <enumeratedValues>
14100                <usage>read</usage>
14101                <enumeratedValue>
14102                  <name>Disabled</name>
14103                  <description>Channel disabled.</description>
14104                  <value>0</value>
14105                </enumeratedValue>
14106                <enumeratedValue>
14107                  <name>Enabled</name>
14108                  <description>Channel enabled.</description>
14109                  <value>1</value>
14110                </enumeratedValue>
14111              </enumeratedValues>
14112              <enumeratedValues>
14113                <usage>write</usage>
14114                <enumeratedValue>
14115                  <name>Set</name>
14116                  <description>Enable channel on write.</description>
14117                  <value>1</value>
14118                </enumeratedValue>
14119              </enumeratedValues>
14120            </field>
14121            <field>
14122              <name>CH29</name>
14123              <description>Enable PPI channel 29.</description>
14124              <lsb>29</lsb> <msb>29</msb>
14125              <enumeratedValues>
14126                <usage>read</usage>
14127                <enumeratedValue>
14128                  <name>Disabled</name>
14129                  <description>Channel disabled.</description>
14130                  <value>0</value>
14131                </enumeratedValue>
14132                <enumeratedValue>
14133                  <name>Enabled</name>
14134                  <description>Channel enabled.</description>
14135                  <value>1</value>
14136                </enumeratedValue>
14137              </enumeratedValues>
14138              <enumeratedValues>
14139                <usage>write</usage>
14140                <enumeratedValue>
14141                  <name>Set</name>
14142                  <description>Enable channel on write.</description>
14143                  <value>1</value>
14144                </enumeratedValue>
14145              </enumeratedValues>
14146            </field>
14147            <field>
14148              <name>CH30</name>
14149              <description>Enable PPI channel 30.</description>
14150              <lsb>30</lsb> <msb>30</msb>
14151              <enumeratedValues>
14152                <usage>read</usage>
14153                <enumeratedValue>
14154                  <name>Disabled</name>
14155                  <description>Channel disabled.</description>
14156                  <value>0</value>
14157                </enumeratedValue>
14158                <enumeratedValue>
14159                  <name>Enabled</name>
14160                  <description>Channel enabled.</description>
14161                  <value>1</value>
14162                </enumeratedValue>
14163              </enumeratedValues>
14164              <enumeratedValues>
14165                <usage>write</usage>
14166                <enumeratedValue>
14167                  <name>Set</name>
14168                  <description>Enable channel on write.</description>
14169                  <value>1</value>
14170                </enumeratedValue>
14171              </enumeratedValues>
14172            </field>
14173            <field>
14174              <name>CH31</name>
14175              <description>Enable PPI channel 31.</description>
14176              <lsb>31</lsb> <msb>31</msb>
14177              <enumeratedValues>
14178                <usage>read</usage>
14179                <enumeratedValue>
14180                  <name>Disabled</name>
14181                  <description>Channel disabled.</description>
14182                  <value>0</value>
14183                </enumeratedValue>
14184                <enumeratedValue>
14185                  <name>Enabled</name>
14186                  <description>Channel enabled.</description>
14187                  <value>1</value>
14188                </enumeratedValue>
14189              </enumeratedValues>
14190              <enumeratedValues>
14191                <usage>write</usage>
14192                <enumeratedValue>
14193                  <name>Set</name>
14194                  <description>Enable channel on write.</description>
14195                  <value>1</value>
14196                </enumeratedValue>
14197              </enumeratedValues>
14198            </field>
14199          </fields>
14200        </register>
14201        <register>
14202          <name>CHENCLR</name>
14203          <description>Channel enable clear.</description>
14204          <addressOffset>0x508</addressOffset>
14205          <fields>
14206            <field>
14207              <name>CH0</name>
14208              <description>Disable PPI channel 0.</description>
14209              <lsb>0</lsb> <msb>0</msb>
14210              <enumeratedValues>
14211                <usage>read</usage>
14212                <enumeratedValue>
14213                  <name>Disabled</name>
14214                  <description>Channel disabled.</description>
14215                  <value>0</value>
14216                </enumeratedValue>
14217                <enumeratedValue>
14218                  <name>Enabled</name>
14219                  <description>Channel enabled.</description>
14220                  <value>1</value>
14221                </enumeratedValue>
14222              </enumeratedValues>
14223              <enumeratedValues>
14224                <usage>write</usage>
14225                <enumeratedValue>
14226                  <name>Clear</name>
14227                  <description>Disable channel on write.</description>
14228                  <value>1</value>
14229                </enumeratedValue>
14230              </enumeratedValues>
14231            </field>
14232            <field>
14233              <name>CH1</name>
14234              <description>Disable PPI channel 1.</description>
14235              <lsb>1</lsb> <msb>1</msb>
14236              <enumeratedValues>
14237                <usage>read</usage>
14238                <enumeratedValue>
14239                  <name>Disabled</name>
14240                  <description>Channel disabled.</description>
14241                  <value>0</value>
14242                </enumeratedValue>
14243                <enumeratedValue>
14244                  <name>Enabled</name>
14245                  <description>Channel enabled.</description>
14246                  <value>1</value>
14247                </enumeratedValue>
14248              </enumeratedValues>
14249              <enumeratedValues>
14250                <usage>write</usage>
14251                <enumeratedValue>
14252                  <name>Clear</name>
14253                  <description>Disable channel on write.</description>
14254                  <value>1</value>
14255                </enumeratedValue>
14256              </enumeratedValues>
14257            </field>
14258            <field>
14259              <name>CH2</name>
14260              <description>Disable PPI channel 2.</description>
14261              <lsb>2</lsb> <msb>2</msb>
14262              <enumeratedValues>
14263                <usage>read</usage>
14264                <enumeratedValue>
14265                  <name>Disabled</name>
14266                  <description>Channel disabled.</description>
14267                  <value>0</value>
14268                </enumeratedValue>
14269                <enumeratedValue>
14270                  <name>Enabled</name>
14271                  <description>Channel enabled.</description>
14272                  <value>1</value>
14273                </enumeratedValue>
14274              </enumeratedValues>
14275              <enumeratedValues>
14276                <usage>write</usage>
14277                <enumeratedValue>
14278                  <name>Clear</name>
14279                  <description>Disable channel on write.</description>
14280                  <value>1</value>
14281                </enumeratedValue>
14282              </enumeratedValues>
14283            </field>
14284            <field>
14285              <name>CH3</name>
14286              <description>Disable PPI channel 3.</description>
14287              <lsb>3</lsb> <msb>3</msb>
14288              <enumeratedValues>
14289                <usage>read</usage>
14290                <enumeratedValue>
14291                  <name>Disabled</name>
14292                  <description>Channel disabled.</description>
14293                  <value>0</value>
14294                </enumeratedValue>
14295                <enumeratedValue>
14296                  <name>Enabled</name>
14297                  <description>Channel enabled.</description>
14298                  <value>1</value>
14299                </enumeratedValue>
14300              </enumeratedValues>
14301              <enumeratedValues>
14302                <usage>write</usage>
14303                <enumeratedValue>
14304                  <name>Clear</name>
14305                  <description>Disable channel on write.</description>
14306                  <value>1</value>
14307                </enumeratedValue>
14308              </enumeratedValues>
14309            </field>
14310            <field>
14311              <name>CH4</name>
14312              <description>Disable PPI channel 4.</description>
14313              <lsb>4</lsb> <msb>4</msb>
14314              <enumeratedValues>
14315                <usage>read</usage>
14316                <enumeratedValue>
14317                  <name>Disabled</name>
14318                  <description>Channel disabled.</description>
14319                  <value>0</value>
14320                </enumeratedValue>
14321                <enumeratedValue>
14322                  <name>Enabled</name>
14323                  <description>Channel enabled.</description>
14324                  <value>1</value>
14325                </enumeratedValue>
14326              </enumeratedValues>
14327              <enumeratedValues>
14328                <usage>write</usage>
14329                <enumeratedValue>
14330                  <name>Clear</name>
14331                  <description>Disable channel on write.</description>
14332                  <value>1</value>
14333                </enumeratedValue>
14334              </enumeratedValues>
14335            </field>
14336            <field>
14337              <name>CH5</name>
14338              <description>Disable PPI channel 5.</description>
14339              <lsb>5</lsb> <msb>5</msb>
14340              <enumeratedValues>
14341                <usage>read</usage>
14342                <enumeratedValue>
14343                  <name>Disabled</name>
14344                  <description>Channel disabled.</description>
14345                  <value>0</value>
14346                </enumeratedValue>
14347                <enumeratedValue>
14348                  <name>Enabled</name>
14349                  <description>Channel enabled.</description>
14350                  <value>1</value>
14351                </enumeratedValue>
14352              </enumeratedValues>
14353              <enumeratedValues>
14354                <usage>write</usage>
14355                <enumeratedValue>
14356                  <name>Clear</name>
14357                  <description>Disable channel on write.</description>
14358                  <value>1</value>
14359                </enumeratedValue>
14360              </enumeratedValues>
14361            </field>
14362            <field>
14363              <name>CH6</name>
14364              <description>Disable PPI channel 6.</description>
14365              <lsb>6</lsb> <msb>6</msb>
14366              <enumeratedValues>
14367                <usage>read</usage>
14368                <enumeratedValue>
14369                  <name>Disabled</name>
14370                  <description>Channel disabled.</description>
14371                  <value>0</value>
14372                </enumeratedValue>
14373                <enumeratedValue>
14374                  <name>Enabled</name>
14375                  <description>Channel enabled.</description>
14376                  <value>1</value>
14377                </enumeratedValue>
14378              </enumeratedValues>
14379              <enumeratedValues>
14380                <usage>write</usage>
14381                <enumeratedValue>
14382                  <name>Clear</name>
14383                  <description>Disable channel on write.</description>
14384                  <value>1</value>
14385                </enumeratedValue>
14386              </enumeratedValues>
14387            </field>
14388            <field>
14389              <name>CH7</name>
14390              <description>Disable PPI channel 7.</description>
14391              <lsb>7</lsb> <msb>7</msb>
14392              <enumeratedValues>
14393                <usage>read</usage>
14394                <enumeratedValue>
14395                  <name>Disabled</name>
14396                  <description>Channel disabled.</description>
14397                  <value>0</value>
14398                </enumeratedValue>
14399                <enumeratedValue>
14400                  <name>Enabled</name>
14401                  <description>Channel enabled.</description>
14402                  <value>1</value>
14403                </enumeratedValue>
14404              </enumeratedValues>
14405              <enumeratedValues>
14406                <usage>write</usage>
14407                <enumeratedValue>
14408                  <name>Clear</name>
14409                  <description>Disable channel on write.</description>
14410                  <value>1</value>
14411                </enumeratedValue>
14412              </enumeratedValues>
14413            </field>
14414            <field>
14415              <name>CH8</name>
14416              <description>Disable PPI channel 8.</description>
14417              <lsb>8</lsb> <msb>8</msb>
14418              <enumeratedValues>
14419                <usage>read</usage>
14420                <enumeratedValue>
14421                  <name>Disabled</name>
14422                  <description>Channel disabled.</description>
14423                  <value>0</value>
14424                </enumeratedValue>
14425                <enumeratedValue>
14426                  <name>Enabled</name>
14427                  <description>Channel enabled.</description>
14428                  <value>1</value>
14429                </enumeratedValue>
14430              </enumeratedValues>
14431              <enumeratedValues>
14432                <usage>write</usage>
14433                <enumeratedValue>
14434                  <name>Clear</name>
14435                  <description>Disable channel on write.</description>
14436                  <value>1</value>
14437                </enumeratedValue>
14438              </enumeratedValues>
14439            </field>
14440            <field>
14441              <name>CH9</name>
14442              <description>Disable PPI channel 9.</description>
14443              <lsb>9</lsb> <msb>9</msb>
14444              <enumeratedValues>
14445                <usage>read</usage>
14446                <enumeratedValue>
14447                  <name>Disabled</name>
14448                  <description>Channel disabled.</description>
14449                  <value>0</value>
14450                </enumeratedValue>
14451                <enumeratedValue>
14452                  <name>Enabled</name>
14453                  <description>Channel enabled.</description>
14454                  <value>1</value>
14455                </enumeratedValue>
14456              </enumeratedValues>
14457              <enumeratedValues>
14458                <usage>write</usage>
14459                <enumeratedValue>
14460                  <name>Clear</name>
14461                  <description>Disable channel on write.</description>
14462                  <value>1</value>
14463                </enumeratedValue>
14464              </enumeratedValues>
14465            </field>
14466            <field>
14467              <name>CH10</name>
14468              <description>Disable PPI channel 10.</description>
14469              <lsb>10</lsb> <msb>10</msb>
14470              <enumeratedValues>
14471                <usage>read</usage>
14472                <enumeratedValue>
14473                  <name>Disabled</name>
14474                  <description>Channel disabled.</description>
14475                  <value>0</value>
14476                </enumeratedValue>
14477                <enumeratedValue>
14478                  <name>Enabled</name>
14479                  <description>Channel enabled.</description>
14480                  <value>1</value>
14481                </enumeratedValue>
14482              </enumeratedValues>
14483              <enumeratedValues>
14484                <usage>write</usage>
14485                <enumeratedValue>
14486                  <name>Clear</name>
14487                  <description>Disable channel on write.</description>
14488                  <value>1</value>
14489                </enumeratedValue>
14490              </enumeratedValues>
14491            </field>
14492            <field>
14493              <name>CH11</name>
14494              <description>Disable PPI channel 11.</description>
14495              <lsb>11</lsb> <msb>11</msb>
14496              <enumeratedValues>
14497                <usage>read</usage>
14498                <enumeratedValue>
14499                  <name>Disabled</name>
14500                  <description>Channel disabled.</description>
14501                  <value>0</value>
14502                </enumeratedValue>
14503                <enumeratedValue>
14504                  <name>Enabled</name>
14505                  <description>Channel enabled.</description>
14506                  <value>1</value>
14507                </enumeratedValue>
14508              </enumeratedValues>
14509              <enumeratedValues>
14510                <usage>write</usage>
14511                <enumeratedValue>
14512                  <name>Clear</name>
14513                  <description>Disable channel on write.</description>
14514                  <value>1</value>
14515                </enumeratedValue>
14516              </enumeratedValues>
14517            </field>
14518            <field>
14519              <name>CH12</name>
14520              <description>Disable PPI channel 12.</description>
14521              <lsb>12</lsb> <msb>12</msb>
14522              <enumeratedValues>
14523                <usage>read</usage>
14524                <enumeratedValue>
14525                  <name>Disabled</name>
14526                  <description>Channel disabled.</description>
14527                  <value>0</value>
14528                </enumeratedValue>
14529                <enumeratedValue>
14530                  <name>Enabled</name>
14531                  <description>Channel enabled.</description>
14532                  <value>1</value>
14533                </enumeratedValue>
14534              </enumeratedValues>
14535              <enumeratedValues>
14536                <usage>write</usage>
14537                <enumeratedValue>
14538                  <name>Clear</name>
14539                  <description>Disable channel on write.</description>
14540                  <value>1</value>
14541                </enumeratedValue>
14542              </enumeratedValues>
14543            </field>
14544            <field>
14545              <name>CH13</name>
14546              <description>Disable PPI channel 13.</description>
14547              <lsb>13</lsb> <msb>13</msb>
14548              <enumeratedValues>
14549                <usage>read</usage>
14550                <enumeratedValue>
14551                  <name>Disabled</name>
14552                  <description>Channel disabled.</description>
14553                  <value>0</value>
14554                </enumeratedValue>
14555                <enumeratedValue>
14556                  <name>Enabled</name>
14557                  <description>Channel enabled.</description>
14558                  <value>1</value>
14559                </enumeratedValue>
14560              </enumeratedValues>
14561              <enumeratedValues>
14562                <usage>write</usage>
14563                <enumeratedValue>
14564                  <name>Clear</name>
14565                  <description>Disable channel on write.</description>
14566                  <value>1</value>
14567                </enumeratedValue>
14568              </enumeratedValues>
14569            </field>
14570            <field>
14571              <name>CH14</name>
14572              <description>Disable PPI channel 14.</description>
14573              <lsb>14</lsb> <msb>14</msb>
14574              <enumeratedValues>
14575                <usage>read</usage>
14576                <enumeratedValue>
14577                  <name>Disabled</name>
14578                  <description>Channel disabled.</description>
14579                  <value>0</value>
14580                </enumeratedValue>
14581                <enumeratedValue>
14582                  <name>Enabled</name>
14583                  <description>Channel enabled.</description>
14584                  <value>1</value>
14585                </enumeratedValue>
14586              </enumeratedValues>
14587              <enumeratedValues>
14588                <usage>write</usage>
14589                <enumeratedValue>
14590                  <name>Clear</name>
14591                  <description>Disable channel on write.</description>
14592                  <value>1</value>
14593                </enumeratedValue>
14594              </enumeratedValues>
14595            </field>
14596            <field>
14597              <name>CH15</name>
14598              <description>Disable PPI channel 15.</description>
14599              <lsb>15</lsb> <msb>15</msb>
14600              <enumeratedValues>
14601                <usage>read</usage>
14602                <enumeratedValue>
14603                  <name>Disabled</name>
14604                  <description>Channel disabled.</description>
14605                  <value>0</value>
14606                </enumeratedValue>
14607                <enumeratedValue>
14608                  <name>Enabled</name>
14609                  <description>Channel enabled.</description>
14610                  <value>1</value>
14611                </enumeratedValue>
14612              </enumeratedValues>
14613              <enumeratedValues>
14614                <usage>write</usage>
14615                <enumeratedValue>
14616                  <name>Clear</name>
14617                  <description>Disable channel on write.</description>
14618                  <value>1</value>
14619                </enumeratedValue>
14620              </enumeratedValues>
14621            </field>
14622            <field>
14623              <name>CH20</name>
14624              <description>Disable PPI channel 20.</description>
14625              <lsb>20</lsb> <msb>20</msb>
14626              <enumeratedValues>
14627                <usage>read</usage>
14628                <enumeratedValue>
14629                  <name>Disabled</name>
14630                  <description>Channel disabled.</description>
14631                  <value>0</value>
14632                </enumeratedValue>
14633                <enumeratedValue>
14634                  <name>Enabled</name>
14635                  <description>Channel enabled.</description>
14636                  <value>1</value>
14637                </enumeratedValue>
14638              </enumeratedValues>
14639              <enumeratedValues>
14640                <usage>write</usage>
14641                <enumeratedValue>
14642                  <name>Clear</name>
14643                  <description>Disable channel on write.</description>
14644                  <value>1</value>
14645                </enumeratedValue>
14646              </enumeratedValues>
14647            </field>
14648            <field>
14649              <name>CH21</name>
14650              <description>Disable PPI channel 21.</description>
14651              <lsb>21</lsb> <msb>21</msb>
14652              <enumeratedValues>
14653                <usage>read</usage>
14654                <enumeratedValue>
14655                  <name>Disabled</name>
14656                  <description>Channel disabled.</description>
14657                  <value>0</value>
14658                </enumeratedValue>
14659                <enumeratedValue>
14660                  <name>Enabled</name>
14661                  <description>Channel enabled.</description>
14662                  <value>1</value>
14663                </enumeratedValue>
14664              </enumeratedValues>
14665              <enumeratedValues>
14666                <usage>write</usage>
14667                <enumeratedValue>
14668                  <name>Clear</name>
14669                  <description>Disable channel on write.</description>
14670                  <value>1</value>
14671                </enumeratedValue>
14672              </enumeratedValues>
14673            </field>
14674            <field>
14675              <name>CH22</name>
14676              <description>Disable PPI channel 22.</description>
14677              <lsb>22</lsb> <msb>22</msb>
14678              <enumeratedValues>
14679                <usage>read</usage>
14680                <enumeratedValue>
14681                  <name>Disabled</name>
14682                  <description>Channel disabled.</description>
14683                  <value>0</value>
14684                </enumeratedValue>
14685                <enumeratedValue>
14686                  <name>Enabled</name>
14687                  <description>Channel enabled.</description>
14688                  <value>1</value>
14689                </enumeratedValue>
14690              </enumeratedValues>
14691              <enumeratedValues>
14692                <usage>write</usage>
14693                <enumeratedValue>
14694                  <name>Clear</name>
14695                  <description>Disable channel on write.</description>
14696                  <value>1</value>
14697                </enumeratedValue>
14698              </enumeratedValues>
14699            </field>
14700            <field>
14701              <name>CH23</name>
14702              <description>Disable PPI channel 23.</description>
14703              <lsb>23</lsb> <msb>23</msb>
14704              <enumeratedValues>
14705                <usage>read</usage>
14706                <enumeratedValue>
14707                  <name>Disabled</name>
14708                  <description>Channel disabled.</description>
14709                  <value>0</value>
14710                </enumeratedValue>
14711                <enumeratedValue>
14712                  <name>Enabled</name>
14713                  <description>Channel enabled.</description>
14714                  <value>1</value>
14715                </enumeratedValue>
14716              </enumeratedValues>
14717              <enumeratedValues>
14718                <usage>write</usage>
14719                <enumeratedValue>
14720                  <name>Clear</name>
14721                  <description>Disable channel on write.</description>
14722                  <value>1</value>
14723                </enumeratedValue>
14724              </enumeratedValues>
14725            </field>
14726            <field>
14727              <name>CH24</name>
14728              <description>Disable PPI channel 24.</description>
14729              <lsb>24</lsb> <msb>24</msb>
14730              <enumeratedValues>
14731                <usage>read</usage>
14732                <enumeratedValue>
14733                  <name>Disabled</name>
14734                  <description>Channel disabled.</description>
14735                  <value>0</value>
14736                </enumeratedValue>
14737                <enumeratedValue>
14738                  <name>Enabled</name>
14739                  <description>Channel enabled.</description>
14740                  <value>1</value>
14741                </enumeratedValue>
14742              </enumeratedValues>
14743              <enumeratedValues>
14744                <usage>write</usage>
14745                <enumeratedValue>
14746                  <name>Clear</name>
14747                  <description>Disable channel on write.</description>
14748                  <value>1</value>
14749                </enumeratedValue>
14750              </enumeratedValues>
14751            </field>
14752            <field>
14753              <name>CH25</name>
14754              <description>Disable PPI channel 25.</description>
14755              <lsb>25</lsb> <msb>25</msb>
14756              <enumeratedValues>
14757                <usage>read</usage>
14758                <enumeratedValue>
14759                  <name>Disabled</name>
14760                  <description>Channel disabled.</description>
14761                  <value>0</value>
14762                </enumeratedValue>
14763                <enumeratedValue>
14764                  <name>Enabled</name>
14765                  <description>Channel enabled.</description>
14766                  <value>1</value>
14767                </enumeratedValue>
14768              </enumeratedValues>
14769              <enumeratedValues>
14770                <usage>write</usage>
14771                <enumeratedValue>
14772                  <name>Clear</name>
14773                  <description>Disable channel on write.</description>
14774                  <value>1</value>
14775                </enumeratedValue>
14776              </enumeratedValues>
14777            </field>
14778            <field>
14779              <name>CH26</name>
14780              <description>Disable PPI channel 26.</description>
14781              <lsb>26</lsb> <msb>26</msb>
14782              <enumeratedValues>
14783                <usage>read</usage>
14784                <enumeratedValue>
14785                  <name>Disabled</name>
14786                  <description>Channel disabled.</description>
14787                  <value>0</value>
14788                </enumeratedValue>
14789                <enumeratedValue>
14790                  <name>Enabled</name>
14791                  <description>Channel enabled.</description>
14792                  <value>1</value>
14793                </enumeratedValue>
14794              </enumeratedValues>
14795              <enumeratedValues>
14796                <usage>write</usage>
14797                <enumeratedValue>
14798                  <name>Clear</name>
14799                  <description>Disable channel on write.</description>
14800                  <value>1</value>
14801                </enumeratedValue>
14802              </enumeratedValues>
14803            </field>
14804            <field>
14805              <name>CH27</name>
14806              <description>Disable PPI channel 27.</description>
14807              <lsb>27</lsb> <msb>27</msb>
14808              <enumeratedValues>
14809                <usage>read</usage>
14810                <enumeratedValue>
14811                  <name>Disabled</name>
14812                  <description>Channel disabled.</description>
14813                  <value>0</value>
14814                </enumeratedValue>
14815                <enumeratedValue>
14816                  <name>Enabled</name>
14817                  <description>Channel enabled.</description>
14818                  <value>1</value>
14819                </enumeratedValue>
14820              </enumeratedValues>
14821              <enumeratedValues>
14822                <usage>write</usage>
14823                <enumeratedValue>
14824                  <name>Clear</name>
14825                  <description>Disable channel on write.</description>
14826                  <value>1</value>
14827                </enumeratedValue>
14828              </enumeratedValues>
14829            </field>
14830            <field>
14831              <name>CH28</name>
14832              <description>Disable PPI channel 28.</description>
14833              <lsb>28</lsb> <msb>28</msb>
14834              <enumeratedValues>
14835                <usage>read</usage>
14836                <enumeratedValue>
14837                  <name>Disabled</name>
14838                  <description>Channel disabled.</description>
14839                  <value>0</value>
14840                </enumeratedValue>
14841                <enumeratedValue>
14842                  <name>Enabled</name>
14843                  <description>Channel enabled.</description>
14844                  <value>1</value>
14845                </enumeratedValue>
14846              </enumeratedValues>
14847              <enumeratedValues>
14848                <usage>write</usage>
14849                <enumeratedValue>
14850                  <name>Clear</name>
14851                  <description>Disable channel on write.</description>
14852                  <value>1</value>
14853                </enumeratedValue>
14854              </enumeratedValues>
14855            </field>
14856            <field>
14857              <name>CH29</name>
14858              <description>Disable PPI channel 29.</description>
14859              <lsb>29</lsb> <msb>29</msb>
14860              <enumeratedValues>
14861                <usage>read</usage>
14862                <enumeratedValue>
14863                  <name>Disabled</name>
14864                  <description>Channel disabled.</description>
14865                  <value>0</value>
14866                </enumeratedValue>
14867                <enumeratedValue>
14868                  <name>Enabled</name>
14869                  <description>Channel enabled.</description>
14870                  <value>1</value>
14871                </enumeratedValue>
14872              </enumeratedValues>
14873              <enumeratedValues>
14874                <usage>write</usage>
14875                <enumeratedValue>
14876                  <name>Clear</name>
14877                  <description>Disable channel on write.</description>
14878                  <value>1</value>
14879                </enumeratedValue>
14880              </enumeratedValues>
14881            </field>
14882            <field>
14883              <name>CH30</name>
14884              <description>Disable PPI channel 30.</description>
14885              <lsb>30</lsb> <msb>30</msb>
14886              <enumeratedValues>
14887                <usage>read</usage>
14888                <enumeratedValue>
14889                  <name>Disabled</name>
14890                  <description>Channel disabled.</description>
14891                  <value>0</value>
14892                </enumeratedValue>
14893                <enumeratedValue>
14894                  <name>Enabled</name>
14895                  <description>Channel enabled.</description>
14896                  <value>1</value>
14897                </enumeratedValue>
14898              </enumeratedValues>
14899              <enumeratedValues>
14900                <usage>write</usage>
14901                <enumeratedValue>
14902                  <name>Clear</name>
14903                  <description>Disable channel on write.</description>
14904                  <value>1</value>
14905                </enumeratedValue>
14906              </enumeratedValues>
14907            </field>
14908            <field>
14909              <name>CH31</name>
14910              <description>Disable PPI channel 31.</description>
14911              <lsb>31</lsb> <msb>31</msb>
14912              <enumeratedValues>
14913                <usage>read</usage>
14914                <enumeratedValue>
14915                  <name>Disabled</name>
14916                  <description>Channel disabled.</description>
14917                  <value>0</value>
14918                </enumeratedValue>
14919                <enumeratedValue>
14920                  <name>Enabled</name>
14921                  <description>Channel enabled.</description>
14922                  <value>1</value>
14923                </enumeratedValue>
14924              </enumeratedValues>
14925              <enumeratedValues>
14926                <usage>write</usage>
14927                <enumeratedValue>
14928                  <name>Clear</name>
14929                  <description>Disable channel on write.</description>
14930                  <value>1</value>
14931                </enumeratedValue>
14932              </enumeratedValues>
14933            </field>
14934          </fields>
14935        </register>
14936
14937        <cluster>
14938          <dim>16</dim>
14939          <dimIncrement>0x08</dimIncrement>
14940          <name>CH[%s]</name>
14941          <description>PPI Channel.</description>
14942          <addressOffset>0x510</addressOffset>
14943          <register>
14944            <name>EEP</name>
14945            <description>Channel event end-point.</description>
14946            <addressOffset>0x000</addressOffset>
14947          </register>
14948          <register>
14949            <name>TEP</name>
14950            <description>Channel task end-point.</description>
14951            <addressOffset>0x004</addressOffset>
14952          </register>
14953        </cluster>
14954
14955        <register>
14956          <dim>4</dim>
14957          <dimIncrement>0x04</dimIncrement>
14958          <name>CHG[%s]</name>
14959          <description>Channel group configuration.</description>
14960          <addressOffset>0x800</addressOffset>
14961          <fields>
14962            <field>
14963              <name>CH0</name>
14964              <description>Include CH0 in channel group.</description>
14965              <lsb>0</lsb> <msb>0</msb>
14966              <enumeratedValues>
14967                <enumeratedValue>
14968                  <name>Excluded</name>
14969                  <description>Channel excluded.</description>
14970                  <value>0</value>
14971                </enumeratedValue>
14972                <enumeratedValue>
14973                  <name>Included</name>
14974                  <description>Channel included.</description>
14975                  <value>1</value>
14976                </enumeratedValue>
14977              </enumeratedValues>
14978            </field>
14979            <field>
14980              <name>CH1</name>
14981              <description>Include CH1 in channel group.</description>
14982              <lsb>1</lsb> <msb>1</msb>
14983              <enumeratedValues>
14984                <enumeratedValue>
14985                  <name>Excluded</name>
14986                  <description>Channel excluded.</description>
14987                  <value>0</value>
14988                </enumeratedValue>
14989                <enumeratedValue>
14990                  <name>Included</name>
14991                  <description>Channel included.</description>
14992                  <value>1</value>
14993                </enumeratedValue>
14994              </enumeratedValues>
14995            </field>
14996            <field>
14997              <name>CH2</name>
14998              <description>Include CH2 in channel group.</description>
14999              <lsb>2</lsb> <msb>2</msb>
15000              <enumeratedValues>
15001                <enumeratedValue>
15002                  <name>Excluded</name>
15003                  <description>Channel excluded.</description>
15004                  <value>0</value>
15005                </enumeratedValue>
15006                <enumeratedValue>
15007                  <name>Included</name>
15008                  <description>Channel included.</description>
15009                  <value>1</value>
15010                </enumeratedValue>
15011              </enumeratedValues>
15012            </field>
15013            <field>
15014              <name>CH3</name>
15015              <description>Include CH3 in channel group.</description>
15016              <lsb>3</lsb> <msb>3</msb>
15017              <enumeratedValues>
15018                <enumeratedValue>
15019                  <name>Excluded</name>
15020                  <description>Channel excluded.</description>
15021                  <value>0</value>
15022                </enumeratedValue>
15023                <enumeratedValue>
15024                  <name>Included</name>
15025                  <description>Channel included.</description>
15026                  <value>1</value>
15027                </enumeratedValue>
15028              </enumeratedValues>
15029            </field>
15030            <field>
15031              <name>CH4</name>
15032              <description>Include CH4 in channel group.</description>
15033              <lsb>4</lsb> <msb>4</msb>
15034              <enumeratedValues>
15035                <enumeratedValue>
15036                  <name>Excluded</name>
15037                  <description>Channel excluded.</description>
15038                  <value>0</value>
15039                </enumeratedValue>
15040                <enumeratedValue>
15041                  <name>Included</name>
15042                  <description>Channel included.</description>
15043                  <value>1</value>
15044                </enumeratedValue>
15045              </enumeratedValues>
15046            </field>
15047            <field>
15048              <name>CH5</name>
15049              <description>Include CH5 in channel group.</description>
15050              <lsb>5</lsb> <msb>5</msb>
15051              <enumeratedValues>
15052                <enumeratedValue>
15053                  <name>Excluded</name>
15054                  <description>Channel excluded.</description>
15055                  <value>0</value>
15056                </enumeratedValue>
15057                <enumeratedValue>
15058                  <name>Included</name>
15059                  <description>Channel included.</description>
15060                  <value>1</value>
15061                </enumeratedValue>
15062              </enumeratedValues>
15063            </field>
15064            <field>
15065              <name>CH6</name>
15066              <description>Include CH6 in channel group.</description>
15067              <lsb>6</lsb> <msb>6</msb>
15068              <enumeratedValues>
15069                <enumeratedValue>
15070                  <name>Excluded</name>
15071                  <description>Channel excluded.</description>
15072                  <value>0</value>
15073                </enumeratedValue>
15074                <enumeratedValue>
15075                  <name>Included</name>
15076                  <description>Channel included.</description>
15077                  <value>1</value>
15078                </enumeratedValue>
15079              </enumeratedValues>
15080            </field>
15081            <field>
15082              <name>CH7</name>
15083              <description>Include CH7 in channel group.</description>
15084              <lsb>7</lsb> <msb>7</msb>
15085              <enumeratedValues>
15086                <enumeratedValue>
15087                  <name>Excluded</name>
15088                  <description>Channel excluded.</description>
15089                  <value>0</value>
15090                </enumeratedValue>
15091                <enumeratedValue>
15092                  <name>Included</name>
15093                  <description>Channel included.</description>
15094                  <value>1</value>
15095                </enumeratedValue>
15096              </enumeratedValues>
15097            </field>
15098            <field>
15099              <name>CH8</name>
15100              <description>Include CH8 in channel group.</description>
15101              <lsb>8</lsb> <msb>8</msb>
15102              <enumeratedValues>
15103                <enumeratedValue>
15104                  <name>Excluded</name>
15105                  <description>Channel excluded.</description>
15106                  <value>0</value>
15107                </enumeratedValue>
15108                <enumeratedValue>
15109                  <name>Included</name>
15110                  <description>Channel included.</description>
15111                  <value>1</value>
15112                </enumeratedValue>
15113              </enumeratedValues>
15114            </field>
15115            <field>
15116              <name>CH9</name>
15117              <description>Include CH9 in channel group.</description>
15118              <lsb>9</lsb> <msb>9</msb>
15119              <enumeratedValues>
15120                <enumeratedValue>
15121                  <name>Excluded</name>
15122                  <description>Channel excluded.</description>
15123                  <value>0</value>
15124                </enumeratedValue>
15125                <enumeratedValue>
15126                  <name>Included</name>
15127                  <description>Channel included.</description>
15128                  <value>1</value>
15129                </enumeratedValue>
15130              </enumeratedValues>
15131            </field>
15132            <field>
15133              <name>CH10</name>
15134              <description>Include CH10 in channel group.</description>
15135              <lsb>10</lsb> <msb>10</msb>
15136              <enumeratedValues>
15137                <enumeratedValue>
15138                  <name>Excluded</name>
15139                  <description>Channel excluded.</description>
15140                  <value>0</value>
15141                </enumeratedValue>
15142                <enumeratedValue>
15143                  <name>Included</name>
15144                  <description>Channel included.</description>
15145                  <value>1</value>
15146                </enumeratedValue>
15147              </enumeratedValues>
15148            </field>
15149            <field>
15150              <name>CH11</name>
15151              <description>Include CH11 in channel group.</description>
15152              <lsb>11</lsb> <msb>11</msb>
15153              <enumeratedValues>
15154                <enumeratedValue>
15155                  <name>Excluded</name>
15156                  <description>Channel excluded.</description>
15157                  <value>0</value>
15158                </enumeratedValue>
15159                <enumeratedValue>
15160                  <name>Included</name>
15161                  <description>Channel included.</description>
15162                  <value>1</value>
15163                </enumeratedValue>
15164              </enumeratedValues>
15165            </field>
15166            <field>
15167              <name>CH12</name>
15168              <description>Include CH12 in channel group.</description>
15169              <lsb>12</lsb> <msb>12</msb>
15170              <enumeratedValues>
15171                <enumeratedValue>
15172                  <name>Excluded</name>
15173                  <description>Channel excluded.</description>
15174                  <value>0</value>
15175                </enumeratedValue>
15176                <enumeratedValue>
15177                  <name>Included</name>
15178                  <description>Channel included.</description>
15179                  <value>1</value>
15180                </enumeratedValue>
15181              </enumeratedValues>
15182            </field>
15183            <field>
15184              <name>CH13</name>
15185              <description>Include CH13 in channel group.</description>
15186              <lsb>13</lsb> <msb>13</msb>
15187              <enumeratedValues>
15188                <enumeratedValue>
15189                  <name>Excluded</name>
15190                  <description>Channel excluded.</description>
15191                  <value>0</value>
15192                </enumeratedValue>
15193                <enumeratedValue>
15194                  <name>Included</name>
15195                  <description>Channel included.</description>
15196                  <value>1</value>
15197                </enumeratedValue>
15198              </enumeratedValues>
15199            </field>
15200            <field>
15201              <name>CH14</name>
15202              <description>Include CH14 in channel group.</description>
15203              <lsb>14</lsb> <msb>14</msb>
15204              <enumeratedValues>
15205                <enumeratedValue>
15206                  <name>Excluded</name>
15207                  <description>Channel excluded.</description>
15208                  <value>0</value>
15209                </enumeratedValue>
15210                <enumeratedValue>
15211                  <name>Included</name>
15212                  <description>Channel included.</description>
15213                  <value>1</value>
15214                </enumeratedValue>
15215              </enumeratedValues>
15216            </field>
15217            <field>
15218              <name>CH15</name>
15219              <description>Include CH15 in channel group.</description>
15220              <lsb>15</lsb> <msb>15</msb>
15221              <enumeratedValues>
15222                <enumeratedValue>
15223                  <name>Excluded</name>
15224                  <description>Channel excluded.</description>
15225                  <value>0</value>
15226                </enumeratedValue>
15227                <enumeratedValue>
15228                  <name>Included</name>
15229                  <description>Channel included.</description>
15230                  <value>1</value>
15231                </enumeratedValue>
15232              </enumeratedValues>
15233            </field>
15234            <field>
15235              <name>CH20</name>
15236              <description>Include CH20 in channel group.</description>
15237              <lsb>20</lsb> <msb>20</msb>
15238              <enumeratedValues>
15239                <enumeratedValue>
15240                  <name>Excluded</name>
15241                  <description>Channel excluded.</description>
15242                  <value>0</value>
15243                </enumeratedValue>
15244                <enumeratedValue>
15245                  <name>Included</name>
15246                  <description>Channel included.</description>
15247                  <value>1</value>
15248                </enumeratedValue>
15249              </enumeratedValues>
15250            </field>
15251            <field>
15252              <name>CH21</name>
15253              <description>Include CH21 in channel group.</description>
15254              <lsb>21</lsb> <msb>21</msb>
15255              <enumeratedValues>
15256                <enumeratedValue>
15257                  <name>Excluded</name>
15258                  <description>Channel excluded.</description>
15259                  <value>0</value>
15260                </enumeratedValue>
15261                <enumeratedValue>
15262                  <name>Included</name>
15263                  <description>Channel included.</description>
15264                  <value>1</value>
15265                </enumeratedValue>
15266              </enumeratedValues>
15267            </field>
15268            <field>
15269              <name>CH22</name>
15270              <description>Include CH22 in channel group.</description>
15271              <lsb>22</lsb> <msb>22</msb>
15272              <enumeratedValues>
15273                <enumeratedValue>
15274                  <name>Excluded</name>
15275                  <description>Channel excluded.</description>
15276                  <value>0</value>
15277                </enumeratedValue>
15278                <enumeratedValue>
15279                  <name>Included</name>
15280                  <description>Channel included.</description>
15281                  <value>1</value>
15282                </enumeratedValue>
15283              </enumeratedValues>
15284            </field>
15285            <field>
15286              <name>CH23</name>
15287              <description>Include CH23 in channel group.</description>
15288              <lsb>23</lsb> <msb>23</msb>
15289              <enumeratedValues>
15290                <enumeratedValue>
15291                  <name>Excluded</name>
15292                  <description>Channel excluded.</description>
15293                  <value>0</value>
15294                </enumeratedValue>
15295                <enumeratedValue>
15296                  <name>Included</name>
15297                  <description>Channel included.</description>
15298                  <value>1</value>
15299                </enumeratedValue>
15300              </enumeratedValues>
15301            </field>
15302            <field>
15303              <name>CH24</name>
15304              <description>Include CH24 in channel group.</description>
15305              <lsb>24</lsb> <msb>24</msb>
15306              <enumeratedValues>
15307                <enumeratedValue>
15308                  <name>Excluded</name>
15309                  <description>Channel excluded.</description>
15310                  <value>0</value>
15311                </enumeratedValue>
15312                <enumeratedValue>
15313                  <name>Included</name>
15314                  <description>Channel included.</description>
15315                  <value>1</value>
15316                </enumeratedValue>
15317              </enumeratedValues>
15318            </field>
15319            <field>
15320              <name>CH25</name>
15321              <description>Include CH25 in channel group.</description>
15322              <lsb>25</lsb> <msb>25</msb>
15323              <enumeratedValues>
15324                <enumeratedValue>
15325                  <name>Excluded</name>
15326                  <description>Channel excluded.</description>
15327                  <value>0</value>
15328                </enumeratedValue>
15329                <enumeratedValue>
15330                  <name>Included</name>
15331                  <description>Channel included.</description>
15332                  <value>1</value>
15333                </enumeratedValue>
15334              </enumeratedValues>
15335            </field>
15336            <field>
15337              <name>CH26</name>
15338              <description>Include CH26 in channel group.</description>
15339              <lsb>26</lsb> <msb>26</msb>
15340              <enumeratedValues>
15341                <enumeratedValue>
15342                  <name>Excluded</name>
15343                  <description>Channel excluded.</description>
15344                  <value>0</value>
15345                </enumeratedValue>
15346                <enumeratedValue>
15347                  <name>Included</name>
15348                  <description>Channel included.</description>
15349                  <value>1</value>
15350                </enumeratedValue>
15351              </enumeratedValues>
15352            </field>
15353            <field>
15354              <name>CH27</name>
15355              <description>Include CH27 in channel group.</description>
15356              <lsb>27</lsb> <msb>27</msb>
15357              <enumeratedValues>
15358                <enumeratedValue>
15359                  <name>Excluded</name>
15360                  <description>Channel excluded.</description>
15361                  <value>0</value>
15362                </enumeratedValue>
15363                <enumeratedValue>
15364                  <name>Included</name>
15365                  <description>Channel included.</description>
15366                  <value>1</value>
15367                </enumeratedValue>
15368              </enumeratedValues>
15369            </field>
15370            <field>
15371              <name>CH28</name>
15372              <description>Include CH28 in channel group.</description>
15373              <lsb>28</lsb> <msb>28</msb>
15374              <enumeratedValues>
15375                <enumeratedValue>
15376                  <name>Excluded</name>
15377                  <description>Channel excluded.</description>
15378                  <value>0</value>
15379                </enumeratedValue>
15380                <enumeratedValue>
15381                  <name>Included</name>
15382                  <description>Channel included.</description>
15383                  <value>1</value>
15384                </enumeratedValue>
15385              </enumeratedValues>
15386            </field>
15387            <field>
15388              <name>CH29</name>
15389              <description>Include CH29 in channel group.</description>
15390              <lsb>29</lsb> <msb>29</msb>
15391              <enumeratedValues>
15392                <enumeratedValue>
15393                  <name>Excluded</name>
15394                  <description>Channel excluded.</description>
15395                  <value>0</value>
15396                </enumeratedValue>
15397                <enumeratedValue>
15398                  <name>Included</name>
15399                  <description>Channel included.</description>
15400                  <value>1</value>
15401                </enumeratedValue>
15402              </enumeratedValues>
15403            </field>
15404            <field>
15405              <name>CH30</name>
15406              <description>Include CH30 in channel group.</description>
15407              <lsb>30</lsb> <msb>30</msb>
15408              <enumeratedValues>
15409                <enumeratedValue>
15410                  <name>Excluded</name>
15411                  <description>Channel excluded.</description>
15412                  <value>0</value>
15413                </enumeratedValue>
15414                <enumeratedValue>
15415                  <name>Included</name>
15416                  <description>Channel included.</description>
15417                  <value>1</value>
15418                </enumeratedValue>
15419              </enumeratedValues>
15420            </field>
15421            <field>
15422              <name>CH31</name>
15423              <description>Include CH31 in channel group.</description>
15424              <lsb>31</lsb> <msb>31</msb>
15425              <enumeratedValues>
15426                <enumeratedValue>
15427                  <name>Excluded</name>
15428                  <description>Channel excluded.</description>
15429                  <value>0</value>
15430                </enumeratedValue>
15431                <enumeratedValue>
15432                  <name>Included</name>
15433                  <description>Channel included.</description>
15434                  <value>1</value>
15435                </enumeratedValue>
15436              </enumeratedValues>
15437            </field>
15438          </fields>
15439        </register>
15440
15441      </registers>
15442    </peripheral>
15443
15444    <peripheral>
15445      <name>FICR</name>
15446      <version>522</version>
15447      <description>Factory Information Configuration.</description>
15448      <groupName>FICR</groupName>
15449      <baseAddress>0x10000000</baseAddress>
15450      <size>32</size>
15451      <access>read-only</access>
15452      <resetValue>0xFFFFFFFF</resetValue>
15453
15454      <addressBlock>
15455        <offset>0</offset>
15456        <size>0x1000</size>
15457        <usage>registers</usage>
15458      </addressBlock>
15459
15460      <registers>
15461        <register>
15462          <name>CODEPAGESIZE</name>
15463          <description>Code memory page size in bytes.</description>
15464          <addressOffset>0x010</addressOffset>
15465        </register>
15466        <register>
15467          <name>CODESIZE</name>
15468          <description>Code memory size in pages.</description>
15469          <addressOffset>0x014</addressOffset>
15470        </register>
15471
15472        <register>
15473          <name>CLENR0</name>
15474          <description>Length of code region 0 in bytes.</description>
15475          <addressOffset>0x028</addressOffset>
15476        </register>
15477        <register>
15478          <name>PPFC</name>
15479          <description>Pre-programmed factory code present.</description>
15480          <addressOffset>0x02C</addressOffset>
15481          <fields>
15482            <field>
15483              <name>PPFC</name>
15484              <description>Pre-programmed factory code present.</description>
15485              <lsb>0</lsb> <msb>7</msb>
15486              <enumeratedValues>
15487                <enumeratedValue>
15488                  <name>NotPresent</name>
15489                  <description>Not present.</description>
15490                  <value>0xFF</value>
15491                </enumeratedValue>
15492                <enumeratedValue>
15493                  <name>Present</name>
15494                  <description>Present.</description>
15495                  <value>0x00</value>
15496                </enumeratedValue>
15497              </enumeratedValues>
15498            </field>
15499          </fields>
15500        </register>
15501
15502        <register>
15503          <name>NUMRAMBLOCK</name>
15504          <description>Number of individualy controllable RAM blocks.</description>
15505          <addressOffset>0x034</addressOffset>
15506        </register>
15507        <register>
15508          <name>SIZERAMBLOCKS</name>
15509          <description>Size of RAM blocks in bytes.</description>
15510          <addressOffset>0x038</addressOffset>
15511        </register>
15512        <register>
15513          <dim>4</dim>
15514          <dimIncrement>0x04</dimIncrement>
15515          <name>SIZERAMBLOCK[%s]</name>
15516          <description>Deprecated array of size of RAM block in bytes. This name is kept for backward compatinility purposes. Use SIZERAMBLOCKS instead.</description>
15517          <addressOffset>0x038</addressOffset>
15518          <alternateRegister>SIZERAMBLOCKS</alternateRegister>
15519        </register>
15520
15521        <register>
15522          <name>CONFIGID</name>
15523          <description>Configuration identifier.</description>
15524          <addressOffset>0x05C</addressOffset>
15525          <fields>
15526            <field>
15527              <name>HWID</name>
15528              <description>Hardware Identification Number.</description>
15529              <lsb>0</lsb> <msb>15</msb>
15530            </field>
15531            <field>
15532              <name>FWID</name>
15533              <description>Firmware Identification Number pre-loaded into the flash.</description>
15534              <lsb>16</lsb> <msb>31</msb>
15535            </field>
15536          </fields>
15537        </register>
15538
15539        <register>
15540          <dim>2</dim>
15541          <dimIncrement>0x04</dimIncrement>
15542          <name>DEVICEID[%s]</name>
15543          <description>Device identifier.</description>
15544          <addressOffset>0x060</addressOffset>
15545        </register>
15546
15547        <register>
15548          <dim>4</dim>
15549          <dimIncrement>0x04</dimIncrement>
15550          <name>ER[%s]</name>
15551          <description>Encryption root.</description>
15552          <addressOffset>0x080</addressOffset>
15553        </register>
15554
15555        <register>
15556          <dim>4</dim>
15557          <dimIncrement>0x04</dimIncrement>
15558          <name>IR[%s]</name>
15559          <description>Identity root.</description>
15560          <addressOffset>0x090</addressOffset>
15561        </register>
15562
15563        <register>
15564          <name>DEVICEADDRTYPE</name>
15565          <description>Device address type.</description>
15566          <addressOffset>0x0A0</addressOffset>
15567           <fields>
15568            <field>
15569              <name>DEVICEADDRTYPE</name>
15570              <description>Device address type.</description>
15571              <lsb>0</lsb> <msb>0</msb>
15572              <enumeratedValues>
15573                <enumeratedValue>
15574                  <name>Public</name>
15575                  <description>Public address.</description>
15576                  <value>0</value>
15577                </enumeratedValue>
15578                <enumeratedValue>
15579                  <name>Random</name>
15580                  <description>Random address.</description>
15581                  <value>1</value>
15582                </enumeratedValue>
15583              </enumeratedValues>
15584            </field>
15585          </fields>
15586        </register>
15587
15588        <register>
15589          <dim>2</dim>
15590          <dimIncrement>0x04</dimIncrement>
15591          <name>DEVICEADDR[%s]</name>
15592          <description>Device address.</description>
15593          <addressOffset>0x0A4</addressOffset>
15594        </register>
15595
15596        <register>
15597          <name>OVERRIDEEN</name>
15598          <description>Radio calibration override enable.</description>
15599          <addressOffset>0x0AC</addressOffset>
15600          <fields>
15601          <field>
15602              <name>NRF_1MBIT</name>
15603              <description>Override default values for NRF_1Mbit mode.</description>
15604              <lsb>0</lsb> <msb>0</msb>
15605              <enumeratedValues>
15606                <enumeratedValue>
15607                  <name>Override</name>
15608                  <description>Override the default values for NRF_1Mbit mode.</description>
15609                  <value>0</value>
15610                </enumeratedValue>
15611                <enumeratedValue>
15612                  <name>NotOverride</name>
15613                  <description>Do not override the default values for NRF_1Mbit mode.</description>
15614                  <value>1</value>
15615                </enumeratedValue>
15616              </enumeratedValues>
15617            </field>
15618            <field>
15619              <name>BLE_1MBIT</name>
15620              <description>Override default values for BLE_1Mbit mode.</description>
15621              <lsb>3</lsb> <msb>3</msb>
15622              <enumeratedValues>
15623                <enumeratedValue>
15624                  <name>Override</name>
15625                  <description>Override the default values for BLE_1Mbit mode.</description>
15626                  <value>0</value>
15627                </enumeratedValue>
15628                <enumeratedValue>
15629                  <name>NotOverride</name>
15630                  <description>Do not override the default values for BLE_1Mbit mode.</description>
15631                  <value>1</value>
15632                </enumeratedValue>
15633              </enumeratedValues>
15634            </field>
15635          </fields>
15636        </register>
15637
15638        <register>
15639          <dim>5</dim>
15640          <dimIncrement>0x04</dimIncrement>
15641          <name>NRF_1MBIT[%s]</name>
15642          <description>Override values for the OVERRIDEn registers in RADIO for NRF_1Mbit mode.</description>
15643          <addressOffset>0x0B0</addressOffset>
15644        </register>
15645        <register>
15646          <dim>5</dim>
15647          <dimIncrement>0x04</dimIncrement>
15648          <name>BLE_1MBIT[%s]</name>
15649          <description>Override values for the OVERRIDEn registers in RADIO for BLE_1Mbit mode.</description>
15650          <addressOffset>0x0EC</addressOffset>
15651        </register>
15652
15653      </registers>
15654    </peripheral>
15655
15656    <peripheral>
15657      <name>UICR</name>
15658      <version>522</version>
15659      <description>User Information Configuration.</description>
15660      <groupName>UICR</groupName>
15661      <baseAddress>0x10001000</baseAddress>
15662      <size>32</size>
15663      <access>read-write</access>
15664      <resetValue>0xFFFFFFFF</resetValue>
15665
15666      <addressBlock>
15667        <offset>0</offset>
15668        <size>0x1000</size>
15669        <usage>registers</usage>
15670      </addressBlock>
15671
15672      <registers>
15673        <register>
15674          <name>CLENR0</name>
15675          <description>Length of code region 0.</description>
15676          <addressOffset>0x000</addressOffset>
15677        </register>
15678
15679        <register>
15680          <name>RBPCONF</name>
15681          <description>Readback protection configuration.</description>
15682          <addressOffset>0x004</addressOffset>
15683          <fields>
15684            <field>
15685              <name>PR0</name>
15686              <description>Readback protect region 0. Will be ignored if pre-programmed factory code is present on the chip.</description>
15687              <lsb>0</lsb> <msb>7</msb>
15688              <enumeratedValues>
15689                <enumeratedValue>
15690                  <name>Disabled</name>
15691                  <description>Disabled.</description>
15692                  <value>0xFF</value>
15693                </enumeratedValue>
15694                <enumeratedValue>
15695                  <name>Enabled</name>
15696                  <description>Enabled.</description>
15697                  <value>0x00</value>
15698                </enumeratedValue>
15699              </enumeratedValues>
15700            </field>
15701            <field>
15702              <name>PALL</name>
15703              <description>Readback protect all code in the device.</description>
15704              <lsb>8</lsb> <msb>15</msb>
15705              <enumeratedValues>
15706                <enumeratedValue>
15707                  <name>Disabled</name>
15708                  <description>Disabled.</description>
15709                  <value>0xFF</value>
15710                </enumeratedValue>
15711                <enumeratedValue>
15712                  <name>Enabled</name>
15713                  <description>Enabled.</description>
15714                  <value>0x00</value>
15715                </enumeratedValue>
15716              </enumeratedValues>
15717            </field>
15718          </fields>
15719        </register>
15720
15721        <register>
15722          <name>XTALFREQ</name>
15723          <description>Reset value for CLOCK XTALFREQ register.</description>
15724          <addressOffset>0x008</addressOffset>
15725          <fields>
15726            <field>
15727              <name>XTALFREQ</name>
15728              <description>Reset value for CLOCK XTALFREQ register.</description>
15729              <lsb>0</lsb> <msb>7</msb>
15730              <enumeratedValues>
15731                <enumeratedValue>
15732                  <name>16MHz</name>
15733                  <description>16MHz Xtal is used.</description>
15734                  <value>0xFF</value>
15735                </enumeratedValue>
15736                <enumeratedValue>
15737                  <name>32MHz</name>
15738                  <description>32MHz Xtal is used.</description>
15739                  <value>0x00</value>
15740                </enumeratedValue>
15741              </enumeratedValues>
15742            </field>
15743          </fields>
15744        </register>
15745
15746        <register>
15747          <name>FWID</name>
15748          <description>Firmware ID.</description>
15749          <addressOffset>0x010</addressOffset>
15750          <access>read-only</access>
15751          <fields>
15752            <field>
15753              <name>FWID</name>
15754              <description>Identification number for the firmware loaded into the chip.</description>
15755              <lsb>0</lsb> <msb>15</msb>
15756            </field>
15757          </fields>
15758        </register>
15759
15760        <register>
15761          <name>BOOTLOADERADDR</name>
15762          <description>Bootloader start address.</description>
15763          <addressOffset>0x014</addressOffset>
15764        </register>
15765
15766        <register>
15767          <dim>15</dim>
15768          <dimIncrement>0x04</dimIncrement>
15769          <name>NRFFW[%s]</name>
15770          <description>Reserved for Nordic firmware design.</description>
15771          <addressOffset>0x014</addressOffset>
15772          <alternateRegister>BOOTLOADERADDR</alternateRegister>
15773        </register>
15774        <register>
15775          <dim>12</dim>
15776          <dimIncrement>0x04</dimIncrement>
15777          <name>NRFHW[%s]</name>
15778          <description>Reserved for Nordic hardware design.</description>
15779          <addressOffset>0x050</addressOffset>
15780        </register>
15781        <register>
15782          <dim>32</dim>
15783          <dimIncrement>0x04</dimIncrement>
15784          <name>CUSTOMER[%s]</name>
15785          <description>Reserved for customer.</description>
15786          <addressOffset>0x080</addressOffset>
15787        </register>
15788
15789      </registers>
15790    </peripheral>
15791
15792    <peripheral>
15793      <name>GPIO</name>
15794      <version>522</version>
15795      <description>General purpose input and output.</description>
15796      <baseAddress>0x50000000</baseAddress>
15797      <groupName>GPIO</groupName>
15798      <size>32</size>
15799      <access>read-write</access>
15800
15801      <addressBlock>
15802        <offset>0</offset>
15803        <size>0x1000</size>
15804        <usage>registers</usage>
15805      </addressBlock>
15806
15807      <registers>
15808        <register>
15809          <name>OUT</name>
15810          <description>Write GPIO port.</description>
15811          <addressOffset>0x504</addressOffset>
15812          <fields>
15813            <field>
15814              <name>PIN0</name>
15815              <description>Pin 0.</description>
15816              <lsb>0</lsb> <msb>0</msb>
15817              <enumeratedValues>
15818                <enumeratedValue>
15819                  <name>Low</name>
15820                  <description>Pin driver is low.</description>
15821                  <value>0</value>
15822                </enumeratedValue>
15823                <enumeratedValue>
15824                  <name>High</name>
15825                  <description>Pin driver is high.</description>
15826                  <value>1</value>
15827                </enumeratedValue>
15828              </enumeratedValues>
15829            </field>
15830            <field>
15831              <name>PIN1</name>
15832              <description>Pin 1.</description>
15833              <lsb>1</lsb> <msb>1</msb>
15834              <enumeratedValues>
15835                <enumeratedValue>
15836                  <name>Low</name>
15837                  <description>Pin driver is low.</description>
15838                  <value>0</value>
15839                </enumeratedValue>
15840                <enumeratedValue>
15841                  <name>High</name>
15842                  <description>Pin driver is high.</description>
15843                  <value>1</value>
15844                </enumeratedValue>
15845              </enumeratedValues>
15846            </field>
15847            <field>
15848              <name>PIN2</name>
15849              <description>Pin 2.</description>
15850              <lsb>2</lsb> <msb>2</msb>
15851              <enumeratedValues>
15852                <enumeratedValue>
15853                  <name>Low</name>
15854                  <description>Pin driver is low.</description>
15855                  <value>0</value>
15856                </enumeratedValue>
15857                <enumeratedValue>
15858                  <name>High</name>
15859                  <description>Pin driver is high.</description>
15860                  <value>1</value>
15861                </enumeratedValue>
15862              </enumeratedValues>
15863            </field>
15864            <field>
15865              <name>PIN3</name>
15866              <description>Pin 3.</description>
15867              <lsb>3</lsb> <msb>3</msb>
15868              <enumeratedValues>
15869                <enumeratedValue>
15870                  <name>Low</name>
15871                  <description>Pin driver is low.</description>
15872                  <value>0</value>
15873                </enumeratedValue>
15874                <enumeratedValue>
15875                  <name>High</name>
15876                  <description>Pin driver is high.</description>
15877                  <value>1</value>
15878                </enumeratedValue>
15879              </enumeratedValues>
15880            </field>
15881            <field>
15882              <name>PIN4</name>
15883              <description>Pin 4.</description>
15884              <lsb>4</lsb> <msb>4</msb>
15885              <enumeratedValues>
15886                <enumeratedValue>
15887                  <name>Low</name>
15888                  <description>Pin driver is low.</description>
15889                  <value>0</value>
15890                </enumeratedValue>
15891                <enumeratedValue>
15892                  <name>High</name>
15893                  <description>Pin driver is high.</description>
15894                  <value>1</value>
15895                </enumeratedValue>
15896              </enumeratedValues>
15897            </field>
15898            <field>
15899              <name>PIN5</name>
15900              <description>Pin 5.</description>
15901              <lsb>5</lsb> <msb>5</msb>
15902              <enumeratedValues>
15903                <enumeratedValue>
15904                  <name>Low</name>
15905                  <description>Pin driver is low.</description>
15906                  <value>0</value>
15907                </enumeratedValue>
15908                <enumeratedValue>
15909                  <name>High</name>
15910                  <description>Pin driver is high.</description>
15911                  <value>1</value>
15912                </enumeratedValue>
15913              </enumeratedValues>
15914            </field>
15915            <field>
15916              <name>PIN6</name>
15917              <description>Pin 6.</description>
15918              <lsb>6</lsb> <msb>6</msb>
15919              <enumeratedValues>
15920                <enumeratedValue>
15921                  <name>Low</name>
15922                  <description>Pin driver is low.</description>
15923                  <value>0</value>
15924                </enumeratedValue>
15925                <enumeratedValue>
15926                  <name>High</name>
15927                  <description>Pin driver is high.</description>
15928                  <value>1</value>
15929                </enumeratedValue>
15930              </enumeratedValues>
15931            </field>
15932            <field>
15933              <name>PIN7</name>
15934              <description>Pin 7.</description>
15935              <lsb>7</lsb> <msb>7</msb>
15936              <enumeratedValues>
15937                <enumeratedValue>
15938                  <name>Low</name>
15939                  <description>Pin driver is low.</description>
15940                  <value>0</value>
15941                </enumeratedValue>
15942                <enumeratedValue>
15943                  <name>High</name>
15944                  <description>Pin driver is high.</description>
15945                  <value>1</value>
15946                </enumeratedValue>
15947              </enumeratedValues>
15948            </field>
15949            <field>
15950              <name>PIN8</name>
15951              <description>Pin 8.</description>
15952              <lsb>8</lsb> <msb>8</msb>
15953              <enumeratedValues>
15954                <enumeratedValue>
15955                  <name>Low</name>
15956                  <description>Pin driver is low.</description>
15957                  <value>0</value>
15958                </enumeratedValue>
15959                <enumeratedValue>
15960                  <name>High</name>
15961                  <description>Pin driver is high.</description>
15962                  <value>1</value>
15963                </enumeratedValue>
15964              </enumeratedValues>
15965            </field>
15966            <field>
15967              <name>PIN9</name>
15968              <description>Pin 9.</description>
15969              <lsb>9</lsb> <msb>9</msb>
15970              <enumeratedValues>
15971                <enumeratedValue>
15972                  <name>Low</name>
15973                  <description>Pin driver is low.</description>
15974                  <value>0</value>
15975                </enumeratedValue>
15976                <enumeratedValue>
15977                  <name>High</name>
15978                  <description>Pin driver is high.</description>
15979                  <value>1</value>
15980                </enumeratedValue>
15981              </enumeratedValues>
15982            </field>
15983            <field>
15984              <name>PIN10</name>
15985              <description>Pin 10.</description>
15986              <lsb>10</lsb> <msb>10</msb>
15987              <enumeratedValues>
15988                <enumeratedValue>
15989                  <name>Low</name>
15990                  <description>Pin driver is low.</description>
15991                  <value>0</value>
15992                </enumeratedValue>
15993                <enumeratedValue>
15994                  <name>High</name>
15995                  <description>Pin driver is high.</description>
15996                  <value>1</value>
15997                </enumeratedValue>
15998              </enumeratedValues>
15999            </field>
16000            <field>
16001              <name>PIN11</name>
16002              <description>Pin 11.</description>
16003              <lsb>11</lsb> <msb>11</msb>
16004              <enumeratedValues>
16005                <enumeratedValue>
16006                  <name>Low</name>
16007                  <description>Pin driver is low.</description>
16008                  <value>0</value>
16009                </enumeratedValue>
16010                <enumeratedValue>
16011                  <name>High</name>
16012                  <description>Pin driver is high.</description>
16013                  <value>1</value>
16014                </enumeratedValue>
16015              </enumeratedValues>
16016            </field>
16017            <field>
16018              <name>PIN12</name>
16019              <description>Pin 12.</description>
16020              <lsb>12</lsb> <msb>12</msb>
16021              <enumeratedValues>
16022                <enumeratedValue>
16023                  <name>Low</name>
16024                  <description>Pin driver is low.</description>
16025                  <value>0</value>
16026                </enumeratedValue>
16027                <enumeratedValue>
16028                  <name>High</name>
16029                  <description>Pin driver is high.</description>
16030                  <value>1</value>
16031                </enumeratedValue>
16032              </enumeratedValues>
16033            </field>
16034            <field>
16035              <name>PIN13</name>
16036              <description>Pin 13.</description>
16037              <lsb>13</lsb> <msb>13</msb>
16038              <enumeratedValues>
16039                <enumeratedValue>
16040                  <name>Low</name>
16041                  <description>Pin driver is low.</description>
16042                  <value>0</value>
16043                </enumeratedValue>
16044                <enumeratedValue>
16045                  <name>High</name>
16046                  <description>Pin driver is high.</description>
16047                  <value>1</value>
16048                </enumeratedValue>
16049              </enumeratedValues>
16050            </field>
16051            <field>
16052              <name>PIN14</name>
16053              <description>Pin 14.</description>
16054              <lsb>14</lsb> <msb>14</msb>
16055              <enumeratedValues>
16056                <enumeratedValue>
16057                  <name>Low</name>
16058                  <description>Pin driver is low.</description>
16059                  <value>0</value>
16060                </enumeratedValue>
16061                <enumeratedValue>
16062                  <name>High</name>
16063                  <description>Pin driver is high.</description>
16064                  <value>1</value>
16065                </enumeratedValue>
16066              </enumeratedValues>
16067            </field>
16068            <field>
16069              <name>PIN15</name>
16070              <description>Pin 15.</description>
16071              <lsb>15</lsb> <msb>15</msb>
16072              <enumeratedValues>
16073                <enumeratedValue>
16074                  <name>Low</name>
16075                  <description>Pin driver is low.</description>
16076                  <value>0</value>
16077                </enumeratedValue>
16078                <enumeratedValue>
16079                  <name>High</name>
16080                  <description>Pin driver is high.</description>
16081                  <value>1</value>
16082                </enumeratedValue>
16083              </enumeratedValues>
16084            </field>
16085            <field>
16086              <name>PIN16</name>
16087              <description>Pin 16.</description>
16088              <lsb>16</lsb> <msb>16</msb>
16089              <enumeratedValues>
16090                <enumeratedValue>
16091                  <name>Low</name>
16092                  <description>Pin driver is low.</description>
16093                  <value>0</value>
16094                </enumeratedValue>
16095                <enumeratedValue>
16096                  <name>High</name>
16097                  <description>Pin driver is high.</description>
16098                  <value>1</value>
16099                </enumeratedValue>
16100              </enumeratedValues>
16101            </field>
16102            <field>
16103              <name>PIN17</name>
16104              <description>Pin 17.</description>
16105              <lsb>17</lsb> <msb>17</msb>
16106              <enumeratedValues>
16107                <enumeratedValue>
16108                  <name>Low</name>
16109                  <description>Pin driver is low.</description>
16110                  <value>0</value>
16111                </enumeratedValue>
16112                <enumeratedValue>
16113                  <name>High</name>
16114                  <description>Pin driver is high.</description>
16115                  <value>1</value>
16116                </enumeratedValue>
16117              </enumeratedValues>
16118            </field>
16119            <field>
16120              <name>PIN18</name>
16121              <description>Pin 18.</description>
16122              <lsb>18</lsb> <msb>18</msb>
16123              <enumeratedValues>
16124                <enumeratedValue>
16125                  <name>Low</name>
16126                  <description>Pin driver is low.</description>
16127                  <value>0</value>
16128                </enumeratedValue>
16129                <enumeratedValue>
16130                  <name>High</name>
16131                  <description>Pin driver is high.</description>
16132                  <value>1</value>
16133                </enumeratedValue>
16134              </enumeratedValues>
16135            </field>
16136            <field>
16137              <name>PIN19</name>
16138              <description>Pin 19.</description>
16139              <lsb>19</lsb> <msb>19</msb>
16140              <enumeratedValues>
16141                <enumeratedValue>
16142                  <name>Low</name>
16143                  <description>Pin driver is low.</description>
16144                  <value>0</value>
16145                </enumeratedValue>
16146                <enumeratedValue>
16147                  <name>High</name>
16148                  <description>Pin driver is high.</description>
16149                  <value>1</value>
16150                </enumeratedValue>
16151              </enumeratedValues>
16152            </field>
16153            <field>
16154              <name>PIN20</name>
16155              <description>Pin 20.</description>
16156              <lsb>20</lsb> <msb>20</msb>
16157              <enumeratedValues>
16158                <enumeratedValue>
16159                  <name>Low</name>
16160                  <description>Pin driver is low.</description>
16161                  <value>0</value>
16162                </enumeratedValue>
16163                <enumeratedValue>
16164                  <name>High</name>
16165                  <description>Pin driver is high.</description>
16166                  <value>1</value>
16167                </enumeratedValue>
16168              </enumeratedValues>
16169            </field>
16170            <field>
16171              <name>PIN21</name>
16172              <description>Pin 21.</description>
16173              <lsb>21</lsb> <msb>21</msb>
16174              <enumeratedValues>
16175                <enumeratedValue>
16176                  <name>Low</name>
16177                  <description>Pin driver is low.</description>
16178                  <value>0</value>
16179                </enumeratedValue>
16180                <enumeratedValue>
16181                  <name>High</name>
16182                  <description>Pin driver is high.</description>
16183                  <value>1</value>
16184                </enumeratedValue>
16185              </enumeratedValues>
16186            </field>
16187            <field>
16188              <name>PIN22</name>
16189              <description>Pin 22.</description>
16190              <lsb>22</lsb> <msb>22</msb>
16191              <enumeratedValues>
16192                <enumeratedValue>
16193                  <name>Low</name>
16194                  <description>Pin driver is low.</description>
16195                  <value>0</value>
16196                </enumeratedValue>
16197                <enumeratedValue>
16198                  <name>High</name>
16199                  <description>Pin driver is high.</description>
16200                  <value>1</value>
16201                </enumeratedValue>
16202              </enumeratedValues>
16203            </field>
16204            <field>
16205              <name>PIN23</name>
16206              <description>Pin 23.</description>
16207              <lsb>23</lsb> <msb>23</msb>
16208              <enumeratedValues>
16209                <enumeratedValue>
16210                  <name>Low</name>
16211                  <description>Pin driver is low.</description>
16212                  <value>0</value>
16213                </enumeratedValue>
16214                <enumeratedValue>
16215                  <name>High</name>
16216                  <description>Pin driver is high.</description>
16217                  <value>1</value>
16218                </enumeratedValue>
16219              </enumeratedValues>
16220            </field>
16221            <field>
16222              <name>PIN24</name>
16223              <description>Pin 24.</description>
16224              <lsb>24</lsb> <msb>24</msb>
16225              <enumeratedValues>
16226                <enumeratedValue>
16227                  <name>Low</name>
16228                  <description>Pin driver is low.</description>
16229                  <value>0</value>
16230                </enumeratedValue>
16231                <enumeratedValue>
16232                  <name>High</name>
16233                  <description>Pin driver is high.</description>
16234                  <value>1</value>
16235                </enumeratedValue>
16236              </enumeratedValues>
16237            </field>
16238            <field>
16239              <name>PIN25</name>
16240              <description>Pin 25.</description>
16241              <lsb>25</lsb> <msb>25</msb>
16242              <enumeratedValues>
16243                <enumeratedValue>
16244                  <name>Low</name>
16245                  <description>Pin driver is low.</description>
16246                  <value>0</value>
16247                </enumeratedValue>
16248                <enumeratedValue>
16249                  <name>High</name>
16250                  <description>Pin driver is high.</description>
16251                  <value>1</value>
16252                </enumeratedValue>
16253              </enumeratedValues>
16254            </field>
16255            <field>
16256              <name>PIN26</name>
16257              <description>Pin 26.</description>
16258              <lsb>26</lsb> <msb>26</msb>
16259              <enumeratedValues>
16260                <enumeratedValue>
16261                  <name>Low</name>
16262                  <description>Pin driver is low.</description>
16263                  <value>0</value>
16264                </enumeratedValue>
16265                <enumeratedValue>
16266                  <name>High</name>
16267                  <description>Pin driver is high.</description>
16268                  <value>1</value>
16269                </enumeratedValue>
16270              </enumeratedValues>
16271            </field>
16272            <field>
16273              <name>PIN27</name>
16274              <description>Pin 27.</description>
16275              <lsb>27</lsb> <msb>27</msb>
16276              <enumeratedValues>
16277                <enumeratedValue>
16278                  <name>Low</name>
16279                  <description>Pin driver is low.</description>
16280                  <value>0</value>
16281                </enumeratedValue>
16282                <enumeratedValue>
16283                  <name>High</name>
16284                  <description>Pin driver is high.</description>
16285                  <value>1</value>
16286                </enumeratedValue>
16287              </enumeratedValues>
16288            </field>
16289            <field>
16290              <name>PIN28</name>
16291              <description>Pin 28.</description>
16292              <lsb>28</lsb> <msb>28</msb>
16293              <enumeratedValues>
16294                <enumeratedValue>
16295                  <name>Low</name>
16296                  <description>Pin driver is low.</description>
16297                  <value>0</value>
16298                </enumeratedValue>
16299                <enumeratedValue>
16300                  <name>High</name>
16301                  <description>Pin driver is high.</description>
16302                  <value>1</value>
16303                </enumeratedValue>
16304              </enumeratedValues>
16305            </field>
16306            <field>
16307              <name>PIN29</name>
16308              <description>Pin 29.</description>
16309              <lsb>29</lsb> <msb>29</msb>
16310              <enumeratedValues>
16311                <enumeratedValue>
16312                  <name>Low</name>
16313                  <description>Pin driver is low.</description>
16314                  <value>0</value>
16315                </enumeratedValue>
16316                <enumeratedValue>
16317                  <name>High</name>
16318                  <description>Pin driver is high.</description>
16319                  <value>1</value>
16320                </enumeratedValue>
16321              </enumeratedValues>
16322            </field>
16323            <field>
16324              <name>PIN30</name>
16325              <description>Pin 30.</description>
16326              <lsb>30</lsb> <msb>30</msb>
16327              <enumeratedValues>
16328                <enumeratedValue>
16329                  <name>Low</name>
16330                  <description>Pin driver is low.</description>
16331                  <value>0</value>
16332                </enumeratedValue>
16333                <enumeratedValue>
16334                  <name>High</name>
16335                  <description>Pin driver is high.</description>
16336                  <value>1</value>
16337                </enumeratedValue>
16338              </enumeratedValues>
16339            </field>
16340            <field>
16341              <name>PIN31</name>
16342              <description>Pin 31.</description>
16343              <lsb>31</lsb> <msb>31</msb>
16344              <enumeratedValues>
16345                <enumeratedValue>
16346                  <name>Low</name>
16347                  <description>Pin driver is low.</description>
16348                  <value>0</value>
16349                </enumeratedValue>
16350                <enumeratedValue>
16351                  <name>High</name>
16352                  <description>Pin driver is high.</description>
16353                  <value>1</value>
16354                </enumeratedValue>
16355              </enumeratedValues>
16356            </field>
16357          </fields>
16358        </register>
16359        <register>
16360          <name>OUTSET</name>
16361          <description>Set individual bits in GPIO port.</description>
16362          <addressOffset>0x508</addressOffset>
16363          <fields>
16364            <field>
16365              <name>PIN0</name>
16366              <description>Pin 0.</description>
16367              <lsb>0</lsb> <msb>0</msb>
16368              <enumeratedValues>
16369                <usage>read</usage>
16370                <enumeratedValue>
16371                  <name>Low</name>
16372                  <description>Pin driver is low.</description>
16373                  <value>0</value>
16374                </enumeratedValue>
16375                <enumeratedValue>
16376                  <name>High</name>
16377                  <description>Pin driver is high.</description>
16378                  <value>1</value>
16379                </enumeratedValue>
16380              </enumeratedValues>
16381              <enumeratedValues>
16382                <usage>write</usage>
16383                <enumeratedValue>
16384                  <name>Set</name>
16385                  <description>Set pin driver high.</description>
16386                  <value>1</value>
16387                </enumeratedValue>
16388              </enumeratedValues>
16389            </field>
16390            <field>
16391              <name>PIN1</name>
16392              <description>Pin 1.</description>
16393              <lsb>1</lsb> <msb>1</msb>
16394              <enumeratedValues>
16395                <usage>read</usage>
16396                <enumeratedValue>
16397                  <name>Low</name>
16398                  <description>Pin driver is low.</description>
16399                  <value>0</value>
16400                </enumeratedValue>
16401                <enumeratedValue>
16402                  <name>High</name>
16403                  <description>Pin driver is high.</description>
16404                  <value>1</value>
16405                </enumeratedValue>
16406              </enumeratedValues>
16407              <enumeratedValues>
16408                <usage>write</usage>
16409                <enumeratedValue>
16410                  <name>Set</name>
16411                  <description>Set pin driver high.</description>
16412                  <value>1</value>
16413                </enumeratedValue>
16414              </enumeratedValues>
16415            </field>
16416            <field>
16417              <name>PIN2</name>
16418              <description>Pin 2.</description>
16419              <lsb>2</lsb> <msb>2</msb>
16420              <enumeratedValues>
16421                <usage>read</usage>
16422                <enumeratedValue>
16423                  <name>Low</name>
16424                  <description>Pin driver is low.</description>
16425                  <value>0</value>
16426                </enumeratedValue>
16427                <enumeratedValue>
16428                  <name>High</name>
16429                  <description>Pin driver is high.</description>
16430                  <value>1</value>
16431                </enumeratedValue>
16432              </enumeratedValues>
16433              <enumeratedValues>
16434                <usage>write</usage>
16435                <enumeratedValue>
16436                  <name>Set</name>
16437                  <description>Set pin driver high.</description>
16438                  <value>1</value>
16439                </enumeratedValue>
16440              </enumeratedValues>
16441            </field>
16442            <field>
16443              <name>PIN3</name>
16444              <description>Pin 3.</description>
16445              <lsb>3</lsb> <msb>3</msb>
16446              <enumeratedValues>
16447                <usage>read</usage>
16448                <enumeratedValue>
16449                  <name>Low</name>
16450                  <description>Pin driver is low.</description>
16451                  <value>0</value>
16452                </enumeratedValue>
16453                <enumeratedValue>
16454                  <name>High</name>
16455                  <description>Pin driver is high.</description>
16456                  <value>1</value>
16457                </enumeratedValue>
16458              </enumeratedValues>
16459              <enumeratedValues>
16460                <usage>write</usage>
16461                <enumeratedValue>
16462                  <name>Set</name>
16463                  <description>Set pin driver high.</description>
16464                  <value>1</value>
16465                </enumeratedValue>
16466              </enumeratedValues>
16467            </field>
16468            <field>
16469              <name>PIN4</name>
16470              <description>Pin 4.</description>
16471              <lsb>4</lsb> <msb>4</msb>
16472              <enumeratedValues>
16473                <usage>read</usage>
16474                <enumeratedValue>
16475                  <name>Low</name>
16476                  <description>Pin driver is low.</description>
16477                  <value>0</value>
16478                </enumeratedValue>
16479                <enumeratedValue>
16480                  <name>High</name>
16481                  <description>Pin driver is high.</description>
16482                  <value>1</value>
16483                </enumeratedValue>
16484              </enumeratedValues>
16485              <enumeratedValues>
16486                <usage>write</usage>
16487                <enumeratedValue>
16488                  <name>Set</name>
16489                  <description>Set pin driver high.</description>
16490                  <value>1</value>
16491                </enumeratedValue>
16492              </enumeratedValues>
16493            </field>
16494            <field>
16495              <name>PIN5</name>
16496              <description>Pin 5.</description>
16497              <lsb>5</lsb> <msb>5</msb>
16498              <enumeratedValues>
16499                <usage>read</usage>
16500                <enumeratedValue>
16501                  <name>Low</name>
16502                  <description>Pin driver is low.</description>
16503                  <value>0</value>
16504                </enumeratedValue>
16505                <enumeratedValue>
16506                  <name>High</name>
16507                  <description>Pin driver is high.</description>
16508                  <value>1</value>
16509                </enumeratedValue>
16510              </enumeratedValues>
16511              <enumeratedValues>
16512                <usage>write</usage>
16513                <enumeratedValue>
16514                  <name>Set</name>
16515                  <description>Set pin driver high.</description>
16516                  <value>1</value>
16517                </enumeratedValue>
16518              </enumeratedValues>
16519            </field>
16520            <field>
16521              <name>PIN6</name>
16522              <description>Pin 6.</description>
16523              <lsb>6</lsb> <msb>6</msb>
16524              <enumeratedValues>
16525                <usage>read</usage>
16526                <enumeratedValue>
16527                  <name>Low</name>
16528                  <description>Pin driver is low.</description>
16529                  <value>0</value>
16530                </enumeratedValue>
16531                <enumeratedValue>
16532                  <name>High</name>
16533                  <description>Pin driver is high.</description>
16534                  <value>1</value>
16535                </enumeratedValue>
16536              </enumeratedValues>
16537              <enumeratedValues>
16538                <usage>write</usage>
16539                <enumeratedValue>
16540                  <name>Set</name>
16541                  <description>Set pin driver high.</description>
16542                  <value>1</value>
16543                </enumeratedValue>
16544              </enumeratedValues>
16545            </field>
16546            <field>
16547              <name>PIN7</name>
16548              <description>Pin 7.</description>
16549              <lsb>7</lsb> <msb>7</msb>
16550              <enumeratedValues>
16551                <usage>read</usage>
16552                <enumeratedValue>
16553                  <name>Low</name>
16554                  <description>Pin driver is low.</description>
16555                  <value>0</value>
16556                </enumeratedValue>
16557                <enumeratedValue>
16558                  <name>High</name>
16559                  <description>Pin driver is high.</description>
16560                  <value>1</value>
16561                </enumeratedValue>
16562              </enumeratedValues>
16563              <enumeratedValues>
16564                <usage>write</usage>
16565                <enumeratedValue>
16566                  <name>Set</name>
16567                  <description>Set pin driver high.</description>
16568                  <value>1</value>
16569                </enumeratedValue>
16570              </enumeratedValues>
16571            </field>
16572            <field>
16573              <name>PIN8</name>
16574              <description>Pin 8.</description>
16575              <lsb>8</lsb> <msb>8</msb>
16576              <enumeratedValues>
16577                <usage>read</usage>
16578                <enumeratedValue>
16579                  <name>Low</name>
16580                  <description>Pin driver is low.</description>
16581                  <value>0</value>
16582                </enumeratedValue>
16583                <enumeratedValue>
16584                  <name>High</name>
16585                  <description>Pin driver is high.</description>
16586                  <value>1</value>
16587                </enumeratedValue>
16588              </enumeratedValues>
16589              <enumeratedValues>
16590                <usage>write</usage>
16591                <enumeratedValue>
16592                  <name>Set</name>
16593                  <description>Set pin driver high.</description>
16594                  <value>1</value>
16595                </enumeratedValue>
16596              </enumeratedValues>
16597            </field>
16598            <field>
16599              <name>PIN9</name>
16600              <description>Pin 9.</description>
16601              <lsb>9</lsb> <msb>9</msb>
16602              <enumeratedValues>
16603                <usage>read</usage>
16604                <enumeratedValue>
16605                  <name>Low</name>
16606                  <description>Pin driver is low.</description>
16607                  <value>0</value>
16608                </enumeratedValue>
16609                <enumeratedValue>
16610                  <name>High</name>
16611                  <description>Pin driver is high.</description>
16612                  <value>1</value>
16613                </enumeratedValue>
16614              </enumeratedValues>
16615              <enumeratedValues>
16616                <usage>write</usage>
16617                <enumeratedValue>
16618                  <name>Set</name>
16619                  <description>Set pin driver high.</description>
16620                  <value>1</value>
16621                </enumeratedValue>
16622              </enumeratedValues>
16623            </field>
16624            <field>
16625              <name>PIN10</name>
16626              <description>Pin 10.</description>
16627              <lsb>10</lsb> <msb>10</msb>
16628              <enumeratedValues>
16629                <usage>read</usage>
16630                <enumeratedValue>
16631                  <name>Low</name>
16632                  <description>Pin driver is low.</description>
16633                  <value>0</value>
16634                </enumeratedValue>
16635                <enumeratedValue>
16636                  <name>High</name>
16637                  <description>Pin driver is high.</description>
16638                  <value>1</value>
16639                </enumeratedValue>
16640              </enumeratedValues>
16641              <enumeratedValues>
16642                <usage>write</usage>
16643                <enumeratedValue>
16644                  <name>Set</name>
16645                  <description>Set pin driver high.</description>
16646                  <value>1</value>
16647                </enumeratedValue>
16648              </enumeratedValues>
16649            </field>
16650            <field>
16651              <name>PIN11</name>
16652              <description>Pin 11.</description>
16653              <lsb>11</lsb> <msb>11</msb>
16654              <enumeratedValues>
16655                <usage>read</usage>
16656                <enumeratedValue>
16657                  <name>Low</name>
16658                  <description>Pin driver is low.</description>
16659                  <value>0</value>
16660                </enumeratedValue>
16661                <enumeratedValue>
16662                  <name>High</name>
16663                  <description>Pin driver is high.</description>
16664                  <value>1</value>
16665                </enumeratedValue>
16666              </enumeratedValues>
16667              <enumeratedValues>
16668                <usage>write</usage>
16669                <enumeratedValue>
16670                  <name>Set</name>
16671                  <description>Set pin driver high.</description>
16672                  <value>1</value>
16673                </enumeratedValue>
16674              </enumeratedValues>
16675            </field>
16676            <field>
16677              <name>PIN12</name>
16678              <description>Pin 12.</description>
16679              <lsb>12</lsb> <msb>12</msb>
16680              <enumeratedValues>
16681                <usage>read</usage>
16682                <enumeratedValue>
16683                  <name>Low</name>
16684                  <description>Pin driver is low.</description>
16685                  <value>0</value>
16686                </enumeratedValue>
16687                <enumeratedValue>
16688                  <name>High</name>
16689                  <description>Pin driver is high.</description>
16690                  <value>1</value>
16691                </enumeratedValue>
16692              </enumeratedValues>
16693              <enumeratedValues>
16694                <usage>write</usage>
16695                <enumeratedValue>
16696                  <name>Set</name>
16697                  <description>Set pin driver high.</description>
16698                  <value>1</value>
16699                </enumeratedValue>
16700              </enumeratedValues>
16701            </field>
16702            <field>
16703              <name>PIN13</name>
16704              <description>Pin 13.</description>
16705              <lsb>13</lsb> <msb>13</msb>
16706              <enumeratedValues>
16707                <usage>read</usage>
16708                <enumeratedValue>
16709                  <name>Low</name>
16710                  <description>Pin driver is low.</description>
16711                  <value>0</value>
16712                </enumeratedValue>
16713                <enumeratedValue>
16714                  <name>High</name>
16715                  <description>Pin driver is high.</description>
16716                  <value>1</value>
16717                </enumeratedValue>
16718              </enumeratedValues>
16719              <enumeratedValues>
16720                <usage>write</usage>
16721                <enumeratedValue>
16722                  <name>Set</name>
16723                  <description>Set pin driver high.</description>
16724                  <value>1</value>
16725                </enumeratedValue>
16726              </enumeratedValues>
16727            </field>
16728            <field>
16729              <name>PIN14</name>
16730              <description>Pin 14.</description>
16731              <lsb>14</lsb> <msb>14</msb>
16732              <enumeratedValues>
16733                <usage>read</usage>
16734                <enumeratedValue>
16735                  <name>Low</name>
16736                  <description>Pin driver is low.</description>
16737                  <value>0</value>
16738                </enumeratedValue>
16739                <enumeratedValue>
16740                  <name>High</name>
16741                  <description>Pin driver is high.</description>
16742                  <value>1</value>
16743                </enumeratedValue>
16744              </enumeratedValues>
16745              <enumeratedValues>
16746                <usage>write</usage>
16747                <enumeratedValue>
16748                  <name>Set</name>
16749                  <description>Set pin driver high.</description>
16750                  <value>1</value>
16751                </enumeratedValue>
16752              </enumeratedValues>
16753            </field>
16754            <field>
16755              <name>PIN15</name>
16756              <description>Pin 15.</description>
16757              <lsb>15</lsb> <msb>15</msb>
16758              <enumeratedValues>
16759                <usage>read</usage>
16760                <enumeratedValue>
16761                  <name>Low</name>
16762                  <description>Pin driver is low.</description>
16763                  <value>0</value>
16764                </enumeratedValue>
16765                <enumeratedValue>
16766                  <name>High</name>
16767                  <description>Pin driver is high.</description>
16768                  <value>1</value>
16769                </enumeratedValue>
16770              </enumeratedValues>
16771              <enumeratedValues>
16772                <usage>write</usage>
16773                <enumeratedValue>
16774                  <name>Set</name>
16775                  <description>Set pin driver high.</description>
16776                  <value>1</value>
16777                </enumeratedValue>
16778              </enumeratedValues>
16779            </field>
16780            <field>
16781              <name>PIN16</name>
16782              <description>Pin 16.</description>
16783              <lsb>16</lsb> <msb>16</msb>
16784              <enumeratedValues>
16785                <usage>read</usage>
16786                <enumeratedValue>
16787                  <name>Low</name>
16788                  <description>Pin driver is low.</description>
16789                  <value>0</value>
16790                </enumeratedValue>
16791                <enumeratedValue>
16792                  <name>High</name>
16793                  <description>Pin driver is high.</description>
16794                  <value>1</value>
16795                </enumeratedValue>
16796              </enumeratedValues>
16797              <enumeratedValues>
16798                <usage>write</usage>
16799                <enumeratedValue>
16800                  <name>Set</name>
16801                  <description>Set pin driver high.</description>
16802                  <value>1</value>
16803                </enumeratedValue>
16804              </enumeratedValues>
16805            </field>
16806            <field>
16807              <name>PIN17</name>
16808              <description>Pin 17.</description>
16809              <lsb>17</lsb> <msb>17</msb>
16810              <enumeratedValues>
16811                <usage>read</usage>
16812                <enumeratedValue>
16813                  <name>Low</name>
16814                  <description>Pin driver is low.</description>
16815                  <value>0</value>
16816                </enumeratedValue>
16817                <enumeratedValue>
16818                  <name>High</name>
16819                  <description>Pin driver is high.</description>
16820                  <value>1</value>
16821                </enumeratedValue>
16822              </enumeratedValues>
16823              <enumeratedValues>
16824                <usage>write</usage>
16825                <enumeratedValue>
16826                  <name>Set</name>
16827                  <description>Set pin driver high.</description>
16828                  <value>1</value>
16829                </enumeratedValue>
16830              </enumeratedValues>
16831            </field>
16832            <field>
16833              <name>PIN18</name>
16834              <description>Pin 18.</description>
16835              <lsb>18</lsb> <msb>18</msb>
16836              <enumeratedValues>
16837                <usage>read</usage>
16838                <enumeratedValue>
16839                  <name>Low</name>
16840                  <description>Pin driver is low.</description>
16841                  <value>0</value>
16842                </enumeratedValue>
16843                <enumeratedValue>
16844                  <name>High</name>
16845                  <description>Pin driver is high.</description>
16846                  <value>1</value>
16847                </enumeratedValue>
16848              </enumeratedValues>
16849              <enumeratedValues>
16850                <usage>write</usage>
16851                <enumeratedValue>
16852                  <name>Set</name>
16853                  <description>Set pin driver high.</description>
16854                  <value>1</value>
16855                </enumeratedValue>
16856              </enumeratedValues>
16857            </field>
16858            <field>
16859              <name>PIN19</name>
16860              <description>Pin 19.</description>
16861              <lsb>19</lsb> <msb>19</msb>
16862              <enumeratedValues>
16863                <usage>read</usage>
16864                <enumeratedValue>
16865                  <name>Low</name>
16866                  <description>Pin driver is low.</description>
16867                  <value>0</value>
16868                </enumeratedValue>
16869                <enumeratedValue>
16870                  <name>High</name>
16871                  <description>Pin driver is high.</description>
16872                  <value>1</value>
16873                </enumeratedValue>
16874              </enumeratedValues>
16875              <enumeratedValues>
16876                <usage>write</usage>
16877                <enumeratedValue>
16878                  <name>Set</name>
16879                  <description>Set pin driver high.</description>
16880                  <value>1</value>
16881                </enumeratedValue>
16882              </enumeratedValues>
16883            </field>
16884            <field>
16885              <name>PIN20</name>
16886              <description>Pin 20.</description>
16887              <lsb>20</lsb> <msb>20</msb>
16888              <enumeratedValues>
16889                <usage>read</usage>
16890                <enumeratedValue>
16891                  <name>Low</name>
16892                  <description>Pin driver is low.</description>
16893                  <value>0</value>
16894                </enumeratedValue>
16895                <enumeratedValue>
16896                  <name>High</name>
16897                  <description>Pin driver is high.</description>
16898                  <value>1</value>
16899                </enumeratedValue>
16900              </enumeratedValues>
16901              <enumeratedValues>
16902                <usage>write</usage>
16903                <enumeratedValue>
16904                  <name>Set</name>
16905                  <description>Set pin driver high.</description>
16906                  <value>1</value>
16907                </enumeratedValue>
16908              </enumeratedValues>
16909            </field>
16910            <field>
16911              <name>PIN21</name>
16912              <description>Pin 21.</description>
16913              <lsb>21</lsb> <msb>21</msb>
16914              <enumeratedValues>
16915                <usage>read</usage>
16916                <enumeratedValue>
16917                  <name>Low</name>
16918                  <description>Pin driver is low.</description>
16919                  <value>0</value>
16920                </enumeratedValue>
16921                <enumeratedValue>
16922                  <name>High</name>
16923                  <description>Pin driver is high.</description>
16924                  <value>1</value>
16925                </enumeratedValue>
16926              </enumeratedValues>
16927              <enumeratedValues>
16928                <usage>write</usage>
16929                <enumeratedValue>
16930                  <name>Set</name>
16931                  <description>Set pin driver high.</description>
16932                  <value>1</value>
16933                </enumeratedValue>
16934              </enumeratedValues>
16935            </field>
16936            <field>
16937              <name>PIN22</name>
16938              <description>Pin 22.</description>
16939              <lsb>22</lsb> <msb>22</msb>
16940              <enumeratedValues>
16941                <usage>read</usage>
16942                <enumeratedValue>
16943                  <name>Low</name>
16944                  <description>Pin driver is low.</description>
16945                  <value>0</value>
16946                </enumeratedValue>
16947                <enumeratedValue>
16948                  <name>High</name>
16949                  <description>Pin driver is high.</description>
16950                  <value>1</value>
16951                </enumeratedValue>
16952              </enumeratedValues>
16953              <enumeratedValues>
16954                <usage>write</usage>
16955                <enumeratedValue>
16956                  <name>Set</name>
16957                  <description>Set pin driver high.</description>
16958                  <value>1</value>
16959                </enumeratedValue>
16960              </enumeratedValues>
16961            </field>
16962            <field>
16963              <name>PIN23</name>
16964              <description>Pin 23.</description>
16965              <lsb>23</lsb> <msb>23</msb>
16966              <enumeratedValues>
16967                <usage>read</usage>
16968                <enumeratedValue>
16969                  <name>Low</name>
16970                  <description>Pin driver is low.</description>
16971                  <value>0</value>
16972                </enumeratedValue>
16973                <enumeratedValue>
16974                  <name>High</name>
16975                  <description>Pin driver is high.</description>
16976                  <value>1</value>
16977                </enumeratedValue>
16978              </enumeratedValues>
16979              <enumeratedValues>
16980                <usage>write</usage>
16981                <enumeratedValue>
16982                  <name>Set</name>
16983                  <description>Set pin driver high.</description>
16984                  <value>1</value>
16985                </enumeratedValue>
16986              </enumeratedValues>
16987            </field>
16988            <field>
16989              <name>PIN24</name>
16990              <description>Pin 24.</description>
16991              <lsb>24</lsb> <msb>24</msb>
16992              <enumeratedValues>
16993                <usage>read</usage>
16994                <enumeratedValue>
16995                  <name>Low</name>
16996                  <description>Pin driver is low.</description>
16997                  <value>0</value>
16998                </enumeratedValue>
16999                <enumeratedValue>
17000                  <name>High</name>
17001                  <description>Pin driver is high.</description>
17002                  <value>1</value>
17003                </enumeratedValue>
17004              </enumeratedValues>
17005              <enumeratedValues>
17006                <usage>write</usage>
17007                <enumeratedValue>
17008                  <name>Set</name>
17009                  <description>Set pin driver high.</description>
17010                  <value>1</value>
17011                </enumeratedValue>
17012              </enumeratedValues>
17013            </field>
17014            <field>
17015              <name>PIN25</name>
17016              <description>Pin 25.</description>
17017              <lsb>25</lsb> <msb>25</msb>
17018              <enumeratedValues>
17019                <usage>read</usage>
17020                <enumeratedValue>
17021                  <name>Low</name>
17022                  <description>Pin driver is low.</description>
17023                  <value>0</value>
17024                </enumeratedValue>
17025                <enumeratedValue>
17026                  <name>High</name>
17027                  <description>Pin driver is high.</description>
17028                  <value>1</value>
17029                </enumeratedValue>
17030              </enumeratedValues>
17031              <enumeratedValues>
17032                <usage>write</usage>
17033                <enumeratedValue>
17034                  <name>Set</name>
17035                  <description>Set pin driver high.</description>
17036                  <value>1</value>
17037                </enumeratedValue>
17038              </enumeratedValues>
17039            </field>
17040            <field>
17041              <name>PIN26</name>
17042              <description>Pin 26.</description>
17043              <lsb>26</lsb> <msb>26</msb>
17044              <enumeratedValues>
17045                <usage>read</usage>
17046                <enumeratedValue>
17047                  <name>Low</name>
17048                  <description>Pin driver is low.</description>
17049                  <value>0</value>
17050                </enumeratedValue>
17051                <enumeratedValue>
17052                  <name>High</name>
17053                  <description>Pin driver is high.</description>
17054                  <value>1</value>
17055                </enumeratedValue>
17056              </enumeratedValues>
17057              <enumeratedValues>
17058                <usage>write</usage>
17059                <enumeratedValue>
17060                  <name>Set</name>
17061                  <description>Set pin driver high.</description>
17062                  <value>1</value>
17063                </enumeratedValue>
17064              </enumeratedValues>
17065            </field>
17066            <field>
17067              <name>PIN27</name>
17068              <description>Pin 27.</description>
17069              <lsb>27</lsb> <msb>27</msb>
17070              <enumeratedValues>
17071                <usage>read</usage>
17072                <enumeratedValue>
17073                  <name>Low</name>
17074                  <description>Pin driver is low.</description>
17075                  <value>0</value>
17076                </enumeratedValue>
17077                <enumeratedValue>
17078                  <name>High</name>
17079                  <description>Pin driver is high.</description>
17080                  <value>1</value>
17081                </enumeratedValue>
17082              </enumeratedValues>
17083              <enumeratedValues>
17084                <usage>write</usage>
17085                <enumeratedValue>
17086                  <name>Set</name>
17087                  <description>Set pin driver high.</description>
17088                  <value>1</value>
17089                </enumeratedValue>
17090              </enumeratedValues>
17091            </field>
17092            <field>
17093              <name>PIN28</name>
17094              <description>Pin 28.</description>
17095              <lsb>28</lsb> <msb>28</msb>
17096              <enumeratedValues>
17097                <usage>read</usage>
17098                <enumeratedValue>
17099                  <name>Low</name>
17100                  <description>Pin driver is low.</description>
17101                  <value>0</value>
17102                </enumeratedValue>
17103                <enumeratedValue>
17104                  <name>High</name>
17105                  <description>Pin driver is high.</description>
17106                  <value>1</value>
17107                </enumeratedValue>
17108              </enumeratedValues>
17109              <enumeratedValues>
17110                <usage>write</usage>
17111                <enumeratedValue>
17112                  <name>Set</name>
17113                  <description>Set pin driver high.</description>
17114                  <value>1</value>
17115                </enumeratedValue>
17116              </enumeratedValues>
17117            </field>
17118            <field>
17119              <name>PIN29</name>
17120              <description>Pin 29.</description>
17121              <lsb>29</lsb> <msb>29</msb>
17122              <enumeratedValues>
17123                <usage>read</usage>
17124                <enumeratedValue>
17125                  <name>Low</name>
17126                  <description>Pin driver is low.</description>
17127                  <value>0</value>
17128                </enumeratedValue>
17129                <enumeratedValue>
17130                  <name>High</name>
17131                  <description>Pin driver is high.</description>
17132                  <value>1</value>
17133                </enumeratedValue>
17134              </enumeratedValues>
17135              <enumeratedValues>
17136                <usage>write</usage>
17137                <enumeratedValue>
17138                  <name>Set</name>
17139                  <description>Set pin driver high.</description>
17140                  <value>1</value>
17141                </enumeratedValue>
17142              </enumeratedValues>
17143            </field>
17144            <field>
17145              <name>PIN30</name>
17146              <description>Pin 30.</description>
17147              <lsb>30</lsb> <msb>30</msb>
17148              <enumeratedValues>
17149                <usage>read</usage>
17150                <enumeratedValue>
17151                  <name>Low</name>
17152                  <description>Pin driver is low.</description>
17153                  <value>0</value>
17154                </enumeratedValue>
17155                <enumeratedValue>
17156                  <name>High</name>
17157                  <description>Pin driver is high.</description>
17158                  <value>1</value>
17159                </enumeratedValue>
17160              </enumeratedValues>
17161              <enumeratedValues>
17162                <usage>write</usage>
17163                <enumeratedValue>
17164                  <name>Set</name>
17165                  <description>Set pin driver high.</description>
17166                  <value>1</value>
17167                </enumeratedValue>
17168              </enumeratedValues>
17169            </field>
17170            <field>
17171              <name>PIN31</name>
17172              <description>Pin 31.</description>
17173              <lsb>31</lsb> <msb>31</msb>
17174              <enumeratedValues>
17175                <usage>read</usage>
17176                <enumeratedValue>
17177                  <name>Low</name>
17178                  <description>Pin driver is low.</description>
17179                  <value>0</value>
17180                </enumeratedValue>
17181                <enumeratedValue>
17182                  <name>High</name>
17183                  <description>Pin driver is high.</description>
17184                  <value>1</value>
17185                </enumeratedValue>
17186              </enumeratedValues>
17187              <enumeratedValues>
17188                <usage>write</usage>
17189                <enumeratedValue>
17190                  <name>Set</name>
17191                  <description>Set pin driver high.</description>
17192                  <value>1</value>
17193                </enumeratedValue>
17194              </enumeratedValues>
17195            </field>
17196          </fields>
17197        </register>
17198        <register>
17199          <name>OUTCLR</name>
17200          <description>Clear individual bits in GPIO port.</description>
17201          <addressOffset>0x50C</addressOffset>
17202          <fields>
17203            <field>
17204              <name>PIN0</name>
17205              <description>Pin 0.</description>
17206              <lsb>0</lsb> <msb>0</msb>
17207              <enumeratedValues>
17208                <usage>read</usage>
17209                <enumeratedValue>
17210                  <name>Low</name>
17211                  <description>Pin driver is low.</description>
17212                  <value>0</value>
17213                </enumeratedValue>
17214                <enumeratedValue>
17215                  <name>High</name>
17216                  <description>Pin driver is high.</description>
17217                  <value>1</value>
17218                </enumeratedValue>
17219              </enumeratedValues>
17220              <enumeratedValues>
17221                <usage>write</usage>
17222                <enumeratedValue>
17223                  <name>Clear</name>
17224                  <description>Set pin driver low.</description>
17225                  <value>1</value>
17226                </enumeratedValue>
17227              </enumeratedValues>
17228            </field>
17229            <field>
17230              <name>PIN1</name>
17231              <description>Pin 1.</description>
17232              <lsb>1</lsb> <msb>1</msb>
17233              <enumeratedValues>
17234                <usage>read</usage>
17235                <enumeratedValue>
17236                  <name>Low</name>
17237                  <description>Pin driver is low.</description>
17238                  <value>0</value>
17239                </enumeratedValue>
17240                <enumeratedValue>
17241                  <name>High</name>
17242                  <description>Pin driver is high.</description>
17243                  <value>1</value>
17244                </enumeratedValue>
17245              </enumeratedValues>
17246              <enumeratedValues>
17247                <usage>write</usage>
17248                <enumeratedValue>
17249                  <name>Clear</name>
17250                  <description>Set pin driver low.</description>
17251                  <value>1</value>
17252                </enumeratedValue>
17253              </enumeratedValues>
17254            </field>
17255            <field>
17256              <name>PIN2</name>
17257              <description>Pin 2.</description>
17258              <lsb>2</lsb> <msb>2</msb>
17259              <enumeratedValues>
17260                <usage>read</usage>
17261                <enumeratedValue>
17262                  <name>Low</name>
17263                  <description>Pin driver is low.</description>
17264                  <value>0</value>
17265                </enumeratedValue>
17266                <enumeratedValue>
17267                  <name>High</name>
17268                  <description>Pin driver is high.</description>
17269                  <value>1</value>
17270                </enumeratedValue>
17271              </enumeratedValues>
17272              <enumeratedValues>
17273                <usage>write</usage>
17274                <enumeratedValue>
17275                  <name>Clear</name>
17276                  <description>Set pin driver low.</description>
17277                  <value>1</value>
17278                </enumeratedValue>
17279              </enumeratedValues>
17280            </field>
17281            <field>
17282              <name>PIN3</name>
17283              <description>Pin 3.</description>
17284              <lsb>3</lsb> <msb>3</msb>
17285              <enumeratedValues>
17286                <usage>read</usage>
17287                <enumeratedValue>
17288                  <name>Low</name>
17289                  <description>Pin driver is low.</description>
17290                  <value>0</value>
17291                </enumeratedValue>
17292                <enumeratedValue>
17293                  <name>High</name>
17294                  <description>Pin driver is high.</description>
17295                  <value>1</value>
17296                </enumeratedValue>
17297              </enumeratedValues>
17298              <enumeratedValues>
17299                <usage>write</usage>
17300                <enumeratedValue>
17301                  <name>Clear</name>
17302                  <description>Set pin driver low.</description>
17303                  <value>1</value>
17304                </enumeratedValue>
17305              </enumeratedValues>
17306            </field>
17307            <field>
17308              <name>PIN4</name>
17309              <description>Pin 4.</description>
17310              <lsb>4</lsb> <msb>4</msb>
17311              <enumeratedValues>
17312                <usage>read</usage>
17313                <enumeratedValue>
17314                  <name>Low</name>
17315                  <description>Pin driver is low.</description>
17316                  <value>0</value>
17317                </enumeratedValue>
17318                <enumeratedValue>
17319                  <name>High</name>
17320                  <description>Pin driver is high.</description>
17321                  <value>1</value>
17322                </enumeratedValue>
17323              </enumeratedValues>
17324              <enumeratedValues>
17325                <usage>write</usage>
17326                <enumeratedValue>
17327                  <name>Clear</name>
17328                  <description>Set pin driver low.</description>
17329                  <value>1</value>
17330                </enumeratedValue>
17331              </enumeratedValues>
17332            </field>
17333            <field>
17334              <name>PIN5</name>
17335              <description>Pin 5.</description>
17336              <lsb>5</lsb> <msb>5</msb>
17337              <enumeratedValues>
17338                <usage>read</usage>
17339                <enumeratedValue>
17340                  <name>Low</name>
17341                  <description>Pin driver is low.</description>
17342                  <value>0</value>
17343                </enumeratedValue>
17344                <enumeratedValue>
17345                  <name>High</name>
17346                  <description>Pin driver is high.</description>
17347                  <value>1</value>
17348                </enumeratedValue>
17349              </enumeratedValues>
17350              <enumeratedValues>
17351                <usage>write</usage>
17352                <enumeratedValue>
17353                  <name>Clear</name>
17354                  <description>Set pin driver low.</description>
17355                  <value>1</value>
17356                </enumeratedValue>
17357              </enumeratedValues>
17358            </field>
17359            <field>
17360              <name>PIN6</name>
17361              <description>Pin 6.</description>
17362              <lsb>6</lsb> <msb>6</msb>
17363              <enumeratedValues>
17364                <usage>read</usage>
17365                <enumeratedValue>
17366                  <name>Low</name>
17367                  <description>Pin driver is low.</description>
17368                  <value>0</value>
17369                </enumeratedValue>
17370                <enumeratedValue>
17371                  <name>High</name>
17372                  <description>Pin driver is high.</description>
17373                  <value>1</value>
17374                </enumeratedValue>
17375              </enumeratedValues>
17376              <enumeratedValues>
17377                <usage>write</usage>
17378                <enumeratedValue>
17379                  <name>Clear</name>
17380                  <description>Set pin driver low.</description>
17381                  <value>1</value>
17382                </enumeratedValue>
17383              </enumeratedValues>
17384            </field>
17385            <field>
17386              <name>PIN7</name>
17387              <description>Pin 7.</description>
17388              <lsb>7</lsb> <msb>7</msb>
17389              <enumeratedValues>
17390                <usage>read</usage>
17391                <enumeratedValue>
17392                  <name>Low</name>
17393                  <description>Pin driver is low.</description>
17394                  <value>0</value>
17395                </enumeratedValue>
17396                <enumeratedValue>
17397                  <name>High</name>
17398                  <description>Pin driver is high.</description>
17399                  <value>1</value>
17400                </enumeratedValue>
17401              </enumeratedValues>
17402              <enumeratedValues>
17403                <usage>write</usage>
17404                <enumeratedValue>
17405                  <name>Clear</name>
17406                  <description>Set pin driver low.</description>
17407                  <value>1</value>
17408                </enumeratedValue>
17409              </enumeratedValues>
17410            </field>
17411            <field>
17412              <name>PIN8</name>
17413              <description>Pin 8.</description>
17414              <lsb>8</lsb> <msb>8</msb>
17415              <enumeratedValues>
17416                <usage>read</usage>
17417                <enumeratedValue>
17418                  <name>Low</name>
17419                  <description>Pin driver is low.</description>
17420                  <value>0</value>
17421                </enumeratedValue>
17422                <enumeratedValue>
17423                  <name>High</name>
17424                  <description>Pin driver is high.</description>
17425                  <value>1</value>
17426                </enumeratedValue>
17427              </enumeratedValues>
17428              <enumeratedValues>
17429                <usage>write</usage>
17430                <enumeratedValue>
17431                  <name>Clear</name>
17432                  <description>Set pin driver low.</description>
17433                  <value>1</value>
17434                </enumeratedValue>
17435              </enumeratedValues>
17436            </field>
17437            <field>
17438              <name>PIN9</name>
17439              <description>Pin 9.</description>
17440              <lsb>9</lsb> <msb>9</msb>
17441              <enumeratedValues>
17442                <usage>read</usage>
17443                <enumeratedValue>
17444                  <name>Low</name>
17445                  <description>Pin driver is low.</description>
17446                  <value>0</value>
17447                </enumeratedValue>
17448                <enumeratedValue>
17449                  <name>High</name>
17450                  <description>Pin driver is high.</description>
17451                  <value>1</value>
17452                </enumeratedValue>
17453              </enumeratedValues>
17454              <enumeratedValues>
17455                <usage>write</usage>
17456                <enumeratedValue>
17457                  <name>Clear</name>
17458                  <description>Set pin driver low.</description>
17459                  <value>1</value>
17460                </enumeratedValue>
17461              </enumeratedValues>
17462            </field>
17463            <field>
17464              <name>PIN10</name>
17465              <description>Pin 10.</description>
17466              <lsb>10</lsb> <msb>10</msb>
17467              <enumeratedValues>
17468                <usage>read</usage>
17469                <enumeratedValue>
17470                  <name>Low</name>
17471                  <description>Pin driver is low.</description>
17472                  <value>0</value>
17473                </enumeratedValue>
17474                <enumeratedValue>
17475                  <name>High</name>
17476                  <description>Pin driver is high.</description>
17477                  <value>1</value>
17478                </enumeratedValue>
17479              </enumeratedValues>
17480              <enumeratedValues>
17481                <usage>write</usage>
17482                <enumeratedValue>
17483                  <name>Clear</name>
17484                  <description>Set pin driver low.</description>
17485                  <value>1</value>
17486                </enumeratedValue>
17487              </enumeratedValues>
17488            </field>
17489            <field>
17490              <name>PIN11</name>
17491              <description>Pin 11.</description>
17492              <lsb>11</lsb> <msb>11</msb>
17493              <enumeratedValues>
17494                <usage>read</usage>
17495                <enumeratedValue>
17496                  <name>Low</name>
17497                  <description>Pin driver is low.</description>
17498                  <value>0</value>
17499                </enumeratedValue>
17500                <enumeratedValue>
17501                  <name>High</name>
17502                  <description>Pin driver is high.</description>
17503                  <value>1</value>
17504                </enumeratedValue>
17505              </enumeratedValues>
17506              <enumeratedValues>
17507                <usage>write</usage>
17508                <enumeratedValue>
17509                  <name>Clear</name>
17510                  <description>Set pin driver low.</description>
17511                  <value>1</value>
17512                </enumeratedValue>
17513              </enumeratedValues>
17514            </field>
17515            <field>
17516              <name>PIN12</name>
17517              <description>Pin 12.</description>
17518              <lsb>12</lsb> <msb>12</msb>
17519              <enumeratedValues>
17520                <usage>read</usage>
17521                <enumeratedValue>
17522                  <name>Low</name>
17523                  <description>Pin driver is low.</description>
17524                  <value>0</value>
17525                </enumeratedValue>
17526                <enumeratedValue>
17527                  <name>High</name>
17528                  <description>Pin driver is high.</description>
17529                  <value>1</value>
17530                </enumeratedValue>
17531              </enumeratedValues>
17532              <enumeratedValues>
17533                <usage>write</usage>
17534                <enumeratedValue>
17535                  <name>Clear</name>
17536                  <description>Set pin driver low.</description>
17537                  <value>1</value>
17538                </enumeratedValue>
17539              </enumeratedValues>
17540            </field>
17541            <field>
17542              <name>PIN13</name>
17543              <description>Pin 13.</description>
17544              <lsb>13</lsb> <msb>13</msb>
17545              <enumeratedValues>
17546                <usage>read</usage>
17547                <enumeratedValue>
17548                  <name>Low</name>
17549                  <description>Pin driver is low.</description>
17550                  <value>0</value>
17551                </enumeratedValue>
17552                <enumeratedValue>
17553                  <name>High</name>
17554                  <description>Pin driver is high.</description>
17555                  <value>1</value>
17556                </enumeratedValue>
17557              </enumeratedValues>
17558              <enumeratedValues>
17559                <usage>write</usage>
17560                <enumeratedValue>
17561                  <name>Clear</name>
17562                  <description>Set pin driver low.</description>
17563                  <value>1</value>
17564                </enumeratedValue>
17565              </enumeratedValues>
17566            </field>
17567            <field>
17568              <name>PIN14</name>
17569              <description>Pin 14.</description>
17570              <lsb>14</lsb> <msb>14</msb>
17571              <enumeratedValues>
17572                <usage>read</usage>
17573                <enumeratedValue>
17574                  <name>Low</name>
17575                  <description>Pin driver is low.</description>
17576                  <value>0</value>
17577                </enumeratedValue>
17578                <enumeratedValue>
17579                  <name>High</name>
17580                  <description>Pin driver is high.</description>
17581                  <value>1</value>
17582                </enumeratedValue>
17583              </enumeratedValues>
17584              <enumeratedValues>
17585                <usage>write</usage>
17586                <enumeratedValue>
17587                  <name>Clear</name>
17588                  <description>Set pin driver low.</description>
17589                  <value>1</value>
17590                </enumeratedValue>
17591              </enumeratedValues>
17592            </field>
17593            <field>
17594              <name>PIN15</name>
17595              <description>Pin 15.</description>
17596              <lsb>15</lsb> <msb>15</msb>
17597              <enumeratedValues>
17598                <usage>read</usage>
17599                <enumeratedValue>
17600                  <name>Low</name>
17601                  <description>Pin driver is low.</description>
17602                  <value>0</value>
17603                </enumeratedValue>
17604                <enumeratedValue>
17605                  <name>High</name>
17606                  <description>Pin driver is high.</description>
17607                  <value>1</value>
17608                </enumeratedValue>
17609              </enumeratedValues>
17610              <enumeratedValues>
17611                <usage>write</usage>
17612                <enumeratedValue>
17613                  <name>Clear</name>
17614                  <description>Set pin driver low.</description>
17615                  <value>1</value>
17616                </enumeratedValue>
17617              </enumeratedValues>
17618            </field>
17619            <field>
17620              <name>PIN16</name>
17621              <description>Pin 16.</description>
17622              <lsb>16</lsb> <msb>16</msb>
17623              <enumeratedValues>
17624                <usage>read</usage>
17625                <enumeratedValue>
17626                  <name>Low</name>
17627                  <description>Pin driver is low.</description>
17628                  <value>0</value>
17629                </enumeratedValue>
17630                <enumeratedValue>
17631                  <name>High</name>
17632                  <description>Pin driver is high.</description>
17633                  <value>1</value>
17634                </enumeratedValue>
17635              </enumeratedValues>
17636              <enumeratedValues>
17637                <usage>write</usage>
17638                <enumeratedValue>
17639                  <name>Clear</name>
17640                  <description>Set pin driver low.</description>
17641                  <value>1</value>
17642                </enumeratedValue>
17643              </enumeratedValues>
17644            </field>
17645            <field>
17646              <name>PIN17</name>
17647              <description>Pin 17.</description>
17648              <lsb>17</lsb> <msb>17</msb>
17649              <enumeratedValues>
17650                <usage>read</usage>
17651                <enumeratedValue>
17652                  <name>Low</name>
17653                  <description>Pin driver is low.</description>
17654                  <value>0</value>
17655                </enumeratedValue>
17656                <enumeratedValue>
17657                  <name>High</name>
17658                  <description>Pin driver is high.</description>
17659                  <value>1</value>
17660                </enumeratedValue>
17661              </enumeratedValues>
17662              <enumeratedValues>
17663                <usage>write</usage>
17664                <enumeratedValue>
17665                  <name>Clear</name>
17666                  <description>Set pin driver low.</description>
17667                  <value>1</value>
17668                </enumeratedValue>
17669              </enumeratedValues>
17670            </field>
17671            <field>
17672              <name>PIN18</name>
17673              <description>Pin 18.</description>
17674              <lsb>18</lsb> <msb>18</msb>
17675              <enumeratedValues>
17676                <usage>read</usage>
17677                <enumeratedValue>
17678                  <name>Low</name>
17679                  <description>Pin driver is low.</description>
17680                  <value>0</value>
17681                </enumeratedValue>
17682                <enumeratedValue>
17683                  <name>High</name>
17684                  <description>Pin driver is high.</description>
17685                  <value>1</value>
17686                </enumeratedValue>
17687              </enumeratedValues>
17688              <enumeratedValues>
17689                <usage>write</usage>
17690                <enumeratedValue>
17691                  <name>Clear</name>
17692                  <description>Set pin driver low.</description>
17693                  <value>1</value>
17694                </enumeratedValue>
17695              </enumeratedValues>
17696            </field>
17697            <field>
17698              <name>PIN19</name>
17699              <description>Pin 19.</description>
17700              <lsb>19</lsb> <msb>19</msb>
17701              <enumeratedValues>
17702                <usage>read</usage>
17703                <enumeratedValue>
17704                  <name>Low</name>
17705                  <description>Pin driver is low.</description>
17706                  <value>0</value>
17707                </enumeratedValue>
17708                <enumeratedValue>
17709                  <name>High</name>
17710                  <description>Pin driver is high.</description>
17711                  <value>1</value>
17712                </enumeratedValue>
17713              </enumeratedValues>
17714              <enumeratedValues>
17715                <usage>write</usage>
17716                <enumeratedValue>
17717                  <name>Clear</name>
17718                  <description>Set pin driver low.</description>
17719                  <value>1</value>
17720                </enumeratedValue>
17721              </enumeratedValues>
17722            </field>
17723            <field>
17724              <name>PIN20</name>
17725              <description>Pin 20.</description>
17726              <lsb>20</lsb> <msb>20</msb>
17727              <enumeratedValues>
17728                <usage>read</usage>
17729                <enumeratedValue>
17730                  <name>Low</name>
17731                  <description>Pin driver is low.</description>
17732                  <value>0</value>
17733                </enumeratedValue>
17734                <enumeratedValue>
17735                  <name>High</name>
17736                  <description>Pin driver is high.</description>
17737                  <value>1</value>
17738                </enumeratedValue>
17739              </enumeratedValues>
17740              <enumeratedValues>
17741                <usage>write</usage>
17742                <enumeratedValue>
17743                  <name>Clear</name>
17744                  <description>Set pin driver low.</description>
17745                  <value>1</value>
17746                </enumeratedValue>
17747              </enumeratedValues>
17748            </field>
17749            <field>
17750              <name>PIN21</name>
17751              <description>Pin 21.</description>
17752              <lsb>21</lsb> <msb>21</msb>
17753              <enumeratedValues>
17754                <usage>read</usage>
17755                <enumeratedValue>
17756                  <name>Low</name>
17757                  <description>Pin driver is low.</description>
17758                  <value>0</value>
17759                </enumeratedValue>
17760                <enumeratedValue>
17761                  <name>High</name>
17762                  <description>Pin driver is high.</description>
17763                  <value>1</value>
17764                </enumeratedValue>
17765              </enumeratedValues>
17766              <enumeratedValues>
17767                <usage>write</usage>
17768                <enumeratedValue>
17769                  <name>Clear</name>
17770                  <description>Set pin driver low.</description>
17771                  <value>1</value>
17772                </enumeratedValue>
17773              </enumeratedValues>
17774            </field>
17775            <field>
17776              <name>PIN22</name>
17777              <description>Pin 22.</description>
17778              <lsb>22</lsb> <msb>22</msb>
17779              <enumeratedValues>
17780                <usage>read</usage>
17781                <enumeratedValue>
17782                  <name>Low</name>
17783                  <description>Pin driver is low.</description>
17784                  <value>0</value>
17785                </enumeratedValue>
17786                <enumeratedValue>
17787                  <name>High</name>
17788                  <description>Pin driver is high.</description>
17789                  <value>1</value>
17790                </enumeratedValue>
17791              </enumeratedValues>
17792              <enumeratedValues>
17793                <usage>write</usage>
17794                <enumeratedValue>
17795                  <name>Clear</name>
17796                  <description>Set pin driver low.</description>
17797                  <value>1</value>
17798                </enumeratedValue>
17799              </enumeratedValues>
17800            </field>
17801            <field>
17802              <name>PIN23</name>
17803              <description>Pin 23.</description>
17804              <lsb>23</lsb> <msb>23</msb>
17805              <enumeratedValues>
17806                <usage>read</usage>
17807                <enumeratedValue>
17808                  <name>Low</name>
17809                  <description>Pin driver is low.</description>
17810                  <value>0</value>
17811                </enumeratedValue>
17812                <enumeratedValue>
17813                  <name>High</name>
17814                  <description>Pin driver is high.</description>
17815                  <value>1</value>
17816                </enumeratedValue>
17817              </enumeratedValues>
17818              <enumeratedValues>
17819                <usage>write</usage>
17820                <enumeratedValue>
17821                  <name>Clear</name>
17822                  <description>Set pin driver low.</description>
17823                  <value>1</value>
17824                </enumeratedValue>
17825              </enumeratedValues>
17826            </field>
17827            <field>
17828              <name>PIN24</name>
17829              <description>Pin 24.</description>
17830              <lsb>24</lsb> <msb>24</msb>
17831              <enumeratedValues>
17832                <usage>read</usage>
17833                <enumeratedValue>
17834                  <name>Low</name>
17835                  <description>Pin driver is low.</description>
17836                  <value>0</value>
17837                </enumeratedValue>
17838                <enumeratedValue>
17839                  <name>High</name>
17840                  <description>Pin driver is high.</description>
17841                  <value>1</value>
17842                </enumeratedValue>
17843              </enumeratedValues>
17844              <enumeratedValues>
17845                <usage>write</usage>
17846                <enumeratedValue>
17847                  <name>Clear</name>
17848                  <description>Set pin driver low.</description>
17849                  <value>1</value>
17850                </enumeratedValue>
17851              </enumeratedValues>
17852            </field>
17853            <field>
17854              <name>PIN25</name>
17855              <description>Pin 25.</description>
17856              <lsb>25</lsb> <msb>25</msb>
17857              <enumeratedValues>
17858                <usage>read</usage>
17859                <enumeratedValue>
17860                  <name>Low</name>
17861                  <description>Pin driver is low.</description>
17862                  <value>0</value>
17863                </enumeratedValue>
17864                <enumeratedValue>
17865                  <name>High</name>
17866                  <description>Pin driver is high.</description>
17867                  <value>1</value>
17868                </enumeratedValue>
17869              </enumeratedValues>
17870              <enumeratedValues>
17871                <usage>write</usage>
17872                <enumeratedValue>
17873                  <name>Clear</name>
17874                  <description>Set pin driver low.</description>
17875                  <value>1</value>
17876                </enumeratedValue>
17877              </enumeratedValues>
17878            </field>
17879            <field>
17880              <name>PIN26</name>
17881              <description>Pin 26.</description>
17882              <lsb>26</lsb> <msb>26</msb>
17883              <enumeratedValues>
17884                <usage>read</usage>
17885                <enumeratedValue>
17886                  <name>Low</name>
17887                  <description>Pin driver is low.</description>
17888                  <value>0</value>
17889                </enumeratedValue>
17890                <enumeratedValue>
17891                  <name>High</name>
17892                  <description>Pin driver is high.</description>
17893                  <value>1</value>
17894                </enumeratedValue>
17895              </enumeratedValues>
17896              <enumeratedValues>
17897                <usage>write</usage>
17898                <enumeratedValue>
17899                  <name>Clear</name>
17900                  <description>Set pin driver low.</description>
17901                  <value>1</value>
17902                </enumeratedValue>
17903              </enumeratedValues>
17904            </field>
17905            <field>
17906              <name>PIN27</name>
17907              <description>Pin 27.</description>
17908              <lsb>27</lsb> <msb>27</msb>
17909              <enumeratedValues>
17910                <usage>read</usage>
17911                <enumeratedValue>
17912                  <name>Low</name>
17913                  <description>Pin driver is low.</description>
17914                  <value>0</value>
17915                </enumeratedValue>
17916                <enumeratedValue>
17917                  <name>High</name>
17918                  <description>Pin driver is high.</description>
17919                  <value>1</value>
17920                </enumeratedValue>
17921              </enumeratedValues>
17922              <enumeratedValues>
17923                <usage>write</usage>
17924                <enumeratedValue>
17925                  <name>Clear</name>
17926                  <description>Set pin driver low.</description>
17927                  <value>1</value>
17928                </enumeratedValue>
17929              </enumeratedValues>
17930            </field>
17931            <field>
17932              <name>PIN28</name>
17933              <description>Pin 28.</description>
17934              <lsb>28</lsb> <msb>28</msb>
17935              <enumeratedValues>
17936                <usage>read</usage>
17937                <enumeratedValue>
17938                  <name>Low</name>
17939                  <description>Pin driver is low.</description>
17940                  <value>0</value>
17941                </enumeratedValue>
17942                <enumeratedValue>
17943                  <name>High</name>
17944                  <description>Pin driver is high.</description>
17945                  <value>1</value>
17946                </enumeratedValue>
17947              </enumeratedValues>
17948              <enumeratedValues>
17949                <usage>write</usage>
17950                <enumeratedValue>
17951                  <name>Clear</name>
17952                  <description>Set pin driver low.</description>
17953                  <value>1</value>
17954                </enumeratedValue>
17955              </enumeratedValues>
17956            </field>
17957            <field>
17958              <name>PIN29</name>
17959              <description>Pin 29.</description>
17960              <lsb>29</lsb> <msb>29</msb>
17961              <enumeratedValues>
17962                <usage>read</usage>
17963                <enumeratedValue>
17964                  <name>Low</name>
17965                  <description>Pin driver is low.</description>
17966                  <value>0</value>
17967                </enumeratedValue>
17968                <enumeratedValue>
17969                  <name>High</name>
17970                  <description>Pin driver is high.</description>
17971                  <value>1</value>
17972                </enumeratedValue>
17973              </enumeratedValues>
17974              <enumeratedValues>
17975                <usage>write</usage>
17976                <enumeratedValue>
17977                  <name>Clear</name>
17978                  <description>Set pin driver low.</description>
17979                  <value>1</value>
17980                </enumeratedValue>
17981              </enumeratedValues>
17982            </field>
17983            <field>
17984              <name>PIN30</name>
17985              <description>Pin 30.</description>
17986              <lsb>30</lsb> <msb>30</msb>
17987              <enumeratedValues>
17988                <usage>read</usage>
17989                <enumeratedValue>
17990                  <name>Low</name>
17991                  <description>Pin driver is low.</description>
17992                  <value>0</value>
17993                </enumeratedValue>
17994                <enumeratedValue>
17995                  <name>High</name>
17996                  <description>Pin driver is high.</description>
17997                  <value>1</value>
17998                </enumeratedValue>
17999              </enumeratedValues>
18000              <enumeratedValues>
18001                <usage>write</usage>
18002                <enumeratedValue>
18003                  <name>Clear</name>
18004                  <description>Set pin driver low.</description>
18005                  <value>1</value>
18006                </enumeratedValue>
18007              </enumeratedValues>
18008            </field>
18009            <field>
18010              <name>PIN31</name>
18011              <description>Pin 31.</description>
18012              <lsb>31</lsb> <msb>31</msb>
18013              <enumeratedValues>
18014                <usage>read</usage>
18015                <enumeratedValue>
18016                  <name>Low</name>
18017                  <description>Pin driver is low.</description>
18018                  <value>0</value>
18019                </enumeratedValue>
18020                <enumeratedValue>
18021                  <name>High</name>
18022                  <description>Pin driver is high.</description>
18023                  <value>1</value>
18024                </enumeratedValue>
18025              </enumeratedValues>
18026              <enumeratedValues>
18027                <usage>write</usage>
18028                <enumeratedValue>
18029                  <name>Clear</name>
18030                  <description>Set pin driver low.</description>
18031                  <value>1</value>
18032                </enumeratedValue>
18033              </enumeratedValues>
18034            </field>
18035          </fields>
18036        </register>
18037
18038        <register>
18039          <name>IN</name>
18040          <description>Read GPIO port.</description>
18041          <addressOffset>0x510</addressOffset>
18042          <access>read-only</access>
18043          <fields>
18044            <field>
18045              <name>PIN0</name>
18046              <description>Pin 0.</description>
18047              <lsb>0</lsb> <msb>0</msb>
18048              <enumeratedValues>
18049                <enumeratedValue>
18050                  <name>Low</name>
18051                  <description>Pin input is low.</description>
18052                  <value>0</value>
18053                </enumeratedValue>
18054                <enumeratedValue>
18055                  <name>High</name>
18056                  <description>Pin input is high.</description>
18057                  <value>1</value>
18058                </enumeratedValue>
18059              </enumeratedValues>
18060            </field>
18061            <field>
18062              <name>PIN1</name>
18063              <description>Pin 1.</description>
18064              <lsb>1</lsb> <msb>1</msb>
18065              <enumeratedValues>
18066                <enumeratedValue>
18067                  <name>Low</name>
18068                  <description>Pin input is low.</description>
18069                  <value>0</value>
18070                </enumeratedValue>
18071                <enumeratedValue>
18072                  <name>High</name>
18073                  <description>Pin input is high.</description>
18074                  <value>1</value>
18075                </enumeratedValue>
18076              </enumeratedValues>
18077            </field>
18078            <field>
18079              <name>PIN2</name>
18080              <description>Pin 2.</description>
18081              <lsb>2</lsb> <msb>2</msb>
18082              <enumeratedValues>
18083                <enumeratedValue>
18084                  <name>Low</name>
18085                  <description>Pin input is low.</description>
18086                  <value>0</value>
18087                </enumeratedValue>
18088                <enumeratedValue>
18089                  <name>High</name>
18090                  <description>Pin input is high.</description>
18091                  <value>1</value>
18092                </enumeratedValue>
18093              </enumeratedValues>
18094            </field>
18095            <field>
18096              <name>PIN3</name>
18097              <description>Pin 3.</description>
18098              <lsb>3</lsb> <msb>3</msb>
18099              <enumeratedValues>
18100                <enumeratedValue>
18101                  <name>Low</name>
18102                  <description>Pin input is low.</description>
18103                  <value>0</value>
18104                </enumeratedValue>
18105                <enumeratedValue>
18106                  <name>High</name>
18107                  <description>Pin input is high.</description>
18108                  <value>1</value>
18109                </enumeratedValue>
18110              </enumeratedValues>
18111            </field>
18112            <field>
18113              <name>PIN4</name>
18114              <description>Pin 4.</description>
18115              <lsb>4</lsb> <msb>4</msb>
18116              <enumeratedValues>
18117                <enumeratedValue>
18118                  <name>Low</name>
18119                  <description>Pin input is low.</description>
18120                  <value>0</value>
18121                </enumeratedValue>
18122                <enumeratedValue>
18123                  <name>High</name>
18124                  <description>Pin input is high.</description>
18125                  <value>1</value>
18126                </enumeratedValue>
18127              </enumeratedValues>
18128            </field>
18129            <field>
18130              <name>PIN5</name>
18131              <description>Pin 5.</description>
18132              <lsb>5</lsb> <msb>5</msb>
18133              <enumeratedValues>
18134                <enumeratedValue>
18135                  <name>Low</name>
18136                  <description>Pin input is low.</description>
18137                  <value>0</value>
18138                </enumeratedValue>
18139                <enumeratedValue>
18140                  <name>High</name>
18141                  <description>Pin input is high.</description>
18142                  <value>1</value>
18143                </enumeratedValue>
18144              </enumeratedValues>
18145            </field>
18146            <field>
18147              <name>PIN6</name>
18148              <description>Pin 6.</description>
18149              <lsb>6</lsb> <msb>6</msb>
18150              <enumeratedValues>
18151                <enumeratedValue>
18152                  <name>Low</name>
18153                  <description>Pin input is low.</description>
18154                  <value>0</value>
18155                </enumeratedValue>
18156                <enumeratedValue>
18157                  <name>High</name>
18158                  <description>Pin input is high.</description>
18159                  <value>1</value>
18160                </enumeratedValue>
18161              </enumeratedValues>
18162            </field>
18163            <field>
18164              <name>PIN7</name>
18165              <description>Pin 7.</description>
18166              <lsb>7</lsb> <msb>7</msb>
18167              <enumeratedValues>
18168                <enumeratedValue>
18169                  <name>Low</name>
18170                  <description>Pin input is low.</description>
18171                  <value>0</value>
18172                </enumeratedValue>
18173                <enumeratedValue>
18174                  <name>High</name>
18175                  <description>Pin input is high.</description>
18176                  <value>1</value>
18177                </enumeratedValue>
18178              </enumeratedValues>
18179            </field>
18180            <field>
18181              <name>PIN8</name>
18182              <description>Pin 8.</description>
18183              <lsb>8</lsb> <msb>8</msb>
18184              <enumeratedValues>
18185                <enumeratedValue>
18186                  <name>Low</name>
18187                  <description>Pin input is low.</description>
18188                  <value>0</value>
18189                </enumeratedValue>
18190                <enumeratedValue>
18191                  <name>High</name>
18192                  <description>Pin input is high.</description>
18193                  <value>1</value>
18194                </enumeratedValue>
18195              </enumeratedValues>
18196            </field>
18197            <field>
18198              <name>PIN9</name>
18199              <description>Pin 9.</description>
18200              <lsb>9</lsb> <msb>9</msb>
18201              <enumeratedValues>
18202                <enumeratedValue>
18203                  <name>Low</name>
18204                  <description>Pin input is low.</description>
18205                  <value>0</value>
18206                </enumeratedValue>
18207                <enumeratedValue>
18208                  <name>High</name>
18209                  <description>Pin input is high.</description>
18210                  <value>1</value>
18211                </enumeratedValue>
18212              </enumeratedValues>
18213            </field>
18214            <field>
18215              <name>PIN10</name>
18216              <description>Pin 10.</description>
18217              <lsb>10</lsb> <msb>10</msb>
18218              <enumeratedValues>
18219                <enumeratedValue>
18220                  <name>Low</name>
18221                  <description>Pin input is low.</description>
18222                  <value>0</value>
18223                </enumeratedValue>
18224                <enumeratedValue>
18225                  <name>High</name>
18226                  <description>Pin input is high.</description>
18227                  <value>1</value>
18228                </enumeratedValue>
18229              </enumeratedValues>
18230            </field>
18231            <field>
18232              <name>PIN11</name>
18233              <description>Pin 11.</description>
18234              <lsb>11</lsb> <msb>11</msb>
18235              <enumeratedValues>
18236                <enumeratedValue>
18237                  <name>Low</name>
18238                  <description>Pin input is low.</description>
18239                  <value>0</value>
18240                </enumeratedValue>
18241                <enumeratedValue>
18242                  <name>High</name>
18243                  <description>Pin input is high.</description>
18244                  <value>1</value>
18245                </enumeratedValue>
18246              </enumeratedValues>
18247            </field>
18248            <field>
18249              <name>PIN12</name>
18250              <description>Pin 12.</description>
18251              <lsb>12</lsb> <msb>12</msb>
18252              <enumeratedValues>
18253                <enumeratedValue>
18254                  <name>Low</name>
18255                  <description>Pin input is low.</description>
18256                  <value>0</value>
18257                </enumeratedValue>
18258                <enumeratedValue>
18259                  <name>High</name>
18260                  <description>Pin input is high.</description>
18261                  <value>1</value>
18262                </enumeratedValue>
18263              </enumeratedValues>
18264            </field>
18265            <field>
18266              <name>PIN13</name>
18267              <description>Pin 13.</description>
18268              <lsb>13</lsb> <msb>13</msb>
18269              <enumeratedValues>
18270                <enumeratedValue>
18271                  <name>Low</name>
18272                  <description>Pin input is low.</description>
18273                  <value>0</value>
18274                </enumeratedValue>
18275                <enumeratedValue>
18276                  <name>High</name>
18277                  <description>Pin input is high.</description>
18278                  <value>1</value>
18279                </enumeratedValue>
18280              </enumeratedValues>
18281            </field>
18282            <field>
18283              <name>PIN14</name>
18284              <description>Pin 14.</description>
18285              <lsb>14</lsb> <msb>14</msb>
18286              <enumeratedValues>
18287                <enumeratedValue>
18288                  <name>Low</name>
18289                  <description>Pin input is low.</description>
18290                  <value>0</value>
18291                </enumeratedValue>
18292                <enumeratedValue>
18293                  <name>High</name>
18294                  <description>Pin input is high.</description>
18295                  <value>1</value>
18296                </enumeratedValue>
18297              </enumeratedValues>
18298            </field>
18299            <field>
18300              <name>PIN15</name>
18301              <description>Pin 15.</description>
18302              <lsb>15</lsb> <msb>15</msb>
18303              <enumeratedValues>
18304                <enumeratedValue>
18305                  <name>Low</name>
18306                  <description>Pin input is low.</description>
18307                  <value>0</value>
18308                </enumeratedValue>
18309                <enumeratedValue>
18310                  <name>High</name>
18311                  <description>Pin input is high.</description>
18312                  <value>1</value>
18313                </enumeratedValue>
18314              </enumeratedValues>
18315            </field>
18316            <field>
18317              <name>PIN16</name>
18318              <description>Pin 16.</description>
18319              <lsb>16</lsb> <msb>16</msb>
18320              <enumeratedValues>
18321                <enumeratedValue>
18322                  <name>Low</name>
18323                  <description>Pin input is low.</description>
18324                  <value>0</value>
18325                </enumeratedValue>
18326                <enumeratedValue>
18327                  <name>High</name>
18328                  <description>Pin input is high.</description>
18329                  <value>1</value>
18330                </enumeratedValue>
18331              </enumeratedValues>
18332            </field>
18333            <field>
18334              <name>PIN17</name>
18335              <description>Pin 17.</description>
18336              <lsb>17</lsb> <msb>17</msb>
18337              <enumeratedValues>
18338                <enumeratedValue>
18339                  <name>Low</name>
18340                  <description>Pin input is low.</description>
18341                  <value>0</value>
18342                </enumeratedValue>
18343                <enumeratedValue>
18344                  <name>High</name>
18345                  <description>Pin input is high.</description>
18346                  <value>1</value>
18347                </enumeratedValue>
18348              </enumeratedValues>
18349            </field>
18350            <field>
18351              <name>PIN18</name>
18352              <description>Pin 18.</description>
18353              <lsb>18</lsb> <msb>18</msb>
18354              <enumeratedValues>
18355                <enumeratedValue>
18356                  <name>Low</name>
18357                  <description>Pin input is low.</description>
18358                  <value>0</value>
18359                </enumeratedValue>
18360                <enumeratedValue>
18361                  <name>High</name>
18362                  <description>Pin input is high.</description>
18363                  <value>1</value>
18364                </enumeratedValue>
18365              </enumeratedValues>
18366            </field>
18367            <field>
18368              <name>PIN19</name>
18369              <description>Pin 19.</description>
18370              <lsb>19</lsb> <msb>19</msb>
18371              <enumeratedValues>
18372                <enumeratedValue>
18373                  <name>Low</name>
18374                  <description>Pin input is low.</description>
18375                  <value>0</value>
18376                </enumeratedValue>
18377                <enumeratedValue>
18378                  <name>High</name>
18379                  <description>Pin input is high.</description>
18380                  <value>1</value>
18381                </enumeratedValue>
18382              </enumeratedValues>
18383            </field>
18384            <field>
18385              <name>PIN20</name>
18386              <description>Pin 20.</description>
18387              <lsb>20</lsb> <msb>20</msb>
18388              <enumeratedValues>
18389                <enumeratedValue>
18390                  <name>Low</name>
18391                  <description>Pin input is low.</description>
18392                  <value>0</value>
18393                </enumeratedValue>
18394                <enumeratedValue>
18395                  <name>High</name>
18396                  <description>Pin input is high.</description>
18397                  <value>1</value>
18398                </enumeratedValue>
18399              </enumeratedValues>
18400            </field>
18401            <field>
18402              <name>PIN21</name>
18403              <description>Pin 21.</description>
18404              <lsb>21</lsb> <msb>21</msb>
18405              <enumeratedValues>
18406                <enumeratedValue>
18407                  <name>Low</name>
18408                  <description>Pin input is low.</description>
18409                  <value>0</value>
18410                </enumeratedValue>
18411                <enumeratedValue>
18412                  <name>High</name>
18413                  <description>Pin input is high.</description>
18414                  <value>1</value>
18415                </enumeratedValue>
18416              </enumeratedValues>
18417            </field>
18418            <field>
18419              <name>PIN22</name>
18420              <description>Pin 22.</description>
18421              <lsb>22</lsb> <msb>22</msb>
18422              <enumeratedValues>
18423                <enumeratedValue>
18424                  <name>Low</name>
18425                  <description>Pin input is low.</description>
18426                  <value>0</value>
18427                </enumeratedValue>
18428                <enumeratedValue>
18429                  <name>High</name>
18430                  <description>Pin input is high.</description>
18431                  <value>1</value>
18432                </enumeratedValue>
18433              </enumeratedValues>
18434            </field>
18435            <field>
18436              <name>PIN23</name>
18437              <description>Pin 23.</description>
18438              <lsb>23</lsb> <msb>23</msb>
18439              <enumeratedValues>
18440                <enumeratedValue>
18441                  <name>Low</name>
18442                  <description>Pin input is low.</description>
18443                  <value>0</value>
18444                </enumeratedValue>
18445                <enumeratedValue>
18446                  <name>High</name>
18447                  <description>Pin input is high.</description>
18448                  <value>1</value>
18449                </enumeratedValue>
18450              </enumeratedValues>
18451            </field>
18452            <field>
18453              <name>PIN24</name>
18454              <description>Pin 24.</description>
18455              <lsb>24</lsb> <msb>24</msb>
18456              <enumeratedValues>
18457                <enumeratedValue>
18458                  <name>Low</name>
18459                  <description>Pin input is low.</description>
18460                  <value>0</value>
18461                </enumeratedValue>
18462                <enumeratedValue>
18463                  <name>High</name>
18464                  <description>Pin input is high.</description>
18465                  <value>1</value>
18466                </enumeratedValue>
18467              </enumeratedValues>
18468            </field>
18469            <field>
18470              <name>PIN25</name>
18471              <description>Pin 25.</description>
18472              <lsb>25</lsb> <msb>25</msb>
18473              <enumeratedValues>
18474                <enumeratedValue>
18475                  <name>Low</name>
18476                  <description>Pin input is low.</description>
18477                  <value>0</value>
18478                </enumeratedValue>
18479                <enumeratedValue>
18480                  <name>High</name>
18481                  <description>Pin input is high.</description>
18482                  <value>1</value>
18483                </enumeratedValue>
18484              </enumeratedValues>
18485            </field>
18486            <field>
18487              <name>PIN26</name>
18488              <description>Pin 26.</description>
18489              <lsb>26</lsb> <msb>26</msb>
18490              <enumeratedValues>
18491                <enumeratedValue>
18492                  <name>Low</name>
18493                  <description>Pin input is low.</description>
18494                  <value>0</value>
18495                </enumeratedValue>
18496                <enumeratedValue>
18497                  <name>High</name>
18498                  <description>Pin input is high.</description>
18499                  <value>1</value>
18500                </enumeratedValue>
18501              </enumeratedValues>
18502            </field>
18503            <field>
18504              <name>PIN27</name>
18505              <description>Pin 27.</description>
18506              <lsb>27</lsb> <msb>27</msb>
18507              <enumeratedValues>
18508                <enumeratedValue>
18509                  <name>Low</name>
18510                  <description>Pin input is low.</description>
18511                  <value>0</value>
18512                </enumeratedValue>
18513                <enumeratedValue>
18514                  <name>High</name>
18515                  <description>Pin input is high.</description>
18516                  <value>1</value>
18517                </enumeratedValue>
18518              </enumeratedValues>
18519            </field>
18520            <field>
18521              <name>PIN28</name>
18522              <description>Pin 28.</description>
18523              <lsb>28</lsb> <msb>28</msb>
18524              <enumeratedValues>
18525                <enumeratedValue>
18526                  <name>Low</name>
18527                  <description>Pin input is low.</description>
18528                  <value>0</value>
18529                </enumeratedValue>
18530                <enumeratedValue>
18531                  <name>High</name>
18532                  <description>Pin input is high.</description>
18533                  <value>1</value>
18534                </enumeratedValue>
18535              </enumeratedValues>
18536            </field>
18537            <field>
18538              <name>PIN29</name>
18539              <description>Pin 29.</description>
18540              <lsb>29</lsb> <msb>29</msb>
18541              <enumeratedValues>
18542                <enumeratedValue>
18543                  <name>Low</name>
18544                  <description>Pin input is low.</description>
18545                  <value>0</value>
18546                </enumeratedValue>
18547                <enumeratedValue>
18548                  <name>High</name>
18549                  <description>Pin input is high.</description>
18550                  <value>1</value>
18551                </enumeratedValue>
18552              </enumeratedValues>
18553            </field>
18554            <field>
18555              <name>PIN30</name>
18556              <description>Pin 30.</description>
18557              <lsb>30</lsb> <msb>30</msb>
18558              <enumeratedValues>
18559                <enumeratedValue>
18560                  <name>Low</name>
18561                  <description>Pin input is low.</description>
18562                  <value>0</value>
18563                </enumeratedValue>
18564                <enumeratedValue>
18565                  <name>High</name>
18566                  <description>Pin input is high.</description>
18567                  <value>1</value>
18568                </enumeratedValue>
18569              </enumeratedValues>
18570            </field>
18571            <field>
18572              <name>PIN31</name>
18573              <description>Pin 31.</description>
18574              <lsb>31</lsb> <msb>31</msb>
18575              <enumeratedValues>
18576                <enumeratedValue>
18577                  <name>Low</name>
18578                  <description>Pin input is low.</description>
18579                  <value>0</value>
18580                </enumeratedValue>
18581                <enumeratedValue>
18582                  <name>High</name>
18583                  <description>Pin input is high.</description>
18584                  <value>1</value>
18585                </enumeratedValue>
18586              </enumeratedValues>
18587            </field>
18588          </fields>
18589        </register>
18590
18591        <register>
18592          <name>DIR</name>
18593          <description>Direction of GPIO pins.</description>
18594          <addressOffset>0x514</addressOffset>
18595          <fields>
18596            <field>
18597              <name>PIN0</name>
18598              <description>Pin 0.</description>
18599              <lsb>0</lsb> <msb>0</msb>
18600              <enumeratedValues>
18601                <enumeratedValue>
18602                  <name>Input</name>
18603                  <description>Pin set as input.</description>
18604                  <value>0</value>
18605                </enumeratedValue>
18606                <enumeratedValue>
18607                  <name>Output</name>
18608                  <description>Pin set as output.</description>
18609                  <value>1</value>
18610                </enumeratedValue>
18611              </enumeratedValues>
18612            </field>
18613            <field>
18614              <name>PIN1</name>
18615              <description>Pin 1.</description>
18616              <lsb>1</lsb> <msb>1</msb>
18617              <enumeratedValues>
18618                <enumeratedValue>
18619                  <name>Input</name>
18620                  <description>Pin set as input.</description>
18621                  <value>0</value>
18622                </enumeratedValue>
18623                <enumeratedValue>
18624                  <name>Output</name>
18625                  <description>Pin set as output.</description>
18626                  <value>1</value>
18627                </enumeratedValue>
18628              </enumeratedValues>
18629            </field>
18630            <field>
18631              <name>PIN2</name>
18632              <description>Pin 2.</description>
18633              <lsb>2</lsb> <msb>2</msb>
18634              <enumeratedValues>
18635                <enumeratedValue>
18636                  <name>Input</name>
18637                  <description>Pin set as input.</description>
18638                  <value>0</value>
18639                </enumeratedValue>
18640                <enumeratedValue>
18641                  <name>Output</name>
18642                  <description>Pin set as output.</description>
18643                  <value>1</value>
18644                </enumeratedValue>
18645              </enumeratedValues>
18646            </field>
18647            <field>
18648              <name>PIN3</name>
18649              <description>Pin 3.</description>
18650              <lsb>3</lsb> <msb>3</msb>
18651              <enumeratedValues>
18652                <enumeratedValue>
18653                  <name>Input</name>
18654                  <description>Pin set as input.</description>
18655                  <value>0</value>
18656                </enumeratedValue>
18657                <enumeratedValue>
18658                  <name>Output</name>
18659                  <description>Pin set as output.</description>
18660                  <value>1</value>
18661                </enumeratedValue>
18662              </enumeratedValues>
18663            </field>
18664            <field>
18665              <name>PIN4</name>
18666              <description>Pin 4.</description>
18667              <lsb>4</lsb> <msb>4</msb>
18668              <enumeratedValues>
18669                <enumeratedValue>
18670                  <name>Input</name>
18671                  <description>Pin set as input.</description>
18672                  <value>0</value>
18673                </enumeratedValue>
18674                <enumeratedValue>
18675                  <name>Output</name>
18676                  <description>Pin set as output.</description>
18677                  <value>1</value>
18678                </enumeratedValue>
18679              </enumeratedValues>
18680            </field>
18681            <field>
18682              <name>PIN5</name>
18683              <description>Pin 5.</description>
18684              <lsb>5</lsb> <msb>5</msb>
18685              <enumeratedValues>
18686                <enumeratedValue>
18687                  <name>Input</name>
18688                  <description>Pin set as input.</description>
18689                  <value>0</value>
18690                </enumeratedValue>
18691                <enumeratedValue>
18692                  <name>Output</name>
18693                  <description>Pin set as output.</description>
18694                  <value>1</value>
18695                </enumeratedValue>
18696              </enumeratedValues>
18697            </field>
18698            <field>
18699              <name>PIN6</name>
18700              <description>Pin 6.</description>
18701              <lsb>6</lsb> <msb>6</msb>
18702              <enumeratedValues>
18703                <enumeratedValue>
18704                  <name>Input</name>
18705                  <description>Pin set as input.</description>
18706                  <value>0</value>
18707                </enumeratedValue>
18708                <enumeratedValue>
18709                  <name>Output</name>
18710                  <description>Pin set as output.</description>
18711                  <value>1</value>
18712                </enumeratedValue>
18713              </enumeratedValues>
18714            </field>
18715            <field>
18716              <name>PIN7</name>
18717              <description>Pin 7.</description>
18718              <lsb>7</lsb> <msb>7</msb>
18719              <enumeratedValues>
18720                <enumeratedValue>
18721                  <name>Input</name>
18722                  <description>Pin set as input.</description>
18723                  <value>0</value>
18724                </enumeratedValue>
18725                <enumeratedValue>
18726                  <name>Output</name>
18727                  <description>Pin set as output.</description>
18728                  <value>1</value>
18729                </enumeratedValue>
18730              </enumeratedValues>
18731            </field>
18732            <field>
18733              <name>PIN8</name>
18734              <description>Pin 8.</description>
18735              <lsb>8</lsb> <msb>8</msb>
18736              <enumeratedValues>
18737                <enumeratedValue>
18738                  <name>Input</name>
18739                  <description>Pin set as input.</description>
18740                  <value>0</value>
18741                </enumeratedValue>
18742                <enumeratedValue>
18743                  <name>Output</name>
18744                  <description>Pin set as output.</description>
18745                  <value>1</value>
18746                </enumeratedValue>
18747              </enumeratedValues>
18748            </field>
18749            <field>
18750              <name>PIN9</name>
18751              <description>Pin 9.</description>
18752              <lsb>9</lsb> <msb>9</msb>
18753              <enumeratedValues>
18754                <enumeratedValue>
18755                  <name>Input</name>
18756                  <description>Pin set as input.</description>
18757                  <value>0</value>
18758                </enumeratedValue>
18759                <enumeratedValue>
18760                  <name>Output</name>
18761                  <description>Pin set as output.</description>
18762                  <value>1</value>
18763                </enumeratedValue>
18764              </enumeratedValues>
18765            </field>
18766            <field>
18767              <name>PIN10</name>
18768              <description>Pin 10.</description>
18769              <lsb>10</lsb> <msb>10</msb>
18770              <enumeratedValues>
18771                <enumeratedValue>
18772                  <name>Input</name>
18773                  <description>Pin set as input.</description>
18774                  <value>0</value>
18775                </enumeratedValue>
18776                <enumeratedValue>
18777                  <name>Output</name>
18778                  <description>Pin set as output.</description>
18779                  <value>1</value>
18780                </enumeratedValue>
18781              </enumeratedValues>
18782            </field>
18783            <field>
18784              <name>PIN11</name>
18785              <description>Pin 11.</description>
18786              <lsb>11</lsb> <msb>11</msb>
18787              <enumeratedValues>
18788                <enumeratedValue>
18789                  <name>Input</name>
18790                  <description>Pin set as input.</description>
18791                  <value>0</value>
18792                </enumeratedValue>
18793                <enumeratedValue>
18794                  <name>Output</name>
18795                  <description>Pin set as output.</description>
18796                  <value>1</value>
18797                </enumeratedValue>
18798              </enumeratedValues>
18799            </field>
18800            <field>
18801              <name>PIN12</name>
18802              <description>Pin 12.</description>
18803              <lsb>12</lsb> <msb>12</msb>
18804              <enumeratedValues>
18805                <enumeratedValue>
18806                  <name>Input</name>
18807                  <description>Pin set as input.</description>
18808                  <value>0</value>
18809                </enumeratedValue>
18810                <enumeratedValue>
18811                  <name>Output</name>
18812                  <description>Pin set as output.</description>
18813                  <value>1</value>
18814                </enumeratedValue>
18815              </enumeratedValues>
18816            </field>
18817            <field>
18818              <name>PIN13</name>
18819              <description>Pin 13.</description>
18820              <lsb>13</lsb> <msb>13</msb>
18821              <enumeratedValues>
18822                <enumeratedValue>
18823                  <name>Input</name>
18824                  <description>Pin set as input.</description>
18825                  <value>0</value>
18826                </enumeratedValue>
18827                <enumeratedValue>
18828                  <name>Output</name>
18829                  <description>Pin set as output.</description>
18830                  <value>1</value>
18831                </enumeratedValue>
18832              </enumeratedValues>
18833            </field>
18834            <field>
18835              <name>PIN14</name>
18836              <description>Pin 14.</description>
18837              <lsb>14</lsb> <msb>14</msb>
18838              <enumeratedValues>
18839                <enumeratedValue>
18840                  <name>Input</name>
18841                  <description>Pin set as input.</description>
18842                  <value>0</value>
18843                </enumeratedValue>
18844                <enumeratedValue>
18845                  <name>Output</name>
18846                  <description>Pin set as output.</description>
18847                  <value>1</value>
18848                </enumeratedValue>
18849              </enumeratedValues>
18850            </field>
18851            <field>
18852              <name>PIN15</name>
18853              <description>Pin 15.</description>
18854              <lsb>15</lsb> <msb>15</msb>
18855              <enumeratedValues>
18856                <enumeratedValue>
18857                  <name>Input</name>
18858                  <description>Pin set as input.</description>
18859                  <value>0</value>
18860                </enumeratedValue>
18861                <enumeratedValue>
18862                  <name>Output</name>
18863                  <description>Pin set as output.</description>
18864                  <value>1</value>
18865                </enumeratedValue>
18866              </enumeratedValues>
18867            </field>
18868            <field>
18869              <name>PIN16</name>
18870              <description>Pin 16.</description>
18871              <lsb>16</lsb> <msb>16</msb>
18872              <enumeratedValues>
18873                <enumeratedValue>
18874                  <name>Input</name>
18875                  <description>Pin set as input.</description>
18876                  <value>0</value>
18877                </enumeratedValue>
18878                <enumeratedValue>
18879                  <name>Output</name>
18880                  <description>Pin set as output.</description>
18881                  <value>1</value>
18882                </enumeratedValue>
18883              </enumeratedValues>
18884            </field>
18885            <field>
18886              <name>PIN17</name>
18887              <description>Pin 17.</description>
18888              <lsb>17</lsb> <msb>17</msb>
18889              <enumeratedValues>
18890                <enumeratedValue>
18891                  <name>Input</name>
18892                  <description>Pin set as input.</description>
18893                  <value>0</value>
18894                </enumeratedValue>
18895                <enumeratedValue>
18896                  <name>Output</name>
18897                  <description>Pin set as output.</description>
18898                  <value>1</value>
18899                </enumeratedValue>
18900              </enumeratedValues>
18901            </field>
18902            <field>
18903              <name>PIN18</name>
18904              <description>Pin 18.</description>
18905              <lsb>18</lsb> <msb>18</msb>
18906              <enumeratedValues>
18907                <enumeratedValue>
18908                  <name>Input</name>
18909                  <description>Pin set as input.</description>
18910                  <value>0</value>
18911                </enumeratedValue>
18912                <enumeratedValue>
18913                  <name>Output</name>
18914                  <description>Pin set as output.</description>
18915                  <value>1</value>
18916                </enumeratedValue>
18917              </enumeratedValues>
18918            </field>
18919            <field>
18920              <name>PIN19</name>
18921              <description>Pin 19.</description>
18922              <lsb>19</lsb> <msb>19</msb>
18923              <enumeratedValues>
18924                <enumeratedValue>
18925                  <name>Input</name>
18926                  <description>Pin set as input.</description>
18927                  <value>0</value>
18928                </enumeratedValue>
18929                <enumeratedValue>
18930                  <name>Output</name>
18931                  <description>Pin set as output.</description>
18932                  <value>1</value>
18933                </enumeratedValue>
18934              </enumeratedValues>
18935            </field>
18936            <field>
18937              <name>PIN20</name>
18938              <description>Pin 20.</description>
18939              <lsb>20</lsb> <msb>20</msb>
18940              <enumeratedValues>
18941                <enumeratedValue>
18942                  <name>Input</name>
18943                  <description>Pin set as input.</description>
18944                  <value>0</value>
18945                </enumeratedValue>
18946                <enumeratedValue>
18947                  <name>Output</name>
18948                  <description>Pin set as output.</description>
18949                  <value>1</value>
18950                </enumeratedValue>
18951              </enumeratedValues>
18952            </field>
18953            <field>
18954              <name>PIN21</name>
18955              <description>Pin 21.</description>
18956              <lsb>21</lsb> <msb>21</msb>
18957              <enumeratedValues>
18958                <enumeratedValue>
18959                  <name>Input</name>
18960                  <description>Pin set as input.</description>
18961                  <value>0</value>
18962                </enumeratedValue>
18963                <enumeratedValue>
18964                  <name>Output</name>
18965                  <description>Pin set as output.</description>
18966                  <value>1</value>
18967                </enumeratedValue>
18968              </enumeratedValues>
18969            </field>
18970            <field>
18971              <name>PIN22</name>
18972              <description>Pin 22.</description>
18973              <lsb>22</lsb> <msb>22</msb>
18974              <enumeratedValues>
18975                <enumeratedValue>
18976                  <name>Input</name>
18977                  <description>Pin set as input.</description>
18978                  <value>0</value>
18979                </enumeratedValue>
18980                <enumeratedValue>
18981                  <name>Output</name>
18982                  <description>Pin set as output.</description>
18983                  <value>1</value>
18984                </enumeratedValue>
18985              </enumeratedValues>
18986            </field>
18987            <field>
18988              <name>PIN23</name>
18989              <description>Pin 23.</description>
18990              <lsb>23</lsb> <msb>23</msb>
18991              <enumeratedValues>
18992                <enumeratedValue>
18993                  <name>Input</name>
18994                  <description>Pin set as input.</description>
18995                  <value>0</value>
18996                </enumeratedValue>
18997                <enumeratedValue>
18998                  <name>Output</name>
18999                  <description>Pin set as output.</description>
19000                  <value>1</value>
19001                </enumeratedValue>
19002              </enumeratedValues>
19003            </field>
19004            <field>
19005              <name>PIN24</name>
19006              <description>Pin 24.</description>
19007              <lsb>24</lsb> <msb>24</msb>
19008              <enumeratedValues>
19009                <enumeratedValue>
19010                  <name>Input</name>
19011                  <description>Pin set as input.</description>
19012                  <value>0</value>
19013                </enumeratedValue>
19014                <enumeratedValue>
19015                  <name>Output</name>
19016                  <description>Pin set as output.</description>
19017                  <value>1</value>
19018                </enumeratedValue>
19019              </enumeratedValues>
19020            </field>
19021            <field>
19022              <name>PIN25</name>
19023              <description>Pin 25.</description>
19024              <lsb>25</lsb> <msb>25</msb>
19025              <enumeratedValues>
19026                <enumeratedValue>
19027                  <name>Input</name>
19028                  <description>Pin set as input.</description>
19029                  <value>0</value>
19030                </enumeratedValue>
19031                <enumeratedValue>
19032                  <name>Output</name>
19033                  <description>Pin set as output.</description>
19034                  <value>1</value>
19035                </enumeratedValue>
19036              </enumeratedValues>
19037            </field>
19038            <field>
19039              <name>PIN26</name>
19040              <description>Pin 26.</description>
19041              <lsb>26</lsb> <msb>26</msb>
19042              <enumeratedValues>
19043                <enumeratedValue>
19044                  <name>Input</name>
19045                  <description>Pin set as input.</description>
19046                  <value>0</value>
19047                </enumeratedValue>
19048                <enumeratedValue>
19049                  <name>Output</name>
19050                  <description>Pin set as output.</description>
19051                  <value>1</value>
19052                </enumeratedValue>
19053              </enumeratedValues>
19054            </field>
19055            <field>
19056              <name>PIN27</name>
19057              <description>Pin 27.</description>
19058              <lsb>27</lsb> <msb>27</msb>
19059              <enumeratedValues>
19060                <enumeratedValue>
19061                  <name>Input</name>
19062                  <description>Pin set as input.</description>
19063                  <value>0</value>
19064                </enumeratedValue>
19065                <enumeratedValue>
19066                  <name>Output</name>
19067                  <description>Pin set as output.</description>
19068                  <value>1</value>
19069                </enumeratedValue>
19070              </enumeratedValues>
19071            </field>
19072            <field>
19073              <name>PIN28</name>
19074              <description>Pin 28.</description>
19075              <lsb>28</lsb> <msb>28</msb>
19076              <enumeratedValues>
19077                <enumeratedValue>
19078                  <name>Input</name>
19079                  <description>Pin set as input.</description>
19080                  <value>0</value>
19081                </enumeratedValue>
19082                <enumeratedValue>
19083                  <name>Output</name>
19084                  <description>Pin set as output.</description>
19085                  <value>1</value>
19086                </enumeratedValue>
19087              </enumeratedValues>
19088            </field>
19089            <field>
19090              <name>PIN29</name>
19091              <description>Pin 29.</description>
19092              <lsb>29</lsb> <msb>29</msb>
19093              <enumeratedValues>
19094                <enumeratedValue>
19095                  <name>Input</name>
19096                  <description>Pin set as input.</description>
19097                  <value>0</value>
19098                </enumeratedValue>
19099                <enumeratedValue>
19100                  <name>Output</name>
19101                  <description>Pin set as output.</description>
19102                  <value>1</value>
19103                </enumeratedValue>
19104              </enumeratedValues>
19105            </field>
19106            <field>
19107              <name>PIN30</name>
19108              <description>Pin 30.</description>
19109              <lsb>30</lsb> <msb>30</msb>
19110              <enumeratedValues>
19111                <enumeratedValue>
19112                  <name>Input</name>
19113                  <description>Pin set as input.</description>
19114                  <value>0</value>
19115                </enumeratedValue>
19116                <enumeratedValue>
19117                  <name>Output</name>
19118                  <description>Pin set as output.</description>
19119                  <value>1</value>
19120                </enumeratedValue>
19121              </enumeratedValues>
19122            </field>
19123            <field>
19124              <name>PIN31</name>
19125              <description>Pin 31.</description>
19126              <lsb>31</lsb> <msb>31</msb>
19127              <enumeratedValues>
19128                <enumeratedValue>
19129                  <name>Input</name>
19130                  <description>Pin set as input.</description>
19131                  <value>0</value>
19132                </enumeratedValue>
19133                <enumeratedValue>
19134                  <name>Output</name>
19135                  <description>Pin set as output.</description>
19136                  <value>1</value>
19137                </enumeratedValue>
19138              </enumeratedValues>
19139            </field>
19140          </fields>
19141        </register>
19142        <register>
19143          <name>DIRSET</name>
19144          <description>DIR set register.</description>
19145          <addressOffset>0x518</addressOffset>
19146          <fields>
19147            <field>
19148              <name>PIN0</name>
19149              <description>Set as output pin 0.</description>
19150              <lsb>0</lsb> <msb>0</msb>
19151              <enumeratedValues>
19152                <usage>read</usage>
19153                <enumeratedValue>
19154                  <name>Input</name>
19155                  <description>Pin set as input.</description>
19156                  <value>0</value>
19157                </enumeratedValue>
19158                <enumeratedValue>
19159                  <name>Output</name>
19160                  <description>Pin set as output.</description>
19161                  <value>1</value>
19162                </enumeratedValue>
19163              </enumeratedValues>
19164              <enumeratedValues>
19165                <usage>write</usage>
19166                <enumeratedValue>
19167                  <name>Set</name>
19168                  <description>Set pin as output.</description>
19169                  <value>1</value>
19170                </enumeratedValue>
19171              </enumeratedValues>
19172            </field>
19173            <field>
19174              <name>PIN1</name>
19175              <description>Set as output pin 1.</description>
19176              <lsb>1</lsb> <msb>1</msb>
19177              <enumeratedValues>
19178                <usage>read</usage>
19179                <enumeratedValue>
19180                  <name>Input</name>
19181                  <description>Pin set as input.</description>
19182                  <value>0</value>
19183                </enumeratedValue>
19184                <enumeratedValue>
19185                  <name>Output</name>
19186                  <description>Pin set as output.</description>
19187                  <value>1</value>
19188                </enumeratedValue>
19189              </enumeratedValues>
19190              <enumeratedValues>
19191                <usage>write</usage>
19192                <enumeratedValue>
19193                  <name>Set</name>
19194                  <description>Set pin as output.</description>
19195                  <value>1</value>
19196                </enumeratedValue>
19197              </enumeratedValues>
19198            </field>
19199            <field>
19200              <name>PIN2</name>
19201              <description>Set as output pin 2.</description>
19202              <lsb>2</lsb> <msb>2</msb>
19203              <enumeratedValues>
19204                <usage>read</usage>
19205                <enumeratedValue>
19206                  <name>Input</name>
19207                  <description>Pin set as input.</description>
19208                  <value>0</value>
19209                </enumeratedValue>
19210                <enumeratedValue>
19211                  <name>Output</name>
19212                  <description>Pin set as output.</description>
19213                  <value>1</value>
19214                </enumeratedValue>
19215              </enumeratedValues>
19216              <enumeratedValues>
19217                <usage>write</usage>
19218                <enumeratedValue>
19219                  <name>Set</name>
19220                  <description>Set pin as output.</description>
19221                  <value>1</value>
19222                </enumeratedValue>
19223              </enumeratedValues>
19224            </field>
19225            <field>
19226              <name>PIN3</name>
19227              <description>Set as output pin 3.</description>
19228              <lsb>3</lsb> <msb>3</msb>
19229              <enumeratedValues>
19230                <usage>read</usage>
19231                <enumeratedValue>
19232                  <name>Input</name>
19233                  <description>Pin set as input.</description>
19234                  <value>0</value>
19235                </enumeratedValue>
19236                <enumeratedValue>
19237                  <name>Output</name>
19238                  <description>Pin set as output.</description>
19239                  <value>1</value>
19240                </enumeratedValue>
19241              </enumeratedValues>
19242              <enumeratedValues>
19243                <usage>write</usage>
19244                <enumeratedValue>
19245                  <name>Set</name>
19246                  <description>Set pin as output.</description>
19247                  <value>1</value>
19248                </enumeratedValue>
19249              </enumeratedValues>
19250            </field>
19251            <field>
19252              <name>PIN4</name>
19253              <description>Set as output pin 4.</description>
19254              <lsb>4</lsb> <msb>4</msb>
19255              <enumeratedValues>
19256                <usage>read</usage>
19257                <enumeratedValue>
19258                  <name>Input</name>
19259                  <description>Pin set as input.</description>
19260                  <value>0</value>
19261                </enumeratedValue>
19262                <enumeratedValue>
19263                  <name>Output</name>
19264                  <description>Pin set as output.</description>
19265                  <value>1</value>
19266                </enumeratedValue>
19267              </enumeratedValues>
19268              <enumeratedValues>
19269                <usage>write</usage>
19270                <enumeratedValue>
19271                  <name>Set</name>
19272                  <description>Set pin as output.</description>
19273                  <value>1</value>
19274                </enumeratedValue>
19275              </enumeratedValues>
19276            </field>
19277            <field>
19278              <name>PIN5</name>
19279              <description>Set as output pin 5.</description>
19280              <lsb>5</lsb> <msb>5</msb>
19281              <enumeratedValues>
19282                <usage>read</usage>
19283                <enumeratedValue>
19284                  <name>Input</name>
19285                  <description>Pin set as input.</description>
19286                  <value>0</value>
19287                </enumeratedValue>
19288                <enumeratedValue>
19289                  <name>Output</name>
19290                  <description>Pin set as output.</description>
19291                  <value>1</value>
19292                </enumeratedValue>
19293              </enumeratedValues>
19294              <enumeratedValues>
19295                <usage>write</usage>
19296                <enumeratedValue>
19297                  <name>Set</name>
19298                  <description>Set pin as output.</description>
19299                  <value>1</value>
19300                </enumeratedValue>
19301              </enumeratedValues>
19302            </field>
19303            <field>
19304              <name>PIN6</name>
19305              <description>Set as output pin 6.</description>
19306              <lsb>6</lsb> <msb>6</msb>
19307              <enumeratedValues>
19308                <usage>read</usage>
19309                <enumeratedValue>
19310                  <name>Input</name>
19311                  <description>Pin set as input.</description>
19312                  <value>0</value>
19313                </enumeratedValue>
19314                <enumeratedValue>
19315                  <name>Output</name>
19316                  <description>Pin set as output.</description>
19317                  <value>1</value>
19318                </enumeratedValue>
19319              </enumeratedValues>
19320              <enumeratedValues>
19321                <usage>write</usage>
19322                <enumeratedValue>
19323                  <name>Set</name>
19324                  <description>Set pin as output.</description>
19325                  <value>1</value>
19326                </enumeratedValue>
19327              </enumeratedValues>
19328            </field>
19329            <field>
19330              <name>PIN7</name>
19331              <description>Set as output pin 7.</description>
19332              <lsb>7</lsb> <msb>7</msb>
19333              <enumeratedValues>
19334                <usage>read</usage>
19335                <enumeratedValue>
19336                  <name>Input</name>
19337                  <description>Pin set as input.</description>
19338                  <value>0</value>
19339                </enumeratedValue>
19340                <enumeratedValue>
19341                  <name>Output</name>
19342                  <description>Pin set as output.</description>
19343                  <value>1</value>
19344                </enumeratedValue>
19345              </enumeratedValues>
19346              <enumeratedValues>
19347                <usage>write</usage>
19348                <enumeratedValue>
19349                  <name>Set</name>
19350                  <description>Set pin as output.</description>
19351                  <value>1</value>
19352                </enumeratedValue>
19353              </enumeratedValues>
19354            </field>
19355            <field>
19356              <name>PIN8</name>
19357              <description>Set as output pin 8.</description>
19358              <lsb>8</lsb> <msb>8</msb>
19359              <enumeratedValues>
19360                <usage>read</usage>
19361                <enumeratedValue>
19362                  <name>Input</name>
19363                  <description>Pin set as input.</description>
19364                  <value>0</value>
19365                </enumeratedValue>
19366                <enumeratedValue>
19367                  <name>Output</name>
19368                  <description>Pin set as output.</description>
19369                  <value>1</value>
19370                </enumeratedValue>
19371              </enumeratedValues>
19372              <enumeratedValues>
19373                <usage>write</usage>
19374                <enumeratedValue>
19375                  <name>Set</name>
19376                  <description>Set pin as output.</description>
19377                  <value>1</value>
19378                </enumeratedValue>
19379              </enumeratedValues>
19380            </field>
19381            <field>
19382              <name>PIN9</name>
19383              <description>Set as output pin 9.</description>
19384              <lsb>9</lsb> <msb>9</msb>
19385              <enumeratedValues>
19386                <usage>read</usage>
19387                <enumeratedValue>
19388                  <name>Input</name>
19389                  <description>Pin set as input.</description>
19390                  <value>0</value>
19391                </enumeratedValue>
19392                <enumeratedValue>
19393                  <name>Output</name>
19394                  <description>Pin set as output.</description>
19395                  <value>1</value>
19396                </enumeratedValue>
19397              </enumeratedValues>
19398              <enumeratedValues>
19399                <usage>write</usage>
19400                <enumeratedValue>
19401                  <name>Set</name>
19402                  <description>Set pin as output.</description>
19403                  <value>1</value>
19404                </enumeratedValue>
19405              </enumeratedValues>
19406            </field>
19407            <field>
19408              <name>PIN10</name>
19409              <description>Set as output pin 10.</description>
19410              <lsb>10</lsb> <msb>10</msb>
19411              <enumeratedValues>
19412                <usage>read</usage>
19413                <enumeratedValue>
19414                  <name>Input</name>
19415                  <description>Pin set as input.</description>
19416                  <value>0</value>
19417                </enumeratedValue>
19418                <enumeratedValue>
19419                  <name>Output</name>
19420                  <description>Pin set as output.</description>
19421                  <value>1</value>
19422                </enumeratedValue>
19423              </enumeratedValues>
19424              <enumeratedValues>
19425                <usage>write</usage>
19426                <enumeratedValue>
19427                  <name>Set</name>
19428                  <description>Set pin as output.</description>
19429                  <value>1</value>
19430                </enumeratedValue>
19431              </enumeratedValues>
19432            </field>
19433            <field>
19434              <name>PIN11</name>
19435              <description>Set as output pin 11.</description>
19436              <lsb>11</lsb> <msb>11</msb>
19437              <enumeratedValues>
19438                <usage>read</usage>
19439                <enumeratedValue>
19440                  <name>Input</name>
19441                  <description>Pin set as input.</description>
19442                  <value>0</value>
19443                </enumeratedValue>
19444                <enumeratedValue>
19445                  <name>Output</name>
19446                  <description>Pin set as output.</description>
19447                  <value>1</value>
19448                </enumeratedValue>
19449              </enumeratedValues>
19450              <enumeratedValues>
19451                <usage>write</usage>
19452                <enumeratedValue>
19453                  <name>Set</name>
19454                  <description>Set pin as output.</description>
19455                  <value>1</value>
19456                </enumeratedValue>
19457              </enumeratedValues>
19458            </field>
19459            <field>
19460              <name>PIN12</name>
19461              <description>Set as output pin 12.</description>
19462              <lsb>12</lsb> <msb>12</msb>
19463              <enumeratedValues>
19464                <usage>read</usage>
19465                <enumeratedValue>
19466                  <name>Input</name>
19467                  <description>Pin set as input.</description>
19468                  <value>0</value>
19469                </enumeratedValue>
19470                <enumeratedValue>
19471                  <name>Output</name>
19472                  <description>Pin set as output.</description>
19473                  <value>1</value>
19474                </enumeratedValue>
19475              </enumeratedValues>
19476              <enumeratedValues>
19477                <usage>write</usage>
19478                <enumeratedValue>
19479                  <name>Set</name>
19480                  <description>Set pin as output.</description>
19481                  <value>1</value>
19482                </enumeratedValue>
19483              </enumeratedValues>
19484            </field>
19485            <field>
19486              <name>PIN13</name>
19487              <description>Set as output pin 13.</description>
19488              <lsb>13</lsb> <msb>13</msb>
19489              <enumeratedValues>
19490                <usage>read</usage>
19491                <enumeratedValue>
19492                  <name>Input</name>
19493                  <description>Pin set as input.</description>
19494                  <value>0</value>
19495                </enumeratedValue>
19496                <enumeratedValue>
19497                  <name>Output</name>
19498                  <description>Pin set as output.</description>
19499                  <value>1</value>
19500                </enumeratedValue>
19501              </enumeratedValues>
19502              <enumeratedValues>
19503                <usage>write</usage>
19504                <enumeratedValue>
19505                  <name>Set</name>
19506                  <description>Set pin as output.</description>
19507                  <value>1</value>
19508                </enumeratedValue>
19509              </enumeratedValues>
19510            </field>
19511            <field>
19512              <name>PIN14</name>
19513              <description>Set as output pin 14.</description>
19514              <lsb>14</lsb> <msb>14</msb>
19515              <enumeratedValues>
19516                <usage>read</usage>
19517                <enumeratedValue>
19518                  <name>Input</name>
19519                  <description>Pin set as input.</description>
19520                  <value>0</value>
19521                </enumeratedValue>
19522                <enumeratedValue>
19523                  <name>Output</name>
19524                  <description>Pin set as output.</description>
19525                  <value>1</value>
19526                </enumeratedValue>
19527              </enumeratedValues>
19528              <enumeratedValues>
19529                <usage>write</usage>
19530                <enumeratedValue>
19531                  <name>Set</name>
19532                  <description>Set pin as output.</description>
19533                  <value>1</value>
19534                </enumeratedValue>
19535              </enumeratedValues>
19536            </field>
19537            <field>
19538              <name>PIN15</name>
19539              <description>Set as output pin 15.</description>
19540              <lsb>15</lsb> <msb>15</msb>
19541              <enumeratedValues>
19542                <usage>read</usage>
19543                <enumeratedValue>
19544                  <name>Input</name>
19545                  <description>Pin set as input.</description>
19546                  <value>0</value>
19547                </enumeratedValue>
19548                <enumeratedValue>
19549                  <name>Output</name>
19550                  <description>Pin set as output.</description>
19551                  <value>1</value>
19552                </enumeratedValue>
19553              </enumeratedValues>
19554              <enumeratedValues>
19555                <usage>write</usage>
19556                <enumeratedValue>
19557                  <name>Set</name>
19558                  <description>Set pin as output.</description>
19559                  <value>1</value>
19560                </enumeratedValue>
19561              </enumeratedValues>
19562            </field>
19563            <field>
19564              <name>PIN16</name>
19565              <description>Set as output pin 16.</description>
19566              <lsb>16</lsb> <msb>16</msb>
19567              <enumeratedValues>
19568                <usage>read</usage>
19569                <enumeratedValue>
19570                  <name>Input</name>
19571                  <description>Pin set as input.</description>
19572                  <value>0</value>
19573                </enumeratedValue>
19574                <enumeratedValue>
19575                  <name>Output</name>
19576                  <description>Pin set as output.</description>
19577                  <value>1</value>
19578                </enumeratedValue>
19579              </enumeratedValues>
19580              <enumeratedValues>
19581                <usage>write</usage>
19582                <enumeratedValue>
19583                  <name>Set</name>
19584                  <description>Set pin as output.</description>
19585                  <value>1</value>
19586                </enumeratedValue>
19587              </enumeratedValues>
19588            </field>
19589            <field>
19590              <name>PIN17</name>
19591              <description>Set as output pin 17.</description>
19592              <lsb>17</lsb> <msb>17</msb>
19593              <enumeratedValues>
19594                <usage>read</usage>
19595                <enumeratedValue>
19596                  <name>Input</name>
19597                  <description>Pin set as input.</description>
19598                  <value>0</value>
19599                </enumeratedValue>
19600                <enumeratedValue>
19601                  <name>Output</name>
19602                  <description>Pin set as output.</description>
19603                  <value>1</value>
19604                </enumeratedValue>
19605              </enumeratedValues>
19606              <enumeratedValues>
19607                <usage>write</usage>
19608                <enumeratedValue>
19609                  <name>Set</name>
19610                  <description>Set pin as output.</description>
19611                  <value>1</value>
19612                </enumeratedValue>
19613              </enumeratedValues>
19614            </field>
19615            <field>
19616              <name>PIN18</name>
19617              <description>Set as output pin 18.</description>
19618              <lsb>18</lsb> <msb>18</msb>
19619              <enumeratedValues>
19620                <usage>read</usage>
19621                <enumeratedValue>
19622                  <name>Input</name>
19623                  <description>Pin set as input.</description>
19624                  <value>0</value>
19625                </enumeratedValue>
19626                <enumeratedValue>
19627                  <name>Output</name>
19628                  <description>Pin set as output.</description>
19629                  <value>1</value>
19630                </enumeratedValue>
19631              </enumeratedValues>
19632              <enumeratedValues>
19633                <usage>write</usage>
19634                <enumeratedValue>
19635                  <name>Set</name>
19636                  <description>Set pin as output.</description>
19637                  <value>1</value>
19638                </enumeratedValue>
19639              </enumeratedValues>
19640            </field>
19641            <field>
19642              <name>PIN19</name>
19643              <description>Set as output pin 19.</description>
19644              <lsb>19</lsb> <msb>19</msb>
19645              <enumeratedValues>
19646                <usage>read</usage>
19647                <enumeratedValue>
19648                  <name>Input</name>
19649                  <description>Pin set as input.</description>
19650                  <value>0</value>
19651                </enumeratedValue>
19652                <enumeratedValue>
19653                  <name>Output</name>
19654                  <description>Pin set as output.</description>
19655                  <value>1</value>
19656                </enumeratedValue>
19657              </enumeratedValues>
19658              <enumeratedValues>
19659                <usage>write</usage>
19660                <enumeratedValue>
19661                  <name>Set</name>
19662                  <description>Set pin as output.</description>
19663                  <value>1</value>
19664                </enumeratedValue>
19665              </enumeratedValues>
19666            </field>
19667            <field>
19668              <name>PIN20</name>
19669              <description>Set as output pin 20.</description>
19670              <lsb>20</lsb> <msb>20</msb>
19671              <enumeratedValues>
19672                <usage>read</usage>
19673                <enumeratedValue>
19674                  <name>Input</name>
19675                  <description>Pin set as input.</description>
19676                  <value>0</value>
19677                </enumeratedValue>
19678                <enumeratedValue>
19679                  <name>Output</name>
19680                  <description>Pin set as output.</description>
19681                  <value>1</value>
19682                </enumeratedValue>
19683              </enumeratedValues>
19684              <enumeratedValues>
19685                <usage>write</usage>
19686                <enumeratedValue>
19687                  <name>Set</name>
19688                  <description>Set pin as output.</description>
19689                  <value>1</value>
19690                </enumeratedValue>
19691              </enumeratedValues>
19692            </field>
19693            <field>
19694              <name>PIN21</name>
19695              <description>Set as output pin 21.</description>
19696              <lsb>21</lsb> <msb>21</msb>
19697              <enumeratedValues>
19698                <usage>read</usage>
19699                <enumeratedValue>
19700                  <name>Input</name>
19701                  <description>Pin set as input.</description>
19702                  <value>0</value>
19703                </enumeratedValue>
19704                <enumeratedValue>
19705                  <name>Output</name>
19706                  <description>Pin set as output.</description>
19707                  <value>1</value>
19708                </enumeratedValue>
19709              </enumeratedValues>
19710              <enumeratedValues>
19711                <usage>write</usage>
19712                <enumeratedValue>
19713                  <name>Set</name>
19714                  <description>Set pin as output.</description>
19715                  <value>1</value>
19716                </enumeratedValue>
19717              </enumeratedValues>
19718            </field>
19719            <field>
19720              <name>PIN22</name>
19721              <description>Set as output pin 22.</description>
19722              <lsb>22</lsb> <msb>22</msb>
19723              <enumeratedValues>
19724                <usage>read</usage>
19725                <enumeratedValue>
19726                  <name>Input</name>
19727                  <description>Pin set as input.</description>
19728                  <value>0</value>
19729                </enumeratedValue>
19730                <enumeratedValue>
19731                  <name>Output</name>
19732                  <description>Pin set as output.</description>
19733                  <value>1</value>
19734                </enumeratedValue>
19735              </enumeratedValues>
19736              <enumeratedValues>
19737                <usage>write</usage>
19738                <enumeratedValue>
19739                  <name>Set</name>
19740                  <description>Set pin as output.</description>
19741                  <value>1</value>
19742                </enumeratedValue>
19743              </enumeratedValues>
19744            </field>
19745            <field>
19746              <name>PIN23</name>
19747              <description>Set as output pin 23.</description>
19748              <lsb>23</lsb> <msb>23</msb>
19749              <enumeratedValues>
19750                <usage>read</usage>
19751                <enumeratedValue>
19752                  <name>Input</name>
19753                  <description>Pin set as input.</description>
19754                  <value>0</value>
19755                </enumeratedValue>
19756                <enumeratedValue>
19757                  <name>Output</name>
19758                  <description>Pin set as output.</description>
19759                  <value>1</value>
19760                </enumeratedValue>
19761              </enumeratedValues>
19762              <enumeratedValues>
19763                <usage>write</usage>
19764                <enumeratedValue>
19765                  <name>Set</name>
19766                  <description>Set pin as output.</description>
19767                  <value>1</value>
19768                </enumeratedValue>
19769              </enumeratedValues>
19770            </field>
19771            <field>
19772              <name>PIN24</name>
19773              <description>Set as output pin 24.</description>
19774              <lsb>24</lsb> <msb>24</msb>
19775              <enumeratedValues>
19776                <usage>read</usage>
19777                <enumeratedValue>
19778                  <name>Input</name>
19779                  <description>Pin set as input.</description>
19780                  <value>0</value>
19781                </enumeratedValue>
19782                <enumeratedValue>
19783                  <name>Output</name>
19784                  <description>Pin set as output.</description>
19785                  <value>1</value>
19786                </enumeratedValue>
19787              </enumeratedValues>
19788              <enumeratedValues>
19789                <usage>write</usage>
19790                <enumeratedValue>
19791                  <name>Set</name>
19792                  <description>Set pin as output.</description>
19793                  <value>1</value>
19794                </enumeratedValue>
19795              </enumeratedValues>
19796            </field>
19797            <field>
19798              <name>PIN25</name>
19799              <description>Set as output pin 25.</description>
19800              <lsb>25</lsb> <msb>25</msb>
19801              <enumeratedValues>
19802                <usage>read</usage>
19803                <enumeratedValue>
19804                  <name>Input</name>
19805                  <description>Pin set as input.</description>
19806                  <value>0</value>
19807                </enumeratedValue>
19808                <enumeratedValue>
19809                  <name>Output</name>
19810                  <description>Pin set as output.</description>
19811                  <value>1</value>
19812                </enumeratedValue>
19813              </enumeratedValues>
19814              <enumeratedValues>
19815                <usage>write</usage>
19816                <enumeratedValue>
19817                  <name>Set</name>
19818                  <description>Set pin as output.</description>
19819                  <value>1</value>
19820                </enumeratedValue>
19821              </enumeratedValues>
19822            </field>
19823            <field>
19824              <name>PIN26</name>
19825              <description>Set as output pin 26.</description>
19826              <lsb>26</lsb> <msb>26</msb>
19827              <enumeratedValues>
19828                <usage>read</usage>
19829                <enumeratedValue>
19830                  <name>Input</name>
19831                  <description>Pin set as input.</description>
19832                  <value>0</value>
19833                </enumeratedValue>
19834                <enumeratedValue>
19835                  <name>Output</name>
19836                  <description>Pin set as output.</description>
19837                  <value>1</value>
19838                </enumeratedValue>
19839              </enumeratedValues>
19840              <enumeratedValues>
19841                <usage>write</usage>
19842                <enumeratedValue>
19843                  <name>Set</name>
19844                  <description>Set pin as output.</description>
19845                  <value>1</value>
19846                </enumeratedValue>
19847              </enumeratedValues>
19848            </field>
19849            <field>
19850              <name>PIN27</name>
19851              <description>Set as output pin 27.</description>
19852              <lsb>27</lsb> <msb>27</msb>
19853              <enumeratedValues>
19854                <usage>read</usage>
19855                <enumeratedValue>
19856                  <name>Input</name>
19857                  <description>Pin set as input.</description>
19858                  <value>0</value>
19859                </enumeratedValue>
19860                <enumeratedValue>
19861                  <name>Output</name>
19862                  <description>Pin set as output.</description>
19863                  <value>1</value>
19864                </enumeratedValue>
19865              </enumeratedValues>
19866              <enumeratedValues>
19867                <usage>write</usage>
19868                <enumeratedValue>
19869                  <name>Set</name>
19870                  <description>Set pin as output.</description>
19871                  <value>1</value>
19872                </enumeratedValue>
19873              </enumeratedValues>
19874            </field>
19875            <field>
19876              <name>PIN28</name>
19877              <description>Set as output pin 28.</description>
19878              <lsb>28</lsb> <msb>28</msb>
19879              <enumeratedValues>
19880                <usage>read</usage>
19881                <enumeratedValue>
19882                  <name>Input</name>
19883                  <description>Pin set as input.</description>
19884                  <value>0</value>
19885                </enumeratedValue>
19886                <enumeratedValue>
19887                  <name>Output</name>
19888                  <description>Pin set as output.</description>
19889                  <value>1</value>
19890                </enumeratedValue>
19891              </enumeratedValues>
19892              <enumeratedValues>
19893                <usage>write</usage>
19894                <enumeratedValue>
19895                  <name>Set</name>
19896                  <description>Set pin as output.</description>
19897                  <value>1</value>
19898                </enumeratedValue>
19899              </enumeratedValues>
19900            </field>
19901            <field>
19902              <name>PIN29</name>
19903              <description>Set as output pin 29.</description>
19904              <lsb>29</lsb> <msb>29</msb>
19905              <enumeratedValues>
19906                <usage>read</usage>
19907                <enumeratedValue>
19908                  <name>Input</name>
19909                  <description>Pin set as input.</description>
19910                  <value>0</value>
19911                </enumeratedValue>
19912                <enumeratedValue>
19913                  <name>Output</name>
19914                  <description>Pin set as output.</description>
19915                  <value>1</value>
19916                </enumeratedValue>
19917              </enumeratedValues>
19918              <enumeratedValues>
19919                <usage>write</usage>
19920                <enumeratedValue>
19921                  <name>Set</name>
19922                  <description>Set pin as output.</description>
19923                  <value>1</value>
19924                </enumeratedValue>
19925              </enumeratedValues>
19926            </field>
19927            <field>
19928              <name>PIN30</name>
19929              <description>Set as output pin 30.</description>
19930              <lsb>30</lsb> <msb>30</msb>
19931              <enumeratedValues>
19932                <usage>read</usage>
19933                <enumeratedValue>
19934                  <name>Input</name>
19935                  <description>Pin set as input.</description>
19936                  <value>0</value>
19937                </enumeratedValue>
19938                <enumeratedValue>
19939                  <name>Output</name>
19940                  <description>Pin set as output.</description>
19941                  <value>1</value>
19942                </enumeratedValue>
19943              </enumeratedValues>
19944              <enumeratedValues>
19945                <usage>write</usage>
19946                <enumeratedValue>
19947                  <name>Set</name>
19948                  <description>Set pin as output.</description>
19949                  <value>1</value>
19950                </enumeratedValue>
19951              </enumeratedValues>
19952            </field>
19953            <field>
19954              <name>PIN31</name>
19955              <description>Set as output pin 31.</description>
19956              <lsb>31</lsb> <msb>31</msb>
19957              <enumeratedValues>
19958                <usage>read</usage>
19959                <enumeratedValue>
19960                  <name>Input</name>
19961                  <description>Pin set as input.</description>
19962                  <value>0</value>
19963                </enumeratedValue>
19964                <enumeratedValue>
19965                  <name>Output</name>
19966                  <description>Pin set as output.</description>
19967                  <value>1</value>
19968                </enumeratedValue>
19969              </enumeratedValues>
19970              <enumeratedValues>
19971                <usage>write</usage>
19972                <enumeratedValue>
19973                  <name>Set</name>
19974                  <description>Set pin as output.</description>
19975                  <value>1</value>
19976                </enumeratedValue>
19977              </enumeratedValues>
19978            </field>
19979          </fields>
19980        </register>
19981        <register>
19982          <name>DIRCLR</name>
19983          <description>DIR clear register.</description>
19984          <addressOffset>0x51C</addressOffset>
19985          <fields>
19986            <field>
19987              <name>PIN0</name>
19988              <description>Set as input pin 0.</description>
19989              <lsb>0</lsb> <msb>0</msb>
19990              <enumeratedValues>
19991                <usage>read</usage>
19992                <enumeratedValue>
19993                  <name>Input</name>
19994                  <description>Pin set as input.</description>
19995                  <value>0</value>
19996                </enumeratedValue>
19997                <enumeratedValue>
19998                  <name>Output</name>
19999                  <description>Pin set as output.</description>
20000                  <value>1</value>
20001                </enumeratedValue>
20002              </enumeratedValues>
20003              <enumeratedValues>
20004                <usage>write</usage>
20005                <enumeratedValue>
20006                  <name>Clear</name>
20007                  <description>Set pin as input.</description>
20008                  <value>1</value>
20009                </enumeratedValue>
20010              </enumeratedValues>
20011            </field>
20012            <field>
20013              <name>PIN1</name>
20014              <description>Set as input pin 1.</description>
20015              <lsb>1</lsb> <msb>1</msb>
20016              <enumeratedValues>
20017                <usage>read</usage>
20018                <enumeratedValue>
20019                  <name>Input</name>
20020                  <description>Pin set as input.</description>
20021                  <value>0</value>
20022                </enumeratedValue>
20023                <enumeratedValue>
20024                  <name>Output</name>
20025                  <description>Pin set as output.</description>
20026                  <value>1</value>
20027                </enumeratedValue>
20028              </enumeratedValues>
20029              <enumeratedValues>
20030                <usage>write</usage>
20031                <enumeratedValue>
20032                  <name>Clear</name>
20033                  <description>Set pin as input.</description>
20034                  <value>1</value>
20035                </enumeratedValue>
20036              </enumeratedValues>
20037            </field>
20038            <field>
20039              <name>PIN2</name>
20040              <description>Set as input pin 2.</description>
20041              <lsb>2</lsb> <msb>2</msb>
20042              <enumeratedValues>
20043                <usage>read</usage>
20044                <enumeratedValue>
20045                  <name>Input</name>
20046                  <description>Pin set as input.</description>
20047                  <value>0</value>
20048                </enumeratedValue>
20049                <enumeratedValue>
20050                  <name>Output</name>
20051                  <description>Pin set as output.</description>
20052                  <value>1</value>
20053                </enumeratedValue>
20054              </enumeratedValues>
20055              <enumeratedValues>
20056                <usage>write</usage>
20057                <enumeratedValue>
20058                  <name>Clear</name>
20059                  <description>Set pin as input.</description>
20060                  <value>1</value>
20061                </enumeratedValue>
20062              </enumeratedValues>
20063            </field>
20064            <field>
20065              <name>PIN3</name>
20066              <description>Set as input pin 3.</description>
20067              <lsb>3</lsb> <msb>3</msb>
20068              <enumeratedValues>
20069                <usage>read</usage>
20070                <enumeratedValue>
20071                  <name>Input</name>
20072                  <description>Pin set as input.</description>
20073                  <value>0</value>
20074                </enumeratedValue>
20075                <enumeratedValue>
20076                  <name>Output</name>
20077                  <description>Pin set as output.</description>
20078                  <value>1</value>
20079                </enumeratedValue>
20080              </enumeratedValues>
20081              <enumeratedValues>
20082                <usage>write</usage>
20083                <enumeratedValue>
20084                  <name>Clear</name>
20085                  <description>Set pin as input.</description>
20086                  <value>1</value>
20087                </enumeratedValue>
20088              </enumeratedValues>
20089            </field>
20090            <field>
20091              <name>PIN4</name>
20092              <description>Set as input pin 4.</description>
20093              <lsb>4</lsb> <msb>4</msb>
20094              <enumeratedValues>
20095                <usage>read</usage>
20096                <enumeratedValue>
20097                  <name>Input</name>
20098                  <description>Pin set as input.</description>
20099                  <value>0</value>
20100                </enumeratedValue>
20101                <enumeratedValue>
20102                  <name>Output</name>
20103                  <description>Pin set as output.</description>
20104                  <value>1</value>
20105                </enumeratedValue>
20106              </enumeratedValues>
20107              <enumeratedValues>
20108                <usage>write</usage>
20109                <enumeratedValue>
20110                  <name>Clear</name>
20111                  <description>Set pin as input.</description>
20112                  <value>1</value>
20113                </enumeratedValue>
20114              </enumeratedValues>
20115            </field>
20116            <field>
20117              <name>PIN5</name>
20118              <description>Set as input pin 5.</description>
20119              <lsb>5</lsb> <msb>5</msb>
20120              <enumeratedValues>
20121                <usage>read</usage>
20122                <enumeratedValue>
20123                  <name>Input</name>
20124                  <description>Pin set as input.</description>
20125                  <value>0</value>
20126                </enumeratedValue>
20127                <enumeratedValue>
20128                  <name>Output</name>
20129                  <description>Pin set as output.</description>
20130                  <value>1</value>
20131                </enumeratedValue>
20132              </enumeratedValues>
20133              <enumeratedValues>
20134                <usage>write</usage>
20135                <enumeratedValue>
20136                  <name>Clear</name>
20137                  <description>Set pin as input.</description>
20138                  <value>1</value>
20139                </enumeratedValue>
20140              </enumeratedValues>
20141            </field>
20142            <field>
20143              <name>PIN6</name>
20144              <description>Set as input pin 6.</description>
20145              <lsb>6</lsb> <msb>6</msb>
20146              <enumeratedValues>
20147                <usage>read</usage>
20148                <enumeratedValue>
20149                  <name>Input</name>
20150                  <description>Pin set as input.</description>
20151                  <value>0</value>
20152                </enumeratedValue>
20153                <enumeratedValue>
20154                  <name>Output</name>
20155                  <description>Pin set as output.</description>
20156                  <value>1</value>
20157                </enumeratedValue>
20158              </enumeratedValues>
20159              <enumeratedValues>
20160                <usage>write</usage>
20161                <enumeratedValue>
20162                  <name>Clear</name>
20163                  <description>Set pin as input.</description>
20164                  <value>1</value>
20165                </enumeratedValue>
20166              </enumeratedValues>
20167            </field>
20168            <field>
20169              <name>PIN7</name>
20170              <description>Set as input pin 7.</description>
20171              <lsb>7</lsb> <msb>7</msb>
20172              <enumeratedValues>
20173                <usage>read</usage>
20174                <enumeratedValue>
20175                  <name>Input</name>
20176                  <description>Pin set as input.</description>
20177                  <value>0</value>
20178                </enumeratedValue>
20179                <enumeratedValue>
20180                  <name>Output</name>
20181                  <description>Pin set as output.</description>
20182                  <value>1</value>
20183                </enumeratedValue>
20184              </enumeratedValues>
20185              <enumeratedValues>
20186                <usage>write</usage>
20187                <enumeratedValue>
20188                  <name>Clear</name>
20189                  <description>Set pin as input.</description>
20190                  <value>1</value>
20191                </enumeratedValue>
20192              </enumeratedValues>
20193            </field>
20194            <field>
20195              <name>PIN8</name>
20196              <description>Set as input pin 8.</description>
20197              <lsb>8</lsb> <msb>8</msb>
20198              <enumeratedValues>
20199                <usage>read</usage>
20200                <enumeratedValue>
20201                  <name>Input</name>
20202                  <description>Pin set as input.</description>
20203                  <value>0</value>
20204                </enumeratedValue>
20205                <enumeratedValue>
20206                  <name>Output</name>
20207                  <description>Pin set as output.</description>
20208                  <value>1</value>
20209                </enumeratedValue>
20210              </enumeratedValues>
20211              <enumeratedValues>
20212                <usage>write</usage>
20213                <enumeratedValue>
20214                  <name>Clear</name>
20215                  <description>Set pin as input.</description>
20216                  <value>1</value>
20217                </enumeratedValue>
20218              </enumeratedValues>
20219            </field>
20220            <field>
20221              <name>PIN9</name>
20222              <description>Set as input pin 9.</description>
20223              <lsb>9</lsb> <msb>9</msb>
20224              <enumeratedValues>
20225                <usage>read</usage>
20226                <enumeratedValue>
20227                  <name>Input</name>
20228                  <description>Pin set as input.</description>
20229                  <value>0</value>
20230                </enumeratedValue>
20231                <enumeratedValue>
20232                  <name>Output</name>
20233                  <description>Pin set as output.</description>
20234                  <value>1</value>
20235                </enumeratedValue>
20236              </enumeratedValues>
20237              <enumeratedValues>
20238                <usage>write</usage>
20239                <enumeratedValue>
20240                  <name>Clear</name>
20241                  <description>Set pin as input.</description>
20242                  <value>1</value>
20243                </enumeratedValue>
20244              </enumeratedValues>
20245            </field>
20246            <field>
20247              <name>PIN10</name>
20248              <description>Set as input pin 10.</description>
20249              <lsb>10</lsb> <msb>10</msb>
20250              <enumeratedValues>
20251                <usage>read</usage>
20252                <enumeratedValue>
20253                  <name>Input</name>
20254                  <description>Pin set as input.</description>
20255                  <value>0</value>
20256                </enumeratedValue>
20257                <enumeratedValue>
20258                  <name>Output</name>
20259                  <description>Pin set as output.</description>
20260                  <value>1</value>
20261                </enumeratedValue>
20262              </enumeratedValues>
20263              <enumeratedValues>
20264                <usage>write</usage>
20265                <enumeratedValue>
20266                  <name>Clear</name>
20267                  <description>Set pin as input.</description>
20268                  <value>1</value>
20269                </enumeratedValue>
20270              </enumeratedValues>
20271            </field>
20272            <field>
20273              <name>PIN11</name>
20274              <description>Set as input pin 11.</description>
20275              <lsb>11</lsb> <msb>11</msb>
20276              <enumeratedValues>
20277                <usage>read</usage>
20278                <enumeratedValue>
20279                  <name>Input</name>
20280                  <description>Pin set as input.</description>
20281                  <value>0</value>
20282                </enumeratedValue>
20283                <enumeratedValue>
20284                  <name>Output</name>
20285                  <description>Pin set as output.</description>
20286                  <value>1</value>
20287                </enumeratedValue>
20288              </enumeratedValues>
20289              <enumeratedValues>
20290                <usage>write</usage>
20291                <enumeratedValue>
20292                  <name>Clear</name>
20293                  <description>Set pin as input.</description>
20294                  <value>1</value>
20295                </enumeratedValue>
20296              </enumeratedValues>
20297            </field>
20298            <field>
20299              <name>PIN12</name>
20300              <description>Set as input pin 12.</description>
20301              <lsb>12</lsb> <msb>12</msb>
20302              <enumeratedValues>
20303                <usage>read</usage>
20304                <enumeratedValue>
20305                  <name>Input</name>
20306                  <description>Pin set as input.</description>
20307                  <value>0</value>
20308                </enumeratedValue>
20309                <enumeratedValue>
20310                  <name>Output</name>
20311                  <description>Pin set as output.</description>
20312                  <value>1</value>
20313                </enumeratedValue>
20314              </enumeratedValues>
20315              <enumeratedValues>
20316                <usage>write</usage>
20317                <enumeratedValue>
20318                  <name>Clear</name>
20319                  <description>Set pin as input.</description>
20320                  <value>1</value>
20321                </enumeratedValue>
20322              </enumeratedValues>
20323            </field>
20324            <field>
20325              <name>PIN13</name>
20326              <description>Set as input pin 13.</description>
20327              <lsb>13</lsb> <msb>13</msb>
20328              <enumeratedValues>
20329                <usage>read</usage>
20330                <enumeratedValue>
20331                  <name>Input</name>
20332                  <description>Pin set as input.</description>
20333                  <value>0</value>
20334                </enumeratedValue>
20335                <enumeratedValue>
20336                  <name>Output</name>
20337                  <description>Pin set as output.</description>
20338                  <value>1</value>
20339                </enumeratedValue>
20340              </enumeratedValues>
20341              <enumeratedValues>
20342                <usage>write</usage>
20343                <enumeratedValue>
20344                  <name>Clear</name>
20345                  <description>Set pin as input.</description>
20346                  <value>1</value>
20347                </enumeratedValue>
20348              </enumeratedValues>
20349            </field>
20350            <field>
20351              <name>PIN14</name>
20352              <description>Set as input pin 14.</description>
20353              <lsb>14</lsb> <msb>14</msb>
20354              <enumeratedValues>
20355                <usage>read</usage>
20356                <enumeratedValue>
20357                  <name>Input</name>
20358                  <description>Pin set as input.</description>
20359                  <value>0</value>
20360                </enumeratedValue>
20361                <enumeratedValue>
20362                  <name>Output</name>
20363                  <description>Pin set as output.</description>
20364                  <value>1</value>
20365                </enumeratedValue>
20366              </enumeratedValues>
20367              <enumeratedValues>
20368                <usage>write</usage>
20369                <enumeratedValue>
20370                  <name>Clear</name>
20371                  <description>Set pin as input.</description>
20372                  <value>1</value>
20373                </enumeratedValue>
20374              </enumeratedValues>
20375            </field>
20376            <field>
20377              <name>PIN15</name>
20378              <description>Set as input pin 15.</description>
20379              <lsb>15</lsb> <msb>15</msb>
20380              <enumeratedValues>
20381                <usage>read</usage>
20382                <enumeratedValue>
20383                  <name>Input</name>
20384                  <description>Pin set as input.</description>
20385                  <value>0</value>
20386                </enumeratedValue>
20387                <enumeratedValue>
20388                  <name>Output</name>
20389                  <description>Pin set as output.</description>
20390                  <value>1</value>
20391                </enumeratedValue>
20392              </enumeratedValues>
20393              <enumeratedValues>
20394                <usage>write</usage>
20395                <enumeratedValue>
20396                  <name>Clear</name>
20397                  <description>Set pin as input.</description>
20398                  <value>1</value>
20399                </enumeratedValue>
20400              </enumeratedValues>
20401            </field>
20402            <field>
20403              <name>PIN16</name>
20404              <description>Set as input pin 16.</description>
20405              <lsb>16</lsb> <msb>16</msb>
20406              <enumeratedValues>
20407                <usage>read</usage>
20408                <enumeratedValue>
20409                  <name>Input</name>
20410                  <description>Pin set as input.</description>
20411                  <value>0</value>
20412                </enumeratedValue>
20413                <enumeratedValue>
20414                  <name>Output</name>
20415                  <description>Pin set as output.</description>
20416                  <value>1</value>
20417                </enumeratedValue>
20418              </enumeratedValues>
20419              <enumeratedValues>
20420                <usage>write</usage>
20421                <enumeratedValue>
20422                  <name>Clear</name>
20423                  <description>Set pin as input.</description>
20424                  <value>1</value>
20425                </enumeratedValue>
20426              </enumeratedValues>
20427            </field>
20428            <field>
20429              <name>PIN17</name>
20430              <description>Set as input pin 17.</description>
20431              <lsb>17</lsb> <msb>17</msb>
20432              <enumeratedValues>
20433                <usage>read</usage>
20434                <enumeratedValue>
20435                  <name>Input</name>
20436                  <description>Pin set as input.</description>
20437                  <value>0</value>
20438                </enumeratedValue>
20439                <enumeratedValue>
20440                  <name>Output</name>
20441                  <description>Pin set as output.</description>
20442                  <value>1</value>
20443                </enumeratedValue>
20444              </enumeratedValues>
20445              <enumeratedValues>
20446                <usage>write</usage>
20447                <enumeratedValue>
20448                  <name>Clear</name>
20449                  <description>Set pin as input.</description>
20450                  <value>1</value>
20451                </enumeratedValue>
20452              </enumeratedValues>
20453            </field>
20454            <field>
20455              <name>PIN18</name>
20456              <description>Set as input pin 18.</description>
20457              <lsb>18</lsb> <msb>18</msb>
20458              <enumeratedValues>
20459                <usage>read</usage>
20460                <enumeratedValue>
20461                  <name>Input</name>
20462                  <description>Pin set as input.</description>
20463                  <value>0</value>
20464                </enumeratedValue>
20465                <enumeratedValue>
20466                  <name>Output</name>
20467                  <description>Pin set as output.</description>
20468                  <value>1</value>
20469                </enumeratedValue>
20470              </enumeratedValues>
20471              <enumeratedValues>
20472                <usage>write</usage>
20473                <enumeratedValue>
20474                  <name>Clear</name>
20475                  <description>Set pin as input.</description>
20476                  <value>1</value>
20477                </enumeratedValue>
20478              </enumeratedValues>
20479            </field>
20480            <field>
20481              <name>PIN19</name>
20482              <description>Set as input pin 19.</description>
20483              <lsb>19</lsb> <msb>19</msb>
20484              <enumeratedValues>
20485                <usage>read</usage>
20486                <enumeratedValue>
20487                  <name>Input</name>
20488                  <description>Pin set as input.</description>
20489                  <value>0</value>
20490                </enumeratedValue>
20491                <enumeratedValue>
20492                  <name>Output</name>
20493                  <description>Pin set as output.</description>
20494                  <value>1</value>
20495                </enumeratedValue>
20496              </enumeratedValues>
20497              <enumeratedValues>
20498                <usage>write</usage>
20499                <enumeratedValue>
20500                  <name>Clear</name>
20501                  <description>Set pin as input.</description>
20502                  <value>1</value>
20503                </enumeratedValue>
20504              </enumeratedValues>
20505            </field>
20506            <field>
20507              <name>PIN20</name>
20508              <description>Set as input pin 20.</description>
20509              <lsb>20</lsb> <msb>20</msb>
20510              <enumeratedValues>
20511                <usage>read</usage>
20512                <enumeratedValue>
20513                  <name>Input</name>
20514                  <description>Pin set as input.</description>
20515                  <value>0</value>
20516                </enumeratedValue>
20517                <enumeratedValue>
20518                  <name>Output</name>
20519                  <description>Pin set as output.</description>
20520                  <value>1</value>
20521                </enumeratedValue>
20522              </enumeratedValues>
20523              <enumeratedValues>
20524                <usage>write</usage>
20525                <enumeratedValue>
20526                  <name>Clear</name>
20527                  <description>Set pin as input.</description>
20528                  <value>1</value>
20529                </enumeratedValue>
20530              </enumeratedValues>
20531            </field>
20532            <field>
20533              <name>PIN21</name>
20534              <description>Set as input pin 21.</description>
20535              <lsb>21</lsb> <msb>21</msb>
20536              <enumeratedValues>
20537                <usage>read</usage>
20538                <enumeratedValue>
20539                  <name>Input</name>
20540                  <description>Pin set as input.</description>
20541                  <value>0</value>
20542                </enumeratedValue>
20543                <enumeratedValue>
20544                  <name>Output</name>
20545                  <description>Pin set as output.</description>
20546                  <value>1</value>
20547                </enumeratedValue>
20548              </enumeratedValues>
20549              <enumeratedValues>
20550                <usage>write</usage>
20551                <enumeratedValue>
20552                  <name>Clear</name>
20553                  <description>Set pin as input.</description>
20554                  <value>1</value>
20555                </enumeratedValue>
20556              </enumeratedValues>
20557            </field>
20558            <field>
20559              <name>PIN22</name>
20560              <description>Set as input pin 22.</description>
20561              <lsb>22</lsb> <msb>22</msb>
20562              <enumeratedValues>
20563                <usage>read</usage>
20564                <enumeratedValue>
20565                  <name>Input</name>
20566                  <description>Pin set as input.</description>
20567                  <value>0</value>
20568                </enumeratedValue>
20569                <enumeratedValue>
20570                  <name>Output</name>
20571                  <description>Pin set as output.</description>
20572                  <value>1</value>
20573                </enumeratedValue>
20574              </enumeratedValues>
20575              <enumeratedValues>
20576                <usage>write</usage>
20577                <enumeratedValue>
20578                  <name>Clear</name>
20579                  <description>Set pin as input.</description>
20580                  <value>1</value>
20581                </enumeratedValue>
20582              </enumeratedValues>
20583            </field>
20584            <field>
20585              <name>PIN23</name>
20586              <description>Set as input pin 23.</description>
20587              <lsb>23</lsb> <msb>23</msb>
20588              <enumeratedValues>
20589                <usage>read</usage>
20590                <enumeratedValue>
20591                  <name>Input</name>
20592                  <description>Pin set as input.</description>
20593                  <value>0</value>
20594                </enumeratedValue>
20595                <enumeratedValue>
20596                  <name>Output</name>
20597                  <description>Pin set as output.</description>
20598                  <value>1</value>
20599                </enumeratedValue>
20600              </enumeratedValues>
20601              <enumeratedValues>
20602                <usage>write</usage>
20603                <enumeratedValue>
20604                  <name>Clear</name>
20605                  <description>Set pin as input.</description>
20606                  <value>1</value>
20607                </enumeratedValue>
20608              </enumeratedValues>
20609            </field>
20610            <field>
20611              <name>PIN24</name>
20612              <description>Set as input pin 24.</description>
20613              <lsb>24</lsb> <msb>24</msb>
20614              <enumeratedValues>
20615                <usage>read</usage>
20616                <enumeratedValue>
20617                  <name>Input</name>
20618                  <description>Pin set as input.</description>
20619                  <value>0</value>
20620                </enumeratedValue>
20621                <enumeratedValue>
20622                  <name>Output</name>
20623                  <description>Pin set as output.</description>
20624                  <value>1</value>
20625                </enumeratedValue>
20626              </enumeratedValues>
20627              <enumeratedValues>
20628                <usage>write</usage>
20629                <enumeratedValue>
20630                  <name>Clear</name>
20631                  <description>Set pin as input.</description>
20632                  <value>1</value>
20633                </enumeratedValue>
20634              </enumeratedValues>
20635            </field>
20636            <field>
20637              <name>PIN25</name>
20638              <description>Set as input pin 25.</description>
20639              <lsb>25</lsb> <msb>25</msb>
20640              <enumeratedValues>
20641                <usage>read</usage>
20642                <enumeratedValue>
20643                  <name>Input</name>
20644                  <description>Pin set as input.</description>
20645                  <value>0</value>
20646                </enumeratedValue>
20647                <enumeratedValue>
20648                  <name>Output</name>
20649                  <description>Pin set as output.</description>
20650                  <value>1</value>
20651                </enumeratedValue>
20652              </enumeratedValues>
20653              <enumeratedValues>
20654                <usage>write</usage>
20655                <enumeratedValue>
20656                  <name>Clear</name>
20657                  <description>Set pin as input.</description>
20658                  <value>1</value>
20659                </enumeratedValue>
20660              </enumeratedValues>
20661            </field>
20662            <field>
20663              <name>PIN26</name>
20664              <description>Set as input pin 26.</description>
20665              <lsb>26</lsb> <msb>26</msb>
20666              <enumeratedValues>
20667                <usage>read</usage>
20668                <enumeratedValue>
20669                  <name>Input</name>
20670                  <description>Pin set as input.</description>
20671                  <value>0</value>
20672                </enumeratedValue>
20673                <enumeratedValue>
20674                  <name>Output</name>
20675                  <description>Pin set as output.</description>
20676                  <value>1</value>
20677                </enumeratedValue>
20678              </enumeratedValues>
20679              <enumeratedValues>
20680                <usage>write</usage>
20681                <enumeratedValue>
20682                  <name>Clear</name>
20683                  <description>Set pin as input.</description>
20684                  <value>1</value>
20685                </enumeratedValue>
20686              </enumeratedValues>
20687            </field>
20688            <field>
20689              <name>PIN27</name>
20690              <description>Set as input pin 27.</description>
20691              <lsb>27</lsb> <msb>27</msb>
20692              <enumeratedValues>
20693                <usage>read</usage>
20694                <enumeratedValue>
20695                  <name>Input</name>
20696                  <description>Pin set as input.</description>
20697                  <value>0</value>
20698                </enumeratedValue>
20699                <enumeratedValue>
20700                  <name>Output</name>
20701                  <description>Pin set as output.</description>
20702                  <value>1</value>
20703                </enumeratedValue>
20704              </enumeratedValues>
20705              <enumeratedValues>
20706                <usage>write</usage>
20707                <enumeratedValue>
20708                  <name>Clear</name>
20709                  <description>Set pin as input.</description>
20710                  <value>1</value>
20711                </enumeratedValue>
20712              </enumeratedValues>
20713            </field>
20714            <field>
20715              <name>PIN28</name>
20716              <description>Set as input pin 28.</description>
20717              <lsb>28</lsb> <msb>28</msb>
20718              <enumeratedValues>
20719                <usage>read</usage>
20720                <enumeratedValue>
20721                  <name>Input</name>
20722                  <description>Pin set as input.</description>
20723                  <value>0</value>
20724                </enumeratedValue>
20725                <enumeratedValue>
20726                  <name>Output</name>
20727                  <description>Pin set as output.</description>
20728                  <value>1</value>
20729                </enumeratedValue>
20730              </enumeratedValues>
20731              <enumeratedValues>
20732                <usage>write</usage>
20733                <enumeratedValue>
20734                  <name>Clear</name>
20735                  <description>Set pin as input.</description>
20736                  <value>1</value>
20737                </enumeratedValue>
20738              </enumeratedValues>
20739            </field>
20740            <field>
20741              <name>PIN29</name>
20742              <description>Set as input pin 29.</description>
20743              <lsb>29</lsb> <msb>29</msb>
20744              <enumeratedValues>
20745                <usage>read</usage>
20746                <enumeratedValue>
20747                  <name>Input</name>
20748                  <description>Pin set as input.</description>
20749                  <value>0</value>
20750                </enumeratedValue>
20751                <enumeratedValue>
20752                  <name>Output</name>
20753                  <description>Pin set as output.</description>
20754                  <value>1</value>
20755                </enumeratedValue>
20756              </enumeratedValues>
20757              <enumeratedValues>
20758                <usage>write</usage>
20759                <enumeratedValue>
20760                  <name>Clear</name>
20761                  <description>Set pin as input.</description>
20762                  <value>1</value>
20763                </enumeratedValue>
20764              </enumeratedValues>
20765            </field>
20766            <field>
20767              <name>PIN30</name>
20768              <description>Set as input pin 30.</description>
20769              <lsb>30</lsb> <msb>30</msb>
20770              <enumeratedValues>
20771                <usage>read</usage>
20772                <enumeratedValue>
20773                  <name>Input</name>
20774                  <description>Pin set as input.</description>
20775                  <value>0</value>
20776                </enumeratedValue>
20777                <enumeratedValue>
20778                  <name>Output</name>
20779                  <description>Pin set as output.</description>
20780                  <value>1</value>
20781                </enumeratedValue>
20782              </enumeratedValues>
20783              <enumeratedValues>
20784                <usage>write</usage>
20785                <enumeratedValue>
20786                  <name>Clear</name>
20787                  <description>Set pin as input.</description>
20788                  <value>1</value>
20789                </enumeratedValue>
20790              </enumeratedValues>
20791            </field>
20792            <field>
20793              <name>PIN31</name>
20794              <description>Set as input pin 31.</description>
20795              <lsb>31</lsb> <msb>31</msb>
20796              <enumeratedValues>
20797                <usage>read</usage>
20798                <enumeratedValue>
20799                  <name>Input</name>
20800                  <description>Pin set as input.</description>
20801                  <value>0</value>
20802                </enumeratedValue>
20803                <enumeratedValue>
20804                  <name>Output</name>
20805                  <description>Pin set as output.</description>
20806                  <value>1</value>
20807                </enumeratedValue>
20808              </enumeratedValues>
20809              <enumeratedValues>
20810                <usage>write</usage>
20811                <enumeratedValue>
20812                  <name>Clear</name>
20813                  <description>Set pin as input.</description>
20814                  <value>1</value>
20815                </enumeratedValue>
20816              </enumeratedValues>
20817            </field>
20818          </fields>
20819        </register>
20820
20821
20822        <register>
20823          <dim>32</dim>
20824          <dimIncrement>0x04</dimIncrement>
20825          <name>PIN_CNF[%s]</name>
20826          <description>Configuration of GPIO pins.</description>
20827          <addressOffset>0x700</addressOffset>
20828          <resetValue>0x00000002</resetValue>
20829          <fields>
20830            <field>
20831              <name>DIR</name>
20832              <description>Pin direction.</description>
20833              <lsb>0</lsb> <msb>0</msb>
20834              <enumeratedValues>
20835                <enumeratedValue>
20836                  <name>Input</name>
20837                  <description>Configure pin as an input pin.</description>
20838                  <value>0</value>
20839                </enumeratedValue>
20840                <enumeratedValue>
20841                  <name>Output</name>
20842                  <description>Configure pin as an output pin.</description>
20843                  <value>1</value>
20844                </enumeratedValue>
20845              </enumeratedValues>
20846            </field>
20847            <field>
20848              <name>INPUT</name>
20849              <description>Connect or disconnect input path.</description>
20850              <lsb>1</lsb> <msb>1</msb>
20851              <enumeratedValues>
20852                <enumeratedValue>
20853                  <name>Connect</name>
20854                  <description>Connect input pin.</description>
20855                  <value>0</value>
20856                </enumeratedValue>
20857                <enumeratedValue>
20858                  <name>Disconnect</name>
20859                  <description>Disconnect input pin.</description>
20860                  <value>1</value>
20861                </enumeratedValue>
20862              </enumeratedValues>
20863            </field>
20864            <field>
20865              <name>PULL</name>
20866              <description>Pull-up or -down configuration.</description>
20867              <lsb>2</lsb> <msb>3</msb>
20868              <enumeratedValues>
20869                <enumeratedValue>
20870                  <name>Disabled</name>
20871                  <description>No pull.</description>
20872                  <value>0x00</value>
20873                </enumeratedValue>
20874                <enumeratedValue>
20875                  <name>Pulldown</name>
20876                  <description>Pulldown on pin.</description>
20877                  <value>0x01</value>
20878                </enumeratedValue>
20879                <enumeratedValue>
20880                  <name>Pullup</name>
20881                  <description>Pullup on pin.</description>
20882                  <value>0x03</value>
20883                </enumeratedValue>
20884              </enumeratedValues>
20885            </field>
20886            <field>
20887              <name>DRIVE</name>
20888              <description>Drive configuration.</description>
20889              <lsb>8</lsb> <msb>10</msb>
20890              <enumeratedValues>
20891                <enumeratedValue>
20892                  <name>S0S1</name>
20893                  <description>Standard '0', Standard '1'.</description>
20894                  <value>0x00</value>
20895                </enumeratedValue>
20896                <enumeratedValue>
20897                  <name>H0S1</name>
20898                  <description>High '0', Standard '1'.</description>
20899                  <value>0x01</value>
20900                </enumeratedValue>
20901                <enumeratedValue>
20902                  <name>S0H1</name>
20903                  <description>Standard '0', High '1'.</description>
20904                  <value>0x02</value>
20905                </enumeratedValue>
20906                <enumeratedValue>
20907                  <name>H0H1</name>
20908                  <description>High '0', High '1'.</description>
20909                  <value>0x03</value>
20910                </enumeratedValue>
20911                <enumeratedValue>
20912                  <name>D0S1</name>
20913                  <description>Disconnected '0', Standard '1'.</description>
20914                  <value>0x04</value>
20915                </enumeratedValue>
20916                <enumeratedValue>
20917                  <name>D0H1</name>
20918                  <description>Disconnected '0', High '1'.</description>
20919                  <value>0x05</value>
20920                </enumeratedValue>
20921                <enumeratedValue>
20922                  <name>S0D1</name>
20923                  <description>Standard '0', Disconnected '1'.</description>
20924                  <value>0x06</value>
20925                </enumeratedValue>
20926                <enumeratedValue>
20927                  <name>H0D1</name>
20928                  <description>High '0', Disconnected '1'.</description>
20929                  <value>0x07</value>
20930                </enumeratedValue>
20931              </enumeratedValues>
20932            </field>
20933            <field>
20934              <name>SENSE</name>
20935              <description>Pin sensing mechanism.</description>
20936              <lsb>16</lsb> <msb>17</msb>
20937              <enumeratedValues>
20938                <enumeratedValue>
20939                  <name>Disabled</name>
20940                  <description>Disabled.</description>
20941                  <value>0x00</value>
20942                </enumeratedValue>
20943                <enumeratedValue>
20944                  <name>High</name>
20945                  <description>Wakeup on high level.</description>
20946                  <value>0x02</value>
20947                </enumeratedValue>
20948                <enumeratedValue>
20949                  <name>Low</name>
20950                  <description>Wakeup on low level.</description>
20951                  <value>0x03</value>
20952                </enumeratedValue>
20953              </enumeratedValues>
20954            </field>
20955          </fields>
20956        </register>
20957      </registers>
20958    </peripheral>
20959
20960  </peripherals>
20961</device>
20962