Tidying AVR TDFs

This commit is contained in:
Nav
2024-08-01 19:27:16 +01:00
parent 8246c03d29
commit f3e2a5c8a5
261 changed files with 82734 additions and 82728 deletions

View File

@@ -272,35 +272,35 @@
<modules>
<module key="fuse" name="FUSE" description="Fuses">
<register-group key="fuse" name="FUSE">
<register key="low" name="LOW" offset="0x0" size="1" initial-value="0x62">
<register key="low" name="LOW" offset="0x00" size="1" initial-value="0x62">
<bit-field key="ckdiv8" name="CKDIV8" description="Divide clock by 8 internally" mask="0x80"/>
<bit-field key="ckout" name="CKOUT" description="Clock output on PORTD1" mask="0x40"/>
<bit-field key="sut_cksel" name="SUT_CKSEL" description="Select Clock Source" mask="0x3F"/>
</register>
<register key="high" name="HIGH" offset="0x1" size="1" initial-value="0xD9">
<register key="high" name="HIGH" offset="0x01" size="1" initial-value="0xD9">
<bit-field key="rstdisbl" name="RSTDISBL" description="Reset Disabled (Enable PE0 as I/O pin)" mask="0x80"/>
<bit-field key="dwen" name="DWEN" description="Debug Wire enable" mask="0x40"/>
<bit-field key="spien" name="SPIEN" description="Serial program downloading (SPI) enabled" mask="0x20"/>
<bit-field key="wdton" name="WDTON" description="Watch-dog Timer always on" mask="0x10"/>
<bit-field key="eesave" name="EESAVE" description="Preserve EEPROM through the Chip Erase cycle" mask="0x8"/>
<bit-field key="bootsz" name="BOOTSZ" description="Select Boot Size" mask="0x6"/>
<bit-field key="bootrst" name="BOOTRST" description="Select Reset Vector" mask="0x1"/>
<bit-field key="eesave" name="EESAVE" description="Preserve EEPROM through the Chip Erase cycle" mask="0x08"/>
<bit-field key="bootsz" name="BOOTSZ" description="Select Boot Size" mask="0x06"/>
<bit-field key="bootrst" name="BOOTRST" description="Select Reset Vector" mask="0x01"/>
</register>
<register key="extended" name="EXTENDED" offset="0x2" size="1" initial-value="0xFD">
<register key="extended" name="EXTENDED" offset="0x02" size="1" initial-value="0xFD">
<bit-field key="psc2rb" name="PSC2RB" description="PSC2 Reset Behavior" mask="0x80"/>
<bit-field key="psc2rba" name="PSC2RBA" description="PSC2 Reset Behavior for 22 and 23" mask="0x40"/>
<bit-field key="psc0rb" name="PSC0RB" description="PSC0 Reset Behavior" mask="0x20"/>
<bit-field key="pscrv" name="PSCRV" description="PSC Reset Value" mask="0x10"/>
<bit-field key="pscinrb" name="PSCINRB" description="PSC2 and PSC0 input Reset Behavior" mask="0x8"/>
<bit-field key="bodlevel" name="BODLEVEL" description="Brown-out Detector Trigger Level" mask="0x7"/>
<bit-field key="pscinrb" name="PSCINRB" description="PSC2 and PSC0 input Reset Behavior" mask="0x08"/>
<bit-field key="bodlevel" name="BODLEVEL" description="Brown-out Detector Trigger Level" mask="0x07"/>
</register>
</register-group>
</module>
<module key="lockbit" name="LOCKBIT" description="Lockbits">
<register-group key="lockbit" name="LOCKBIT">
<register key="lockbit" name="LOCKBIT" offset="0x0" size="1" initial-value="0xFF">
<bit-field key="lb" name="LB" description="Memory Lock" mask="0x3"/>
<bit-field key="blb0" name="BLB0" description="Boot Loader Protection Mode" mask="0xC"/>
<register key="lockbit" name="LOCKBIT" offset="0x00" size="1" initial-value="0xFF">
<bit-field key="lb" name="LB" description="Memory Lock" mask="0x03"/>
<bit-field key="blb0" name="BLB0" description="Boot Loader Protection Mode" mask="0x0C"/>
<bit-field key="blb1" name="BLB1" description="Boot Loader Protection Mode" mask="0x30"/>
</register>
</register-group>
@@ -333,8 +333,8 @@
<register key="dacon" name="DACON" description="DAC Control Register" offset="0x76" size="1">
<bit-field key="daate" name="DAATE" description="DAC Auto Trigger Enable Bit" mask="0x80"/>
<bit-field key="dats" name="DATS" description="DAC Trigger Selection Bits" mask="0x70"/>
<bit-field key="dala" name="DALA" description="DAC Left Adjust" mask="0x4"/>
<bit-field key="daen" name="DAEN" description="DAC Enable Bit" mask="0x1"/>
<bit-field key="dala" name="DALA" description="DAC Left Adjust" mask="0x04"/>
<bit-field key="daen" name="DAEN" description="DAC Enable Bit" mask="0x01"/>
</register>
</register-group>
</module>
@@ -345,14 +345,14 @@
<bit-field key="spe" name="SPE" description="SPI Enable" mask="0x40"/>
<bit-field key="dord" name="DORD" description="Data Order" mask="0x20"/>
<bit-field key="mstr" name="MSTR" description="Master/Slave Select" mask="0x10"/>
<bit-field key="cpol" name="CPOL" description="Clock polarity" mask="0x8"/>
<bit-field key="cpha" name="CPHA" description="Clock Phase" mask="0x4"/>
<bit-field key="spr" name="SPR" description="SPI Clock Rate Selects" mask="0x3"/>
<bit-field key="cpol" name="CPOL" description="Clock polarity" mask="0x08"/>
<bit-field key="cpha" name="CPHA" description="Clock Phase" mask="0x04"/>
<bit-field key="spr" name="SPR" description="SPI Clock Rate Selects" mask="0x03"/>
</register>
<register key="spsr" name="SPSR" description="SPI Status Register" offset="0x38" size="1">
<bit-field key="spif" name="SPIF" description="SPI Interrupt Flag" mask="0x80"/>
<bit-field key="wcol" name="WCOL" description="Write Collision Flag" mask="0x40"/>
<bit-field key="spi2x" name="SPI2X" description="Double SPI Speed Bit" mask="0x1"/>
<bit-field key="spi2x" name="SPI2X" description="Double SPI Speed Bit" mask="0x01"/>
</register>
<register key="spdr" name="SPDR" description="SPI Data Register" offset="0x56" size="1"/>
</register-group>
@@ -364,22 +364,22 @@
<bit-field key="wdie" name="WDIE" description="Watchdog Timeout Interrupt Enable" mask="0x40"/>
<bit-field key="wdp" name="WDP" description="Watchdog Timer Prescaler Bits" mask="0x27"/>
<bit-field key="wdce" name="WDCE" description="Watchdog Change Enable" mask="0x10"/>
<bit-field key="wde" name="WDE" description="Watch Dog Enable" mask="0x8"/>
<bit-field key="wde" name="WDE" description="Watch Dog Enable" mask="0x08"/>
</register>
</register-group>
</module>
<module key="exint" name="EXINT" description="External Interrupts">
<register-group key="exint" name="EXINT">
<register key="eifr" name="EIFR" description="External Interrupt Flag Register" offset="0x40" size="1">
<bit-field key="intf" name="INTF" description="External Interrupt Flags" mask="0x7"/>
<bit-field key="intf" name="INTF" description="External Interrupt Flags" mask="0x07"/>
</register>
<register key="eimsk" name="EIMSK" description="External Interrupt Mask Register" offset="0x41" size="1">
<bit-field key="int" name="INT" description="External Interrupt Request 2 Enable" mask="0x7"/>
<bit-field key="int" name="INT" description="External Interrupt Request 2 Enable" mask="0x07"/>
</register>
<register key="eicra" name="EICRA" description="External Interrupt Control Register A" offset="0x89" size="1">
<bit-field key="isc2" name="ISC2" description="External Interrupt Sense Control Bit" mask="0x30"/>
<bit-field key="isc1" name="ISC1" description="External Interrupt Sense Control Bit" mask="0xC"/>
<bit-field key="isc0" name="ISC0" description="External Interrupt Sense Control Bit" mask="0x3"/>
<bit-field key="isc1" name="ISC1" description="External Interrupt Sense Control Bit" mask="0x0C"/>
<bit-field key="isc0" name="ISC0" description="External Interrupt Sense Control Bit" mask="0x03"/>
</register>
</register-group>
</module>
@@ -390,19 +390,19 @@
<bit-field key="adsc" name="ADSC" description="ADC Start Conversion" mask="0x40"/>
<bit-field key="adate" name="ADATE" description="ADC Auto Trigger Enable" mask="0x20"/>
<bit-field key="adif" name="ADIF" description="ADC Interrupt Flag" mask="0x10"/>
<bit-field key="adie" name="ADIE" description="ADC Interrupt Enable" mask="0x8"/>
<bit-field key="adps" name="ADPS" description="ADC Prescaler Select Bits" mask="0x7"/>
<bit-field key="adie" name="ADIE" description="ADC Interrupt Enable" mask="0x08"/>
<bit-field key="adps" name="ADPS" description="ADC Prescaler Select Bits" mask="0x07"/>
</register>
<register key="adcsrb" name="ADCSRB" description="ADC Control and Status Register B" offset="0x27" size="1">
<bit-field key="adhsm" name="ADHSM" description="ADC High Speed Mode" mask="0x80"/>
<bit-field key="adncdis" name="ADNCDIS" description="ADC Noise Canceller Disable" mask="0x40"/>
<bit-field key="adssen" name="ADSSEN" description="ADC Single Shot Enable on PSC's Synchronisation Signals" mask="0x10"/>
<bit-field key="adts" name="ADTS" description="ADC Auto Trigger Sources" mask="0xF"/>
<bit-field key="adts" name="ADTS" description="ADC Auto Trigger Sources" mask="0x0F"/>
</register>
<register key="admux" name="ADMUX" description="The ADC multiplexer Selection Register" offset="0x28" size="1">
<bit-field key="refs" name="REFS" description="Reference Selection Bits" mask="0xC0"/>
<bit-field key="adlar" name="ADLAR" description="Left Adjust Result" mask="0x20"/>
<bit-field key="mux" name="MUX" description="Analog Channel and Gain Selection Bits" mask="0xF"/>
<bit-field key="mux" name="MUX" description="Analog Channel and Gain Selection Bits" mask="0x0F"/>
</register>
<register key="adc" name="ADC" description="ADC Data Register Bytes" offset="0x4C" size="2"/>
<register key="didr0" name="DIDR0" description="Digital Input Disable Register 0" offset="0x77" size="1">
@@ -410,23 +410,23 @@
<bit-field key="adc6d" name="ADC6D" description="ADC7 Digital input Disable" mask="0x40"/>
<bit-field key="adc5d" name="ADC5D" description="ADC5 Digital input Disable" mask="0x20"/>
<bit-field key="adc4d" name="ADC4D" description="ADC4 Digital input Disable" mask="0x10"/>
<bit-field key="adc3d" name="ADC3D" description="ADC3 Digital input Disable" mask="0x8"/>
<bit-field key="adc2d" name="ADC2D" description="ADC2 Digital input Disable" mask="0x4"/>
<bit-field key="adc1d" name="ADC1D" description="ADC1 Digital input Disable" mask="0x2"/>
<bit-field key="adc0d" name="ADC0D" description="ADC0 Digital input Disable" mask="0x1"/>
<bit-field key="adc3d" name="ADC3D" description="ADC3 Digital input Disable" mask="0x08"/>
<bit-field key="adc2d" name="ADC2D" description="ADC2 Digital input Disable" mask="0x04"/>
<bit-field key="adc1d" name="ADC1D" description="ADC1 Digital input Disable" mask="0x02"/>
<bit-field key="adc0d" name="ADC0D" description="ADC0 Digital input Disable" mask="0x01"/>
</register>
<register key="didr1" name="DIDR1" description="Digital Input Disable Register 0" offset="0x78" size="1">
<bit-field key="acmp1md" name="ACMP1MD" mask="0x8"/>
<bit-field key="amp0posd" name="AMP0POSD" mask="0x4"/>
<bit-field key="adc10d" name="ADC10D" mask="0x2"/>
<bit-field key="adc9d" name="ADC9D" mask="0x1"/>
<bit-field key="acmp1md" name="ACMP1MD" mask="0x08"/>
<bit-field key="amp0posd" name="AMP0POSD" mask="0x04"/>
<bit-field key="adc10d" name="ADC10D" mask="0x02"/>
<bit-field key="adc9d" name="ADC9D" mask="0x01"/>
</register>
<register key="amp0csr" name="AMP0CSR" offset="0x79" size="1">
<bit-field key="amp0en" name="AMP0EN" mask="0x80"/>
<bit-field key="amp0is" name="AMP0IS" mask="0x40"/>
<bit-field key="amp0g" name="AMP0G" mask="0x30"/>
<bit-field key="amp0gs" name="AMP0GS" mask="0x8"/>
<bit-field key="amp0ts" name="AMP0TS" mask="0x3"/>
<bit-field key="amp0gs" name="AMP0GS" mask="0x08"/>
<bit-field key="amp0ts" name="AMP0TS" mask="0x03"/>
</register>
</register-group>
</module>
@@ -436,44 +436,44 @@
<bit-field key="ac3if" name="AC3IF" description="Analog Comparator 3 Interrupt Flag Bit" mask="0x80"/>
<bit-field key="ac2if" name="AC2IF" description="Analog Comparator 2 Interrupt Flag Bit" mask="0x40"/>
<bit-field key="ac1if" name="AC1IF" description="Analog Comparator 1 Interrupt Flag Bit" mask="0x20"/>
<bit-field key="ac3o" name="AC3O" description="Analog Comparator 3 Output Bit" mask="0x8"/>
<bit-field key="ac2o" name="AC2O" description="Analog Comparator 2 Output Bit" mask="0x4"/>
<bit-field key="ac1o" name="AC1O" description="Analog Comparator 1 Output Bit" mask="0x2"/>
<bit-field key="ac3o" name="AC3O" description="Analog Comparator 3 Output Bit" mask="0x08"/>
<bit-field key="ac2o" name="AC2O" description="Analog Comparator 2 Output Bit" mask="0x04"/>
<bit-field key="ac1o" name="AC1O" description="Analog Comparator 1 Output Bit" mask="0x02"/>
</register>
<register key="ac1econ" name="AC1ECON" offset="0x7A" size="1">
<bit-field key="ac1oi" name="AC1OI" description="Analog Comparator Ouput Invert" mask="0x20"/>
<bit-field key="ac1oe" name="AC1OE" description="Analog Comparator Ouput Enable" mask="0x10"/>
<bit-field key="ac1ice" name="AC1ICE" description="Analog Comparator Interrupt Capture Enable" mask="0x8"/>
<bit-field key="ac1h" name="AC1H" description="Analog Comparator Hysteresis Select" mask="0x7"/>
<bit-field key="ac1ice" name="AC1ICE" description="Analog Comparator Interrupt Capture Enable" mask="0x08"/>
<bit-field key="ac1h" name="AC1H" description="Analog Comparator Hysteresis Select" mask="0x07"/>
</register>
<register key="ac2econ" name="AC2ECON" offset="0x7B" size="1">
<bit-field key="ac2oi" name="AC2OI" description="Analog Comparator Ouput Invert" mask="0x20"/>
<bit-field key="ac2oe" name="AC2OE" description="Analog Comparator Ouput Enable" mask="0x10"/>
<bit-field key="ac2h" name="AC2H" description="Analog Comparator Hysteresis Select" mask="0x7"/>
<bit-field key="ac2h" name="AC2H" description="Analog Comparator Hysteresis Select" mask="0x07"/>
</register>
<register key="ac3econ" name="AC3ECON" offset="0x7C" size="1">
<bit-field key="ac3oi" name="AC3OI" description="Analog Comparator Ouput Invert" mask="0x20"/>
<bit-field key="ac3oe" name="AC3OE" description="Analog Comparator Ouput Enable" mask="0x10"/>
<bit-field key="ac3h" name="AC3H" description="Analog Comparator Hysteresis Select" mask="0x7"/>
<bit-field key="ac3h" name="AC3H" description="Analog Comparator Hysteresis Select" mask="0x07"/>
</register>
<register key="ac1con" name="AC1CON" description="Analog Comparator 1 Control Register" offset="0x7D" size="1">
<bit-field key="ac1en" name="AC1EN" description="Analog Comparator 1 Enable Bit" mask="0x80"/>
<bit-field key="ac1ie" name="AC1IE" description="Analog Comparator 1 Interrupt Enable Bit" mask="0x40"/>
<bit-field key="ac1is" name="AC1IS" description="Analog Comparator 1 Interrupt Select Bit" mask="0x30"/>
<bit-field key="ac1m" name="AC1M" description="Analog Comparator 1 Multiplexer Register" mask="0x7"/>
<bit-field key="ac1m" name="AC1M" description="Analog Comparator 1 Multiplexer Register" mask="0x07"/>
</register>
<register key="ac2con" name="AC2CON" description="Analog Comparator 2 Control Register" offset="0x7E" size="1">
<bit-field key="ac2en" name="AC2EN" description="Analog Comparator 2 Enable Bit" mask="0x80"/>
<bit-field key="ac2ie" name="AC2IE" description="Analog Comparator 2 Interrupt Enable Bit" mask="0x40"/>
<bit-field key="ac2is" name="AC2IS" description="Analog Comparator 2 Interrupt Select Bit" mask="0x30"/>
<bit-field key="ac2m" name="AC2M" description="Analog Comparator 2 Multiplexer Register" mask="0x7"/>
<bit-field key="ac2m" name="AC2M" description="Analog Comparator 2 Multiplexer Register" mask="0x07"/>
</register>
<register key="ac3con" name="AC3CON" description="Analog Comparator3 Control Register" offset="0x7F" size="1">
<bit-field key="ac3en" name="AC3EN" description="Analog Comparator3 Enable Bit" mask="0x80"/>
<bit-field key="ac3ie" name="AC3IE" description="Analog Comparator 3 Interrupt Enable Bit" mask="0x40"/>
<bit-field key="ac3is" name="AC3IS" description="Analog Comparator 3 Interrupt Select Bit" mask="0x30"/>
<bit-field key="ac3oea" name="AC3OEA" description="Analog Comparator 3 Alternate Output Enable" mask="0x8"/>
<bit-field key="ac3m" name="AC3M" description="Analog Comparator 3 Multiplexer Register" mask="0x7"/>
<bit-field key="ac3oea" name="AC3OEA" description="Analog Comparator 3 Alternate Output Enable" mask="0x08"/>
<bit-field key="ac3m" name="AC3M" description="Analog Comparator 3 Multiplexer Register" mask="0x07"/>
</register>
</register-group>
</module>
@@ -484,10 +484,10 @@
<bit-field key="gpior06" name="GPIOR06" description="General Purpose IO Register 0 bit 6" mask="0x40"/>
<bit-field key="gpior05" name="GPIOR05" description="General Purpose IO Register 0 bit 5" mask="0x20"/>
<bit-field key="gpior04" name="GPIOR04" description="General Purpose IO Register 0 bit 4" mask="0x10"/>
<bit-field key="gpior03" name="GPIOR03" description="General Purpose IO Register 0 bit 3" mask="0x8"/>
<bit-field key="gpior02" name="GPIOR02" description="General Purpose IO Register 0 bit 2" mask="0x4"/>
<bit-field key="gpior01" name="GPIOR01" description="General Purpose IO Register 0 bit 1" mask="0x2"/>
<bit-field key="gpior00" name="GPIOR00" description="General Purpose IO Register 0 bit 0" mask="0x1"/>
<bit-field key="gpior03" name="GPIOR03" description="General Purpose IO Register 0 bit 3" mask="0x08"/>
<bit-field key="gpior02" name="GPIOR02" description="General Purpose IO Register 0 bit 2" mask="0x04"/>
<bit-field key="gpior01" name="GPIOR01" description="General Purpose IO Register 0 bit 1" mask="0x02"/>
<bit-field key="gpior00" name="GPIOR00" description="General Purpose IO Register 0 bit 0" mask="0x01"/>
</register>
<register key="gpior1" name="GPIOR1" description="General Purpose IO Register 1" offset="0x3A" size="1">
<bit-field key="gpior" name="GPIOR" description="General Purpose IO Register 1 bis" mask="0xFF"/>
@@ -496,21 +496,21 @@
<bit-field key="gpior" name="GPIOR" description="General Purpose IO Register 2 bis" mask="0xFF"/>
</register>
<register key="smcr" name="SMCR" description="Sleep Mode Control Register" offset="0x53" size="1">
<bit-field key="sm" name="SM" description="Sleep Mode Select bits" mask="0xE"/>
<bit-field key="se" name="SE" description="Sleep Enable" mask="0x1"/>
<bit-field key="sm" name="SM" description="Sleep Mode Select bits" mask="0x0E"/>
<bit-field key="se" name="SE" description="Sleep Enable" mask="0x01"/>
</register>
<register key="mcusr" name="MCUSR" description="MCU Status Register" offset="0x54" size="1">
<bit-field key="wdrf" name="WDRF" description="Watchdog Reset Flag" mask="0x8"/>
<bit-field key="borf" name="BORF" description="Brown-out Reset Flag" mask="0x4"/>
<bit-field key="extrf" name="EXTRF" description="External Reset Flag" mask="0x2"/>
<bit-field key="porf" name="PORF" description="Power-on reset flag" mask="0x1"/>
<bit-field key="wdrf" name="WDRF" description="Watchdog Reset Flag" mask="0x08"/>
<bit-field key="borf" name="BORF" description="Brown-out Reset Flag" mask="0x04"/>
<bit-field key="extrf" name="EXTRF" description="External Reset Flag" mask="0x02"/>
<bit-field key="porf" name="PORF" description="Power-on reset flag" mask="0x01"/>
</register>
<register key="mcucr" name="MCUCR" description="MCU Control Register" offset="0x55" size="1">
<bit-field key="pud" name="PUD" description="Pull-up disable" mask="0x10"/>
<bit-field key="rstdis" name="RSTDIS" description="Reset Pin Disable" mask="0x8"/>
<bit-field key="ckrc81" name="CKRC81" description="Frequency Selection of the Calibrated RC Oscillator" mask="0x4"/>
<bit-field key="ivsel" name="IVSEL" description="Interrupt Vector Select" mask="0x2"/>
<bit-field key="ivce" name="IVCE" description="Interrupt Vector Change Enable" mask="0x1"/>
<bit-field key="rstdis" name="RSTDIS" description="Reset Pin Disable" mask="0x08"/>
<bit-field key="ckrc81" name="CKRC81" description="Frequency Selection of the Calibrated RC Oscillator" mask="0x04"/>
<bit-field key="ivsel" name="IVSEL" description="Interrupt Vector Select" mask="0x02"/>
<bit-field key="ivce" name="IVCE" description="Interrupt Vector Change Enable" mask="0x01"/>
</register>
<register key="sp" name="SP" description="Stack Pointer" offset="0x5D" size="2"/>
<register key="sreg" name="SREG" description="Status Register" offset="0x5F" size="1">
@@ -518,42 +518,42 @@
<bit-field key="t" name="T" description="Bit Copy Storage" mask="0x40"/>
<bit-field key="h" name="H" description="Half Carry Flag" mask="0x20"/>
<bit-field key="s" name="S" description="Sign Bit" mask="0x10"/>
<bit-field key="v" name="V" description="Two's Complement Overflow Flag" mask="0x8"/>
<bit-field key="n" name="N" description="Negative Flag" mask="0x4"/>
<bit-field key="z" name="Z" description="Zero Flag" mask="0x2"/>
<bit-field key="c" name="C" description="Carry Flag" mask="0x1"/>
<bit-field key="v" name="V" description="Two's Complement Overflow Flag" mask="0x08"/>
<bit-field key="n" name="N" description="Negative Flag" mask="0x04"/>
<bit-field key="z" name="Z" description="Zero Flag" mask="0x02"/>
<bit-field key="c" name="C" description="Carry Flag" mask="0x01"/>
</register>
<register key="bgcrr" name="BGCRR" description="BandGap Resistor Calibration Register" offset="0x80" size="1">
<bit-field key="bgcr" name="BGCR" mask="0xF"/>
<bit-field key="bgcr" name="BGCR" mask="0x0F"/>
</register>
<register key="bgccr" name="BGCCR" description="BandGap Current Calibration Register" offset="0x81" size="1">
<bit-field key="bgcc" name="BGCC" mask="0xF"/>
<bit-field key="bgcc" name="BGCC" mask="0x0F"/>
</register>
<register key="clkpr" name="CLKPR" offset="0x83" size="1">
<bit-field key="clkpce" name="CLKPCE" mask="0x80"/>
<bit-field key="clkps" name="CLKPS" mask="0xF"/>
<bit-field key="clkps" name="CLKPS" mask="0x0F"/>
</register>
<register key="clkcsr" name="CLKCSR" offset="0x84" size="1">
<bit-field key="clkcce" name="CLKCCE" description="Clock Control Change Enable" mask="0x80"/>
<bit-field key="clkrdy" name="CLKRDY" description="Clock Ready Flag" mask="0x10"/>
<bit-field key="clkc" name="CLKC" description="Clock Control" mask="0xF"/>
<bit-field key="clkc" name="CLKC" description="Clock Control" mask="0x0F"/>
</register>
<register key="clkselr" name="CLKSELR" offset="0x85" size="1">
<bit-field key="cout" name="COUT" description="Clock OUT" mask="0x40"/>
<bit-field key="csut" name="CSUT" description="Clock Start up Time" mask="0x30"/>
<bit-field key="cksel" name="CKSEL" description="Clock Source Select" mask="0xF"/>
<bit-field key="cksel" name="CKSEL" description="Clock Source Select" mask="0x0F"/>
</register>
<register key="prr" name="PRR" description="Power Reduction Register" offset="0x86" size="1">
<bit-field key="prpsc2" name="PRPSC2" description="Power Reduction PSC2" mask="0x80"/>
<bit-field key="prpscr" name="PRPSCR" description="Power Reduction PSC0" mask="0x20"/>
<bit-field key="prtim1" name="PRTIM1" description="Power Reduction Timer/Counter1" mask="0x10"/>
<bit-field key="prspi" name="PRSPI" description="Power Reduction Serial Peripheral Interface" mask="0x4"/>
<bit-field key="pradc" name="PRADC" description="Power Reduction ADC" mask="0x1"/>
<bit-field key="prspi" name="PRSPI" description="Power Reduction Serial Peripheral Interface" mask="0x04"/>
<bit-field key="pradc" name="PRADC" description="Power Reduction ADC" mask="0x01"/>
</register>
<register key="pllcsr" name="PLLCSR" description="PLL Control And Status Register" offset="0x87" size="1">
<bit-field key="pllf" name="PLLF" mask="0x3C"/>
<bit-field key="plle" name="PLLE" description="PLL Enable" mask="0x2"/>
<bit-field key="plock" name="PLOCK" description="PLL Lock Detector" mask="0x1"/>
<bit-field key="plle" name="PLLE" description="PLL Enable" mask="0x02"/>
<bit-field key="plock" name="PLOCK" description="PLL Lock Detector" mask="0x01"/>
</register>
<register key="osccal" name="OSCCAL" description="Oscillator Calibration Value" offset="0x88" size="1">
<bit-field key="osccal" name="OSCCAL" description="Oscillator Calibration" mask="0xFF"/>
@@ -566,10 +566,10 @@
<bit-field key="nvmbsy" name="NVMBSY" description="None Volatile Busy Memory Busy" mask="0x80"/>
<bit-field key="eepage" name="EEPAGE" description="EEPROM Page Access" mask="0x40"/>
<bit-field key="eepm" name="EEPM" description="EEPROM Programming Mode" mask="0x30"/>
<bit-field key="eerie" name="EERIE" description="EEPROM Ready Interrupt Enable" mask="0x8"/>
<bit-field key="eemwe" name="EEMWE" description="EEPROM Master Write Enable" mask="0x4"/>
<bit-field key="eewe" name="EEWE" description="EEPROM Write Enable" mask="0x2"/>
<bit-field key="eere" name="EERE" description="EEPROM Read Enable" mask="0x1"/>
<bit-field key="eerie" name="EERIE" description="EEPROM Ready Interrupt Enable" mask="0x08"/>
<bit-field key="eemwe" name="EEMWE" description="EEPROM Master Write Enable" mask="0x04"/>
<bit-field key="eewe" name="EEWE" description="EEPROM Write Enable" mask="0x02"/>
<bit-field key="eere" name="EERE" description="EEPROM Read Enable" mask="0x01"/>
</register>
<register key="eedr" name="EEDR" description="EEPROM Data Register" offset="0x3D" size="1"/>
<register key="eear" name="EEAR" description="EEPROM Read/Write Access Bytes" offset="0x3E" size="2"/>
@@ -579,33 +579,33 @@
<register-group key="psc0" name="PSC0">
<register key="pim0" name="PIM0" description="PSC0 Interrupt Mask Register" offset="0x2F" size="1">
<bit-field key="peve0b" name="PEVE0B" description="External Event B Interrupt Enable" mask="0x10"/>
<bit-field key="peve0a" name="PEVE0A" description="External Event A Interrupt Enable" mask="0x8"/>
<bit-field key="peoepe0" name="PEOEPE0" description="End of Enhanced Cycle Enable" mask="0x2"/>
<bit-field key="peope0" name="PEOPE0" description="End of Cycle Interrupt Enable" mask="0x1"/>
<bit-field key="peve0a" name="PEVE0A" description="External Event A Interrupt Enable" mask="0x08"/>
<bit-field key="peoepe0" name="PEOEPE0" description="End of Enhanced Cycle Enable" mask="0x02"/>
<bit-field key="peope0" name="PEOPE0" description="End of Cycle Interrupt Enable" mask="0x01"/>
</register>
<register key="pifr0" name="PIFR0" description="PSC0 Interrupt Flag Register" offset="0x30" size="1">
<bit-field key="poac0b" name="POAC0B" description="PSC 0 Output A Activity" mask="0x80"/>
<bit-field key="poac0a" name="POAC0A" description="PSC 0 Output A Activity" mask="0x40"/>
<bit-field key="pev0b" name="PEV0B" description="External Event B Interrupt" mask="0x10"/>
<bit-field key="pev0a" name="PEV0A" description="External Event A Interrupt" mask="0x8"/>
<bit-field key="prn0" name="PRN0" description="Ramp Number" mask="0x6"/>
<bit-field key="peop0" name="PEOP0" description="End of PSC0 Interrupt" mask="0x1"/>
<bit-field key="pev0a" name="PEV0A" description="External Event A Interrupt" mask="0x08"/>
<bit-field key="prn0" name="PRN0" description="Ramp Number" mask="0x06"/>
<bit-field key="peop0" name="PEOP0" description="End of PSC0 Interrupt" mask="0x01"/>
</register>
<register key="pcnf0" name="PCNF0" description="PSC 0 Configuration Register" offset="0x31" size="1">
<bit-field key="pfifty0" name="PFIFTY0" description="PSC 0 Fifty" mask="0x80"/>
<bit-field key="palock0" name="PALOCK0" description="PSC 0 Autolock" mask="0x40"/>
<bit-field key="plock0" name="PLOCK0" description="PSC 0 Lock" mask="0x20"/>
<bit-field key="pmode0" name="PMODE0" description="PSC 0 Mode" mask="0x18"/>
<bit-field key="pop0" name="POP0" description="PSC 0 Output Polarity" mask="0x4"/>
<bit-field key="pclksel0" name="PCLKSEL0" description="PSC 0 Input Clock Select" mask="0x2"/>
<bit-field key="pop0" name="POP0" description="PSC 0 Output Polarity" mask="0x04"/>
<bit-field key="pclksel0" name="PCLKSEL0" description="PSC 0 Input Clock Select" mask="0x02"/>
</register>
<register key="pctl0" name="PCTL0" description="PSC 0 Control Register" offset="0x32" size="1">
<bit-field key="ppre0" name="PPRE0" description="PSC 0 Prescaler Selects" mask="0xC0"/>
<bit-field key="pbfm0" name="PBFM0" description="PSC 0 Balance Flank Width Modulation" mask="0x24"/>
<bit-field key="paoc0b" name="PAOC0B" description="PSC 0 Asynchronous Output Control B" mask="0x10"/>
<bit-field key="paoc0a" name="PAOC0A" description="PSC 0 Asynchronous Output Control A" mask="0x8"/>
<bit-field key="pccyc0" name="PCCYC0" description="PSC0 Complete Cycle" mask="0x2"/>
<bit-field key="prun0" name="PRUN0" description="PSC 0 Run" mask="0x1"/>
<bit-field key="paoc0a" name="PAOC0A" description="PSC 0 Asynchronous Output Control A" mask="0x08"/>
<bit-field key="pccyc0" name="PCCYC0" description="PSC0 Complete Cycle" mask="0x02"/>
<bit-field key="prun0" name="PRUN0" description="PSC 0 Run" mask="0x01"/>
</register>
<register key="ocr0sb" name="OCR0SB" description="Output Compare SB Register" offset="0x42" size="2"/>
<register key="ocr0rb" name="OCR0RB" description="Output Compare RB Register" offset="0x44" size="2"/>
@@ -616,58 +616,58 @@
<bit-field key="pisel0a" name="PISEL0A" description="PSC 0 Input Select for Part A" mask="0x40"/>
<bit-field key="pelev0a" name="PELEV0A" description="PSC 0 Edge Level Selector on Input Part A" mask="0x20"/>
<bit-field key="pflte0a" name="PFLTE0A" description="PSC 0 Filter Enable on Input Part A" mask="0x10"/>
<bit-field key="prfm0a" name="PRFM0A" description="PSC 0 Retrigger and Fault Mode for Part A" mask="0xF"/>
<bit-field key="prfm0a" name="PRFM0A" description="PSC 0 Retrigger and Fault Mode for Part A" mask="0x0F"/>
</register>
<register key="pfrc0b" name="PFRC0B" description="PSC 0 Input B Control" offset="0x63" size="1">
<bit-field key="pcae0b" name="PCAE0B" description="PSC 0 Capture Enable Input Part B" mask="0x80"/>
<bit-field key="pisel0b" name="PISEL0B" description="PSC 0 Input Select for Part B" mask="0x40"/>
<bit-field key="pelev0b" name="PELEV0B" description="PSC 0 Edge Level Selector on Input Part B" mask="0x20"/>
<bit-field key="pflte0b" name="PFLTE0B" description="PSC 0 Filter Enable on Input Part B" mask="0x10"/>
<bit-field key="prfm0b" name="PRFM0B" description="PSC 0 Retrigger and Fault Mode for Part B" mask="0xF"/>
<bit-field key="prfm0b" name="PRFM0B" description="PSC 0 Retrigger and Fault Mode for Part B" mask="0x0F"/>
</register>
<register key="picr0" name="PICR0" description="PSC 0 Input Capture Register" offset="0x68" size="2"/>
<register key="psoc0" name="PSOC0" description="PSC0 Synchro and Output Configuration" offset="0x6A" size="1">
<bit-field key="pisel0a1" name="PISEL0A1" description="PSC Input Select" mask="0x80"/>
<bit-field key="pisel0b1" name="PISEL0B1" description="PSC Input Select" mask="0x40"/>
<bit-field key="psync0" name="PSYNC0" description="Synchronisation out for ADC selection" mask="0x30"/>
<bit-field key="poen0b" name="POEN0B" description="PSCOUT01 Output Enable" mask="0x4"/>
<bit-field key="poen0a" name="POEN0A" description="PSCOUT00 Output Enable" mask="0x1"/>
<bit-field key="poen0b" name="POEN0B" description="PSCOUT01 Output Enable" mask="0x04"/>
<bit-field key="poen0a" name="POEN0A" description="PSCOUT00 Output Enable" mask="0x01"/>
</register>
</register-group>
<register-group key="psc2" name="PSC2">
<register key="pim2" name="PIM2" description="PSC2 Interrupt Mask Register" offset="0x33" size="1">
<bit-field key="pseie2" name="PSEIE2" description="PSC 2 Synchro Error Interrupt Enable" mask="0x20"/>
<bit-field key="peve2b" name="PEVE2B" description="External Event B Interrupt Enable" mask="0x10"/>
<bit-field key="peve2a" name="PEVE2A" description="External Event A Interrupt Enable" mask="0x8"/>
<bit-field key="peoepe2" name="PEOEPE2" description="End of Enhanced Cycle Interrupt Enable" mask="0x2"/>
<bit-field key="peope2" name="PEOPE2" description="End of Cycle Interrupt Enable" mask="0x1"/>
<bit-field key="peve2a" name="PEVE2A" description="External Event A Interrupt Enable" mask="0x08"/>
<bit-field key="peoepe2" name="PEOEPE2" description="End of Enhanced Cycle Interrupt Enable" mask="0x02"/>
<bit-field key="peope2" name="PEOPE2" description="End of Cycle Interrupt Enable" mask="0x01"/>
</register>
<register key="pifr2" name="PIFR2" description="PSC2 Interrupt Flag Register" offset="0x34" size="1">
<bit-field key="poac2b" name="POAC2B" description="PSC 2 Output A Activity" mask="0x80"/>
<bit-field key="poac2a" name="POAC2A" description="PSC 2 Output A Activity" mask="0x40"/>
<bit-field key="psei2" name="PSEI2" description="PSC 2 Synchro Error Interrupt" mask="0x20"/>
<bit-field key="pev2b" name="PEV2B" description="External Event B Interrupt" mask="0x10"/>
<bit-field key="pev2a" name="PEV2A" description="External Event A Interrupt" mask="0x8"/>
<bit-field key="prn2" name="PRN2" description="Ramp Number" mask="0x6"/>
<bit-field key="peop2" name="PEOP2" description="End of PSC2 Interrupt" mask="0x1"/>
<bit-field key="pev2a" name="PEV2A" description="External Event A Interrupt" mask="0x08"/>
<bit-field key="prn2" name="PRN2" description="Ramp Number" mask="0x06"/>
<bit-field key="peop2" name="PEOP2" description="End of PSC2 Interrupt" mask="0x01"/>
</register>
<register key="pcnf2" name="PCNF2" description="PSC 2 Configuration Register" offset="0x35" size="1">
<bit-field key="pfifty2" name="PFIFTY2" description="PSC 2 Fifty" mask="0x80"/>
<bit-field key="palock2" name="PALOCK2" description="PSC 2 Autolock" mask="0x40"/>
<bit-field key="plock2" name="PLOCK2" description="PSC 2 Lock" mask="0x20"/>
<bit-field key="pmode2" name="PMODE2" description="PSC 2 Mode" mask="0x18"/>
<bit-field key="pop2" name="POP2" description="PSC 2 Output Polarity" mask="0x4"/>
<bit-field key="pclksel2" name="PCLKSEL2" description="PSC 2 Input Clock Select" mask="0x2"/>
<bit-field key="pome2" name="POME2" description="PSC 2 Output Matrix Enable" mask="0x1"/>
<bit-field key="pop2" name="POP2" description="PSC 2 Output Polarity" mask="0x04"/>
<bit-field key="pclksel2" name="PCLKSEL2" description="PSC 2 Input Clock Select" mask="0x02"/>
<bit-field key="pome2" name="POME2" description="PSC 2 Output Matrix Enable" mask="0x01"/>
</register>
<register key="pctl2" name="PCTL2" description="PSC 2 Control Register" offset="0x36" size="1">
<bit-field key="ppre2" name="PPRE2" description="PSC 2 Prescaler Selects" mask="0xC0"/>
<bit-field key="pbfm2" name="PBFM2" description="Balance Flank Width Modulation" mask="0x20"/>
<bit-field key="paoc2b" name="PAOC2B" description="PSC 2 Asynchronous Output Control B" mask="0x10"/>
<bit-field key="paoc2a" name="PAOC2A" description="PSC 2 Asynchronous Output Control A" mask="0x8"/>
<bit-field key="parun2" name="PARUN2" description="PSC2 Auto Run" mask="0x4"/>
<bit-field key="pccyc2" name="PCCYC2" description="PSC2 Complete Cycle" mask="0x2"/>
<bit-field key="prun2" name="PRUN2" description="PSC 2 Run" mask="0x1"/>
<bit-field key="paoc2a" name="PAOC2A" description="PSC 2 Asynchronous Output Control A" mask="0x08"/>
<bit-field key="parun2" name="PARUN2" description="PSC2 Auto Run" mask="0x04"/>
<bit-field key="pccyc2" name="PCCYC2" description="PSC2 Complete Cycle" mask="0x02"/>
<bit-field key="prun2" name="PRUN2" description="PSC 2 Run" mask="0x01"/>
</register>
<register key="ocr2sb" name="OCR2SB" description="Output Compare SB Register" offset="0x46" size="2"/>
<register key="ocr2rb" name="OCR2RB" description="Output Compare RB Register" offset="0x48" size="2"/>
@@ -678,40 +678,40 @@
<bit-field key="pisel2a" name="PISEL2A" description="PSC 2 Input Select for Part A" mask="0x40"/>
<bit-field key="pelev2a" name="PELEV2A" description="PSC 2 Edge Level Selector on Input Part A" mask="0x20"/>
<bit-field key="pflte2a" name="PFLTE2A" description="PSC 2 Filter Enable on Input Part A" mask="0x10"/>
<bit-field key="prfm2a" name="PRFM2A" description="PSC 2 Retrigger and Fault Mode for Part A" mask="0xF"/>
<bit-field key="prfm2a" name="PRFM2A" description="PSC 2 Retrigger and Fault Mode for Part A" mask="0x0F"/>
</register>
<register key="pfrc2b" name="PFRC2B" description="PSC 2 Input B Control" offset="0x67" size="1">
<bit-field key="pcae2b" name="PCAE2B" description="PSC 2 Capture Enable Input Part B" mask="0x80"/>
<bit-field key="pisel2b" name="PISEL2B" description="PSC 2 Input Select for Part B" mask="0x40"/>
<bit-field key="pelev2b" name="PELEV2B" description="PSC 2 Edge Level Selector on Input Part B" mask="0x20"/>
<bit-field key="pflte2b" name="PFLTE2B" description="PSC 2 Filter Enable on Input Part B" mask="0x10"/>
<bit-field key="prfm2b" name="PRFM2B" description="PSC 2 Retrigger and Fault Mode for Part B" mask="0xF"/>
<bit-field key="prfm2b" name="PRFM2B" description="PSC 2 Retrigger and Fault Mode for Part B" mask="0x0F"/>
</register>
<register key="picr2l" name="PICR2L" description="PSC 2 Input Capture Register Low" offset="0x6C" size="1"/>
<register key="picr2h" name="PICR2H" description="PSC 2 Input Capture Register High" offset="0x6D" size="1">
<bit-field key="pcst2" name="PCST2" description="PSC 2 Capture Software Trigger Bit" mask="0x80"/>
<bit-field key="picr21" name="PICR21" mask="0xC"/>
<bit-field key="picr2" name="PICR2" mask="0x3"/>
<bit-field key="picr21" name="PICR21" mask="0x0C"/>
<bit-field key="picr2" name="PICR2" mask="0x03"/>
</register>
<register key="psoc2" name="PSOC2" description="PSC2 Synchro and Output Configuration" offset="0x6E" size="1">
<bit-field key="pos2" name="POS2" description="PSC 2 Output 23 Select" mask="0xC0"/>
<bit-field key="psync2" name="PSYNC2" description="Synchronization Out for ADC Selection" mask="0x30"/>
<bit-field key="poen2d" name="POEN2D" description="PSCOUT23 Output Enable" mask="0x8"/>
<bit-field key="poen2b" name="POEN2B" description="PSCOUT21 Output Enable" mask="0x4"/>
<bit-field key="poen2c" name="POEN2C" description="PSCOUT22 Output Enable" mask="0x2"/>
<bit-field key="poen2a" name="POEN2A" description="PSCOUT20 Output Enable" mask="0x1"/>
<bit-field key="poen2d" name="POEN2D" description="PSCOUT23 Output Enable" mask="0x08"/>
<bit-field key="poen2b" name="POEN2B" description="PSCOUT21 Output Enable" mask="0x04"/>
<bit-field key="poen2c" name="POEN2C" description="PSCOUT22 Output Enable" mask="0x02"/>
<bit-field key="poen2a" name="POEN2A" description="PSCOUT20 Output Enable" mask="0x01"/>
</register>
<register key="pom2" name="POM2" description="PSC 2 Output Matrix" offset="0x6F" size="1">
<bit-field key="pomv2b" name="POMV2B" description="Output Matrix Output B Ramps" mask="0xF0"/>
<bit-field key="pomv2a" name="POMV2A" description="Output Matrix Output A Ramps" mask="0xF"/>
<bit-field key="pomv2a" name="POMV2A" description="Output Matrix Output A Ramps" mask="0x0F"/>
</register>
<register key="pcnfe2" name="PCNFE2" description="PSC 2 Enhanced Configuration Register" offset="0x70" size="1">
<bit-field key="pasdlk2" name="PASDLK2" mask="0xE0"/>
<bit-field key="pbfm21" name="PBFM21" mask="0x10"/>
<bit-field key="pelev2a1" name="PELEV2A1" mask="0x8"/>
<bit-field key="pelev2b1" name="PELEV2B1" mask="0x4"/>
<bit-field key="pisel2a1" name="PISEL2A1" mask="0x2"/>
<bit-field key="pisel2b1" name="PISEL2B1" mask="0x1"/>
<bit-field key="pelev2a1" name="PELEV2A1" mask="0x08"/>
<bit-field key="pelev2b1" name="PELEV2B1" mask="0x04"/>
<bit-field key="pisel2a1" name="PISEL2A1" mask="0x02"/>
<bit-field key="pisel2b1" name="PISEL2B1" mask="0x01"/>
</register>
<register key="pasdly2" name="PASDLY2" description="Analog Synchronization Delay Register" offset="0x71" size="1"/>
</register-group>
@@ -720,18 +720,18 @@
<register-group key="tc1" name="TC1">
<register key="timsk1" name="TIMSK1" description="Timer/Counter Interrupt Mask Register" offset="0x21" size="1">
<bit-field key="icie1" name="ICIE1" description="Timer/Counter1 Input Capture Interrupt Enable" mask="0x20"/>
<bit-field key="toie1" name="TOIE1" description="Timer/Counter1 Overflow Interrupt Enable" mask="0x1"/>
<bit-field key="toie1" name="TOIE1" description="Timer/Counter1 Overflow Interrupt Enable" mask="0x01"/>
</register>
<register key="tifr1" name="TIFR1" description="Timer/Counter Interrupt Flag register" offset="0x22" size="1">
<bit-field key="icf1" name="ICF1" description="Input Capture Flag 1" mask="0x20"/>
<bit-field key="tov1" name="TOV1" description="Timer/Counter1 Overflow Flag" mask="0x1"/>
<bit-field key="tov1" name="TOV1" description="Timer/Counter1 Overflow Flag" mask="0x01"/>
</register>
<register key="tcnt1" name="TCNT1" description="Timer/Counter1 Bytes" offset="0x5A" size="2"/>
<register key="tccr1b" name="TCCR1B" description="Timer/Counter1 Control Register B" offset="0x8A" size="1">
<bit-field key="icnc1" name="ICNC1" description="Input Capture 1 Noise Canceler" mask="0x80"/>
<bit-field key="ices1" name="ICES1" description="Input Capture 1 Edge Select" mask="0x40"/>
<bit-field key="wgm13" name="WGM13" description="Waveform Generation Mode" mask="0x10"/>
<bit-field key="cs1" name="CS1" description="Prescaler source of Timer/Counter 1" mask="0x7"/>
<bit-field key="cs1" name="CS1" description="Prescaler source of Timer/Counter 1" mask="0x07"/>
</register>
<register key="icr1" name="ICR1" description="Timer/Counter1 Input Capture Register Bytes" offset="0x8C" size="2"/>
</register-group>
@@ -743,10 +743,10 @@
<bit-field key="rwwsb" name="RWWSB" description="Read While Write Section Busy" mask="0x40"/>
<bit-field key="sigrd" name="SIGRD" description="Signature Row Read" mask="0x20"/>
<bit-field key="rwwsre" name="RWWSRE" description="Read While Write section read enable" mask="0x10"/>
<bit-field key="blbset" name="BLBSET" description="Boot Lock Bit Set" mask="0x8"/>
<bit-field key="pgwrt" name="PGWRT" description="Page Write" mask="0x4"/>
<bit-field key="pgers" name="PGERS" description="Page Erase" mask="0x2"/>
<bit-field key="spmen" name="SPMEN" description="Store Program Memory Enable" mask="0x1"/>
<bit-field key="blbset" name="BLBSET" description="Boot Lock Bit Set" mask="0x08"/>
<bit-field key="pgwrt" name="PGWRT" description="Page Write" mask="0x04"/>
<bit-field key="pgers" name="PGERS" description="Page Erase" mask="0x02"/>
<bit-field key="spmen" name="SPMEN" description="Store Program Memory Enable" mask="0x01"/>
</register>
</register-group>
</module>