<?xml version="1.0" encoding="UTF-8"?>
<target-description-file>
    <variants>
        <variant ordercode="ATXMEGA256A3-AU" package="TQFP64" speedmax="32000000" pinout="QFP_QFN_64" tempmax="0"
                 tempmin="0" vccmax="3.6" vccmin="1.6"/>
        <variant ordercode="ATXMEGA256A3-MH" package="QFN64" speedmax="32000000" pinout="QFP_QFN_64" tempmax="0"
                 tempmin="0" vccmax="3.6" vccmin="1.6"/>
    </variants>
    <device name="ATxmega256A3" architecture="AVR8_XMEGA" family="AVR XMEGA">
        <address-spaces>
            <address-space name="prog" id="prog" start="0x00000" size="0x42000" endianness="little">
                <memory-segment start="0x00000" size="0x40000" type="flash" rw="RW" exec="1" name="APP_SECTION"
                                pagesize="512"/>
                <memory-segment start="0x3E000" size="0x2000" type="flash" rw="RW" exec="1" name="APPTABLE_SECTION"
                                pagesize="512"/>
                <memory-segment start="0x40000" size="0x2000" type="flash" rw="RW" exec="1" name="BOOT_SECTION"
                                pagesize="512"/>
            </address-space>
            <address-space name="data" id="data" start="0x00000" size="0x6000" endianness="little">
                <memory-segment start="0x00000" size="0x1000" type="io" rw="RW" exec="0" name="IO"/>
                <memory-segment start="0x01000" size="0x1000" type="eeprom" rw="RW" exec="0" name="MAPPED_EEPROM"/>
                <memory-segment start="0x02000" size="0x4000" type="ram" rw="RW" exec="0" name="INTERNAL_SRAM"/>
            </address-space>
            <address-space name="eeprom" id="eeprom" start="0x00000" size="0x1000">
                <memory-segment start="0x00000" size="0x1000" type="eeprom" rw="RW" exec="0" name="EEPROM"
                                pagesize="32"/>
            </address-space>
            <address-space name="signatures" id="signatures" start="0x0000" size="0x0003">
                <memory-segment start="0x0000" size="0x0003" type="signatures" rw="R" exec="0" name="SIGNATURES"/>
            </address-space>
            <address-space name="fuses" id="fuses" start="0x0000" size="0x0006">
                <memory-segment start="0x0000" size="0x0006" type="fuses" rw="RW" exec="0" name="FUSES"/>
            </address-space>
            <address-space name="lockbits" id="lockbits" start="0x00000" size="0x0001">
                <memory-segment start="0x0000" size="0x0001" type="lockbits" rw="RW" exec="0" name="LOCKBITS"/>
            </address-space>
            <address-space name="user_signatures" id="user_signatures" start="0x00000" size="0x0200">
                <memory-segment start="0x0000" size="0x0200" type="user_signatures" rw="RW" exec="0"
                                name="USER_SIGNATURES" pagesize="512"/>
            </address-space>
            <address-space name="prod_signatures" id="prod_signatures" start="0x00000" size="0x0034">
                <memory-segment start="0x0000" size="0x0034" type="other" rw="R" exec="0" name="PROD_SIGNATURES"
                                pagesize="512"/>
            </address-space>
        </address-spaces>
        <peripherals>
            <module name="GPIO" id="I6085">
                <instance name="GPIO">
                    <register-group address-space="data" offset="0x0000" name-in-module="GPIO" name="GPIO"/>
                </instance>
            </module>
            <module name="XOCD" id="I6043">
                <instance name="OCD">
                    <register-group address-space="data" offset="0x002E" name-in-module="OCD" name="OCD"/>
                </instance>
            </module>
            <module name="CPU" id="I6000">
                <instance name="CPU">
                    <register-group address-space="data" offset="0x0030" name-in-module="CPU" name="CPU"/>
                    <parameters>
                        <param name="CORE_VERSION" value="V3X"/>
                    </parameters>
                </instance>
            </module>
            <module name="CLK" id="I6073">
                <instance name="CLK">
                    <register-group address-space="data" offset="0x0040" name-in-module="CLK" name="CLK"/>
                </instance>
                <instance name="PR">
                    <register-group address-space="data" offset="0x0070" name-in-module="PR" name="PR"/>
                </instance>
            </module>
            <module name="SLEEP" id="I6081">
                <instance name="SLEEP">
                    <register-group address-space="data" offset="0x0048" name-in-module="SLEEP" name="SLEEP"/>
                </instance>
            </module>
            <module name="OSC" id="I6079">
                <instance name="OSC">
                    <register-group address-space="data" offset="0x0050" name-in-module="OSC" name="OSC"/>
                </instance>
            </module>
            <module name="DFLL" id="I6055">
                <instance name="DFLLRC32M">
                    <register-group address-space="data" offset="0x0060" name-in-module="DFLL" name="DFLLRC32M"/>
                </instance>
                <instance name="DFLLRC2M">
                    <register-group address-space="data" offset="0x0068" name-in-module="DFLL" name="DFLLRC2M"/>
                </instance>
            </module>
            <module name="RST" id="I6083">
                <instance name="RST">
                    <register-group address-space="data" offset="0x0078" name-in-module="RST" name="RST"/>
                </instance>
            </module>
            <module name="WDT" id="I6078">
                <instance name="WDT">
                    <register-group address-space="data" offset="0x0080" name-in-module="WDT" name="WDT"/>
                </instance>
            </module>
            <module name="MCU" id="I6091">
                <instance name="MCU">
                    <register-group address-space="data" offset="0x0090" name-in-module="MCU" name="MCU"/>
                </instance>
            </module>
            <module name="PMIC" id="I6057">
                <instance name="PMIC">
                    <register-group address-space="data" offset="0x00A0" name-in-module="PMIC" name="PMIC"/>
                </instance>
            </module>
            <module name="DMA" id="I3000">
                <instance name="DMA">
                    <register-group address-space="data" offset="0x0100" name-in-module="DMA" name="DMA"/>
                </instance>
            </module>
            <module name="EVSYS" id="I6061">
                <instance name="EVSYS">
                    <register-group address-space="data" offset="0x0180" name-in-module="EVSYS" name="EVSYS"/>
                </instance>
            </module>
            <module name="NVM" id="I6076">
                <instance name="NVM">
                    <register-group address-space="data" offset="0x01C0" name-in-module="NVM" name="NVM"/>
                </instance>
                <instance name="FUSE">
                    <register-group address-space="fuses" offset="0x00" name-in-module="NVM_FUSES" name="FUSE"/>
                </instance>
                <instance name="LOCKBIT">
                    <register-group address-space="lockbits" offset="0x00" name-in-module="NVM_LOCKBITS"
                                    name="LOCKBIT"/>
                </instance>
                <instance name="PROD_SIGNATURES">
                    <register-group address-space="prod_signatures" offset="0x00"
                                    name-in-module="NVM_PROD_SIGNATURES" name="PROD_SIGNATURES"/>
                </instance>
            </module>
            <module name="AC" id="I6077">
                <instance name="ACA">
                    <register-group address-space="data" offset="0x0380" name-in-module="AC" name="ACA"/>
                </instance>
                <instance name="ACB">
                    <register-group address-space="data" offset="0x0390" name-in-module="AC" name="ACB"/>
                </instance>
            </module>
            <module name="ADC" id="I6064">
                <instance name="ADCA">
                    <register-group address-space="data" offset="0x0200" name-in-module="ADC" name="ADCA"/>
                </instance>
                <instance name="ADCB">
                    <register-group address-space="data" offset="0x0240" name-in-module="ADC" name="ADCB"/>
                </instance>
            </module>
            <module name="DAC" id="I6059">
                <instance name="DACB">
                    <register-group address-space="data" offset="0x0320" name-in-module="DAC" name="DACB"/>
                </instance>
            </module>
            <module name="RTC" id="I6093">
                <instance name="RTC">
                    <register-group address-space="data" offset="0x0400" name-in-module="RTC" name="RTC"/>
                </instance>
            </module>
            <module name="TWI" id="I6089">
                <instance name="TWIC">
                    <register-group address-space="data" offset="0x480" name-in-module="TWI" name="TWIC"/>
                </instance>
                <instance name="TWIE">
                    <register-group address-space="data" offset="0x4A0" name-in-module="TWI" name="TWIE"/>
                </instance>
            </module>
            <module name="PORT" id="I6075">
                <instance name="PORT_CFG">
                    <register-group address-space="data" offset="0x00B0" name-in-module="PORTCFG" name="PORTCFG"/>
                </instance>
                <instance name="VPORT0">
                    <register-group address-space="data" offset="0x0010" name-in-module="VPORT" name="VPORT0"/>
                </instance>
                <instance name="VPORT1">
                    <register-group address-space="data" offset="0x0014" name-in-module="VPORT" name="VPORT1"/>
                </instance>
                <instance name="VPORT2">
                    <register-group address-space="data" offset="0x0018" name-in-module="VPORT" name="VPORT2"/>
                </instance>
                <instance name="VPORT3">
                    <register-group address-space="data" offset="0x001C" name-in-module="VPORT" name="VPORT3"/>
                </instance>
                <instance name="PORTA">
                    <register-group address-space="data" offset="0x0600" name-in-module="PORT" name="PORTA"/>
                    <signals>
                        <signal function="PORTA" group="P" index="0" pad="PA0"/>
                        <signal function="PORTA" group="P" index="1" pad="PA1"/>
                        <signal function="PORTA" group="P" index="2" pad="PA2"/>
                        <signal function="PORTA" group="P" index="3" pad="PA3"/>
                        <signal function="PORTA" group="P" index="4" pad="PA4"/>
                        <signal function="PORTA" group="P" index="5" pad="PA5"/>
                        <signal function="PORTA" group="P" index="6" pad="PA6"/>
                        <signal function="PORTA" group="P" index="7" pad="PA7"/>
                    </signals>
                </instance>
                <instance name="PORTB">
                    <register-group address-space="data" offset="0x0620" name-in-module="PORT" name="PORTB"/>
                    <signals>
                        <signal function="PORTB" group="P" index="0" pad="PB0"/>
                        <signal function="PORTB" group="P" index="1" pad="PB1"/>
                        <signal function="PORTB" group="P" index="2" pad="PB2"/>
                        <signal function="PORTB" group="P" index="3" pad="PB3"/>
                        <signal function="PORTB" group="P" index="4" pad="PB4"/>
                        <signal function="PORTB" group="P" index="5" pad="PB5"/>
                        <signal function="PORTB" group="P" index="6" pad="PB6"/>
                        <signal function="PORTB" group="P" index="7" pad="PB7"/>
                    </signals>
                </instance>
                <instance name="PORTC">
                    <register-group address-space="data" offset="0x0640" name-in-module="PORT" name="PORTC"/>
                    <signals>
                        <signal function="PORTC" group="P" index="0" pad="PC0"/>
                        <signal function="PORTC" group="P" index="1" pad="PC1"/>
                        <signal function="PORTC" group="P" index="2" pad="PC2"/>
                        <signal function="PORTC" group="P" index="3" pad="PC3"/>
                        <signal function="PORTC" group="P" index="4" pad="PC4"/>
                        <signal function="PORTC" group="P" index="5" pad="PC5"/>
                        <signal function="PORTC" group="P" index="6" pad="PC6"/>
                        <signal function="PORTC" group="P" index="7" pad="PC7"/>
                    </signals>
                </instance>
                <instance name="PORTD">
                    <register-group address-space="data" offset="0x0660" name-in-module="PORT" name="PORTD"/>
                    <signals>
                        <signal function="PORTD" group="P" index="0" pad="PD0"/>
                        <signal function="PORTD" group="P" index="1" pad="PD1"/>
                        <signal function="PORTD" group="P" index="2" pad="PD2"/>
                        <signal function="PORTD" group="P" index="3" pad="PD3"/>
                        <signal function="PORTD" group="P" index="4" pad="PD4"/>
                        <signal function="PORTD" group="P" index="5" pad="PD5"/>
                        <signal function="PORTD" group="P" index="6" pad="PD6"/>
                        <signal function="PORTD" group="P" index="7" pad="PD7"/>
                    </signals>
                </instance>
                <instance name="PORTE">
                    <register-group address-space="data" offset="0x0680" name-in-module="PORT" name="PORTE"/>
                    <signals>
                        <signal function="PORTE" group="P" index="0" pad="PE0"/>
                        <signal function="PORTE" group="P" index="1" pad="PE1"/>
                        <signal function="PORTE" group="P" index="2" pad="PE2"/>
                        <signal function="PORTE" group="P" index="3" pad="PE3"/>
                        <signal function="PORTE" group="P" index="4" pad="PE4"/>
                        <signal function="PORTE" group="P" index="5" pad="PE5"/>
                        <signal function="PORTE" group="P" index="6" pad="PE6"/>
                        <signal function="PORTE" group="P" index="7" pad="PE7"/>
                    </signals>
                </instance>
                <instance name="PORTF">
                    <register-group address-space="data" offset="0x06A0" name-in-module="PORT" name="PORTF"/>
                    <signals>
                        <signal function="PORTF" group="P" index="0" pad="PF0"/>
                        <signal function="PORTF" group="P" index="1" pad="PF1"/>
                        <signal function="PORTF" group="P" index="2" pad="PF2"/>
                        <signal function="PORTF" group="P" index="3" pad="PF3"/>
                        <signal function="PORTF" group="P" index="4" pad="PF4"/>
                        <signal function="PORTF" group="P" index="5" pad="PF5"/>
                        <signal function="PORTF" group="P" index="6" pad="PF6"/>
                        <signal function="PORTF" group="P" index="7" pad="PF7"/>
                    </signals>
                </instance>
                <instance name="PORTR">
                    <register-group address-space="data" offset="0x07E0" name-in-module="PORT" name="PORTR"/>
                    <signals>
                        <signal function="PORTR" group="P" index="0" pad="PR0"/>
                        <signal function="PORTR" group="P" index="1" pad="PR1"/>
                    </signals>
                </instance>
            </module>
            <module name="TC" id="I6090">
                <instance name="TCC0">
                    <register-group address-space="data" offset="0x800" name-in-module="TC0" name="TCC0"/>
                </instance>
                <instance name="TCC1">
                    <register-group address-space="data" offset="0x840" name-in-module="TC1" name="TCC1"/>
                </instance>
                <instance name="AWEXC">
                    <register-group address-space="data" offset="0x880" name-in-module="AWEX" name="AWEXC"/>
                </instance>
                <instance name="HIRESC">
                    <register-group address-space="data" offset="0x890" name-in-module="HIRES" name="HIRESC"/>
                </instance>
                <instance name="TCD0">
                    <register-group address-space="data" offset="0x900" name-in-module="TC0" name="TCD0"/>
                </instance>
                <instance name="TCD1">
                    <register-group address-space="data" offset="0x940" name-in-module="TC1" name="TCD1"/>
                </instance>
                <instance name="HIRESD">
                    <register-group address-space="data" offset="0x990" name-in-module="HIRES" name="HIRESD"/>
                </instance>
                <instance name="TCE0">
                    <register-group address-space="data" offset="0xA00" name-in-module="TC0" name="TCE0"/>
                </instance>
                <instance name="TCE1">
                    <register-group address-space="data" offset="0xA40" name-in-module="TC1" name="TCE1"/>
                </instance>
                <instance name="AWEXE">
                    <register-group address-space="data" offset="0xA80" name-in-module="AWEX" name="AWEXE"/>
                </instance>
                <instance name="HIRESE">
                    <register-group address-space="data" offset="0xA90" name-in-module="HIRES" name="HIRESE"/>
                </instance>
                <instance name="TCF0">
                    <register-group address-space="data" offset="0xB00" name-in-module="TC0" name="TCF0"/>
                </instance>
                <instance name="HIRESF">
                    <register-group address-space="data" offset="0xB90" name-in-module="HIRES" name="HIRESF"/>
                </instance>
            </module>
            <module name="USART" id="I6090">
                <instance name="USARTC0">
                    <register-group address-space="data" offset="0x8A0" name-in-module="USART" name="USARTC0"/>
                </instance>
                <instance name="USARTC1">
                    <register-group address-space="data" offset="0x8B0" name-in-module="USART" name="USARTC1"/>
                </instance>
                <instance name="USARTD0">
                    <register-group address-space="data" offset="0x9A0" name-in-module="USART" name="USARTD0"/>
                </instance>
                <instance name="USARTD1">
                    <register-group address-space="data" offset="0x9B0" name-in-module="USART" name="USARTD1"/>
                </instance>
                <instance name="USARTE0">
                    <register-group address-space="data" offset="0xAA0" name-in-module="USART" name="USARTE0"/>
                </instance>
                <instance name="USARTE1">
                    <register-group address-space="data" offset="0xAB0" name-in-module="USART" name="USARTE1"/>
                </instance>
                <instance name="USARTF0">
                    <register-group address-space="data" offset="0xBA0" name-in-module="USART" name="USARTF0"/>
                </instance>
                <instance name="USARTF1">
                    <register-group address-space="data" offset="0xBB0" name-in-module="USART" name="USARTF1"/>
                </instance>
            </module>
            <module name="SPI" id="I6090">
                <instance name="SPIC">
                    <register-group address-space="data" offset="0x8C0" name-in-module="SPI" name="SPIC"/>
                </instance>
                <instance name="SPID">
                    <register-group address-space="data" offset="0x9C0" name-in-module="SPI" name="SPID"/>
                </instance>
                <instance name="SPIE">
                    <register-group address-space="data" offset="0xAC0" name-in-module="SPI" name="SPIE"/>
                </instance>
                <instance name="SPIF">
                    <register-group address-space="data" offset="0xBC0" name-in-module="SPI" name="SPIF"/>
                </instance>
            </module>
            <module name="IRCOM" id="I6090">
                <instance name="IRCOM">
                    <register-group address-space="data" offset="0x8F8" name-in-module="IRCOM" name="IRCOM"/>
                </instance>
            </module>
            <module name="AES" id="I6096">
                <instance name="AES">
                    <register-group address-space="data" offset="0x0C0" name-in-module="AES" name="AES"/>
                </instance>
            </module>
        </peripherals>
        <interrupts>
            <interrupt-group index="1" module-instance="OSC" name-in-module="OSC"/>
            <interrupt-group index="2" module-instance="PORTC" name-in-module="PORT"/>
            <interrupt-group index="4" module-instance="PORTR" name-in-module="PORT"/>
            <interrupt-group index="6" module-instance="DMA" name-in-module="DMA"/>
            <interrupt-group index="10" module-instance="RTC" name-in-module="RTC"/>
            <interrupt-group index="12" module-instance="TWIC" name-in-module="TWI"/>
            <interrupt-group index="14" module-instance="TCC0" name-in-module="TC0"/>
            <interrupt-group index="20" module-instance="TCC1" name-in-module="TC1"/>
            <interrupt-group index="24" module-instance="SPIC" name-in-module="SPI"/>
            <interrupt-group index="25" module-instance="USARTC0" name-in-module="USART"/>
            <interrupt-group index="28" module-instance="USARTC1" name-in-module="USART"/>
            <interrupt-group index="31" module-instance="AES" name-in-module="AES"/>
            <interrupt-group index="32" module-instance="NVM" name-in-module="NVM"/>
            <interrupt-group index="34" module-instance="PORTB" name-in-module="PORT"/>
            <interrupt-group index="36" module-instance="ACB" name-in-module="AC"/>
            <interrupt-group index="39" module-instance="ADCB" name-in-module="ADC"/>
            <interrupt-group index="43" module-instance="PORTE" name-in-module="PORT"/>
            <interrupt-group index="45" module-instance="TWIE" name-in-module="TWI"/>
            <interrupt-group index="47" module-instance="TCE0" name-in-module="TC0"/>
            <interrupt-group index="53" module-instance="TCE1" name-in-module="TC1"/>
            <interrupt-group index="57" module-instance="SPIE" name-in-module="SPI"/>
            <interrupt-group index="58" module-instance="USARTE0" name-in-module="USART"/>
            <interrupt-group index="61" module-instance="USARTE1" name-in-module="USART"/>
            <interrupt-group index="64" module-instance="PORTD" name-in-module="PORT"/>
            <interrupt-group index="66" module-instance="PORTA" name-in-module="PORT"/>
            <interrupt-group index="68" module-instance="ACA" name-in-module="AC"/>
            <interrupt-group index="71" module-instance="ADCA" name-in-module="ADC"/>
            <interrupt-group index="77" module-instance="TCD0" name-in-module="TC0"/>
            <interrupt-group index="83" module-instance="TCD1" name-in-module="TC1"/>
            <interrupt-group index="87" module-instance="SPID" name-in-module="SPI"/>
            <interrupt-group index="88" module-instance="USARTD0" name-in-module="USART"/>
            <interrupt-group index="91" module-instance="USARTD1" name-in-module="USART"/>
            <interrupt-group index="104" module-instance="PORTF" name-in-module="PORT"/>
            <interrupt-group index="108" module-instance="TCF0" name-in-module="TC0"/>
            <interrupt-group index="119" module-instance="USARTF0" name-in-module="USART"/>
        </interrupts>
        <interfaces>
            <interface type="pdi" name="PDI"/>
            <interface type="xmegajtag" name="JTAG"/>
        </interfaces>
        <property-groups>
            <property-group name="SIGNATURES">
                <property name="JTAGID" value="0x0984203F"/>
                <property name="SIGNATURE0" value="0x1E"/>
                <property name="SIGNATURE1" value="0x98"/>
                <property name="SIGNATURE2" value="0x42"/>
            </property-group>
            <property-group name="PDI_INTERFACE">
                <property name="APP_SECTION_OFFSET" value="0x00800000"/>
                <property name="APPTABLE_SECTION_OFFSET" value="0x0083E000"/>
                <property name="BOOT_SECTION_OFFSET" value="0x00840000"/>
                <property name="DATAMEM_OFFSET" value="0x01000000"/>
                <property name="EEPROM_OFFSET" value="0x008C0000"/>
                <property name="USER_SIGNATURES_OFFSET" value="0x008E0400"/>
                <property name="PROD_SIGNATURES_OFFSET" value="0x008E0200"/>
                <property name="FUSE_REGISTERS_OFFSET" value="0x008F0020"/>
                <property name="LOCK_REGISTERS_OFFSET" value="0x008F0027"/>
            </property-group>
        </property-groups>
    </device>
    <modules>
        <module name="GPIO" id="I6085" caption="General Purpose IO">
            <register-group caption="General Purpose IO Registers" name="GPIO" size="16">
                <register caption="General Purpose IO Register 0" name="GPIOR0" offset="0x00" size="1"/>
                <register caption="General Purpose IO Register 1" name="GPIOR1" offset="0x01" size="1"/>
                <register caption="General Purpose IO Register 2" name="GPIOR2" offset="0x02" size="1"/>
                <register caption="General Purpose IO Register 3" name="GPIOR3" offset="0x03" size="1"/>
                <register caption="General Purpose IO Register 4" name="GPIOR4" offset="0x04" size="1"/>
                <register caption="General Purpose IO Register 5" name="GPIOR5" offset="0x05" size="1"/>
                <register caption="General Purpose IO Register 6" name="GPIOR6" offset="0x06" size="1"/>
                <register caption="General Purpose IO Register 7" name="GPIOR7" offset="0x07" size="1"/>
                <register caption="General Purpose IO Register 8" name="GPIOR8" offset="0x08" size="1"/>
                <register caption="General Purpose IO Register 9" name="GPIOR9" offset="0x09" size="1"/>
                <register caption="General Purpose IO Register 10" name="GPIORA" offset="0x0A" size="1"/>
                <register caption="General Purpose IO Register 11" name="GPIORB" offset="0x0B" size="1"/>
                <register caption="General Purpose IO Register 12" name="GPIORC" offset="0x0C" size="1"/>
                <register caption="General Purpose IO Register 13" name="GPIORD" offset="0x0D" size="1"/>
                <register caption="General Purpose IO Register 14" name="GPIORE" offset="0x0E" size="1"/>
                <register caption="General Purpose IO Register 15" name="GPIORF" offset="0x0F" size="1"/>
            </register-group>
        </module>
        <module name="XOCD" caption="On-Chip Debug System" id="I6043">
            <register-group name="OCD" caption="On-Chip Debug System" size="2">
                <register name="OCDR0" caption="OCD Register 0" size="1" offset="0x00">
                    <bitfield name="OCDRD" caption="OCDR Dirty" mask="0xFF"/>
                </register>
                <register name="OCDR1" caption="OCD Register 1" size="1" offset="0x01">
                    <bitfield name="OCDRD" caption="OCDR Dirty" mask="0x01"/>
                </register>
            </register-group>
        </module>
        <module name="CPU" id="I6000" caption="CPU">
            <register-group caption="CPU registerMap" name="CPU" size="16">
                <register caption="Configuration Change Protection" name="CCP" offset="0x04" size="1">
                    <bitfield caption="CCP signature" mask="0xFF" name="CCP" values="CCP"/>
                </register>
                <register caption="Ramp D" name="RAMPD" offset="0x08" size="1"/>
                <register caption="Ramp X" name="RAMPX" offset="0x09" size="1"/>
                <register caption="Ramp Y" name="RAMPY" offset="0x0A" size="1"/>
                <register caption="Ramp Z" name="RAMPZ" offset="0x0B" size="1"/>
                <register caption="Extended Indirect Jump" name="EIND" offset="0x0C" size="1"/>
                <register caption="Stack Pointer Low" name="SPL" offset="0x0D" size="1"/>
                <register caption="Stack Pointer High" name="SPH" offset="0x0E" size="1"/>
                <register caption="Status Register" name="SREG" offset="0x0F" size="1">
                    <bitfield caption="Global Interrupt Enable Flag" mask="0x80" name="I"/>
                    <bitfield caption="Transfer Bit" mask="0x40" name="T"/>
                    <bitfield caption="Half Carry Flag" mask="0x20" name="H"/>
                    <bitfield caption="N Exclusive Or V Flag" mask="0x10" name="S"/>
                    <bitfield caption="Two's Complement Overflow Flag" mask="0x08" name="V"/>
                    <bitfield caption="Negative Flag" mask="0x04" name="N"/>
                    <bitfield caption="Zero Flag" mask="0x02" name="Z"/>
                    <bitfield caption="Carry Flag" mask="0x01" name="C"/>
                </register>
            </register-group>
            <value-group caption="CCP signatures" name="CCP">
                <value caption="SPM Instruction Protection" name="SPM" value="0x9D"/>
                <value caption="IO Register Protection" name="IOREG" value="0xD8"/>
            </value-group>
        </module>
        <module name="CLK" id="I6073" caption="Clock System">
            <register-group caption="Clock System" name="CLK" size="4">
                <register caption="Control Register" name="CTRL" offset="0x00" size="1">
                    <bitfield caption="System Clock Selection" mask="0x07" name="SCLKSEL" values="CLK_SCLKSEL"/>
                </register>
                <register caption="Prescaler Control Register" name="PSCTRL" offset="0x01" size="1">
                    <bitfield caption="Prescaler A Division Factor" mask="0x7C" name="PSADIV" values="CLK_PSADIV"/>
                    <bitfield caption="Prescaler B and C Division factor" mask="0x03" name="PSBCDIV"
                              values="CLK_PSBCDIV"/>
                </register>
                <register caption="Lock register" name="LOCK" offset="0x02" size="1">
                    <bitfield caption="Clock System Lock" mask="0x01" name="LOCK"/>
                </register>
                <register caption="RTC Control Register" name="RTCCTRL" offset="0x03" size="1">
                    <bitfield caption="RTC Clock Source" mask="0x0E" name="RTCSRC" values="CLK_RTCSRC"/>
                    <bitfield caption="RTC Clock Source Enable" mask="0x01" name="RTCEN"/>
                </register>
            </register-group>
            <register-group caption="Power Reduction" name="PR" size="7">
                <register caption="General Power Reduction" name="PRGEN" offset="0x00" size="1">
                    <bitfield caption="AES" mask="0x10" name="AES"/>
                    <bitfield caption="Real-time Counter" mask="0x04" name="RTC"/>
                    <bitfield caption="Event System" mask="0x02" name="EVSYS"/>
                    <bitfield caption="DMA-Controller" mask="0x01" name="DMA"/>
                </register>
                <register caption="Power Reduction Port A" name="PRPA" offset="0x01" size="1">
                    <bitfield caption="Port A DAC" mask="0x04" name="DAC"/>
                    <bitfield caption="Port A ADC" mask="0x02" name="ADC"/>
                    <bitfield caption="Port A Analog Comparator" mask="0x01" name="AC"/>
                </register>
                <register caption="Power Reduction Port B" name="PRPB" offset="0x02" size="1">
                    <bitfield caption="Port B DAC" mask="0x04" name="DAC"/>
                    <bitfield caption="Port B ADC" mask="0x02" name="ADC"/>
                    <bitfield caption="Port B Analog Comparator" mask="0x01" name="AC"/>
                </register>
                <register caption="Power Reduction Port C" name="PRPC" offset="0x03" size="1">
                    <bitfield caption="Port C Two-wire Interface" mask="0x40" name="TWI"/>
                    <bitfield caption="Port C USART1" mask="0x20" name="USART1"/>
                    <bitfield caption="Port C USART0" mask="0x10" name="USART0"/>
                    <bitfield caption="Port C SPI" mask="0x08" name="SPI"/>
                    <bitfield caption="Port C AWEX" mask="0x04" name="HIRES"/>
                    <bitfield caption="Port C Timer/Counter1" mask="0x02" name="TC1"/>
                    <bitfield caption="Port C Timer/Counter0" mask="0x01" name="TC0"/>
                </register>
                <register caption="Power Reduction Port D" name="PRPD" offset="0x04" size="1">
                    <bitfield caption="Port D Two-wire Interface" mask="0x40" name="TWI"/>
                    <bitfield caption="Port D USART1" mask="0x20" name="USART1"/>
                    <bitfield caption="Port D USART0" mask="0x10" name="USART0"/>
                    <bitfield caption="Port D SPI" mask="0x08" name="SPI"/>
                    <bitfield caption="Port D AWEX" mask="0x04" name="HIRES"/>
                    <bitfield caption="Port D Timer/Counter1" mask="0x02" name="TC1"/>
                    <bitfield caption="Port D Timer/Counter0" mask="0x01" name="TC0"/>
                </register>
                <register caption="Power Reduction Port E" name="PRPE" offset="0x05" size="1">
                    <bitfield caption="Port E Two-wire Interface" mask="0x40" name="TWI"/>
                    <bitfield caption="Port E USART1" mask="0x20" name="USART1"/>
                    <bitfield caption="Port E USART0" mask="0x10" name="USART0"/>
                    <bitfield caption="Port E SPI" mask="0x08" name="SPI"/>
                    <bitfield caption="Port E AWEX" mask="0x04" name="HIRES"/>
                    <bitfield caption="Port E Timer/Counter1" mask="0x02" name="TC1"/>
                    <bitfield caption="Port E Timer/Counter0" mask="0x01" name="TC0"/>
                </register>
                <register caption="Power Reduction Port F" name="PRPF" offset="0x06" size="1">
                    <bitfield caption="Port F Two-wire Interface" mask="0x40" name="TWI"/>
                    <bitfield caption="Port F USART1" mask="0x20" name="USART1"/>
                    <bitfield caption="Port F USART0" mask="0x10" name="USART0"/>
                    <bitfield caption="Port F SPI" mask="0x08" name="SPI"/>
                    <bitfield caption="Port F AWEX" mask="0x04" name="HIRES"/>
                    <bitfield caption="Port F Timer/Counter1" mask="0x02" name="TC1"/>
                    <bitfield caption="Port F Timer/Counter0" mask="0x01" name="TC0"/>
                </register>
            </register-group>
            <value-group caption="System Clock Selection" name="CLK_SCLKSEL">
                <value caption="Internal 2MHz RC Oscillator" name="RC2M" value="0x00"/>
                <value caption="Internal 32MHz RC Oscillator" name="RC32M" value="0x01"/>
                <value caption="Internal 32kHz RC Oscillator" name="RC32K" value="0x02"/>
                <value caption="External Crystal Oscillator or Clock" name="XOSC" value="0x03"/>
                <value caption="Phase Locked Loop" name="PLL" value="0x04"/>
            </value-group>
            <value-group caption="Prescaler A Division Factor" name="CLK_PSADIV">
                <value caption="Divide by 1" name="1" value="0x00"/>
                <value caption="Divide by 2" name="2" value="0x01"/>
                <value caption="Divide by 4" name="4" value="0x03"/>
                <value caption="Divide by 8" name="8" value="0x05"/>
                <value caption="Divide by 16" name="16" value="0x07"/>
                <value caption="Divide by 32" name="32" value="0x09"/>
                <value caption="Divide by 64" name="64" value="0x0B"/>
                <value caption="Divide by 128" name="128" value="0x0D"/>
                <value caption="Divide by 256" name="256" value="0x0F"/>
                <value caption="Divide by 512" name="512" value="0x11"/>
            </value-group>
            <value-group caption="Prescaler B and C Division Factor" name="CLK_PSBCDIV">
                <value caption="Divide B by 1 and C by 1" name="1_1" value="0x00"/>
                <value caption="Divide B by 1 and C by 2" name="1_2" value="0x01"/>
                <value caption="Divide B by 4 and C by 1" name="4_1" value="0x02"/>
                <value caption="Divide B by 2 and C by 2" name="2_2" value="0x03"/>
            </value-group>
            <value-group caption="RTC Clock Source" name="CLK_RTCSRC">
                <value caption="1kHz from internal 32kHz ULP" name="ULP" value="0x00"/>
                <value caption="1kHz from 32kHz crystal oscillator on TOSC" name="TOSC" value="0x01"/>
                <value caption="1kHz from internal 32kHz RC oscillator" name="RCOSC" value="0x02"/>
                <value caption="32kHz from 32kHz crystal oscillator on TOSC" name="TOSC32" value="0x05"/>
            </value-group>
        </module>
        <module name="SLEEP" id="I6081" caption="Sleep Controller">
            <register-group caption="Sleep Controller" name="SLEEP" size="1">
                <register caption="Control Register" name="CTRL" offset="0x00" size="1">
                    <bitfield caption="Sleep Mode" mask="0x0E" name="SMODE" values="SLEEP_SMODE"/>
                    <bitfield caption="Sleep Enable" mask="0x01" name="SEN"/>
                </register>
            </register-group>
            <value-group caption="Sleep Mode" name="SLEEP_SMODE">
                <value caption="Idle mode" name="IDLE" value="0x00"/>
                <value caption="Power-down Mode" name="PDOWN" value="0x02"/>
                <value caption="Power-save Mode" name="PSAVE" value="0x03"/>
                <value caption="Standby Mode" name="STDBY" value="0x06"/>
                <value caption="Extended Standby Mode" name="ESTDBY" value="0x07"/>
            </value-group>
        </module>
        <module name="OSC" id="I6079" caption="Oscillator">
            <register-group caption="Oscillator" name="OSC" size="7">
                <register caption="Control Register" name="CTRL" offset="0x00" size="1">
                    <bitfield caption="PLL Enable" mask="0x10" name="PLLEN"/>
                    <bitfield caption="External Oscillator Enable" mask="0x08" name="XOSCEN"/>
                    <bitfield caption="Internal 32kHz RC Oscillator Enable" mask="0x04" name="RC32KEN"/>
                    <bitfield caption="Internal 32MHz RC Oscillator Enable" mask="0x02" name="RC32MEN"/>
                    <bitfield caption="Internal 2MHz RC Oscillator Enable" mask="0x01" name="RC2MEN"/>
                </register>
                <register caption="Status Register" name="STATUS" offset="0x01" size="1">
                    <bitfield caption="PLL Ready" mask="0x10" name="PLLRDY"/>
                    <bitfield caption="External Oscillator Ready" mask="0x08" name="XOSCRDY"/>
                    <bitfield caption="Internal 32kHz RC Oscillator Ready" mask="0x04" name="RC32KRDY"/>
                    <bitfield caption="Internal 32MHz RC Oscillator Ready" mask="0x02" name="RC32MRDY"/>
                    <bitfield caption="Internal 2MHz RC Oscillator Ready" mask="0x01" name="RC2MRDY"/>
                </register>
                <register caption="External Oscillator Control Register" name="XOSCCTRL" offset="0x02" size="1">
                    <bitfield caption="Frequency Range" mask="0xC0" name="FRQRANGE" values="OSC_FRQRANGE"/>
                    <bitfield caption="32kHz XTAL OSC Low-power Mode" mask="0x20" name="X32KLPM"/>
                    <bitfield caption="External Oscillator Selection and Startup Time" mask="0x0F" name="XOSCSEL"
                              values="OSC_XOSCSEL"/>
                </register>
                <register caption="External Oscillator Failure Detection Register" name="XOSCFAIL" offset="0x03"
                          size="1">
                    <bitfield caption="Failure Detection Interrupt Flag" mask="0x02" name="XOSCFDIF"/>
                    <bitfield caption="Failure Detection Enable" mask="0x01" name="XOSCFDEN"/>
                </register>
                <register caption="32kHz Internal Oscillator Calibration Register" name="RC32KCAL" offset="0x04"
                          size="1"/>
                <register caption="PLL Control REgister" name="PLLCTRL" offset="0x05" size="1">
                    <bitfield caption="Clock Source" mask="0xC0" name="PLLSRC" values="OSC_PLLSRC"/>
                    <bitfield caption="Multiplication Factor" mask="0x1F" name="PLLFAC"/>
                </register>
                <register caption="DFLL Control Register" name="DFLLCTRL" offset="0x06" size="1">
                    <bitfield caption="32MHz Calibration Reference" mask="0x02" name="RC32MCREF"/>
                    <bitfield caption="2MHz Calibration Reference" mask="0x01" name="RC2MCREF"/>
                </register>
            </register-group>
            <value-group caption="Oscillator Frequency Range" name="OSC_FRQRANGE">
                <value caption="0.4 - 2 MHz" name="04TO2" value="0x00"/>
                <value caption="2 - 9 MHz" name="2TO9" value="0x01"/>
                <value caption="9 - 12 MHz" name="9TO12" value="0x02"/>
                <value caption="12 - 16 MHz" name="12TO16" value="0x03"/>
            </value-group>
            <value-group caption="External Oscillator Selection and Startup Time" name="OSC_XOSCSEL">
                <value caption="External Clock - 6 CLK" name="EXTCLK" value="0x00"/>
                <value caption="32kHz TOSC - 32K CLK" name="32KHz" value="0x02"/>
                <value caption="0.4-16MHz XTAL - 256 CLK" name="XTAL_256CLK" value="0x03"/>
                <value caption="0.4-16MHz XTAL - 1K CLK" name="XTAL_1KCLK" value="0x07"/>
                <value caption="0.4-16MHz XTAL - 16K CLK" name="XTAL_16KCLK" value="0x0B"/>
            </value-group>
            <value-group caption="PLL Clock Source" name="OSC_PLLSRC">
                <value caption="Internal 2MHz RC Oscillator" name="RC2M" value="0x00"/>
                <value caption="Internal 32MHz RC Oscillator" name="RC32M" value="0x02"/>
                <value caption="External Oscillator" name="XOSC" value="0x03"/>
            </value-group>
            <interrupt-group name="OSC">
                <interrupt index="0" name="OSCF" caption="External Oscillator Failure Interrupt (NMI)"/>
            </interrupt-group>
        </module>
        <module name="DFLL" id="I6055" caption="DFLL">
            <register-group caption="DFLL" name="DFLL" size="8">
                <register caption="Control Register" name="CTRL" offset="0x00" size="1">
                    <bitfield caption="DFLL Enable" mask="0x01" name="ENABLE"/>
                </register>
                <register caption="Calibration Register A" name="CALA" offset="0x02" size="1">
                    <bitfield caption="DFLL Calibration bits [6:0]" mask="0x7F" name="CALL"/>
                </register>
                <register caption="Calibration Register B" name="CALB" offset="0x03" size="1">
                    <bitfield caption="DFLL Calibration bits [12:7]" mask="0x3F" name="CALH"/>
                </register>
                <register caption="Oscillator Compare Register 0" name="COMP0" offset="0x04" size="1"/>
                <register caption="Oscillator Compare Register 1" name="COMP1" offset="0x05" size="1"/>
                <register caption="Oscillator Compare Register 2" name="COMP2" offset="0x06" size="1"/>
            </register-group>
        </module>
        <module name="RST" id="I6083" caption="Reset">
            <register-group caption="Reset" name="RST" size="2">
                <register caption="Status Register" name="STATUS" offset="0x00" size="1">
                    <bitfield caption="Spike Detection Reset Flag" mask="0x40" name="SDRF"/>
                    <bitfield caption="Software Reset Flag" mask="0x20" name="SRF"/>
                    <bitfield caption="Programming and Debug Interface Interface Reset Flag" mask="0x10" name="PDIRF"/>
                    <bitfield caption="Watchdog Reset Flag" mask="0x08" name="WDRF"/>
                    <bitfield caption="Brown-out Reset Flag" mask="0x04" name="BORF"/>
                    <bitfield caption="External Reset Flag" mask="0x02" name="EXTRF"/>
                    <bitfield caption="Power-on Reset Flag" mask="0x01" name="PORF"/>
                </register>
                <register caption="Control Register" name="CTRL" offset="0x01" size="1">
                    <bitfield caption="Software Reset" mask="0x01" name="SWRST"/>
                </register>
            </register-group>
        </module>
        <module name="WDT" id="I6078" caption="Watch-Dog Timer">
            <register-group caption="Watch-Dog Timer" name="WDT" size="3">
                <register caption="Control" name="CTRL" offset="0x00" size="1">
                    <bitfield caption="Period" mask="0x3C" name="PER" values="WDT_PER"/>
                    <bitfield caption="Enable" mask="0x02" name="ENABLE"/>
                    <bitfield caption="Change Enable" mask="0x01" name="CEN"/>
                </register>
                <register caption="Windowed Mode Control" name="WINCTRL" offset="0x01" size="1">
                    <bitfield caption="Windowed Mode Period" mask="0x3C" name="WPER" values="WDT_WPER"/>
                    <bitfield caption="Windowed Mode Enable" mask="0x02" name="WEN"/>
                    <bitfield caption="Windowed Mode Change Enable" mask="0x01" name="WCEN"/>
                </register>
                <register caption="Status" name="STATUS" offset="0x02" size="1">
                    <bitfield caption="Syncronization busy" mask="0x01" name="SYNCBUSY"/>
                </register>
            </register-group>
            <value-group caption="Period setting" name="WDT_PER">
                <value caption="8 cycles (8ms @ 3.3V)" name="8CLK" value="0x00"/>
                <value caption="16 cycles (16ms @ 3.3V)" name="16CLK" value="0x01"/>
                <value caption="32 cycles (32ms @ 3.3V)" name="32CLK" value="0x02"/>
                <value caption="64 cycles (64ms @ 3.3V)" name="64CLK" value="0x03"/>
                <value caption="128 cycles (0.128s @ 3.3V)" name="128CLK" value="0x04"/>
                <value caption="256 cycles (0.256s @ 3.3V)" name="256CLK" value="0x05"/>
                <value caption="512 cycles (0.512s @ 3.3V)" name="512CLK" value="0x06"/>
                <value caption="1K cycles (1s @ 3.3V)" name="1KCLK" value="0x07"/>
                <value caption="2K cycles (2s @ 3.3V)" name="2KCLK" value="0x08"/>
                <value caption="4K cycles (4s @ 3.3V)" name="4KCLK" value="0x09"/>
                <value caption="8K cycles (8s @ 3.3V)" name="8KCLK" value="0x0A"/>
            </value-group>
            <value-group caption="Closed window period" name="WDT_WPER">
                <value caption="8 cycles (8ms @ 3.3V)" name="8CLK" value="0x00"/>
                <value caption="16 cycles (16ms @ 3.3V)" name="16CLK" value="0x01"/>
                <value caption="32 cycles (32ms @ 3.3V)" name="32CLK" value="0x02"/>
                <value caption="64 cycles (64ms @ 3.3V)" name="64CLK" value="0x03"/>
                <value caption="128 cycles (0.128s @ 3.3V)" name="128CLK" value="0x04"/>
                <value caption="256 cycles (0.256s @ 3.3V)" name="256CLK" value="0x05"/>
                <value caption="512 cycles (0.512s @ 3.3V)" name="512CLK" value="0x06"/>
                <value caption="1K cycles (1s @ 3.3V)" name="1KCLK" value="0x07"/>
                <value caption="2K cycles (2s @ 3.3V)" name="2KCLK" value="0x08"/>
                <value caption="4K cycles (4s @ 3.3V)" name="4KCLK" value="0x09"/>
                <value caption="8K cycles (8s @ 3.3V)" name="8KCLK" value="0x0A"/>
            </value-group>
        </module>
        <module name="MCU" id="I6091" caption="MCU Control">
            <register-group caption="MCU Control" name="MCU" size="12">
                <register caption="Device ID byte 0" name="DEVID0" offset="0x00" size="1"/>
                <register caption="Device ID byte 1" name="DEVID1" offset="0x01" size="1"/>
                <register caption="Device ID byte 2" name="DEVID2" offset="0x02" size="1"/>
                <register caption="Revision ID" name="REVID" offset="0x03" size="1"/>
                <register caption="JTAG User ID" name="JTAGUID" offset="0x04" size="1"/>
                <register caption="MCU Control" name="MCUCR" offset="0x06" size="1">
                    <bitfield caption="JTAG Disable" mask="0x01" name="JTAGD"/>
                </register>
                <register caption="Event System Lock" name="EVSYSLOCK" offset="0x08" size="1">
                    <bitfield caption="Event Channel 4-7 Lock" mask="0x10" name="EVSYS1LOCK"/>
                    <bitfield caption="Event Channel 0-3 Lock" mask="0x01" name="EVSYS0LOCK"/>
                </register>
                <register caption="AWEX Lock" name="AWEXLOCK" offset="0x09" size="1">
                    <bitfield caption="AWeX on T/C E0 Lock" mask="0x04" name="AWEXELOCK"/>
                    <bitfield caption="AWeX on T/C C0 Lock" mask="0x01" name="AWEXCLOCK"/>
                </register>
            </register-group>
        </module>
        <module name="PMIC"
                caption="Programmable Multi-level Interrupt Controller" id="I6057">
            <register-group name="PMIC" caption="Programmable Multi-level Interrupt Controller" size="16">
                <register name="STATUS" caption="Status Register" size="1" offset="0x00">
                    <bitfield name="NMIEX" caption="Non-maskable Interrupt Executing" mask="0x80"/>
                    <bitfield name="HILVLEX" caption="High Level Interrupt Executing" mask="0x04"/>
                    <bitfield name="MEDLVLEX" caption="Medium Level Interrupt Executing" mask="0x02"/>
                    <bitfield name="LOLVLEX" caption="Low Level Interrupt Executing" mask="0x01"/>
                </register>
                <register name="INTPRI" caption="Interrupt Priority" size="1" offset="0x01">
                    <bitfield name="INTPRI" caption="Interrupt Priority" mask="0xFF"/>
                </register>
                <register name="CTRL" caption="Control Register" size="1" offset="0x02">
                    <bitfield name="RREN" caption="Round-Robin Priority Enable" mask="0x80"/>
                    <bitfield name="IVSEL" caption="Interrupt Vector Select" mask="0x40"/>
                    <bitfield name="HILVLEN" caption="High Level Enable" mask="0x04"/>
                    <bitfield name="MEDLVLEN" caption="Medium Level Enable" mask="0x02"/>
                    <bitfield name="LOLVLEN" caption="Low Level Enable" mask="0x01"/>
                </register>
            </register-group>
        </module>
        <module name="DMA" id="I3000" caption="DMA Controller">
            <register-group caption="DMA Channel" name="DMA_CH" size="16">
                <register caption="Channel Control" name="CTRLA" offset="0x00" size="1">
                    <bitfield caption="Channel Enable" mask="0x80" name="ENABLE"/>
                    <bitfield caption="Channel Software Reset" mask="0x40" name="RESET"/>
                    <bitfield caption="Channel Repeat Mode" mask="0x20" name="REPEAT"/>
                    <bitfield caption="Channel Transfer Request" mask="0x10" name="TRFREQ"/>
                    <bitfield caption="Channel Single Shot Data Transfer" mask="0x04" name="SINGLE"/>
                    <bitfield caption="Channel Transfer Mode" mask="0x03" name="BURSTLEN" values="DMA_CH_BURSTLEN"/>
                </register>
                <register caption="Channel Control" name="CTRLB" offset="0x01" size="1">
                    <bitfield caption="Block Transfer Busy" mask="0x80" name="CHBUSY"/>
                    <bitfield caption="Block Transfer Pending" mask="0x40" name="CHPEND"/>
                    <bitfield caption="Block Transfer Error Interrupt Flag" mask="0x20" name="ERRIF"/>
                    <bitfield caption="Transaction Complete Interrupt Flag" mask="0x10" name="TRNIF"/>
                    <bitfield caption="Transfer Error Interrupt Level" mask="0x0C" name="ERRINTLVL"
                              values="DMA_CH_ERRINTLVL"/>
                    <bitfield caption="Transaction Complete Interrupt Level" mask="0x03" name="TRNINTLVL"
                              values="DMA_CH_TRNINTLVL"/>
                </register>
                <register caption="Address Control" name="ADDRCTRL" offset="0x02" size="1">
                    <bitfield caption="Channel Source Address Reload" mask="0xC0" name="SRCRELOAD"
                              values="DMA_CH_SRCRELOAD"/>
                    <bitfield caption="Channel Source Address Mode" mask="0x30" name="SRCDIR" values="DMA_CH_SRCDIR"/>
                    <bitfield caption="Channel Destination Address Reload" mask="0x0C" name="DESTRELOAD"
                              values="DMA_CH_DESTRELOAD"/>
                    <bitfield caption="Channel Destination Address Mode" mask="0x03" name="DESTDIR"
                              values="DMA_CH_DESTDIR"/>
                </register>
                <register caption="Channel Trigger Source" name="TRIGSRC" offset="0x03" size="1">
                    <bitfield caption="Channel Trigger Source" mask="0xFF" name="TRIGSRC" values="DMA_CH_TRIGSRC"/>
                </register>
                <register caption="Channel Block Transfer Count" name="TRFCNT" offset="0x04" size="2"/>
                <register caption="Channel Repeat Count" name="REPCNT" offset="0x06" size="1"/>
                <register caption="Channel Source Address 0" name="SRCADDR0" offset="0x08" size="1"/>
                <register caption="Channel Source Address 1" name="SRCADDR1" offset="0x09" size="1"/>
                <register caption="Channel Source Address 2" name="SRCADDR2" offset="0x0A" size="1"/>
                <register caption="Channel Destination Address 0" name="DESTADDR0" offset="0x0C" size="1"/>
                <register caption="Channel Destination Address 1" name="DESTADDR1" offset="0x0D" size="1"/>
                <register caption="Channel Destination Address 2" name="DESTADDR2" offset="0x0E" size="1"/>
            </register-group>
            <register-group caption="DMA Controller" name="DMA" size="80">
                <register caption="Control" name="CTRL" offset="0x00" size="1">
                    <bitfield caption="Enable" mask="0x80" name="ENABLE"/>
                    <bitfield caption="Software Reset" mask="0x40" name="RESET"/>
                    <bitfield caption="Double Buffering Mode" mask="0x0C" name="DBUFMODE" values="DMA_DBUFMODE"/>
                    <bitfield caption="Channel Priority Mode" mask="0x03" name="PRIMODE" values="DMA_PRIMODE"/>
                </register>
                <register caption="Transfer Interrupt Status" name="INTFLAGS" offset="0x03" size="1">
                    <bitfield caption="Channel 3 Block Transfer Error Interrupt Flag" mask="0x80" name="CH3ERRIF"/>
                    <bitfield caption="Channel 2 Block Transfer Error Interrupt Flag" mask="0x40" name="CH2ERRIF"/>
                    <bitfield caption="Channel 1 Block Transfer Error Interrupt Flag" mask="0x20" name="CH1ERRIF"/>
                    <bitfield caption="Channel 0 Block Transfer Error Interrupt Flag" mask="0x10" name="CH0ERRIF"/>
                    <bitfield caption="Channel 3 Transaction Complete Interrupt Flag" mask="0x08" name="CH3TRNIF"/>
                    <bitfield caption="Channel 2 Transaction Complete Interrupt Flag" mask="0x04" name="CH2TRNIF"/>
                    <bitfield caption="Channel 1 Transaction Complete Interrupt Flag" mask="0x02" name="CH1TRNIF"/>
                    <bitfield caption="Channel 0 Transaction Complete Interrupt Flag" mask="0x01" name="CH0TRNIF"/>
                </register>
                <register caption="Status" name="STATUS" offset="0x04" size="1">
                    <bitfield caption="Channel 3 Block Transfer Busy" mask="0x80" name="CH3BUSY"/>
                    <bitfield caption="Channel 2 Block Transfer Busy" mask="0x40" name="CH2BUSY"/>
                    <bitfield caption="Channel 1 Block Transfer Busy" mask="0x20" name="CH1BUSY"/>
                    <bitfield caption="Channel 0 Block Transfer Busy" mask="0x10" name="CH0BUSY"/>
                    <bitfield caption="Channel 3 Block Transfer Pending" mask="0x08" name="CH3PEND"/>
                    <bitfield caption="Channel 2 Block Transfer Pending" mask="0x04" name="CH2PEND"/>
                    <bitfield caption="Channel 1 Block Transfer Pending" mask="0x02" name="CH1PEND"/>
                    <bitfield caption="Channel 0 Block Transfer Pending" mask="0x01" name="CH0PEND"/>
                </register>
                <register caption="Temporary Register For 16/24-bit Access" name="TEMP" offset="0x06" size="2"/>
                <register-group caption="DMA Channel 0" name="CH0" offset="0x10" name-in-module="DMA_CH"/>
                <register-group caption="DMA Channel 1" name="CH1" offset="0x20" name-in-module="DMA_CH"/>
                <register-group caption="DMA Channel 2" name="CH2" offset="0x30" name-in-module="DMA_CH"/>
                <register-group caption="DMA Channel 3" name="CH3" offset="0x40" name-in-module="DMA_CH"/>
            </register-group>
            <value-group caption="Burst mode" name="DMA_CH_BURSTLEN">
                <value caption="1-byte burst mode" name="1BYTE" value="0x00"/>
                <value caption="2-byte burst mode" name="2BYTE" value="0x01"/>
                <value caption="4-byte burst mode" name="4BYTE" value="0x02"/>
                <value caption="8-byte burst mode" name="8BYTE" value="0x03"/>
            </value-group>
            <value-group caption="Source address reload mode" name="DMA_CH_SRCRELOAD">
                <value caption="No reload" name="NONE" value="0x00"/>
                <value caption="Reload at end of block" name="BLOCK" value="0x01"/>
                <value caption="Reload at end of burst" name="BURST" value="0x02"/>
                <value caption="Reload at end of transaction" name="TRANSACTION" value="0x03"/>
            </value-group>
            <value-group caption="Source addressing mode" name="DMA_CH_SRCDIR">
                <value caption="Fixed" name="FIXED" value="0x00"/>
                <value caption="Increment" name="INC" value="0x01"/>
                <value caption="Decrement" name="DEC" value="0x02"/>
            </value-group>
            <value-group caption="Destination address reload mode" name="DMA_CH_DESTRELOAD">
                <value caption="No reload" name="NONE" value="0x00"/>
                <value caption="Reload at end of block" name="BLOCK" value="0x01"/>
                <value caption="Reload at end of burst" name="BURST" value="0x02"/>
                <value caption="Reload at end of transaction" name="TRANSACTION" value="0x03"/>
            </value-group>
            <value-group caption="Destination addressing mode" name="DMA_CH_DESTDIR">
                <value caption="Fixed" name="FIXED" value="0x00"/>
                <value caption="Increment" name="INC" value="0x01"/>
                <value caption="Decrement" name="DEC" value="0x02"/>
            </value-group>
            <value-group caption="Transfer trigger source" name="DMA_CH_TRIGSRC">
                <value caption="Off software triggers only" name="OFF" value="0x00"/>
                <value caption="Event System Channel 0" name="EVSYS_CH0" value="0x01"/>
                <value caption="Event System Channel 1" name="EVSYS_CH1" value="0x02"/>
                <value caption="Event System Channel 2" name="EVSYS_CH2" value="0x03"/>
                <value caption="ADCA Channel 0" name="ADCA_CH0" value="0x10"/>
                <value caption="ADCA Channel 1" name="ADCA_CH1" value="0x11"/>
                <value caption="ADCA Channel 2" name="ADCA_CH2" value="0x12"/>
                <value caption="ADCA Channel 3" name="ADCA_CH3" value="0x13"/>
                <value caption="ADCA Channel 0,1,2,3 combined" name="ADCA_CH4" value="0x14"/>
                <value caption="DACA Channel 0" name="DACA_CH0" value="0x15"/>
                <value caption="DACA Channel 1" name="DACA_CH1" value="0x16"/>
                <value caption="ADCB Channel 0" name="ADCB_CH0" value="0x20"/>
                <value caption="ADCB Channel 1" name="ADCB_CH1" value="0x21"/>
                <value caption="ADCB Channel 2" name="ADCB_CH2" value="0x22"/>
                <value caption="ADCB Channel 3" name="ADCB_CH3" value="0x23"/>
                <value caption="ADCB Channel 0,1,2,3 combined" name="ADCB_CH4" value="0x24"/>
                <value caption="DACB Channel 0" name="DACB_CH0" value="0x25"/>
                <value caption="DACB Channel 1" name="DACB_CH1" value="0x26"/>
                <value caption="Timer/Counter C0 Overflow" name="TCC0_OVF" value="0x40"/>
                <value caption="Timer/Counter C0 Error" name="TCC0_ERR" value="0x41"/>
                <value caption="Timer/Counter C0 Compare or Capture A" name="TCC0_CCA" value="0x42"/>
                <value caption="Timer/Counter C0 Compare or Capture B" name="TCC0_CCB" value="0x43"/>
                <value caption="Timer/Counter C0 Compare or Capture C" name="TCC0_CCC" value="0x44"/>
                <value caption="Timer/Counter C0 Compare or Capture D" name="TCC0_CCD" value="0x45"/>
                <value caption="Timer/Counter C1 Overflow" name="TCC1_OVF" value="0x46"/>
                <value caption="Timer/Counter C1 Error" name="TCC1_ERR" value="0x47"/>
                <value caption="Timer/Counter C1 Compare or Capture A" name="TCC1_CCA" value="0x48"/>
                <value caption="Timer/Counter C1 Compare or Capture B" name="TCC1_CCB" value="0x49"/>
                <value caption="SPI C Transfer Complete" name="SPIC" value="0x4A"/>
                <value caption="USART C0 Receive Complete" name="USARTC0_RXC" value="0x4B"/>
                <value caption="USART C0 Data Register Empty" name="USARTC0_DRE" value="0x4C"/>
                <value caption="USART C1 Receive Complete" name="USARTC1_RXC" value="0x4E"/>
                <value caption="USART C1 Data Register Empty" name="USARTC1_DRE" value="0x4F"/>
                <value caption="Timer/Counter D0 Overflow" name="TCD0_OVF" value="0x60"/>
                <value caption="Timer/Counter D0 Error" name="TCD0_ERR" value="0x61"/>
                <value caption="Timer/Counter D0 Compare or Capture A" name="TCD0_CCA" value="0x62"/>
                <value caption="Timer/Counter D0 Compare or Capture B" name="TCD0_CCB" value="0x63"/>
                <value caption="Timer/Counter D0 Compare or Capture C" name="TCD0_CCC" value="0x64"/>
                <value caption="Timer/Counter D0 Compare or Capture D" name="TCD0_CCD" value="0x65"/>
                <value caption="Timer/Counter D1 Overflow" name="TCD1_OVF" value="0x66"/>
                <value caption="Timer/Counter D1 Error" name="TCD1_ERR" value="0x67"/>
                <value caption="Timer/Counter D1 Compare or Capture A" name="TCD1_CCA" value="0x68"/>
                <value caption="Timer/Counter D1 Compare or Capture B" name="TCD1_CCB" value="0x69"/>
                <value caption="SPI D Transfer Complete" name="SPID" value="0x6A"/>
                <value caption="USART D0 Receive Complete" name="USARTD0_RXC" value="0x6B"/>
                <value caption="USART D0 Data Register Empty" name="USARTD0_DRE" value="0x6C"/>
                <value caption="USART D1 Receive Complete" name="USARTD1_RXC" value="0x6E"/>
                <value caption="USART D1 Data Register Empty" name="USARTD1_DRE" value="0x6F"/>
                <value caption="Timer/Counter E0 Overflow" name="TCE0_OVF" value="0x80"/>
                <value caption="Timer/Counter E0 Error" name="TCE0_ERR" value="0x81"/>
                <value caption="Timer/Counter E0 Compare or Capture A" name="TCE0_CCA" value="0x82"/>
                <value caption="Timer/Counter E0 Compare or Capture B" name="TCE0_CCB" value="0x83"/>
                <value caption="Timer/Counter E0 Compare or Capture C" name="TCE0_CCC" value="0x84"/>
                <value caption="Timer/Counter E0 Compare or Capture D" name="TCE0_CCD" value="0x85"/>
                <value caption="Timer/Counter E1 Overflow" name="TCE1_OVF" value="0x86"/>
                <value caption="Timer/Counter E1 Error" name="TCE1_ERR" value="0x87"/>
                <value caption="Timer/Counter E1 Compare or Capture A" name="TCE1_CCA" value="0x88"/>
                <value caption="Timer/Counter E1 Compare or Capture B" name="TCE1_CCB" value="0x89"/>
                <value caption="SPI E Transfer Complete" name="SPIE" value="0x8A"/>
                <value caption="USART E0 Receive Complete" name="USARTE0_RXC" value="0x8B"/>
                <value caption="USART E0 Data Register Empty" name="USARTE0_DRE" value="0x8C"/>
                <value caption="USART E1 Receive Complete" name="USARTE1_RXC" value="0x8E"/>
                <value caption="USART E1 Data Register Empty" name="USARTE1_DRE" value="0x8F"/>
                <value caption="Timer/Counter F0 Overflow" name="TCF0_OVF" value="0xA0"/>
                <value caption="Timer/Counter F0 Error" name="TCF0_ERR" value="0xA1"/>
                <value caption="Timer/Counter F0 Compare or Capture A" name="TCF0_CCA" value="0xA2"/>
                <value caption="Timer/Counter F0 Compare or Capture B" name="TCF0_CCB" value="0xA3"/>
                <value caption="Timer/Counter F0 Compare or Capture C" name="TCF0_CCC" value="0xA4"/>
                <value caption="Timer/Counter F0 Compare or Capture D" name="TCF0_CCD" value="0xA5"/>
                <value caption="Timer/Counter F1 Overflow" name="TCF1_OVF" value="0xA6"/>
                <value caption="Timer/Counter F1 Error" name="TCF1_ERR" value="0xA7"/>
                <value caption="Timer/Counter F1 Compare or Capture A" name="TCF1_CCA" value="0xA8"/>
                <value caption="Timer/Counter F1 Compare or Capture B" name="TCF1_CCB" value="0xA9"/>
                <value caption="SPI F Transfer Complete" name="SPIF" value="0xAA"/>
                <value caption="USART F0 Receive Complete" name="USARTF0_RXC" value="0xAB"/>
                <value caption="USART F0 Data Register Empty" name="USARTF0_DRE" value="0xAC"/>
                <value caption="USART F1 Receive Complete" name="USARTF1_RXC" value="0xAE"/>
                <value caption="USART F1 Data Register Empty" name="USARTF1_DRE" value="0xAF"/>
            </value-group>
            <value-group caption="Double buffering mode" name="DMA_DBUFMODE">
                <value caption="Double buffering disabled" name="DISABLED" value="0x00"/>
                <value caption="Double buffering enabled on channel 0/1" name="CH01" value="0x01"/>
                <value caption="Double buffering enabled on channel 2/3" name="CH23" value="0x02"/>
                <value caption="Double buffering enabled on ch. 0/1 and ch. 2/3" name="CH01CH23" value="0x03"/>
            </value-group>
            <value-group caption="Priority mode" name="DMA_PRIMODE">
                <value caption="Round Robin" name="RR0123" value="0x00"/>
                <value caption="Channel 0 &gt; Round Robin on channel 1/2/3" name="CH0RR123" value="0x01"/>
                <value caption="Channel 0 &gt; channel 1 &gt; Round Robin on channel 2/3" name="CH01RR23" value="0x02"/>
                <value caption="Channel 0 &gt; channel 1 &gt; channel 2 &gt; channel 3" name="CH0123" value="0x03"/>
            </value-group>
            <value-group caption="Interrupt level" name="DMA_CH_ERRINTLVL">
                <value caption="Interrupt disabled" name="OFF" value="0x00"/>
                <value caption="Low level" name="LO" value="0x01"/>
                <value caption="Medium level" name="MED" value="0x02"/>
                <value caption="High level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Interrupt level" name="DMA_CH_TRNINTLVL">
                <value caption="Interrupt disabled" name="OFF" value="0x00"/>
                <value caption="Low level" name="LO" value="0x01"/>
                <value caption="Medium level" name="MED" value="0x02"/>
                <value caption="High level" name="HI" value="0x03"/>
            </value-group>
            <interrupt-group name="DMA">
                <interrupt index="0" name="CH0" caption="Channel 0 Interrupt"/>
                <interrupt index="1" name="CH1" caption="Channel 1 Interrupt"/>
                <interrupt index="2" name="CH2" caption="Channel 2 Interrupt"/>
                <interrupt index="3" name="CH3" caption="Channel 3 Interrupt"/>
            </interrupt-group>
        </module>
        <module name="EVSYS" id="I6061" caption="Event System">
            <register-group caption="Event System" name="EVSYS" size="18">
                <register caption="Event Channel 0 Multiplexer" name="CH0MUX" offset="0x00" size="1">
                    <bitfield caption="Event Channel 0 Multiplexer" mask="0xFF" name="CHMUX" values="EVSYS_CHMUX"/>
                </register>
                <register caption="Event Channel 1 Multiplexer" name="CH1MUX" offset="0x01" size="1">
                    <bitfield caption="Event Channel 1 Multiplexer" mask="0xFF" name="CHMUX" values="EVSYS_CHMUX"/>
                </register>
                <register caption="Event Channel 2 Multiplexer" name="CH2MUX" offset="0x02" size="1">
                    <bitfield caption="Event Channel 2 Multiplexer" mask="0xFF" name="CHMUX" values="EVSYS_CHMUX"/>
                </register>
                <register caption="Event Channel 3 Multiplexer" name="CH3MUX" offset="0x03" size="1">
                    <bitfield caption="Event Channel 3 Multiplexer" mask="0xFF" name="CHMUX" values="EVSYS_CHMUX"/>
                </register>
                <register caption="Event Channel 4 Multiplexer" name="CH4MUX" offset="0x04" size="1">
                    <bitfield caption="Event Channel 4 Multiplexer" mask="0xFF" name="CHMUX" values="EVSYS_CHMUX"/>
                </register>
                <register caption="Event Channel 5 Multiplexer" name="CH5MUX" offset="0x05" size="1">
                    <bitfield caption="Event Channel 5 Multiplexer" mask="0xFF" name="CHMUX" values="EVSYS_CHMUX"/>
                </register>
                <register caption="Event Channel 6 Multiplexer" name="CH6MUX" offset="0x06" size="1">
                    <bitfield caption="Event Channel 6 Multiplexer" mask="0xFF" name="CHMUX" values="EVSYS_CHMUX"/>
                </register>
                <register caption="Event Channel 7 Multiplexer" name="CH7MUX" offset="0x07" size="1">
                    <bitfield caption="Event Channel 7 Multiplexer" mask="0xFF" name="CHMUX" values="EVSYS_CHMUX"/>
                </register>
                <register caption="Channel 0 Control Register" name="CH0CTRL" offset="0x08" size="1">
                    <bitfield caption="Quadrature Decoder Index Recognition Mode" mask="0x60" name="QDIRM"/>
                    <bitfield caption="Quadrature Decoder Index Enable" mask="0x10" name="QDIEN"/>
                    <bitfield caption="Quadrature Decoder Enable" mask="0x08" name="QDEN"/>
                    <bitfield caption="Digital Filter" mask="0x07" name="DIGFILT" values="EVSYS_DIGFILT"/>
                </register>
                <register caption="Channel 1 Control Register" name="CH1CTRL" offset="0x09" size="1">
                    <bitfield caption="Digital Filter" mask="0x07" name="DIGFILT" values="EVSYS_DIGFILT"/>
                </register>
                <register caption="Channel 2 Control Register" name="CH2CTRL" offset="0x0A" size="1">
                    <bitfield caption="Quadrature Decoder Index Recognition Mode" mask="0x60" name="QDIRM"
                              values="EVSYS_QDIRM"/>
                    <bitfield caption="Quadrature Decoder Index Enable" mask="0x10" name="QDIEN"/>
                    <bitfield caption="Quadrature Decoder Enable" mask="0x08" name="QDEN"/>
                    <bitfield caption="Digital Filter" mask="0x07" name="DIGFILT" values="EVSYS_DIGFILT"/>
                </register>
                <register caption="Channel 3 Control Register" name="CH3CTRL" offset="0x0B" size="1">
                    <bitfield caption="Digital Filter" mask="0x07" name="DIGFILT" values="EVSYS_DIGFILT"/>
                </register>
                <register caption="Channel 4 Control Register" name="CH4CTRL" offset="0x0C" size="1">
                    <bitfield caption="Quadrature Decoder Index Recognition Mode" mask="0x60" name="QDIRM"
                              values="EVSYS_QDIRM"/>
                    <bitfield caption="Quadrature Decoder Index Enable" mask="0x10" name="QDIEN"/>
                    <bitfield caption="Quadrature Decoder Enable" mask="0x08" name="QDEN"/>
                    <bitfield caption="Digital Filter" mask="0x07" name="DIGFILT" values="EVSYS_DIGFILT"/>
                </register>
                <register caption="Channel 5 Control Register" name="CH5CTRL" offset="0x0D" size="1">
                    <bitfield caption="Digital Filter" mask="0x07" name="DIGFILT" values="EVSYS_DIGFILT"/>
                </register>
                <register caption="Channel 6 Control Register" name="CH6CTRL" offset="0x0E" size="1">
                    <bitfield caption="Digital Filter" mask="0x07" name="DIGFILT" values="EVSYS_DIGFILT"/>
                </register>
                <register caption="Channel 7 Control Register" name="CH7CTRL" offset="0x0F" size="1">
                    <bitfield caption="Digital Filter" mask="0x07" name="DIGFILT" values="EVSYS_DIGFILT"/>
                </register>
                <register caption="Event Strobe" name="STROBE" offset="0x10" size="1"/>
                <register caption="Event Data" name="DATA" offset="0x11" size="1"/>
            </register-group>
            <value-group caption="Quadrature Decoder Index Recognition Mode" name="EVSYS_QDIRM">
                <value caption="QDPH0 = 0, QDPH90 = 0" name="00" value="0x00"/>
                <value caption="QDPH0 = 0, QDPH90 = 1" name="01" value="0x01"/>
                <value caption="QDPH0 = 1, QDPH90 = 0" name="10" value="0x02"/>
                <value caption="QDPH0 = 1, QDPH90 = 1" name="11" value="0x03"/>
            </value-group>
            <value-group caption="Digital filter coefficient" name="EVSYS_DIGFILT">
                <value caption="1 SAMPLE" name="1SAMPLE" value="0x00"/>
                <value caption="2 SAMPLES" name="2SAMPLES" value="0x01"/>
                <value caption="3 SAMPLES" name="3SAMPLES" value="0x02"/>
                <value caption="4 SAMPLES" name="4SAMPLES" value="0x03"/>
                <value caption="5 SAMPLES" name="5SAMPLES" value="0x04"/>
                <value caption="6 SAMPLES" name="6SAMPLES" value="0x05"/>
                <value caption="7 SAMPLES" name="7SAMPLES" value="0x06"/>
                <value caption="8 SAMPLES" name="8SAMPLES" value="0x07"/>
            </value-group>
            <value-group caption="Event Channel multiplexer input selection" name="EVSYS_CHMUX">
                <value caption="Off" name="OFF" value="0x00"/>
                <value caption="RTC Overflow" name="RTC_OVF" value="0x08"/>
                <value caption="RTC Compare Match" name="RTC_CMP" value="0x09"/>
                <value caption="Analog Comparator A Channel 0" name="ACA_CH0" value="0x10"/>
                <value caption="Analog Comparator A Channel 1" name="ACA_CH1" value="0x11"/>
                <value caption="Analog Comparator A Window" name="ACA_WIN" value="0x12"/>
                <value caption="Analog Comparator B Channel 0" name="ACB_CH0" value="0x13"/>
                <value caption="Analog Comparator B Channel 1" name="ACB_CH1" value="0x14"/>
                <value caption="Analog Comparator B Window" name="ACB_WIN" value="0x15"/>
                <value caption="ADC A Channel 0" name="ADCA_CH0" value="0x20"/>
                <value caption="ADC A Channel 1" name="ADCA_CH1" value="0x21"/>
                <value caption="ADC A Channel 2" name="ADCA_CH2" value="0x22"/>
                <value caption="ADC A Channel 3" name="ADCA_CH3" value="0x23"/>
                <value caption="ADC B Channel 0" name="ADCB_CH0" value="0x24"/>
                <value caption="ADC B Channel 1" name="ADCB_CH1" value="0x25"/>
                <value caption="ADC B Channel 2" name="ADCB_CH2" value="0x26"/>
                <value caption="ADC B Channel 3" name="ADCB_CH3" value="0x27"/>
                <value caption="Port A, Pin0" name="PORTA_PIN0" value="0x50"/>
                <value caption="Port A, Pin1" name="PORTA_PIN1" value="0x51"/>
                <value caption="Port A, Pin2" name="PORTA_PIN2" value="0x52"/>
                <value caption="Port A, Pin3" name="PORTA_PIN3" value="0x53"/>
                <value caption="Port A, Pin4" name="PORTA_PIN4" value="0x54"/>
                <value caption="Port A, Pin5" name="PORTA_PIN5" value="0x55"/>
                <value caption="Port A, Pin6" name="PORTA_PIN6" value="0x56"/>
                <value caption="Port A, Pin7" name="PORTA_PIN7" value="0x57"/>
                <value caption="Port B, Pin0" name="PORTB_PIN0" value="0x58"/>
                <value caption="Port B, Pin1" name="PORTB_PIN1" value="0x59"/>
                <value caption="Port B, Pin2" name="PORTB_PIN2" value="0x5A"/>
                <value caption="Port B, Pin3" name="PORTB_PIN3" value="0x5B"/>
                <value caption="Port B, Pin4" name="PORTB_PIN4" value="0x5C"/>
                <value caption="Port B, Pin5" name="PORTB_PIN5" value="0x5D"/>
                <value caption="Port B, Pin6" name="PORTB_PIN6" value="0x5E"/>
                <value caption="Port B, Pin7" name="PORTB_PIN7" value="0x5F"/>
                <value caption="Port C, Pin0" name="PORTC_PIN0" value="0x60"/>
                <value caption="Port C, Pin1" name="PORTC_PIN1" value="0x61"/>
                <value caption="Port C, Pin2" name="PORTC_PIN2" value="0x62"/>
                <value caption="Port C, Pin3" name="PORTC_PIN3" value="0x63"/>
                <value caption="Port C, Pin4" name="PORTC_PIN4" value="0x64"/>
                <value caption="Port C, Pin5" name="PORTC_PIN5" value="0x65"/>
                <value caption="Port C, Pin6" name="PORTC_PIN6" value="0x66"/>
                <value caption="Port C, Pin7" name="PORTC_PIN7" value="0x67"/>
                <value caption="Port D, Pin0" name="PORTD_PIN0" value="0x68"/>
                <value caption="Port D, Pin1" name="PORTD_PIN1" value="0x69"/>
                <value caption="Port D, Pin2" name="PORTD_PIN2" value="0x6A"/>
                <value caption="Port D, Pin3" name="PORTD_PIN3" value="0x6B"/>
                <value caption="Port D, Pin4" name="PORTD_PIN4" value="0x6C"/>
                <value caption="Port D, Pin5" name="PORTD_PIN5" value="0x6D"/>
                <value caption="Port D, Pin6" name="PORTD_PIN6" value="0x6E"/>
                <value caption="Port D, Pin7" name="PORTD_PIN7" value="0x6F"/>
                <value caption="Port E, Pin0" name="PORTE_PIN0" value="0x70"/>
                <value caption="Port E, Pin1" name="PORTE_PIN1" value="0x71"/>
                <value caption="Port E, Pin2" name="PORTE_PIN2" value="0x72"/>
                <value caption="Port E, Pin3" name="PORTE_PIN3" value="0x73"/>
                <value caption="Port E, Pin4" name="PORTE_PIN4" value="0x74"/>
                <value caption="Port E, Pin5" name="PORTE_PIN5" value="0x75"/>
                <value caption="Port E, Pin6" name="PORTE_PIN6" value="0x76"/>
                <value caption="Port E, Pin7" name="PORTE_PIN7" value="0x77"/>
                <value caption="Port F, Pin0" name="PORTF_PIN0" value="0x78"/>
                <value caption="Port F, Pin1" name="PORTF_PIN1" value="0x79"/>
                <value caption="Port F, Pin2" name="PORTF_PIN2" value="0x7A"/>
                <value caption="Port F, Pin3" name="PORTF_PIN3" value="0x7B"/>
                <value caption="Port F, Pin4" name="PORTF_PIN4" value="0x7C"/>
                <value caption="Port F, Pin5" name="PORTF_PIN5" value="0x7D"/>
                <value caption="Port F, Pin6" name="PORTF_PIN6" value="0x7E"/>
                <value caption="Port F, Pin7" name="PORTF_PIN7" value="0x7F"/>
                <value caption="Prescaler, divide by 1" name="PRESCALER_1" value="0x80"/>
                <value caption="Prescaler, divide by 2" name="PRESCALER_2" value="0x81"/>
                <value caption="Prescaler, divide by 4" name="PRESCALER_4" value="0x82"/>
                <value caption="Prescaler, divide by 8" name="PRESCALER_8" value="0x83"/>
                <value caption="Prescaler, divide by 16" name="PRESCALER_16" value="0x84"/>
                <value caption="Prescaler, divide by 32" name="PRESCALER_32" value="0x85"/>
                <value caption="Prescaler, divide by 64" name="PRESCALER_64" value="0x86"/>
                <value caption="Prescaler, divide by 128" name="PRESCALER_128" value="0x87"/>
                <value caption="Prescaler, divide by 256" name="PRESCALER_256" value="0x88"/>
                <value caption="Prescaler, divide by 512" name="PRESCALER_512" value="0x89"/>
                <value caption="Prescaler, divide by 1024" name="PRESCALER_1024" value="0x8A"/>
                <value caption="Prescaler, divide by 2048" name="PRESCALER_2048" value="0x8B"/>
                <value caption="Prescaler, divide by 4096" name="PRESCALER_4096" value="0x8C"/>
                <value caption="Prescaler, divide by 8192" name="PRESCALER_8192" value="0x8D"/>
                <value caption="Prescaler, divide by 16384" name="PRESCALER_16384" value="0x8E"/>
                <value caption="Prescaler, divide by 32768" name="PRESCALER_32768" value="0x8F"/>
                <value caption="Timer/Counter C0 Overflow" name="TCC0_OVF" value="0xC0"/>
                <value caption="Timer/Counter C0 Error" name="TCC0_ERR" value="0xC1"/>
                <value caption="Timer/Counter C0 Compare or Capture A" name="TCC0_CCA" value="0xC4"/>
                <value caption="Timer/Counter C0 Compare or Capture B" name="TCC0_CCB" value="0xC5"/>
                <value caption="Timer/Counter C0 Compare or Capture C" name="TCC0_CCC" value="0xC6"/>
                <value caption="Timer/Counter C0 Compare or Capture D" name="TCC0_CCD" value="0xC7"/>
                <value caption="Timer/Counter C1 Overflow" name="TCC1_OVF" value="0xC8"/>
                <value caption="Timer/Counter C1 Error" name="TCC1_ERR" value="0xC9"/>
                <value caption="Timer/Counter C1 Compare or Capture A" name="TCC1_CCA" value="0xCC"/>
                <value caption="Timer/Counter C1 Compare or Capture B" name="TCC1_CCB" value="0xCD"/>
                <value caption="Timer/Counter D0 Overflow" name="TCD0_OVF" value="0xD0"/>
                <value caption="Timer/Counter D0 Error" name="TCD0_ERR" value="0xD1"/>
                <value caption="Timer/Counter D0 Compare or Capture A" name="TCD0_CCA" value="0xD4"/>
                <value caption="Timer/Counter D0 Compare or Capture B" name="TCD0_CCB" value="0xD5"/>
                <value caption="Timer/Counter D0 Compare or Capture C" name="TCD0_CCC" value="0xD6"/>
                <value caption="Timer/Counter D0 Compare or Capture D" name="TCD0_CCD" value="0xD7"/>
                <value caption="Timer/Counter D1 Overflow" name="TCD1_OVF" value="0xD8"/>
                <value caption="Timer/Counter D1 Error" name="TCD1_ERR" value="0xD9"/>
                <value caption="Timer/Counter D1 Compare or Capture A" name="TCD1_CCA" value="0xDC"/>
                <value caption="Timer/Counter D1 Compare or Capture B" name="TCD1_CCB" value="0xDD"/>
                <value caption="Timer/Counter E0 Overflow" name="TCE0_OVF" value="0xE0"/>
                <value caption="Timer/Counter E0 Error" name="TCE0_ERR" value="0xE1"/>
                <value caption="Timer/Counter E0 Compare or Capture A" name="TCE0_CCA" value="0xE4"/>
                <value caption="Timer/Counter E0 Compare or Capture B" name="TCE0_CCB" value="0xE5"/>
                <value caption="Timer/Counter E0 Compare or Capture C" name="TCE0_CCC" value="0xE6"/>
                <value caption="Timer/Counter E0 Compare or Capture D" name="TCE0_CCD" value="0xE7"/>
                <value caption="Timer/Counter E1 Overflow" name="TCE1_OVF" value="0xE8"/>
                <value caption="Timer/Counter E1 Error" name="TCE1_ERR" value="0xE9"/>
                <value caption="Timer/Counter E1 Compare or Capture A" name="TCE1_CCA" value="0xEC"/>
                <value caption="Timer/Counter E1 Compare or Capture B" name="TCE1_CCB" value="0xED"/>
                <value caption="Timer/Counter F0 Overflow" name="TCF0_OVF" value="0xF0"/>
                <value caption="Timer/Counter F0 Error" name="TCF0_ERR" value="0xF1"/>
                <value caption="Timer/Counter F0 Compare or Capture A" name="TCF0_CCA" value="0xF4"/>
                <value caption="Timer/Counter F0 Compare or Capture B" name="TCF0_CCB" value="0xF5"/>
                <value caption="Timer/Counter F0 Compare or Capture C" name="TCF0_CCC" value="0xF6"/>
                <value caption="Timer/Counter F0 Compare or Capture D" name="TCF0_CCD" value="0xF7"/>
                <value caption="Timer/Counter F1 Overflow" name="TCF1_OVF" value="0xF8"/>
                <value caption="Timer/Counter F1 Error" name="TCF1_ERR" value="0xF9"/>
                <value caption="Timer/Counter F1 Compare or Capture A" name="TCF1_CCA" value="0xFC"/>
                <value caption="Timer/Counter F1 Compare or Capture B" name="TCF1_CCB" value="0xFD"/>
            </value-group>
        </module>
        <module name="NVM" id="I6076" caption="Non Volatile Memory Controller">
            <register-group caption="Non-volatile Memory Controller" name="NVM" size="17">
                <register caption="Address Register 0" name="ADDR0" offset="0x00" size="1"/>
                <register caption="Address Register 1" name="ADDR1" offset="0x01" size="1"/>
                <register caption="Address Register 2" name="ADDR2" offset="0x02" size="1"/>
                <register caption="Data Register 0" name="DATA0" offset="0x04" size="1"/>
                <register caption="Data Register 1" name="DATA1" offset="0x05" size="1"/>
                <register caption="Data Register 2" name="DATA2" offset="0x06" size="1"/>
                <register caption="Command" name="CMD" offset="0x0A" size="1">
                    <bitfield caption="Command" mask="0x7F" name="CMD" values="NVM_CMD"/>
                </register>
                <register caption="Control Register A" name="CTRLA" offset="0x0B" size="1">
                    <bitfield caption="Command Execute" mask="0x01" name="CMDEX"/>
                </register>
                <register caption="Control Register B" name="CTRLB" offset="0x0C" size="1">
                    <bitfield caption="EEPROM Mapping Enable" mask="0x08" name="EEMAPEN"/>
                    <bitfield caption="Flash Power Reduction Enable" mask="0x04" name="FPRM"/>
                    <bitfield caption="EEPROM Power Reduction Enable" mask="0x02" name="EPRM"/>
                    <bitfield caption="SPM Lock" mask="0x01" name="SPMLOCK"/>
                </register>
                <register caption="Interrupt Control" name="INTCTRL" offset="0x0D" size="1">
                    <bitfield caption="SPM Interrupt Level" mask="0x0C" name="SPMLVL" values="NVM_SPMLVL"/>
                    <bitfield caption="EEPROM Interrupt Level" mask="0x03" name="EELVL" values="NVM_EELVL"/>
                </register>
                <register caption="Status" name="STATUS" offset="0x0F" size="1">
                    <bitfield caption="Non-volatile Memory Busy" mask="0x80" name="NVMBUSY"/>
                    <bitfield caption="Flash Memory Busy" mask="0x40" name="FBUSY"/>
                    <bitfield caption="EEPROM Page Buffer Active Loading" mask="0x02" name="EELOAD"/>
                    <bitfield caption="Flash Page Buffer Active Loading" mask="0x01" name="FLOAD"/>
                </register>
                <register caption="Lock Bits" name="LOCKBITS" offset="0x10" size="1">
                    <bitfield caption="Boot Lock Bits - Boot Section" mask="0xC0" name="BLBB" values="NVM_BLBB"/>
                    <bitfield caption="Boot Lock Bits - Application Section" mask="0x30" name="BLBA" values="NVM_BLBA"/>
                    <bitfield caption="Boot Lock Bits - Application Table" mask="0x0C" name="BLBAT" values="NVM_BLBAT"/>
                    <bitfield caption="Lock Bits" mask="0x03" name="LB" values="NVM_LB"/>
                </register>
            </register-group>
            <register-group caption="Lock Bits" name="NVM_LOCKBITS" size="1">
                <register caption="Lock Bits" name="LOCKBITS" offset="0x00" size="1" initval="0xFF">
                    <bitfield caption="Boot Lock Bits - Boot Section" mask="0xC0" name="BLBB" values="NVM_BLBB"/>
                    <bitfield caption="Boot Lock Bits - Application Section" mask="0x30" name="BLBA" values="NVM_BLBA"/>
                    <bitfield caption="Boot Lock Bits - Application Table" mask="0x0C" name="BLBAT" values="NVM_BLBAT"/>
                    <bitfield caption="Lock Bits" mask="0x03" name="LB" values="NVM_LB"/>
                </register>
            </register-group>
            <register-group caption="Fuses" name="NVM_FUSES" size="6">
                <register caption="JTAG User ID" name="FUSEBYTE0" offset="0x00" size="1" initval="0xFF">
                    <bitfield caption="JTAG User ID" mask="0xFF" name="JTAGUSERID"/>
                </register>
                <register caption="Watchdog Configuration" name="FUSEBYTE1" offset="0x01" size="1" initval="0x00">
                    <bitfield caption="Watchdog Window Timeout Period" mask="0xF0" name="WDWPER" values="WDWPER"/>
                    <bitfield caption="Watchdog Timeout Period" mask="0x0F" name="WDPER" values="WDPER"/>
                </register>
                <register caption="Reset Configuration" name="FUSEBYTE2" offset="0x02" size="1" initval="0xFF">
                    <bitfield caption="Boot Loader Section Reset Vector" mask="0x40" name="BOOTRST" values="BOOTRST"/>
                    <bitfield caption="BOD Operation in Power-Down Mode" mask="0x03" name="BODPD" values="BODPD"/>
                </register>
                <register caption="Start-up Configuration" name="FUSEBYTE4" offset="0x04" size="1" initval="0xFE">
                    <bitfield caption="External Reset Disable" mask="0x10" name="RSTDISBL"/>
                    <bitfield caption="Start-up Time" mask="0x0C" name="STARTUPTIME" values="SUT"/>
                    <bitfield caption="Watchdog Timer Lock" mask="0x02" name="WDLOCK"/>
                    <bitfield caption="JTAG Interface Enable" mask="0x01" name="JTAGEN"/>
                </register>
                <register caption="EESAVE and BOD Level" name="FUSEBYTE5" offset="0x05" size="1" initval="0xFF">
                    <bitfield caption="BOD Operation in Active Mode" mask="0x30" name="BODACT" values="BODACT"/>
                    <bitfield caption="Preserve EEPROM Through Chip Erase" mask="0x08" name="EESAVE"/>
                    <bitfield caption="Brownout Detection Voltage Level" mask="0x07" name="BODLEVEL" values="BODLVL"/>
                </register>
            </register-group>
            <register-group caption="Production Signatures" name="NVM_PROD_SIGNATURES" size="63">
                <register caption="RCOSC 2MHz Calibration Value" name="RCOSC2M" offset="0x00" size="1"/>
                <register caption="RCOSC 32kHz Calibration Value" name="RCOSC32K" offset="0x02" size="1"/>
                <register caption="RCOSC 32MHz Calibration Value" name="RCOSC32M" offset="0x03" size="1"/>
                <register caption="Lot Number Byte 0, ASCII" name="LOTNUM0" offset="0x08" size="1"/>
                <register caption="Lot Number Byte 1, ASCII" name="LOTNUM1" offset="0x09" size="1"/>
                <register caption="Lot Number Byte 2, ASCII" name="LOTNUM2" offset="0x0A" size="1"/>
                <register caption="Lot Number Byte 3, ASCII" name="LOTNUM3" offset="0x0B" size="1"/>
                <register caption="Lot Number Byte 4, ASCII" name="LOTNUM4" offset="0x0C" size="1"/>
                <register caption="Lot Number Byte 5, ASCII" name="LOTNUM5" offset="0x0D" size="1"/>
                <register caption="Wafer Number" name="WAFNUM" offset="0x10" size="1"/>
                <register caption="Wafer Coordinate X Byte 0" name="COORDX0" offset="0x12" size="1"/>
                <register caption="Wafer Coordinate X Byte 1" name="COORDX1" offset="0x13" size="1"/>
                <register caption="Wafer Coordinate Y Byte 0" name="COORDY0" offset="0x14" size="1"/>
                <register caption="Wafer Coordinate Y Byte 1" name="COORDY1" offset="0x15" size="1"/>
                <register caption="ADCA Calibration Byte 0" name="ADCACAL0" offset="0x20" size="1"/>
                <register caption="ADCA Calibration Byte 1" name="ADCACAL1" offset="0x21" size="1"/>
                <register caption="ADCB Calibration Byte 0" name="ADCBCAL0" offset="0x24" size="1"/>
                <register caption="ADCB Calibration Byte 1" name="ADCBCAL1" offset="0x25" size="1"/>
                <register caption="Temperature Sensor Calibration Byte 0" name="TEMPSENSE0" offset="0x2E" size="1"/>
                <register caption="Temperature Sensor Calibration Byte 0" name="TEMPSENSE1" offset="0x2F" size="1"/>
                <register caption="DACA Calibration Byte 0" name="DACAOFFCAL" offset="0x30" size="1"/>
                <register caption="DACA Calibration Byte 1" name="DACAGAINCAL" offset="0x31" size="1"/>
                <register caption="DACB Calibration Byte 0" name="DACBOFFCAL" offset="0x32" size="1"/>
                <register caption="DACB Calibration Byte 1" name="DACBGAINCAL" offset="0x33" size="1"/>
            </register-group>
            <value-group caption="NVM Command" name="NVM_CMD">
                <value caption="Noop/Ordinary LPM" name="NO_OPERATION" value="0x00"/>
                <value caption="Read calibration row" name="READ_CALIB_ROW" value="0x02"/>
                <value caption="Read user signature row" name="READ_USER_SIG_ROW" value="0x01"/>
                <value caption="Read EEPROM" name="READ_EEPROM" value="0x06"/>
                <value caption="Read fuse byte" name="READ_FUSES" value="0x07"/>
                <value caption="Write lock bits" name="WRITE_LOCK_BITS" value="0x08"/>
                <value caption="Erase user signature row" name="ERASE_USER_SIG_ROW" value="0x18"/>
                <value caption="Write user signature row" name="WRITE_USER_SIG_ROW" value="0x1A"/>
                <value caption="Erase Application Section" name="ERASE_APP" value="0x20"/>
                <value caption="Erase Application Section page" name="ERASE_APP_PAGE" value="0x22"/>
                <value caption="Load Flash page buffer" name="LOAD_FLASH_BUFFER" value="0x23"/>
                <value caption="Write Application Section page" name="WRITE_APP_PAGE" value="0x24"/>
                <value caption="Erase-and-write Application Section page" name="ERASE_WRITE_APP_PAGE" value="0x25"/>
                <value caption="Erase/flush Flash page buffer" name="ERASE_FLASH_BUFFER" value="0x26"/>
                <value caption="Erase Boot Section page" name="ERASE_BOOT_PAGE" value="0x2A"/>
                <value caption="Erase Flash Page" name="ERASE_FLASH_PAGE" value="0x2B"/>
                <value caption="Write Boot Section page" name="WRITE_BOOT_PAGE" value="0x2C"/>
                <value caption="Erase-and-write Boot Section page" name="ERASE_WRITE_BOOT_PAGE" value="0x2D"/>
                <value caption="Write Flash Page" name="WRITE_FLASH_PAGE" value="0x2E"/>
                <value caption="Erase-and-write Flash Page" name="ERASE_WRITE_FLASH_PAGE" value="0x2F"/>
                <value caption="Erase EEPROM" name="ERASE_EEPROM" value="0x30"/>
                <value caption="Erase EEPROM page" name="ERASE_EEPROM_PAGE" value="0x32"/>
                <value caption="Load EEPROM page buffer" name="LOAD_EEPROM_BUFFER" value="0x33"/>
                <value caption="Write EEPROM page" name="WRITE_EEPROM_PAGE" value="0x34"/>
                <value caption="Erase-and-write EEPROM page" name="ERASE_WRITE_EEPROM_PAGE" value="0x35"/>
                <value caption="Erase/flush EEPROM page buffer" name="ERASE_EEPROM_BUFFER" value="0x36"/>
                <value caption="Generate Application section CRC" name="APP_CRC" value="0x38"/>
                <value caption="Generate Boot Section CRC" name="BOOT_CRC" value="0x39"/>
                <value caption="Erase Chip" name="CHIP_ERASE" value="0x40"/>
                <value caption="Read NVM" name="READ_NVM" value="0x43"/>
                <value caption="Write Fuse byte" name="WRITE_FUSE" value="0x4C"/>
                <value caption="Erase Boot Section" name="ERASE_BOOT" value="0x68"/>
                <value caption="Generate Flash Range CRC" name="FLASH_RANGE_CRC" value="0x78"/>
            </value-group>
            <value-group caption="SPM ready interrupt level" name="NVM_SPMLVL">
                <value caption="Interrupt disabled" name="OFF" value="0x00"/>
                <value caption="Low level" name="LO" value="0x01"/>
                <value caption="Medium level" name="MED" value="0x02"/>
                <value caption="High level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="EEPROM ready interrupt level" name="NVM_EELVL">
                <value caption="Interrupt disabled" name="OFF" value="0x00"/>
                <value caption="Low level" name="LO" value="0x01"/>
                <value caption="Medium level" name="MED" value="0x02"/>
                <value caption="High level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Boot lock bits - boot section" name="NVM_BLBB">
                <value caption="No locks" name="NOLOCK" value="0x03"/>
                <value caption="Write not allowed" name="WLOCK" value="0x02"/>
                <value caption="Read not allowed" name="RLOCK" value="0x01"/>
                <value caption="Read and write not allowed" name="RWLOCK" value="0x00"/>
            </value-group>
            <value-group caption="Boot lock bits - application section" name="NVM_BLBA">
                <value caption="No locks" name="NOLOCK" value="0x03"/>
                <value caption="Write not allowed" name="WLOCK" value="0x02"/>
                <value caption="Read not allowed" name="RLOCK" value="0x01"/>
                <value caption="Read and write not allowed" name="RWLOCK" value="0x00"/>
            </value-group>
            <value-group caption="Boot lock bits - application table section" name="NVM_BLBAT">
                <value caption="No locks" name="NOLOCK" value="0x03"/>
                <value caption="Write not allowed" name="WLOCK" value="0x02"/>
                <value caption="Read not allowed" name="RLOCK" value="0x01"/>
                <value caption="Read and write not allowed" name="RWLOCK" value="0x00"/>
            </value-group>
            <value-group caption="Lock bits" name="NVM_LB">
                <value caption="No locks" name="NOLOCK" value="0x03"/>
                <value caption="Write not allowed" name="WLOCK" value="0x02"/>
                <value caption="Read and write not allowed" name="RWLOCK" value="0x00"/>
            </value-group>
            <value-group caption="Boot Loader Section Reset Vector" name="BOOTRST">
                <value caption="Boot Loader Reset" name="BOOTLDR" value="0x00"/>
                <value caption="Application Reset" name="APPLICATION" value="0x01"/>
            </value-group>
            <value-group caption="BOD operation" name="BODPD">
                <value caption="BOD enabled in sampled mode" name="INSAMPLEDMODE" value="0x01"/>
                <value caption="BOD enabled continuously" name="CONTINOUSLY" value="0x02"/>
                <value caption="BOD Disabled" name="DISABLED" value="0x03"/>
            </value-group>
            <value-group caption="BOD operation" name="BODACT">
                <value caption="BOD enabled in sampled mode" name="INSAMPLEDMODE" value="0x01"/>
                <value caption="BOD enabled continuously" name="CONTINOUSLY" value="0x02"/>
                <value caption="BOD Disabled" name="DISABLED" value="0x03"/>
            </value-group>
            <value-group caption="Watchdog (Window) Timeout Period" name="WDWPER">
                <value caption="8 cycles (8ms @ 3.3V)" name="8CLK" value="0x00"/>
                <value caption="16 cycles (16ms @ 3.3V)" name="16CLK" value="0x01"/>
                <value caption="32 cycles (32ms @ 3.3V)" name="32CLK" value="0x02"/>
                <value caption="64 cycles (64ms @ 3.3V)" name="64CLK" value="0x03"/>
                <value caption="128 cycles (0.125s @ 3.3V)" name="128CLK" value="0x04"/>
                <value caption="256 cycles (0.25s @ 3.3V)" name="256CLK" value="0x05"/>
                <value caption="512 cycles (0.5s @ 3.3V)" name="512CLK" value="0x06"/>
                <value caption="1K cycles (1s @ 3.3V)" name="1KCLK" value="0x07"/>
                <value caption="2K cycles (2s @ 3.3V)" name="2KCLK" value="0x08"/>
                <value caption="4K cycles (4s @ 3.3V)" name="4KCLK" value="0x09"/>
                <value caption="8K cycles (8s @ 3.3V)" name="8KCLK" value="0x0A"/>
            </value-group>
            <value-group caption="Watchdog (Window) Timeout Period" name="WDPER">
                <value caption="8 cycles (8ms @ 3.3V)" name="8CLK" value="0x00"/>
                <value caption="16 cycles (16ms @ 3.3V)" name="16CLK" value="0x01"/>
                <value caption="32 cycles (32ms @ 3.3V)" name="32CLK" value="0x02"/>
                <value caption="64 cycles (64ms @ 3.3V)" name="64CLK" value="0x03"/>
                <value caption="128 cycles (0.125s @ 3.3V)" name="128CLK" value="0x04"/>
                <value caption="256 cycles (0.25s @ 3.3V)" name="256CLK" value="0x05"/>
                <value caption="512 cycles (0.5s @ 3.3V)" name="512CLK" value="0x06"/>
                <value caption="1K cycles (1s @ 3.3V)" name="1KCLK" value="0x07"/>
                <value caption="2K cycles (2s @ 3.3V)" name="2KCLK" value="0x08"/>
                <value caption="4K cycles (4s @ 3.3V)" name="4KCLK" value="0x09"/>
                <value caption="8K cycles (8s @ 3.3V)" name="8KCLK" value="0x0A"/>
            </value-group>
            <value-group caption="Start-up Time" name="SUT">
                <value caption="0 ms" name="0MS" value="0x03"/>
                <value caption="4 ms" name="4MS" value="0x01"/>
                <value caption="64 ms" name="64MS" value="0x00"/>
            </value-group>
            <value-group caption="Brownout Detection Voltage Level" name="BODLVL">
                <value caption="1.6 V" name="1V6" value="0x07"/>
                <value caption="1.9 V" name="1V9" value="0x06"/>
                <value caption="2.1 V" name="2V1" value="0x05"/>
                <value caption="2.4 V" name="2V4" value="0x04"/>
                <value caption="2.6 V" name="2V6" value="0x03"/>
                <value caption="2.9 V" name="2V9" value="0x02"/>
                <value caption="3.2 V" name="3V2" value="0x01"/>
                <value caption="3.4 V" name="3V4" value="0x00"/>
            </value-group>
            <interrupt-group name="NVM">
                <interrupt index="0" name="EE" caption="EE Interrupt"/>
                <interrupt index="1" name="SPM" caption="SPM Interrupt"/>
            </interrupt-group>
        </module>
        <module name="AC" id="I6077" caption="Analog Comparator">
            <register-group caption="Analog Comparator" name="AC" size="8">
                <register caption="Analog Comparator 0 Control" name="AC0CTRL" offset="0x00" size="1">
                    <bitfield caption="Interrupt Mode" mask="0xC0" name="INTMODE" values="AC_INTMODE"/>
                    <bitfield caption="Interrupt Level" mask="0x30" name="INTLVL" values="AC_INTLVL"/>
                    <bitfield caption="High-speed Mode" mask="0x08" name="HSMODE"/>
                    <bitfield caption="Hysteresis Mode" mask="0x06" name="HYSMODE" values="AC_HYSMODE"/>
                    <bitfield caption="Enable" mask="0x01" name="ENABLE"/>
                </register>
                <register caption="Analog Comparator 1 Control" name="AC1CTRL" offset="0x01" size="1">
                    <bitfield caption="Interrupt Mode" mask="0xC0" name="INTMODE" values="AC_INTMODE"/>
                    <bitfield caption="Interrupt Level" mask="0x30" name="INTLVL" values="AC_INTLVL"/>
                    <bitfield caption="High-speed Mode" mask="0x08" name="HSMODE"/>
                    <bitfield caption="Hysteresis Mode" mask="0x06" name="HYSMODE" values="AC_HYSMODE"/>
                    <bitfield caption="Enable" mask="0x01" name="ENABLE"/>
                </register>
                <register caption="Analog Comparator 0 MUX Control" name="AC0MUXCTRL" offset="0x02" size="1">
                    <bitfield caption="MUX Positive Input" mask="0x38" name="MUXPOS" values="AC_MUXPOS"/>
                    <bitfield caption="MUX Negative Input" mask="0x07" name="MUXNEG" values="AC_MUXNEG"/>
                </register>
                <register caption="Analog Comparator 1 MUX Control" name="AC1MUXCTRL" offset="0x03" size="1">
                    <bitfield caption="MUX Positive Input" mask="0x38" name="MUXPOS" values="AC_MUXPOS"/>
                    <bitfield caption="MUX Negative Input" mask="0x07" name="MUXNEG" values="AC_MUXNEG"/>
                </register>
                <register caption="Control Register A" name="CTRLA" offset="0x04" size="1">
                    <bitfield caption="Analog Comparator 0 Output Enable" mask="0x01" name="AC0OUT"/>
                </register>
                <register caption="Control Register B" name="CTRLB" offset="0x05" size="1">
                    <bitfield caption="VCC Voltage Scaler Factor" mask="0x3F" name="SCALEFAC"/>
                </register>
                <register caption="Window Mode Control" name="WINCTRL" offset="0x06" size="1">
                    <bitfield caption="Window Mode Enable" mask="0x10" name="WEN"/>
                    <bitfield caption="Window Interrupt Mode" mask="0x0C" name="WINTMODE" values="AC_WINTMODE"/>
                    <bitfield caption="Window Interrupt Level" mask="0x03" name="WINTLVL" values="AC_WINTLVL"/>
                </register>
                <register caption="Status" name="STATUS" offset="0x07" size="1">
                    <bitfield caption="Window Mode State" mask="0xC0" name="WSTATE" values="AC_WSTATE"/>
                    <bitfield caption="Analog Comparator 1 State" mask="0x20" name="AC1STATE"/>
                    <bitfield caption="Analog Comparator 0 State" mask="0x10" name="AC0STATE"/>
                    <bitfield caption="Window Mode Interrupt Flag" mask="0x04" name="WIF"/>
                    <bitfield caption="Analog Comparator 1 Interrupt Flag" mask="0x02" name="AC1IF"/>
                    <bitfield caption="Analog Comparator 0 Interrupt Flag" mask="0x01" name="AC0IF"/>
                </register>
            </register-group>
            <value-group caption="Interrupt mode" name="AC_INTMODE">
                <value caption="Interrupt on both edges" name="BOTHEDGES" value="0x00"/>
                <value caption="Interrupt on falling edge" name="FALLING" value="0x02"/>
                <value caption="Interrupt on rising edge" name="RISING" value="0x03"/>
            </value-group>
            <value-group caption="Interrupt level" name="AC_INTLVL">
                <value caption="Interrupt disabled" name="OFF" value="0x00"/>
                <value caption="Low level" name="LO" value="0x01"/>
                <value caption="Medium level" name="MED" value="0x02"/>
                <value caption="High level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Hysteresis mode selection" name="AC_HYSMODE">
                <value caption="No hysteresis" name="NO" value="0x00"/>
                <value caption="Small hysteresis" name="SMALL" value="0x01"/>
                <value caption="Large hysteresis" name="LARGE" value="0x02"/>
            </value-group>
            <value-group caption="Positive input multiplexer selection" name="AC_MUXPOS">
                <value caption="Pin 0" name="PIN0" value="0x00"/>
                <value caption="Pin 1" name="PIN1" value="0x01"/>
                <value caption="Pin 2" name="PIN2" value="0x02"/>
                <value caption="Pin 3" name="PIN3" value="0x03"/>
                <value caption="Pin 4" name="PIN4" value="0x04"/>
                <value caption="Pin 5" name="PIN5" value="0x05"/>
                <value caption="Pin 6" name="PIN6" value="0x06"/>
                <value caption="DAC output" name="DAC" value="0x07"/>
            </value-group>
            <value-group caption="Negative input multiplexer selection" name="AC_MUXNEG">
                <value caption="Pin 0" name="PIN0" value="0x00"/>
                <value caption="Pin 1" name="PIN1" value="0x01"/>
                <value caption="Pin 3" name="PIN3" value="0x02"/>
                <value caption="Pin 5" name="PIN5" value="0x03"/>
                <value caption="Pin 7" name="PIN7" value="0x04"/>
                <value caption="DAC output" name="DAC" value="0x05"/>
                <value caption="Bandgap Reference" name="BANDGAP" value="0x06"/>
                <value caption="Internal voltage scaler" name="SCALER" value="0x07"/>
            </value-group>
            <value-group caption="Windows interrupt mode" name="AC_WINTMODE">
                <value caption="Interrupt on above window" name="ABOVE" value="0x00"/>
                <value caption="Interrupt on inside window" name="INSIDE" value="0x01"/>
                <value caption="Interrupt on below window" name="BELOW" value="0x02"/>
                <value caption="Interrupt on outside window" name="OUTSIDE" value="0x03"/>
            </value-group>
            <value-group caption="Window interrupt level" name="AC_WINTLVL">
                <value caption="Interrupt disabled" name="OFF" value="0x00"/>
                <value caption="Low priority" name="LO" value="0x01"/>
                <value caption="Medium priority" name="MED" value="0x02"/>
                <value caption="High priority" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Window mode state" name="AC_WSTATE">
                <value caption="Signal above window" name="ABOVE" value="0x00"/>
                <value caption="Signal inside window" name="INSIDE" value="0x01"/>
                <value caption="Signal below window" name="BELOW" value="0x02"/>
            </value-group>
            <interrupt-group name="AC">
                <interrupt index="0" name="AC0" caption="AC0 Interrupt"/>
                <interrupt index="1" name="AC1" caption="AC1 Interrupt"/>
                <interrupt index="2" name="ACW" caption="ACW Window Mode Interrupt"/>
            </interrupt-group>
        </module>
        <module name="ADC" id="I6064" caption="Analog/Digital Converter">
            <register-group caption="ADC Channel" name="ADC_CH" size="8">
                <register caption="Control Register" name="CTRL" offset="0x00" size="1">
                    <bitfield caption="Channel Start Conversion" mask="0x80" name="START"/>
                    <bitfield caption="Gain Factor" mask="0x1C" name="GAINFAC" values="ADC_CH_GAIN"/>
                    <bitfield caption="Input Mode Select" mask="0x03" name="INPUTMODE" values="ADC_CH_INPUTMODE"/>
                </register>
                <register caption="MUX Control" name="MUXCTRL" offset="0x01" size="1">
                    <bitfield caption="Positive Input Select" mask="0x78" name="MUXPOS" values="ADC_CH_MUXPOS"/>
                    <bitfield caption="Internal Input Select" mask="0x78" name="MUXINT" values="ADC_CH_MUXINT"/>
                    <bitfield caption="Negative Input Select" mask="0x03" name="MUXNEG" values="ADC_CH_MUXNEG"/>
                    <bitfield caption="MUX selection on Negative ADC Input Gain on 4 LSB pins" mask="0x03"
                              name="MUXNEGL" values="ADC_CH_MUXNEGL"/>
                    <bitfield caption="MUX selection on Negative ADC Input Gain on 4 MSB pins" mask="0x03"
                              name="MUXNEGH" values="ADC_CH_MUXNEGH"/>
                </register>
                <register caption="Channel Interrupt Control" name="INTCTRL" offset="0x02" size="1">
                    <bitfield caption="Interrupt Mode" mask="0x0C" name="INTMODE" values="ADC_CH_INTMODE"/>
                    <bitfield caption="Interrupt Level" mask="0x03" name="INTLVL" values="ADC_CH_INTLVL"/>
                </register>
                <register caption="Interrupt Flags" name="INTFLAGS" offset="0x03" size="1">
                    <bitfield caption="Channel Interrupt Flag" mask="0x01" name="CHIF"/>
                </register>
                <register caption="Channel Result" name="RES" offset="0x04" size="2"/>
            </register-group>
            <register-group caption="Analog-to-Digital Converter" name="ADC" size="64">
                <register caption="Control Register A" name="CTRLA" offset="0x00" size="1">
                    <bitfield caption="DMA Selection" mask="0xC0" name="DMASEL" values="ADC_DMASEL"/>
                    <bitfield caption="Channel 3 Start Conversion" mask="0x20" name="CH3START"/>
                    <bitfield caption="Channel 2 Start Conversion" mask="0x10" name="CH2START"/>
                    <bitfield caption="Channel 1 Start Conversion" mask="0x08" name="CH1START"/>
                    <bitfield caption="Channel 0 Start Conversion" mask="0x04" name="CH0START"/>
                    <bitfield caption="Flush Pipeline" mask="0x02" name="FLUSH"/>
                    <bitfield caption="Enable ADC" mask="0x01" name="ENABLE"/>
                </register>
                <register caption="Control Register B" name="CTRLB" offset="0x01" size="1">
                    <bitfield caption="Conversion Mode" mask="0x10" name="CONMODE"/>
                    <bitfield caption="Free Running Mode Enable" mask="0x08" name="FREERUN"/>
                    <bitfield caption="Result Resolution" mask="0x06" name="RESOLUTION" values="ADC_RESOLUTION"/>
                </register>
                <register caption="Reference Control" name="REFCTRL" offset="0x02" size="1">
                    <bitfield caption="Reference Selection" mask="0x30" name="REFSEL" values="ADC_REFSEL"/>
                    <bitfield caption="Bandgap enable" mask="0x02" name="BANDGAP"/>
                    <bitfield caption="Temperature Reference Enable" mask="0x01" name="TEMPREF"/>
                </register>
                <register caption="Event Control" name="EVCTRL" offset="0x03" size="1">
                    <bitfield caption="Channel Sweep Selection" mask="0xC0" name="SWEEP" values="ADC_SWEEP"/>
                    <bitfield caption="Event Input Select" mask="0x38" name="EVSEL" values="ADC_EVSEL"/>
                    <bitfield caption="Event Action Select" mask="0x07" name="EVACT" values="ADC_EVACT"/>
                </register>
                <register caption="Clock Prescaler" name="PRESCALER" offset="0x04" size="1">
                    <bitfield caption="Clock Prescaler Selection" mask="0x07" name="PRESCALER" values="ADC_PRESCALER"/>
                </register>
                <register caption="Interrupt Flags" name="INTFLAGS" offset="0x06" size="1">
                    <bitfield caption="Channel 3 Interrupt Flag" mask="0x08" name="CH3IF"/>
                    <bitfield caption="Channel 2 Interrupt Flag" mask="0x04" name="CH2IF"/>
                    <bitfield caption="Channel 1 Interrupt Flag" mask="0x02" name="CH1IF"/>
                    <bitfield caption="Channel 0 Interrupt Flag" mask="0x01" name="CH0IF"/>
                </register>
                <register caption="Temporary register" name="TEMP" offset="0x07" size="1"/>
                <register caption="Calibration Value" name="CAL" offset="0x0C" size="2"/>
                <register caption="Channel 0 Result" name="CH0RES" offset="0x10" size="2"/>
                <register caption="Channel 1 Result" name="CH1RES" offset="0x12" size="2"/>
                <register caption="Channel 2 Result" name="CH2RES" offset="0x14" size="2"/>
                <register caption="Channel 3 Result" name="CH3RES" offset="0x16" size="2"/>
                <register caption="Compare Value" name="CMP" offset="0x18" size="2"/>
                <register-group caption="ADC Channel 0" name="CH0" offset="0x20" name-in-module="ADC_CH"/>
                <register-group caption="ADC Channel 1" name="CH1" offset="0x28" name-in-module="ADC_CH"/>
                <register-group caption="ADC Channel 2" name="CH2" offset="0x30" name-in-module="ADC_CH"/>
                <register-group caption="ADC Channel 3" name="CH3" offset="0x38" name-in-module="ADC_CH"/>
            </register-group>
            <value-group caption="Positive input multiplexer selection" name="ADC_CH_MUXPOS">
                <value caption="Input pin 0" name="PIN0" value="0x00"/>
                <value caption="Input pin 1" name="PIN1" value="0x01"/>
                <value caption="Input pin 2" name="PIN2" value="0x02"/>
                <value caption="Input pin 3" name="PIN3" value="0x03"/>
                <value caption="Input pin 4" name="PIN4" value="0x04"/>
                <value caption="Input pin 5" name="PIN5" value="0x05"/>
                <value caption="Input pin 6" name="PIN6" value="0x06"/>
                <value caption="Input pin 7" name="PIN7" value="0x07"/>
            </value-group>
            <value-group caption="Internal input multiplexer selections" name="ADC_CH_MUXINT">
                <value caption="Temperature Reference" name="TEMP" value="0x00"/>
                <value caption="Bandgap Reference" name="BANDGAP" value="0x01"/>
                <value caption="1/10 scaled VCC" name="SCALEDVCC" value="0x02"/>
                <value caption="DAC output" name="DAC" value="0x03"/>
            </value-group>
            <value-group caption="Negative input multiplexer selection" name="ADC_CH_MUXNEG">
                <value caption="Input pin 0" name="PIN0" value="0x00"/>
                <value caption="Input pin 1" name="PIN1" value="0x01"/>
                <value caption="Input pin 2" name="PIN2" value="0x02"/>
                <value caption="Input pin 3" name="PIN3" value="0x03"/>
                <value caption="Input pin 4" name="PIN4" value="0x00"/>
                <value caption="Input pin 5" name="PIN5" value="0x01"/>
                <value caption="Input pin 6" name="PIN6" value="0x02"/>
                <value caption="Input pin 7" name="PIN7" value="0x03"/>
            </value-group>
            <value-group caption="Negative input multiplexer selection when gain on 4 LSB pins" name="ADC_CH_MUXNEGL">
                <value caption="Input pin 0" name="PIN0" value="0x00"/>
                <value caption="Input pin 1" name="PIN1" value="0x01"/>
                <value caption="Input pin 2" name="PIN2" value="0x02"/>
                <value caption="Input pin 3" name="PIN3" value="0x03"/>
            </value-group>
            <value-group caption="Negative input multiplexer selection when gain on 4 MSB pins" name="ADC_CH_MUXNEGH">
                <value caption="Input pin 4" name="PIN4" value="0x00"/>
                <value caption="Input pin 5" name="PIN5" value="0x01"/>
                <value caption="Input pin 6" name="PIN6" value="0x02"/>
                <value caption="Input pin 7" name="PIN7" value="0x03"/>
            </value-group>
            <value-group caption="Input mode" name="ADC_CH_INPUTMODE">
                <value caption="Internal inputs, no gain" name="INTERNAL" value="0x00"/>
                <value caption="Single-ended input, no gain" name="SINGLEENDED" value="0x01"/>
                <value caption="Differential input, no gain" name="DIFF" value="0x02"/>
                <value caption="Differential input, with gain" name="DIFFWGAIN" value="0x03"/>
            </value-group>
            <value-group caption="Gain factor" name="ADC_CH_GAIN">
                <value caption="1x gain" name="1X" value="0x00"/>
                <value caption="2x gain" name="2X" value="0x01"/>
                <value caption="4x gain" name="4X" value="0x02"/>
                <value caption="8x gain" name="8X" value="0x03"/>
                <value caption="16x gain" name="16X" value="0x04"/>
                <value caption="32x gain" name="32X" value="0x05"/>
                <value caption="64x gain" name="64X" value="0x06"/>
                <value caption="x/2 gain" name="DIV2" value="0x07"/>
            </value-group>
            <value-group caption="Conversion result resolution" name="ADC_RESOLUTION">
                <value caption="12-bit right-adjusted result" name="12BIT" value="0x00"/>
                <value caption="8-bit right-adjusted result" name="8BIT" value="0x02"/>
                <value caption="12-bit left-adjusted result" name="LEFT12BIT" value="0x03"/>
            </value-group>
            <value-group caption="Voltage reference selection" name="ADC_REFSEL">
                <value caption="Internal 1V" name="INT1V" value="0x00"/>
                <value caption="Internal VCC / 1.6V" name="INTVCC" value="0x01"/>
                <value caption="External reference on PORT A" name="AREFA" value="0x02"/>
                <value caption="External reference on PORT B" name="AREFB" value="0x03"/>
            </value-group>
            <value-group caption="Channel sweep selection" name="ADC_SWEEP">
                <value caption="ADC Channel 0" name="0" value="0x00"/>
                <value caption="ADC Channel 0,1" name="01" value="0x01"/>
                <value caption="ADC Channel 0,1,2" name="012" value="0x02"/>
                <value caption="ADC Channel 0,1,2,3" name="0123" value="0x03"/>
            </value-group>
            <value-group caption="Event channel input selection" name="ADC_EVSEL">
                <value caption="Event Channel 0,1,2,3" name="0123" value="0x00"/>
                <value caption="Event Channel 1,2,3,4" name="1234" value="0x01"/>
                <value caption="Event Channel 2,3,4,5" name="2345" value="0x02"/>
                <value caption="Event Channel 3,4,5,6" name="3456" value="0x03"/>
                <value caption="Event Channel 4,5,6,7" name="4567" value="0x04"/>
                <value caption="Event Channel 5,6,7" name="567" value="0x05"/>
                <value caption="Event Channel 6,7" name="67" value="0x06"/>
                <value caption="Event Channel 7" name="7" value="0x07"/>
            </value-group>
            <value-group caption="Event action selection" name="ADC_EVACT">
                <value caption="No event action" name="NONE" value="0x00"/>
                <value caption="First event triggers channel 0" name="CH0" value="0x01"/>
                <value caption="First two events trigger channel 0,1" name="CH01" value="0x02"/>
                <value caption="First three events trigger channel 0,1,2" name="CH012" value="0x03"/>
                <value caption="Events trigger channel 0,1,2,3" name="CH0123" value="0x04"/>
                <value caption="First event triggers sweep" name="SWEEP" value="0x05"/>
                <value caption="The ADC is flushed and restarted for accurate timing" name="SYNCSWEEP" value="0x06"/>
            </value-group>
            <value-group caption="Interrupt mode" name="ADC_CH_INTMODE">
                <value caption="Interrupt on conversion complete" name="COMPLETE" value="0x00"/>
                <value caption="Interrupt on result below compare value" name="BELOW" value="0x01"/>
                <value caption="Interrupt on result above compare value" name="ABOVE" value="0x03"/>
            </value-group>
            <value-group caption="Interrupt level" name="ADC_CH_INTLVL">
                <value caption="Interrupt disabled" name="OFF" value="0x00"/>
                <value caption="Low level" name="LO" value="0x01"/>
                <value caption="Medium level" name="MED" value="0x02"/>
                <value caption="High level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="DMA request selection" name="ADC_DMASEL">
                <value caption="Combined DMA request OFF" name="OFF" value="0x00"/>
                <value caption="ADC Channel 0 or 1" name="CH01" value="0x01"/>
                <value caption="ADC Channel 0 or 1 or 2" name="CH012" value="0x02"/>
                <value caption="ADC Channel 0 or 1 or 2 or 3" name="CH0123" value="0x03"/>
            </value-group>
            <value-group caption="Clock prescaler" name="ADC_PRESCALER">
                <value caption="Divide clock by 4" name="DIV4" value="0x00"/>
                <value caption="Divide clock by 8" name="DIV8" value="0x01"/>
                <value caption="Divide clock by 16" name="DIV16" value="0x02"/>
                <value caption="Divide clock by 32" name="DIV32" value="0x03"/>
                <value caption="Divide clock by 64" name="DIV64" value="0x04"/>
                <value caption="Divide clock by 128" name="DIV128" value="0x05"/>
                <value caption="Divide clock by 256" name="DIV256" value="0x06"/>
                <value caption="Divide clock by 512" name="DIV512" value="0x07"/>
            </value-group>
            <interrupt-group name="ADC">
                <interrupt index="0" name="CH0" caption="Interrupt 0"/>
                <interrupt index="1" name="CH1" caption="Interrupt 1"/>
                <interrupt index="2" name="CH2" caption="Interrupt 2"/>
                <interrupt index="3" name="CH3" caption="Interrupt 3"/>
            </interrupt-group>
        </module>
        <module name="DAC" id="I6059" caption="Digital/Analog Converter">
            <register-group caption="Digital-to-Analog Converter" name="DAC" size="28">
                <register caption="Control Register A" name="CTRLA" offset="0x00" size="1">
                    <bitfield caption="Internal Output Enable" mask="0x10" name="IDOEN"/>
                    <bitfield caption="Channel 1 Output Enable" mask="0x08" name="CH1EN"/>
                    <bitfield caption="Channel 0 Output Enable" mask="0x04" name="CH0EN"/>
                    <bitfield caption="Low Power Mode" mask="0x02" name="LPMODE"/>
                    <bitfield caption="Enable" mask="0x01" name="ENABLE"/>
                </register>
                <register caption="Control Register B" name="CTRLB" offset="0x01" size="1">
                    <bitfield caption="Channel Select" mask="0x60" name="CHSEL" values="DAC_CHSEL"/>
                    <bitfield caption="Channel 1 Event Trig Enable" mask="0x02" name="CH1TRIG"/>
                    <bitfield caption="Channel 0 Event Trig Enable" mask="0x01" name="CH0TRIG"/>
                </register>
                <register caption="Control Register C" name="CTRLC" offset="0x02" size="1">
                    <bitfield caption="Reference Select" mask="0x18" name="REFSEL" values="DAC_REFSEL"/>
                    <bitfield caption="Left-adjust Result" mask="0x01" name="LEFTADJ"/>
                </register>
                <register caption="Event Input Control" name="EVCTRL" offset="0x03" size="1">
                    <bitfield caption="Event Input Selection" mask="0x07" name="EVSEL" values="DAC_EVSEL"/>
                </register>
                <register caption="Timing Control" name="TIMCTRL" offset="0x04" size="1">
                    <bitfield caption="Conversion Intercal" mask="0x70" name="CONINTVAL" values="DAC_CONINTVAL"/>
                    <bitfield caption="Refresh Timing Control" mask="0x0F" name="REFRESH" values="DAC_REFRESH"/>
                </register>
                <register caption="Status" name="STATUS" offset="0x05" size="1">
                    <bitfield caption="Channel 1 Data Register Empty" mask="0x02" name="CH1DRE"/>
                    <bitfield caption="Channel 0 Data Register Empty" mask="0x01" name="CH0DRE"/>
                </register>
                <register caption="Gain Calibration" name="GAINCAL" offset="0x08" size="1">
                    <bitfield caption="Gain Calibration" mask="0x7F" name="GAINCAL"/>
                </register>
                <register caption="Offset Calibration" name="OFFSETCAL" offset="0x09" size="1">
                    <bitfield caption="Offset Calibration" mask="0x7F" name="OFFSETCAL"/>
                </register>
                <register caption="Channel 0 Data" name="CH0DATA" offset="0x18" size="2"/>
                <register caption="Channel 1 Data" name="CH1DATA" offset="0x1A" size="2"/>
            </register-group>
            <value-group caption="Output channel selection" name="DAC_CHSEL">
                <value caption="Single channel operation (Channel A only)" name="SINGLE" value="0x00"/>
                <value caption="Dual channel operation (S/H on both channels)" name="DUAL" value="0x02"/>
            </value-group>
            <value-group caption="Reference voltage selection" name="DAC_REFSEL">
                <value caption="Internal 1V " name="INT1V" value="0x00"/>
                <value caption="Analog supply voltage" name="AVCC" value="0x01"/>
                <value caption="External reference on AREF on PORTA" name="AREFA" value="0x02"/>
                <value caption="External reference on AREF on PORTB" name="AREFB" value="0x03"/>
            </value-group>
            <value-group caption="Event channel selection" name="DAC_EVSEL">
                <value caption="Event Channel 0" name="0" value="0x00"/>
                <value caption="Event Channel 1" name="1" value="0x01"/>
                <value caption="Event Channel 2" name="2" value="0x02"/>
                <value caption="Event Channel 3" name="3" value="0x03"/>
                <value caption="Event Channel 4" name="4" value="0x04"/>
                <value caption="Event Channel 5" name="5" value="0x05"/>
                <value caption="Event Channel 6" name="6" value="0x06"/>
                <value caption="Event Channel 7" name="7" value="0x07"/>
            </value-group>
            <value-group caption="Conversion interval" name="DAC_CONINTVAL">
                <value caption="1 CLK / 2 CLK in S/H mode" name="1CLK" value="0x00"/>
                <value caption="2 CLK / 3 CLK in S/H mode" name="2CLK" value="0x01"/>
                <value caption="4 CLK / 6 CLK in S/H mode" name="4CLK" value="0x02"/>
                <value caption="8 CLK / 12 CLK in S/H mode" name="8CLK" value="0x03"/>
                <value caption="16 CLK / 24 CLK in S/H mode" name="16CLK" value="0x04"/>
                <value caption="32 CLK / 48 CLK in S/H mode" name="32CLK" value="0x05"/>
                <value caption="64 CLK / 96 CLK in S/H mode" name="64CLK" value="0x06"/>
                <value caption="128 CLK / 192 CLK in S/H mode" name="128CLK" value="0x07"/>
            </value-group>
            <value-group caption="Refresh rate" name="DAC_REFRESH">
                <value caption="16 CLK" name="16CLK" value="0x00"/>
                <value caption="32 CLK" name="32CLK" value="0x01"/>
                <value caption="64 CLK" name="64CLK" value="0x02"/>
                <value caption="128 CLK" name="128CLK" value="0x03"/>
                <value caption="256 CLK" name="256CLK" value="0x04"/>
                <value caption="512 CLK" name="512CLK" value="0x05"/>
                <value caption="1024 CLK" name="1024CLK" value="0x06"/>
                <value caption="2048 CLK" name="2048CLK" value="0x07"/>
                <value caption="4096 CLK" name="4096CLK" value="0x08"/>
                <value caption="8192 CLK" name="8192CLK" value="0x09"/>
                <value caption="16384 CLK" name="16384CLK" value="0x0A"/>
                <value caption="32768 CLK" name="32768CLK" value="0x0B"/>
                <value caption="65536 CLK" name="65536CLK" value="0x0C"/>
                <value caption="Auto refresh OFF" name="OFF" value="0x0F"/>
            </value-group>
        </module>
        <module name="RTC" id="I6093" caption="Real-Time Counter">
            <register-group caption="Real-Time Counter" name="RTC" size="14">
                <register caption="Control Register" name="CTRL" offset="0x00" size="1">
                    <bitfield caption="Prescaling Factor" mask="0x07" name="PRESCALER" values="RTC_PRESCALER"/>
                </register>
                <register caption="Status Register" name="STATUS" offset="0x01" size="1">
                    <bitfield caption="Synchronization Busy Flag" mask="0x01" name="SYNCBUSY"/>
                </register>
                <register caption="Interrupt Control Register" name="INTCTRL" offset="0x02" size="1">
                    <bitfield caption="Compare Match Interrupt Level" mask="0x0C" name="COMPINTLVL"
                              values="RTC_COMPINTLVL"/>
                    <bitfield caption="Overflow Interrupt Level" mask="0x03" name="OVFINTLVL" values="RTC_OVFINTLVL"/>
                </register>
                <register caption="Interrupt Flags" name="INTFLAGS" offset="0x03" size="1">
                    <bitfield caption="Compare Match Interrupt Flag" mask="0x02" name="COMPIF"/>
                    <bitfield caption="Overflow Interrupt Flag" mask="0x01" name="OVFIF"/>
                </register>
                <register caption="Temporary register" name="TEMP" offset="0x04" size="1"/>
                <register caption="Count Register" name="CNT" offset="0x08" size="2"/>
                <register caption="Period Register" name="PER" offset="0x0A" size="2"/>
                <register caption="Compare Register" name="COMP" offset="0x0C" size="2"/>
            </register-group>
            <value-group caption="Prescaler Factor" name="RTC_PRESCALER">
                <value caption="RTC Off" name="OFF" value="0x00"/>
                <value caption="RTC Clock" name="DIV1" value="0x01"/>
                <value caption="RTC Clock / 2" name="DIV2" value="0x02"/>
                <value caption="RTC Clock / 8" name="DIV8" value="0x03"/>
                <value caption="RTC Clock / 16" name="DIV16" value="0x04"/>
                <value caption="RTC Clock / 64" name="DIV64" value="0x05"/>
                <value caption="RTC Clock / 256" name="DIV256" value="0x06"/>
                <value caption="RTC Clock / 1024" name="DIV1024" value="0x07"/>
            </value-group>
            <value-group caption="Compare Interrupt level" name="RTC_COMPINTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Overflow Interrupt level" name="RTC_OVFINTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <interrupt-group name="RTC">
                <interrupt index="0" name="OVF" caption="Overflow Interrupt"/>
                <interrupt index="1" name="COMP" caption="Compare Interrupt"/>
            </interrupt-group>
        </module>
        <module name="TWI" id="I6089" caption="Two-Wire Interface">
            <register-group caption="" name="TWI_MASTER" size="7">
                <register caption="Control Register A" name="CTRLA" offset="0x00" size="1">
                    <bitfield caption="Interrupt Level" mask="0xC0" name="INTLVL" values="TWI_MASTER_INTLVL"/>
                    <bitfield caption="Read Interrupt Enable" mask="0x20" name="RIEN"/>
                    <bitfield caption="Write Interrupt Enable" mask="0x10" name="WIEN"/>
                    <bitfield caption="Enable TWI Master" mask="0x08" name="ENABLE"/>
                </register>
                <register caption="Control Register B" name="CTRLB" offset="0x01" size="1">
                    <bitfield caption="Inactive Bus timeout" mask="0x0C" name="TIMEOUT" values="TWI_MASTER_TIMEOUT"/>
                    <bitfield caption="Quick Command Enable" mask="0x02" name="QCEN"/>
                    <bitfield caption="Smart Mode Enable" mask="0x01" name="SMEN"/>
                </register>
                <register caption="Control Register C" name="CTRLC" offset="0x02" size="1">
                    <bitfield caption="Acknowledge Action" mask="0x04" name="ACKACT"/>
                    <bitfield caption="Command" mask="0x03" name="CMD" values="TWI_MASTER_CMD"/>
                </register>
                <register caption="Status Register" name="STATUS" offset="0x03" size="1">
                    <bitfield caption="Read Interrupt Flag" mask="0x80" name="RIF"/>
                    <bitfield caption="Write Interrupt Flag" mask="0x40" name="WIF"/>
                    <bitfield caption="Clock Hold" mask="0x20" name="CLKHOLD"/>
                    <bitfield caption="Received Acknowledge" mask="0x10" name="RXACK"/>
                    <bitfield caption="Arbitration Lost" mask="0x08" name="ARBLOST"/>
                    <bitfield caption="Bus Error" mask="0x04" name="BUSERR"/>
                    <bitfield caption="Bus State" mask="0x03" name="BUSSTATE" values="TWI_MASTER_BUSSTATE"/>
                </register>
                <register caption="Baud Rate Control Register" name="BAUD" offset="0x04" size="1"/>
                <register caption="Address Register" name="ADDR" offset="0x05" size="1"/>
                <register caption="Data Register" name="DATA" offset="0x06" size="1"/>
            </register-group>
            <register-group caption="" name="TWI_SLAVE" size="6">
                <register caption="Control Register A" name="CTRLA" offset="0x00" size="1">
                    <bitfield caption="Interrupt Level" mask="0xC0" name="INTLVL" values="TWI_SLAVE_INTLVL"/>
                    <bitfield caption="Data Interrupt Enable" mask="0x20" name="DIEN"/>
                    <bitfield caption="Address/Stop Interrupt Enable" mask="0x10" name="APIEN"/>
                    <bitfield caption="Enable TWI Slave" mask="0x08" name="ENABLE"/>
                    <bitfield caption="Stop Interrupt Enable" mask="0x04" name="PIEN"/>
                    <bitfield caption="Promiscuous Mode Enable" mask="0x02" name="PMEN"/>
                    <bitfield caption="Smart Mode Enable" mask="0x01" name="SMEN"/>
                </register>
                <register caption="Control Register B" name="CTRLB" offset="0x01" size="1">
                    <bitfield caption="Acknowledge Action" mask="0x04" name="ACKACT"/>
                    <bitfield caption="Command" mask="0x03" name="CMD" values="TWI_SLAVE_CMD"/>
                </register>
                <register caption="Status Register" name="STATUS" offset="0x02" size="1">
                    <bitfield caption="Data Interrupt Flag" mask="0x80" name="DIF"/>
                    <bitfield caption="Address/Stop Interrupt Flag" mask="0x40" name="APIF"/>
                    <bitfield caption="Clock Hold" mask="0x20" name="CLKHOLD"/>
                    <bitfield caption="Received Acknowledge" mask="0x10" name="RXACK"/>
                    <bitfield caption="Collision" mask="0x08" name="COLL"/>
                    <bitfield caption="Bus Error" mask="0x04" name="BUSERR"/>
                    <bitfield caption="Read/Write Direction" mask="0x02" name="DIR"/>
                    <bitfield caption="Slave Address or Stop" mask="0x01" name="AP"/>
                </register>
                <register caption="Address Register" name="ADDR" offset="0x03" size="1"/>
                <register caption="Data Register" name="DATA" offset="0x04" size="1"/>
                <register caption="Address Mask Register" name="ADDRMASK" offset="0x05" size="1">
                    <bitfield caption="Address Mask" mask="0xFE" name="ADDRMASK"/>
                    <bitfield caption="Address Enable" mask="0x01" name="ADDREN"/>
                </register>
            </register-group>
            <register-group caption="Two-Wire Interface" name="TWI" size="14">
                <register caption="TWI Common Control Register" name="CTRL" offset="0x00" size="1">
                    <bitfield caption="SDA Hold Time Enable" mask="0x06" name="SDAHOLD" values="SDA_HOLD_TIME"/>
                    <bitfield caption="External Driver Interface Enable" mask="0x01" name="EDIEN"/>
                </register>
                <register-group caption="TWI master module" name="MASTER" offset="0x0001" name-in-module="TWI_MASTER"/>
                <register-group caption="TWI slave module" name="SLAVE" offset="0x0008" name-in-module="TWI_SLAVE"/>
            </register-group>
            <value-group caption="Master Interrupt Level" name="TWI_MASTER_INTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Inactive Timeout" name="TWI_MASTER_TIMEOUT">
                <value caption="Bus Timeout Disabled" name="DISABLED" value="0x00"/>
                <value caption="50 Microseconds" name="50US" value="0x01"/>
                <value caption="100 Microseconds" name="100US" value="0x02"/>
                <value caption="200 Microseconds" name="200US" value="0x03"/>
            </value-group>
            <value-group caption="Master Command" name="TWI_MASTER_CMD">
                <value caption="No Action" name="NOACT" value="0x00"/>
                <value caption="Issue Repeated Start Condition" name="REPSTART" value="0x01"/>
                <value caption="Receive or Transmit Data" name="RECVTRANS" value="0x02"/>
                <value caption="Issue Stop Condition" name="STOP" value="0x03"/>
            </value-group>
            <value-group caption="Master Bus State" name="TWI_MASTER_BUSSTATE">
                <value caption="Unknown Bus State" name="UNKNOWN" value="0x00"/>
                <value caption="Bus is Idle" name="IDLE" value="0x01"/>
                <value caption="This Module Controls The Bus" name="OWNER" value="0x02"/>
                <value caption="The Bus is Busy" name="BUSY" value="0x03"/>
            </value-group>
            <value-group caption="Slave Interrupt Level" name="TWI_SLAVE_INTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Slave Command" name="TWI_SLAVE_CMD">
                <value caption="No Action" name="NOACT" value="0x00"/>
                <value caption="Used To Complete a Transaction" name="COMPTRANS" value="0x02"/>
                <value caption="Used in Response to Address/Data Interrupt" name="RESPONSE" value="0x03"/>
            </value-group>
            <value-group caption="SDA hold time" name="SDA_HOLD_TIME">
                <value caption="SDA hold time off" value="0x00" name="OFF"/>
                <value caption="Typical 50ns hold time" value="0x01" name="50NS"/>
                <value caption="Typical 300ns hold time" value="0x2" name="300NS"/>
                <value caption="Typical 400ns hold time" value="0x03" name="400NS"/>
            </value-group>
            <interrupt-group name="TWI">
                <interrupt index="0" name="TWIS" caption="TWI Slave Interrupt"/>
                <interrupt index="1" name="TWIM" caption="TWI Master Interrupt"/>
            </interrupt-group>
        </module>
        <module name="PORT" id="I6075" caption="Port Configuration">
            <register-group caption="I/O port Configuration" name="PORTCFG" size="5">
                <register caption="Multi-pin Configuration Mask" name="MPCMASK" offset="0x00" size="1"/>
                <register caption="Virtual Port Control Register A" name="VPCTRLA" offset="0x02" size="1">
                    <bitfield caption="Virtual Port 1 Mapping" mask="0xF0" name="VP1MAP" values="PORTCFG_VP1MAP"/>
                    <bitfield caption="Virtual Port 0 Mapping" mask="0x0F" name="VP0MAP" values="PORTCFG_VP0MAP"/>
                </register>
                <register caption="Virtual Port Control Register B" name="VPCTRLB" offset="0x03" size="1">
                    <bitfield caption="Virtual Port 3 Mapping" mask="0xF0" name="VP3MAP" values="PORTCFG_VP3MAP"/>
                    <bitfield caption="Virtual Port 2 Mapping" mask="0x0F" name="VP2MAP" values="PORTCFG_VP2MAP"/>
                </register>
                <register caption="Clock and Event Out Register" name="CLKEVOUT" offset="0x04" size="1">
                    <bitfield caption="Clock Output Port" mask="0x03" name="CLKOUT" values="PORTCFG_CLKOUT"/>
                    <bitfield caption="Event Output Port" mask="0x30" name="EVOUT" values="PORTCFG_EVOUT"/>
                </register>
            </register-group>
            <register-group caption="Virtual Port" name="VPORT" size="4">
                <register caption="I/O Port Data Direction" name="DIR" offset="0x00" size="1"/>
                <register caption="I/O Port Output" name="OUT" offset="0x01" size="1"/>
                <register caption="I/O Port Input" name="IN" offset="0x02" size="1"/>
                <register caption="Interrupt Flag Register" name="INTFLAGS" offset="0x03" size="1">
                    <bitfield caption="Port Interrupt 1 Flag" mask="0x02" name="INT1IF"/>
                    <bitfield caption="Port Interrupt 0 Flag" mask="0x01" name="INT0IF"/>
                </register>
            </register-group>
            <register-group caption="I/O Ports" name="PORT" size="24">
                <register caption="I/O Port Data Direction" name="DIR" offset="0x00" size="1"/>
                <register caption="I/O Port Data Direction Set" name="DIRSET" offset="0x01" size="1"/>
                <register caption="I/O Port Data Direction Clear" name="DIRCLR" offset="0x02" size="1"/>
                <register caption="I/O Port Data Direction Toggle" name="DIRTGL" offset="0x03" size="1"/>
                <register caption="I/O Port Output" name="OUT" offset="0x04" size="1"/>
                <register caption="I/O Port Output Set" name="OUTSET" offset="0x05" size="1"/>
                <register caption="I/O Port Output Clear" name="OUTCLR" offset="0x06" size="1"/>
                <register caption="I/O Port Output Toggle" name="OUTTGL" offset="0x07" size="1"/>
                <register caption="I/O port Input" name="IN" offset="0x08" size="1"/>
                <register caption="Interrupt Control Register" name="INTCTRL" offset="0x09" size="1">
                    <bitfield caption="Port Interrupt 1 Level" mask="0x0C" name="INT1LVL" values="PORT_INT1LVL"/>
                    <bitfield caption="Port Interrupt 0 Level" mask="0x03" name="INT0LVL" values="PORT_INT0LVL"/>
                </register>
                <register caption="Port Interrupt 0 Mask" name="INT0MASK" offset="0x0A" size="1"/>
                <register caption="Port Interrupt 1 Mask" name="INT1MASK" offset="0x0B" size="1"/>
                <register caption="Interrupt Flag Register" name="INTFLAGS" offset="0x0C" size="1">
                    <bitfield caption="Port Interrupt 1 Flag" mask="0x02" name="INT1IF"/>
                    <bitfield caption="Port Interrupt 0 Flag" mask="0x01" name="INT0IF"/>
                </register>
                <register caption="Pin 0 Control Register" name="PIN0CTRL" offset="0x10" size="1">
                    <bitfield caption="Slew Rate Enable" mask="0x80" name="SRLEN"/>
                    <bitfield caption="Inverted I/O Enable" mask="0x40" name="INVEN"/>
                    <bitfield caption="Output/Pull Configuration" mask="0x38" name="OPC" values="PORT_OPC"/>
                    <bitfield caption="Input/Sense Configuration" mask="0x07" name="ISC" values="PORT_ISC"/>
                </register>
                <register caption="Pin 1 Control Register" name="PIN1CTRL" offset="0x11" size="1">
                    <bitfield caption="Slew Rate Enable" mask="0x80" name="SRLEN"/>
                    <bitfield caption="Inverted I/O Enable" mask="0x40" name="INVEN"/>
                    <bitfield caption="Output/Pull Configuration" mask="0x38" name="OPC" values="PORT_OPC"/>
                    <bitfield caption="Input/Sense Configuration" mask="0x07" name="ISC" values="PORT_ISC"/>
                </register>
                <register caption="Pin 2 Control Register" name="PIN2CTRL" offset="0x12" size="1">
                    <bitfield caption="Slew Rate Enable" mask="0x80" name="SRLEN"/>
                    <bitfield caption="Inverted I/O Enable" mask="0x40" name="INVEN"/>
                    <bitfield caption="Output/Pull Configuration" mask="0x38" name="OPC" values="PORT_OPC"/>
                    <bitfield caption="Input/Sense Configuration" mask="0x07" name="ISC" values="PORT_ISC"/>
                </register>
                <register caption="Pin 3 Control Register" name="PIN3CTRL" offset="0x13" size="1">
                    <bitfield caption="Slew Rate Enable" mask="0x80" name="SRLEN"/>
                    <bitfield caption="Inverted I/O Enable" mask="0x40" name="INVEN"/>
                    <bitfield caption="Output/Pull Configuration" mask="0x38" name="OPC" values="PORT_OPC"/>
                    <bitfield caption="Input/Sense Configuration" mask="0x07" name="ISC" values="PORT_ISC"/>
                </register>
                <register caption="Pin 4 Control Register" name="PIN4CTRL" offset="0x14" size="1">
                    <bitfield caption="Slew Rate Enable" mask="0x80" name="SRLEN"/>
                    <bitfield caption="Inverted I/O Enable" mask="0x40" name="INVEN"/>
                    <bitfield caption="Output/Pull Configuration" mask="0x38" name="OPC" values="PORT_OPC"/>
                    <bitfield caption="Input/Sense Configuration" mask="0x07" name="ISC" values="PORT_ISC"/>
                </register>
                <register caption="Pin 5 Control Register" name="PIN5CTRL" offset="0x15" size="1">
                    <bitfield caption="Slew Rate Enable" mask="0x80" name="SRLEN"/>
                    <bitfield caption="Inverted I/O Enable" mask="0x40" name="INVEN"/>
                    <bitfield caption="Output/Pull Configuration" mask="0x38" name="OPC" values="PORT_OPC"/>
                    <bitfield caption="Input/Sense Configuration" mask="0x07" name="ISC" values="PORT_ISC"/>
                </register>
                <register caption="Pin 6 Control Register" name="PIN6CTRL" offset="0x16" size="1">
                    <bitfield caption="Slew Rate Enable" mask="0x80" name="SRLEN"/>
                    <bitfield caption="Inverted I/O Enable" mask="0x40" name="INVEN"/>
                    <bitfield caption="Output/Pull Configuration" mask="0x38" name="OPC" values="PORT_OPC"/>
                    <bitfield caption="Input/Sense Configuration" mask="0x07" name="ISC" values="PORT_ISC"/>
                </register>
                <register caption="Pin 7 Control Register" name="PIN7CTRL" offset="0x17" size="1">
                    <bitfield caption="Slew Rate Enable" mask="0x80" name="SRLEN"/>
                    <bitfield caption="Inverted I/O Enable" mask="0x40" name="INVEN"/>
                    <bitfield caption="Output/Pull Configuration" mask="0x38" name="OPC" values="PORT_OPC"/>
                    <bitfield caption="Input/Sense Configuration" mask="0x07" name="ISC" values="PORT_ISC"/>
                </register>
            </register-group>
            <value-group caption="Virtual Port 0 Mapping" name="PORTCFG_VP0MAP">
                <value caption="Mapped To PORTA" name="PORTA" value="0x00"/>
                <value caption="Mapped To PORTB" name="PORTB" value="0x01"/>
                <value caption="Mapped To PORTC" name="PORTC" value="0x02"/>
                <value caption="Mapped To PORTD" name="PORTD" value="0x03"/>
                <value caption="Mapped To PORTE" name="PORTE" value="0x04"/>
                <value caption="Mapped To PORTF" name="PORTF" value="0x05"/>
                <value caption="Mapped To PORTG" name="PORTG" value="0x06"/>
                <value caption="Mapped To PORTH" name="PORTH" value="0x07"/>
                <value caption="Mapped To PORTJ" name="PORTJ" value="0x08"/>
                <value caption="Mapped To PORTK" name="PORTK" value="0x09"/>
                <value caption="Mapped To PORTL" name="PORTL" value="0x0A"/>
                <value caption="Mapped To PORTM" name="PORTM" value="0x0B"/>
                <value caption="Mapped To PORTN" name="PORTN" value="0x0C"/>
                <value caption="Mapped To PORTP" name="PORTP" value="0x0D"/>
                <value caption="Mapped To PORTQ" name="PORTQ" value="0x0E"/>
                <value caption="Mapped To PORTR" name="PORTR" value="0x0F"/>
            </value-group>
            <value-group caption="Virtual Port 1 Mapping" name="PORTCFG_VP1MAP">
                <value caption="Mapped To PORTA" name="PORTA" value="0x00"/>
                <value caption="Mapped To PORTB" name="PORTB" value="0x01"/>
                <value caption="Mapped To PORTC" name="PORTC" value="0x02"/>
                <value caption="Mapped To PORTD" name="PORTD" value="0x03"/>
                <value caption="Mapped To PORTE" name="PORTE" value="0x04"/>
                <value caption="Mapped To PORTF" name="PORTF" value="0x05"/>
                <value caption="Mapped To PORTG" name="PORTG" value="0x06"/>
                <value caption="Mapped To PORTH" name="PORTH" value="0x07"/>
                <value caption="Mapped To PORTJ" name="PORTJ" value="0x08"/>
                <value caption="Mapped To PORTK" name="PORTK" value="0x09"/>
                <value caption="Mapped To PORTL" name="PORTL" value="0x0A"/>
                <value caption="Mapped To PORTM" name="PORTM" value="0x0B"/>
                <value caption="Mapped To PORTN" name="PORTN" value="0x0C"/>
                <value caption="Mapped To PORTP" name="PORTP" value="0x0D"/>
                <value caption="Mapped To PORTQ" name="PORTQ" value="0x0E"/>
                <value caption="Mapped To PORTR" name="PORTR" value="0x0F"/>
            </value-group>
            <value-group caption="Virtual Port 2 Mapping" name="PORTCFG_VP2MAP">
                <value caption="Mapped To PORTA" name="PORTA" value="0x00"/>
                <value caption="Mapped To PORTB" name="PORTB" value="0x01"/>
                <value caption="Mapped To PORTC" name="PORTC" value="0x02"/>
                <value caption="Mapped To PORTD" name="PORTD" value="0x03"/>
                <value caption="Mapped To PORTE" name="PORTE" value="0x04"/>
                <value caption="Mapped To PORTF" name="PORTF" value="0x05"/>
                <value caption="Mapped To PORTG" name="PORTG" value="0x06"/>
                <value caption="Mapped To PORTH" name="PORTH" value="0x07"/>
                <value caption="Mapped To PORTJ" name="PORTJ" value="0x08"/>
                <value caption="Mapped To PORTK" name="PORTK" value="0x09"/>
                <value caption="Mapped To PORTL" name="PORTL" value="0x0A"/>
                <value caption="Mapped To PORTM" name="PORTM" value="0x0B"/>
                <value caption="Mapped To PORTN" name="PORTN" value="0x0C"/>
                <value caption="Mapped To PORTP" name="PORTP" value="0x0D"/>
                <value caption="Mapped To PORTQ" name="PORTQ" value="0x0E"/>
                <value caption="Mapped To PORTR" name="PORTR" value="0x0F"/>
            </value-group>
            <value-group caption="Virtual Port 3 Mapping" name="PORTCFG_VP3MAP">
                <value caption="Mapped To PORTA" name="PORTA" value="0x00"/>
                <value caption="Mapped To PORTB" name="PORTB" value="0x01"/>
                <value caption="Mapped To PORTC" name="PORTC" value="0x02"/>
                <value caption="Mapped To PORTD" name="PORTD" value="0x03"/>
                <value caption="Mapped To PORTE" name="PORTE" value="0x04"/>
                <value caption="Mapped To PORTF" name="PORTF" value="0x05"/>
                <value caption="Mapped To PORTG" name="PORTG" value="0x06"/>
                <value caption="Mapped To PORTH" name="PORTH" value="0x07"/>
                <value caption="Mapped To PORTJ" name="PORTJ" value="0x08"/>
                <value caption="Mapped To PORTK" name="PORTK" value="0x09"/>
                <value caption="Mapped To PORTL" name="PORTL" value="0x0A"/>
                <value caption="Mapped To PORTM" name="PORTM" value="0x0B"/>
                <value caption="Mapped To PORTN" name="PORTN" value="0x0C"/>
                <value caption="Mapped To PORTP" name="PORTP" value="0x0D"/>
                <value caption="Mapped To PORTQ" name="PORTQ" value="0x0E"/>
                <value caption="Mapped To PORTR" name="PORTR" value="0x0F"/>
            </value-group>
            <value-group caption="Clock Output Port" name="PORTCFG_CLKOUT">
                <value caption="Clock Output Disabled" name="OFF" value="0x00"/>
                <value caption="Clock Output on Port C pin 7" name="PC7" value="0x01"/>
                <value caption="Clock Output on Port D pin 7" name="PD7" value="0x02"/>
                <value caption="Clock Output on Port E pin 7" name="PE7" value="0x03"/>
            </value-group>
            <value-group caption="Event Output Port" name="PORTCFG_EVOUT">
                <value caption="Event Output Disabled" name="OFF" value="0x00"/>
                <value caption="Event Channel 7 Output on Port C pin 7" name="PC7" value="0x01"/>
                <value caption="Event Channel 7 Output on Port D pin 7" name="PD7" value="0x02"/>
                <value caption="Event Channel 7 Output on Port E pin 7" name="PE7" value="0x03"/>
            </value-group>
            <value-group caption="Port Interrupt 0 Level" name="PORT_INT0LVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Port Interrupt 1 Level" name="PORT_INT1LVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Output/Pull Configuration" name="PORT_OPC">
                <value caption="Totempole" name="TOTEM" value="0x00"/>
                <value caption="Totempole w/ Bus keeper on Input and Output" name="BUSKEEPER" value="0x01"/>
                <value caption="Totempole w/ Pull-down on Input" name="PULLDOWN" value="0x02"/>
                <value caption="Totempole w/ Pull-up on Input" name="PULLUP" value="0x03"/>
                <value caption="Wired OR" name="WIREDOR" value="0x04"/>
                <value caption="Wired AND" name="WIREDAND" value="0x05"/>
                <value caption="Wired OR w/ Pull-down" name="WIREDORPULL" value="0x06"/>
                <value caption="Wired AND w/ Pull-up" name="WIREDANDPULL" value="0x07"/>
            </value-group>
            <value-group caption="Input/Sense Configuration" name="PORT_ISC">
                <value caption="Sense Both Edges" name="BOTHEDGES" value="0x00"/>
                <value caption="Sense Rising Edge" name="RISING" value="0x01"/>
                <value caption="Sense Falling Edge" name="FALLING" value="0x02"/>
                <value caption="Sense Level (Transparent For Events)" name="LEVEL" value="0x03"/>
                <value caption="Disable Digital Input Buffer" name="INPUT_DISABLE" value="0x07"/>
            </value-group>
            <interrupt-group name="PORT">
                <interrupt index="0" name="INT0" caption="External Interrupt 0"/>
                <interrupt index="1" name="INT1" caption="External Interrupt 1"/>
            </interrupt-group>
        </module>
        <module name="TC" id="I6090" caption="16-bit Timer/Counter With PWM">
            <register-group caption="16-bit Timer/Counter 0" name="TC0" size="64">
                <register caption="Control Register A" name="CTRLA" offset="0x00" size="1">
                    <bitfield caption="Clock Selection" mask="0x0F" name="CLKSEL" values="TC_CLKSEL"/>
                </register>
                <register caption="Control Register B" name="CTRLB" offset="0x01" size="1">
                    <bitfield caption="Compare or Capture D Enable" mask="0x80" name="CCDEN"/>
                    <bitfield caption="Compare or Capture C Enable" mask="0x40" name="CCCEN"/>
                    <bitfield caption="Compare or Capture B Enable" mask="0x20" name="CCBEN"/>
                    <bitfield caption="Compare or Capture A Enable" mask="0x10" name="CCAEN"/>
                    <bitfield caption="Waveform generation mode" mask="0x07" name="WGMODE" values="TC_WGMODE"/>
                </register>
                <register caption="Control register C" name="CTRLC" offset="0x02" size="1">
                    <bitfield caption="Compare D Output Value" mask="0x08" name="CMPD"/>
                    <bitfield caption="Compare C Output Value" mask="0x04" name="CMPC"/>
                    <bitfield caption="Compare B Output Value" mask="0x02" name="CMPB"/>
                    <bitfield caption="Compare A Output Value" mask="0x01" name="CMPA"/>
                </register>
                <register caption="Control Register D" name="CTRLD" offset="0x03" size="1">
                    <bitfield caption="Event Action" mask="0xE0" name="EVACT" values="TC_EVACT"/>
                    <bitfield caption="Event Delay" mask="0x10" name="EVDLY"/>
                    <bitfield caption="Event Source Select" mask="0x0F" name="EVSEL" values="TC_EVSEL"/>
                </register>
                <register caption="Control Register E" name="CTRLE" offset="0x04" size="1">
                    <bitfield caption="Byte Mode" mask="0x01" name="BYTEM"/>
                </register>
                <register caption="Interrupt Control Register A" name="INTCTRLA" offset="0x06" size="1">
                    <bitfield caption="Error Interrupt Level" mask="0x0C" name="ERRINTLVL" values="TC_ERRINTLVL"/>
                    <bitfield caption="Overflow interrupt level" mask="0x03" name="OVFINTLVL" values="TC_OVFINTLVL"/>
                </register>
                <register caption="Interrupt Control Register B" name="INTCTRLB" offset="0x07" size="1">
                    <bitfield caption="Compare or Capture D Interrupt Level" mask="0xC0" name="CCDINTLVL"
                              values="TC_CCDINTLVL"/>
                    <bitfield caption="Compare or Capture C Interrupt Level" mask="0x30" name="CCCINTLVL"
                              values="TC_CCCINTLVL"/>
                    <bitfield caption="Compare or Capture B Interrupt Level" mask="0x0C" name="CCBINTLVL"
                              values="TC_CCBINTLVL"/>
                    <bitfield caption="Compare or Capture A Interrupt Level" mask="0x03" name="CCAINTLVL"
                              values="TC_CCAINTLVL"/>
                </register>
                <register caption="Control Register F Clear" name="CTRLFCLR" offset="0x08" size="1">
                    <bitfield caption="Command" mask="0x0C" name="CMD"/>
                    <bitfield caption="Lock Update" mask="0x02" name="LUPD"/>
                    <bitfield caption="Direction" mask="0x01" name="DIR"/>
                </register>
                <register caption="Control Register F Set" name="CTRLFSET" offset="0x09" size="1">
                    <bitfield caption="Command" mask="0x0C" name="CMD" values="TC_CMD"/>
                    <bitfield caption="Lock Update" mask="0x02" name="LUPD"/>
                    <bitfield caption="Direction" mask="0x01" name="DIR"/>
                </register>
                <register caption="Control Register G Clear" name="CTRLGCLR" offset="0x0A" size="1">
                    <bitfield caption="Compare or Capture D Buffer Valid" mask="0x10" name="CCDBV"/>
                    <bitfield caption="Compare or Capture C Buffer Valid" mask="0x08" name="CCCBV"/>
                    <bitfield caption="Compare or Capture B Buffer Valid" mask="0x04" name="CCBBV"/>
                    <bitfield caption="Compare or Capture A Buffer Valid" mask="0x02" name="CCABV"/>
                    <bitfield caption="Period Buffer Valid" mask="0x01" name="PERBV"/>
                </register>
                <register caption="Control Register G Set" name="CTRLGSET" offset="0x0B" size="1">
                    <bitfield caption="Compare or Capture D Buffer Valid" mask="0x10" name="CCDBV"/>
                    <bitfield caption="Compare or Capture C Buffer Valid" mask="0x08" name="CCCBV"/>
                    <bitfield caption="Compare or Capture B Buffer Valid" mask="0x04" name="CCBBV"/>
                    <bitfield caption="Compare or Capture A Buffer Valid" mask="0x02" name="CCABV"/>
                    <bitfield caption="Period Buffer Valid" mask="0x01" name="PERBV"/>
                </register>
                <register caption="Interrupt Flag Register" name="INTFLAGS" offset="0x0C" size="1">
                    <bitfield caption="Compare or Capture D Interrupt Flag" mask="0x80" name="CCDIF"/>
                    <bitfield caption="Compare or Capture C Interrupt Flag" mask="0x40" name="CCCIF"/>
                    <bitfield caption="Compare or Capture B Interrupt Flag" mask="0x20" name="CCBIF"/>
                    <bitfield caption="Compare or Capture A Interrupt Flag" mask="0x10" name="CCAIF"/>
                    <bitfield caption="Error Interrupt Flag" mask="0x02" name="ERRIF"/>
                    <bitfield caption="Overflow Interrupt Flag" mask="0x01" name="OVFIF"/>
                </register>
                <register caption="Temporary Register For 16-bit Access" name="TEMP" offset="0x0F" size="1"/>
                <register caption="Count" name="CNT" offset="0x20" size="2"/>
                <register caption="Period" name="PER" offset="0x26" size="2"/>
                <register caption="Compare or Capture A" name="CCA" offset="0x28" size="2"/>
                <register caption="Compare or Capture B" name="CCB" offset="0x2A" size="2"/>
                <register caption="Compare or Capture C" name="CCC" offset="0x2C" size="2"/>
                <register caption="Compare or Capture D" name="CCD" offset="0x2E" size="2"/>
                <register caption="Period Buffer" name="PERBUF" offset="0x36" size="2"/>
                <register caption="Compare Or Capture A Buffer" name="CCABUF" offset="0x38" size="2"/>
                <register caption="Compare Or Capture B Buffer" name="CCBBUF" offset="0x3A" size="2"/>
                <register caption="Compare Or Capture C Buffer" name="CCCBUF" offset="0x3C" size="2"/>
                <register caption="Compare Or Capture D Buffer" name="CCDBUF" offset="0x3E" size="2"/>
            </register-group>
            <register-group caption="16-bit Timer/Counter 1" name="TC1" size="60">
                <register caption="Control Register A" name="CTRLA" offset="0x00" size="1">
                    <bitfield caption="Clock Selection" mask="0x0F" name="CLKSEL" values="TC_CLKSEL"/>
                </register>
                <register caption="Control Register B" name="CTRLB" offset="0x01" size="1">
                    <bitfield caption="Compare or Capture B Enable" mask="0x20" name="CCBEN"/>
                    <bitfield caption="Compare or Capture A Enable" mask="0x10" name="CCAEN"/>
                    <bitfield caption="Waveform generation mode" mask="0x07" name="WGMODE" values="TC_WGMODE"/>
                </register>
                <register caption="Control register C" name="CTRLC" offset="0x02" size="1">
                    <bitfield caption="Compare B Output Value" mask="0x02" name="CMPB"/>
                    <bitfield caption="Compare A Output Value" mask="0x01" name="CMPA"/>
                </register>
                <register caption="Control Register D" name="CTRLD" offset="0x03" size="1">
                    <bitfield caption="Event Action" mask="0xE0" name="EVACT" values="TC_EVACT"/>
                    <bitfield caption="Event Delay" mask="0x10" name="EVDLY"/>
                    <bitfield caption="Event Source Select" mask="0x0F" name="EVSEL" values="TC_EVSEL"/>
                </register>
                <register caption="Control Register E" name="CTRLE" offset="0x04" size="1">
                    <bitfield caption="Byte Mode" mask="0x01" name="BYTEM"/>
                </register>
                <register caption="Interrupt Control Register A" name="INTCTRLA" offset="0x06" size="1">
                    <bitfield caption="Error Interrupt Level" mask="0x0C" name="ERRINTLVL" values="TC_ERRINTLVL"/>
                    <bitfield caption="Overflow interrupt level" mask="0x03" name="OVFINTLVL" values="TC_OVFINTLVL"/>
                </register>
                <register caption="Interrupt Control Register B" name="INTCTRLB" offset="0x07" size="1">
                    <bitfield caption="Compare or Capture B Interrupt Level" mask="0x0C" name="CCBINTLVL"
                              values="TC_CCBINTLVL"/>
                    <bitfield caption="Compare or Capture A Interrupt Level" mask="0x03" name="CCAINTLVL"
                              values="TC_CCAINTLVL"/>
                </register>
                <register caption="Control Register F Clear" name="CTRLFCLR" offset="0x08" size="1">
                    <bitfield caption="Command" mask="0x0C" name="CMD"/>
                    <bitfield caption="Lock Update" mask="0x02" name="LUPD"/>
                    <bitfield caption="Direction" mask="0x01" name="DIR"/>
                </register>
                <register caption="Control Register F Set" name="CTRLFSET" offset="0x09" size="1">
                    <bitfield caption="Command" mask="0x0C" name="CMD" values="TC_CMD"/>
                    <bitfield caption="Lock Update" mask="0x02" name="LUPD"/>
                    <bitfield caption="Direction" mask="0x01" name="DIR"/>
                </register>
                <register caption="Control Register G Clear" name="CTRLGCLR" offset="0x0A" size="1">
                    <bitfield caption="Compare or Capture B Buffer Valid" mask="0x04" name="CCBBV"/>
                    <bitfield caption="Compare or Capture A Buffer Valid" mask="0x02" name="CCABV"/>
                    <bitfield caption="Period Buffer Valid" mask="0x01" name="PERBV"/>
                </register>
                <register caption="Control Register G Set" name="CTRLGSET" offset="0x0B" size="1">
                    <bitfield caption="Compare or Capture B Buffer Valid" mask="0x04" name="CCBBV"/>
                    <bitfield caption="Compare or Capture A Buffer Valid" mask="0x02" name="CCABV"/>
                    <bitfield caption="Period Buffer Valid" mask="0x01" name="PERBV"/>
                </register>
                <register caption="Interrupt Flag Register" name="INTFLAGS" offset="0x0C" size="1">
                    <bitfield caption="Compare or Capture B Interrupt Flag" mask="0x20" name="CCBIF"/>
                    <bitfield caption="Compare or Capture A Interrupt Flag" mask="0x10" name="CCAIF"/>
                    <bitfield caption="Error Interrupt Flag" mask="0x02" name="ERRIF"/>
                    <bitfield caption="Overflow Interrupt Flag" mask="0x01" name="OVFIF"/>
                </register>
                <register caption="Temporary Register For 16-bit Access" name="TEMP" offset="0x0F" size="1"/>
                <register caption="Count" name="CNT" offset="0x20" size="2"/>
                <register caption="Period" name="PER" offset="0x26" size="2"/>
                <register caption="Compare or Capture A" name="CCA" offset="0x28" size="2"/>
                <register caption="Compare or Capture B" name="CCB" offset="0x2A" size="2"/>
                <register caption="Period Buffer" name="PERBUF" offset="0x36" size="2"/>
                <register caption="Compare Or Capture A Buffer" name="CCABUF" offset="0x38" size="2"/>
                <register caption="Compare Or Capture B Buffer" name="CCBBUF" offset="0x3A" size="2"/>
            </register-group>
            <register-group caption="Advanced Waveform Extension" name="AWEX" size="13">
                <register caption="Control Register" name="CTRL" offset="0x00" size="1">
                    <bitfield caption="Pattern Generation Mode" mask="0x20" name="PGM"/>
                    <bitfield caption="Common Waveform Channel Mode" mask="0x10" name="CWCM"/>
                    <bitfield caption="Dead Time Insertion Compare Channel D Enable" mask="0x08" name="DTICCDEN"/>
                    <bitfield caption="Dead Time Insertion Compare Channel C Enable" mask="0x04" name="DTICCCEN"/>
                    <bitfield caption="Dead Time Insertion Compare Channel B Enable" mask="0x02" name="DTICCBEN"/>
                    <bitfield caption="Dead Time Insertion Compare Channel A Enable" mask="0x01" name="DTICCAEN"/>
                </register>
                <register caption="Fault Detection Event Mask" name="FDEMASK" offset="0x02" size="1"/>
                <register caption="Fault Detection Control Register" name="FDCTRL" offset="0x03" size="1">
                    <bitfield caption="Fault Detect on Disable Break Disable" mask="0x10" name="FDDBD"/>
                    <bitfield caption="Fault Detect Mode" mask="0x04" name="FDMODE"/>
                    <bitfield caption="Fault Detect Action" mask="0x03" name="FDACT" values="AWEX_FDACT"/>
                </register>
                <register caption="Status Register" name="STATUS" offset="0x04" size="1">
                    <bitfield caption="Fault Detect Flag" mask="0x04" name="FDF"/>
                    <bitfield caption="Dead Time High Side Buffer Valid" mask="0x02" name="DTHSBUFV"/>
                    <bitfield caption="Dead Time Low Side Buffer Valid" mask="0x01" name="DTLSBUFV"/>
                </register>
                <register caption="Dead Time Both Sides" name="DTBOTH" offset="0x06" size="1"/>
                <register caption="Dead Time Both Sides Buffer" name="DTBOTHBUF" offset="0x07" size="1"/>
                <register caption="Dead Time Low Side" name="DTLS" offset="0x08" size="1"/>
                <register caption="Dead Time High Side" name="DTHS" offset="0x09" size="1"/>
                <register caption="Dead Time Low Side Buffer" name="DTLSBUF" offset="0x0A" size="1"/>
                <register caption="Dead Time High Side Buffer" name="DTHSBUF" offset="0x0B" size="1"/>
                <register caption="Output Override Enable" name="OUTOVEN" offset="0x0C" size="1"/>
            </register-group>
            <register-group caption="High-Resolution Extension" name="HIRES" size="1">
                <register caption="Control Register" name="CTRLA" offset="0x00" size="1">
                    <bitfield caption="High Resolution Enable" mask="0x03" name="HREN" values="HIRES_HREN"/>
                </register>
            </register-group>
            <value-group caption="Clock Selection" name="TC_CLKSEL">
                <value caption="Timer Off" name="OFF" value="0x00"/>
                <value caption="System Clock" name="DIV1" value="0x01"/>
                <value caption="System Clock / 2" name="DIV2" value="0x02"/>
                <value caption="System Clock / 4" name="DIV4" value="0x03"/>
                <value caption="System Clock / 8" name="DIV8" value="0x04"/>
                <value caption="System Clock / 64" name="DIV64" value="0x05"/>
                <value caption="System Clock / 256" name="DIV256" value="0x06"/>
                <value caption="System Clock / 1024" name="DIV1024" value="0x07"/>
                <value caption="Event Channel 0" name="EVCH0" value="0x08"/>
                <value caption="Event Channel 1" name="EVCH1" value="0x09"/>
                <value caption="Event Channel 2" name="EVCH2" value="0x0A"/>
                <value caption="Event Channel 3" name="EVCH3" value="0x0B"/>
                <value caption="Event Channel 4" name="EVCH4" value="0x0C"/>
                <value caption="Event Channel 5" name="EVCH5" value="0x0D"/>
                <value caption="Event Channel 6" name="EVCH6" value="0x0E"/>
                <value caption="Event Channel 7" name="EVCH7" value="0x0F"/>
            </value-group>
            <value-group caption="Waveform Generation Mode" name="TC_WGMODE">
                <value caption="Normal Mode" name="NORMAL" value="0x00"/>
                <value caption="Frequency Generation Mode" name="FRQ" value="0x01"/>
                <value caption="Single Slope" name="SS" value="0x03"/>
                <value caption="Dual Slope, Update on TOP" name="DS_T" value="0x05"/>
                <value caption="Dual Slope, Update on TOP and BOTTOM" name="DS_TB" value="0x06"/>
                <value caption="Dual Slope, Update on BOTTOM" name="DS_B" value="0x07"/>
            </value-group>
            <value-group caption="Event Action" name="TC_EVACT">
                <value caption="No Event Action" name="OFF" value="0x00"/>
                <value caption="Input Capture" name="CAPT" value="0x01"/>
                <value caption="Externally Controlled Up/Down Count" name="UPDOWN" value="0x02"/>
                <value caption="Quadrature Decode" name="QDEC" value="0x03"/>
                <value caption="Restart" name="RESTART" value="0x04"/>
                <value caption="Frequency Capture" name="FRQ" value="0x05"/>
                <value caption="Pulse-width Capture" name="PW" value="0x06"/>
            </value-group>
            <value-group caption="Event Selection" name="TC_EVSEL">
                <value caption="No Event Source" name="OFF" value="0x00"/>
                <value caption="Event Channel 0" name="CH0" value="0x08"/>
                <value caption="Event Channel 1" name="CH1" value="0x09"/>
                <value caption="Event Channel 2" name="CH2" value="0x0A"/>
                <value caption="Event Channel 3" name="CH3" value="0x0B"/>
                <value caption="Event Channel 4" name="CH4" value="0x0C"/>
                <value caption="Event Channel 5" name="CH5" value="0x0D"/>
                <value caption="Event Channel 6" name="CH6" value="0x0E"/>
                <value caption="Event Channel 7" name="CH7" value="0x0F"/>
            </value-group>
            <value-group caption="Error Interrupt Level" name="TC_ERRINTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Overflow Interrupt Level" name="TC_OVFINTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Compare or Capture D Interrupt Level" name="TC_CCDINTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Compare or Capture C Interrupt Level" name="TC_CCCINTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Compare or Capture B Interrupt Level" name="TC_CCBINTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Compare or Capture A Interrupt Level" name="TC_CCAINTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Timer/Counter Command" name="TC_CMD">
                <value caption="No Command" name="NONE" value="0x00"/>
                <value caption="Force Update" name="UPDATE" value="0x01"/>
                <value caption="Force Restart" name="RESTART" value="0x02"/>
                <value caption="Force Hard Reset" name="RESET" value="0x03"/>
            </value-group>
            <value-group caption="Fault Detect Action" name="AWEX_FDACT">
                <value caption="No Fault Protection" name="NONE" value="0x00"/>
                <value caption="Clear Output Enable Bits" name="CLEAROE" value="0x01"/>
                <value caption="Clear I/O Port Direction Bits" name="CLEARDIR" value="0x03"/>
            </value-group>
            <value-group caption="High Resolution Enable" name="HIRES_HREN">
                <value caption="No Fault Protection" name="NONE" value="0x00"/>
                <value caption="Enable High Resolution on Timer/Counter 0" name="TC0" value="0x01"/>
                <value caption="Enable High Resolution on Timer/Counter 1" name="TC1" value="0x02"/>
                <value caption="Enable High Resolution both Timer/Counters" name="BOTH" value="0x03"/>
            </value-group>
            <interrupt-group name="TC0">
                <interrupt index="0" name="OVF" caption="Overflow Interrupt"/>
                <interrupt index="1" name="ERR" caption="Error Interrupt"/>
                <interrupt index="2" name="CCA" caption="Compare or Capture A Interrupt"/>
                <interrupt index="3" name="CCB" caption="Compare or Capture B Interrupt"/>
                <interrupt index="4" name="CCC" caption="Compare or Capture C Interrupt"/>
                <interrupt index="5" name="CCD" caption="Compare or Capture D Interrupt"/>
            </interrupt-group>
            <interrupt-group name="TC1">
                <interrupt index="0" name="OVF" caption="Overflow Interrupt"/>
                <interrupt index="1" name="ERR" caption="Error Interrupt"/>
                <interrupt index="2" name="CCA" caption="Compare or Capture A Interrupt"/>
                <interrupt index="3" name="CCB" caption="Compare or Capture B Interrupt"/>
            </interrupt-group>
        </module>
        <module name="USART" id="I6090" caption="Universal Asynchronous Receiver-Transmitter">
            <register-group caption="Universal Synchronous/Asynchronous Receiver/Transmitter" name="USART" size="8">
                <register caption="Data Register" name="DATA" offset="0x00" size="1"/>
                <register caption="Status Register" name="STATUS" offset="0x01" size="1">
                    <bitfield caption="Receive Interrupt Flag" mask="0x80" name="RXCIF"/>
                    <bitfield caption="Transmit Interrupt Flag" mask="0x40" name="TXCIF"/>
                    <bitfield caption="Data Register Empty Flag" mask="0x20" name="DREIF"/>
                    <bitfield caption="Frame Error" mask="0x10" name="FERR"/>
                    <bitfield caption="Buffer Overflow" mask="0x08" name="BUFOVF"/>
                    <bitfield caption="Parity Error" mask="0x04" name="PERR"/>
                    <bitfield caption="Receive Bit 8" mask="0x01" name="RXB8"/>
                </register>
                <register caption="Control Register A" name="CTRLA" offset="0x03" size="1">
                    <bitfield caption="Receive Interrupt Level" mask="0x30" name="RXCINTLVL" values="USART_RXCINTLVL"/>
                    <bitfield caption="Transmit Interrupt Level" mask="0x0C" name="TXCINTLVL" values="USART_TXCINTLVL"/>
                    <bitfield caption="Data Register Empty Interrupt Level" mask="0x03" name="DREINTLVL"
                              values="USART_DREINTLVL"/>
                </register>
                <register caption="Control Register B" name="CTRLB" offset="0x04" size="1">
                    <bitfield caption="Receiver Enable" mask="0x10" name="RXEN"/>
                    <bitfield caption="Transmitter Enable" mask="0x08" name="TXEN"/>
                    <bitfield caption="Double transmission speed" mask="0x04" name="CLK2X"/>
                    <bitfield caption="Multi-processor Communication Mode" mask="0x02" name="MPCM"/>
                    <bitfield caption="Transmit bit 8" mask="0x01" name="TXB8"/>
                </register>
                <register caption="Control Register C" name="CTRLC" offset="0x05" size="1">
                    <bitfield caption="Communication Mode" mask="0xC0" name="CMODE" values="USART_CMODE"/>
                    <bitfield caption="Parity Mode" mask="0x30" name="PMODE" values="USART_PMODE"/>
                    <bitfield caption="Stop Bit Mode" mask="0x08" name="SBMODE"/>
                    <bitfield caption="Character Size" mask="0x07" name="CHSIZE" values="USART_CHSIZE"/>
                    <bitfield caption="SPI Master Mode, Data Order" mask="0x04" name="UDORD"/>
                    <bitfield caption="SPI Master Mode, Clock Phase" mask="0x02" name="UCPHA"/>
                </register>
                <register caption="Baud Rate Control Register A" name="BAUDCTRLA" offset="0x06" size="1">
                    <bitfield caption="Baud Rate Selection Bits [7:0]" mask="0xFF" name="BSEL"/>
                </register>
                <register caption="Baud Rate Control Register B" name="BAUDCTRLB" offset="0x07" size="1">
                    <bitfield caption="Baud Rate Scale" mask="0xF0" name="BSCALE"/>
                    <bitfield caption="Baud Rate Selection bits[11:8]" mask="0x0F" name="BSEL"/>
                </register>
            </register-group>
            <value-group caption="Receive Complete Interrupt level" name="USART_RXCINTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Transmit Complete Interrupt level" name="USART_TXCINTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Data Register Empty Interrupt level" name="USART_DREINTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <value-group caption="Character Size" name="USART_CHSIZE">
                <value caption="Character size: 5 bit" name="5BIT" value="0x00"/>
                <value caption="Character size: 6 bit" name="6BIT" value="0x01"/>
                <value caption="Character size: 7 bit" name="7BIT" value="0x02"/>
                <value caption="Character size: 8 bit" name="8BIT" value="0x03"/>
                <value caption="Character size: 9 bit" name="9BIT" value="0x07"/>
            </value-group>
            <value-group caption="Communication Mode" name="USART_CMODE">
                <value caption="Asynchronous Mode" name="ASYNCHRONOUS" value="0x00"/>
                <value caption="Synchronous Mode" name="SYNCHRONOUS" value="0x01"/>
                <value caption="IrDA Mode" name="IRDA" value="0x02"/>
                <value caption="Master SPI Mode" name="MSPI" value="0x03"/>
            </value-group>
            <value-group caption="Parity Mode" name="USART_PMODE">
                <value caption="No Parity" name="DISABLED" value="0x00"/>
                <value caption="Even Parity" name="EVEN" value="0x02"/>
                <value caption="Odd Parity" name="ODD" value="0x03"/>
            </value-group>
            <interrupt-group name="USART">
                <interrupt index="0" name="RXC" caption="Reception Complete Interrupt"/>
                <interrupt index="1" name="DRE" caption="Data Register Empty Interrupt"/>
                <interrupt index="2" name="TXC" caption="Transmission Complete Interrupt"/>
            </interrupt-group>
        </module>
        <module name="SPI" id="I6090" caption="Serial Peripheral Interface">
            <register-group caption="Serial Peripheral Interface" name="SPI" size="4">
                <register caption="Control Register" name="CTRL" offset="0x0" size="1">
                    <bitfield caption="Enable Double Speed" mask="0x80" name="CLK2X"/>
                    <bitfield caption="Enable Module" mask="0x40" name="ENABLE"/>
                    <bitfield caption="Data Order Setting" mask="0x20" name="DORD"/>
                    <bitfield caption="Master Operation Enable" mask="0x10" name="MASTER"/>
                    <bitfield caption="SPI Mode" mask="0x0C" name="MODE" values="SPI_MODE"/>
                    <bitfield caption="Prescaler" mask="0x03" name="PRESCALER" values="SPI_PRESCALER"/>
                </register>
                <register caption="Interrupt Control Register" name="INTCTRL" offset="0x01" size="1">
                    <bitfield caption="Interrupt level" mask="0x03" name="INTLVL" values="SPI_INTLVL"/>
                </register>
                <register caption="Status Register" name="STATUS" offset="0x02" size="1">
                    <bitfield caption="Interrupt Flag" mask="0x80" name="IF"/>
                    <bitfield caption="Write Collision" mask="0x40" name="WRCOL"/>
                </register>
                <register caption="Data Register" name="DATA" offset="0x03" size="1"/>
            </register-group>
            <value-group caption="SPI Mode" name="SPI_MODE">
                <value caption="SPI Mode 0" name="0" value="0x00"/>
                <value caption="SPI Mode 1" name="1" value="0x01"/>
                <value caption="SPI Mode 2" name="2" value="0x02"/>
                <value caption="SPI Mode 3" name="3" value="0x03"/>
            </value-group>
            <value-group caption="Prescaler setting" name="SPI_PRESCALER">
                <value caption="System Clock / 4" name="DIV4" value="0x00"/>
                <value caption="System Clock / 16" name="DIV16" value="0x01"/>
                <value caption="System Clock / 64" name="DIV64" value="0x02"/>
                <value caption="System Clock / 128" name="DIV128" value="0x03"/>
            </value-group>
            <value-group caption="Interrupt level" name="SPI_INTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <interrupt-group name="SPI">
                <interrupt index="0" name="INT" caption="SPI Interrupt"/>
            </interrupt-group>
        </module>
        <module name="IRCOM" id="I6090" caption="IR Communication Module">
            <register-group caption="IR Communication Module" name="IRCOM" size="3">
                <register caption="Control Register" name="CTRL" offset="0x00" size="1">
                    <bitfield caption="Event Channel Select" mask="0x0F" name="EVSEL" values="IRDA_EVSEL"/>
                </register>
                <register caption="IrDA Transmitter Pulse Length Control Register" name="TXPLCTRL" offset="0x01"
                          size="1"/>
                <register caption="IrDA Receiver Pulse Length Control Register" name="RXPLCTRL" offset="0x02" size="1"/>
            </register-group>
            <value-group caption="Event channel selection" name="IRDA_EVSEL">
                <value caption="No Event Source" name="OFF" value="0x00"/>
                <value caption="Event Channel 0" name="0" value="0x08"/>
                <value caption="Event Channel 1" name="1" value="0x09"/>
                <value caption="Event Channel 2" name="2" value="0x0A"/>
                <value caption="Event Channel 3" name="3" value="0x0B"/>
                <value caption="Event Channel 4" name="4" value="0x0C"/>
                <value caption="Event Channel 5" name="5" value="0x0D"/>
                <value caption="Event Channel 6" name="6" value="0x0E"/>
                <value caption="Event Channel 7" name="7" value="0x0F"/>
            </value-group>
        </module>
        <module name="AES" id="I6096" caption="AES Module">
            <register-group caption="AES Module" name="AES" size="5">
                <register caption="AES Control Register" name="CTRL" offset="0x00" size="1">
                    <bitfield caption="Start/Run" mask="0x80" name="START"/>
                    <bitfield caption="Auto Start Trigger" mask="0x40" name="AUTO"/>
                    <bitfield caption="AES Software Reset" mask="0x20" name="RESET"/>
                    <bitfield caption="Decryption / Direction" mask="0x10" name="DECRYPT"/>
                    <bitfield caption="State XOR Load Enable" mask="0x04" name="XOR"/>
                </register>
                <register caption="AES Status Register" name="STATUS" offset="0x01" size="1">
                    <bitfield caption="AES Error" mask="0x80" name="ERROR"/>
                    <bitfield caption="State Ready Interrupt Flag" mask="0x01" name="SRIF"/>
                </register>
                <register caption="AES State Register" name="STATE" offset="0x02" size="1"/>
                <register caption="AES Key Register" name="KEY" offset="0x03" size="1"/>
                <register caption="AES Interrupt Control Register" name="INTCTRL" offset="0x04" size="1">
                    <bitfield caption="Interrupt level" mask="0x03" name="INTLVL" values="AES_INTLVL"/>
                </register>
            </register-group>
            <value-group caption="Interrupt level" name="AES_INTLVL">
                <value caption="Interrupt Disabled" name="OFF" value="0x00"/>
                <value caption="Low Level" name="LO" value="0x01"/>
                <value caption="Medium Level" name="MED" value="0x02"/>
                <value caption="High Level" name="HI" value="0x03"/>
            </value-group>
            <interrupt-group name="AES">
                <interrupt index="0" name="INT" caption="AES Interrupt"/>
            </interrupt-group>
        </module>
    </modules>
    <pinouts>
        <pinout name="QFP_QFN_64">
            <pin pad="PA3" position="1"/>
            <pin pad="PA4" position="2"/>
            <pin pad="PA5" position="3"/>
            <pin pad="PA6" position="4"/>
            <pin pad="PA7" position="5"/>
            <pin pad="PB0" position="6"/>
            <pin pad="PB1" position="7"/>
            <pin pad="PB2" position="8"/>
            <pin pad="PB3" position="9"/>
            <pin pad="PB4" position="10"/>
            <pin pad="PB5" position="11"/>
            <pin pad="PB6" position="12"/>
            <pin pad="PB7" position="13"/>
            <pin pad="GND" position="14"/>
            <pin pad="VCC" position="15"/>
            <pin pad="PC0" position="16"/>
            <pin pad="PC1" position="17"/>
            <pin pad="PC2" position="18"/>
            <pin pad="PC3" position="19"/>
            <pin pad="PC4" position="20"/>
            <pin pad="PC5" position="21"/>
            <pin pad="PC6" position="22"/>
            <pin pad="PC7" position="23"/>
            <pin pad="GND" position="24"/>
            <pin pad="VCC" position="25"/>
            <pin pad="PD0" position="26"/>
            <pin pad="PD1" position="27"/>
            <pin pad="PD2" position="28"/>
            <pin pad="PD3" position="29"/>
            <pin pad="PD4" position="30"/>
            <pin pad="PD5" position="31"/>
            <pin pad="PD6" position="32"/>
            <pin pad="PD7" position="33"/>
            <pin pad="GND" position="34"/>
            <pin pad="VCC" position="35"/>
            <pin pad="PE0" position="36"/>
            <pin pad="PE1" position="37"/>
            <pin pad="PE2" position="38"/>
            <pin pad="PE3" position="39"/>
            <pin pad="PE4" position="40"/>
            <pin pad="PE5" position="41"/>
            <pin pad="PE6" position="42"/>
            <pin pad="PE7" position="43"/>
            <pin pad="GND" position="44"/>
            <pin pad="VCC" position="45"/>
            <pin pad="PF0" position="46"/>
            <pin pad="PF1" position="47"/>
            <pin pad="PF2" position="48"/>
            <pin pad="PF3" position="49"/>
            <pin pad="PF4" position="50"/>
            <pin pad="PF5" position="51"/>
            <pin pad="GND" position="52"/>
            <pin pad="VCC" position="53"/>
            <pin pad="PF6" position="54"/>
            <pin pad="PF7" position="55"/>
            <pin pad="PDI" position="56"/>
            <pin pad="RESET" position="57"/>
            <pin pad="PR0" position="58"/>
            <pin pad="PR1" position="59"/>
            <pin pad="GND" position="60"/>
            <pin pad="AVCC" position="61"/>
            <pin pad="PA0" position="62"/>
            <pin pad="PA1" position="63"/>
            <pin pad="PA2" position="64"/>
        </pinout>
    </pinouts>
</target-description-file>
