.gitignore ignores tests and eclipse
[avr-sim.git] / devices / atmega1281
blobdb3474e52bb09a3bf9845deb0da74cdd43d20d18
1 <?xml version="1.0"?>
2 <!DOCTYPE device SYSTEM "device.dtd">
3 <device>
4 <interrupts num="57">
5 <interrupt vector="1" address="$000" name="RESET">External Pin,Power-on Reset,Brown-out Reset,Watchdog Reset,and JTAG AVR Reset. See Datasheet. </interrupt>
6 <interrupt vector="2" address="$002" name="INT0">External Interrupt Request 0</interrupt>
7 <interrupt vector="3" address="$004" name="INT1">External Interrupt Request 1</interrupt>
8 <interrupt vector="4" address="$006" name="INT2">External Interrupt Request 2</interrupt>
9 <interrupt vector="5" address="$008" name="INT3">External Interrupt Request 3</interrupt>
10 <interrupt vector="6" address="$00A" name="INT4">External Interrupt Request 4</interrupt>
11 <interrupt vector="7" address="$00C" name="INT5">External Interrupt Request 5</interrupt>
12 <interrupt vector="8" address="$00E" name="INT6">External Interrupt Request 6</interrupt>
13 <interrupt vector="9" address="$010" name="INT7">External Interrupt Request 7</interrupt>
14 <interrupt vector="10" address="$012" name="PCINT0">Pin Change Interrupt Request 0</interrupt>
15 <interrupt vector="11" address="$014" name="PCINT1">Pin Change Interrupt Request 1</interrupt>
16 <interrupt vector="12" address="$016" name="PCINT2">Pin Change Interrupt Request 2</interrupt>
17 <interrupt vector="13" address="$018" name="WDT">Watchdog Time-out Interrupt</interrupt>
18 <interrupt vector="14" address="$01A" name="TIMER2_COMPA">Timer/Counter2 Compare Match A</interrupt>
19 <interrupt vector="15" address="$01C" name="TIMER2_COMPB">Timer/Counter2 Compare Match B</interrupt>
20 <interrupt vector="16" address="$01E" name="TIMER2_OVF">Timer/Counter2 Overflow</interrupt>
21 <interrupt vector="17" address="$020" name="TIMER1_CAPT">Timer/Counter1 Capture Event</interrupt>
22 <interrupt vector="18" address="$022" name="TIMER1_COMPA">Timer/Counter1 Compare Match A</interrupt>
23 <interrupt vector="19" address="$024" name="TIMER1_COMPB">Timer/Counter1 Compare Match B</interrupt>
24 <interrupt vector="20" address="$026" name="TIMER1_COMPC">Timer/Counter1 Compare Match C</interrupt>
25 <interrupt vector="21" address="$028" name="TIMER1_OVF">Timer/Counter1 Overflow</interrupt>
26 <interrupt vector="22" address="$02A" name="TIMER0_COMPA">Timer/Counter0 Compare Match A</interrupt>
27 <interrupt vector="23" address="$02C" name="TIMER0_COMPB">Timer/Counter0 Compare Match B</interrupt>
28 <interrupt vector="24" address="$02E" name="TIMER0_OVF">Timer/Counter0 Overflow</interrupt>
29 <interrupt vector="25" address="$030" name="SPI, STC">SPI Serial Transfer Complete</interrupt>
30 <interrupt vector="26" address="$032" name="USART0, RX">USART0, Rx Complete</interrupt>
31 <interrupt vector="27" address="$034" name="USART0, UDRE">USART0 Data register Empty</interrupt>
32 <interrupt vector="28" address="$036" name="USART0, TX">USART0, Tx Complete</interrupt>
33 <interrupt vector="29" address="$038" name="ANALOG_COMP">Analog Comparator</interrupt>
34 <interrupt vector="30" address="$03A" name="ADC">ADC Conversion Complete</interrupt>
35 <interrupt vector="31" address="$03C" name="EE_READY">EEPROM Ready</interrupt>
36 <interrupt vector="32" address="$03E" name="TIMER3_CAPT">Timer/Counter3 Capture Event</interrupt>
37 <interrupt vector="33" address="$040" name="TIMER3_COMPA">Timer/Counter3 Compare Match A</interrupt>
38 <interrupt vector="34" address="$042" name="TIMER3_COMPB">Timer/Counter3 Compare Match B</interrupt>
39 <interrupt vector="35" address="$044" name="TIMER3_COMPC">Timer/Counter3 Compare Match C</interrupt>
40 <interrupt vector="36" address="$046" name="TIMER3_OVF">Timer/Counter3 Overflow</interrupt>
41 <interrupt vector="37" address="$048" name="USART1, RX">USART1, Rx Complete</interrupt>
42 <interrupt vector="38" address="$04A" name="USART1, UDRE">USART1 Data register Empty</interrupt>
43 <interrupt vector="39" address="$04C" name="USART1, TX">USART1, Tx Complete</interrupt>
44 <interrupt vector="40" address="$04E" name="TWI">2-wire Serial Interface</interrupt>
45 <interrupt vector="41" address="$050" name="SPM_READY">Store Program Memory Read</interrupt>
46 <interrupt vector="42" address="$052" name="TIMER4_CAPT">Timer/Counter4 Capture Event</interrupt>
47 <interrupt vector="43" address="$054" name="TIMER4_COMPA">Timer/Counter4 Compare Match A</interrupt>
48 <interrupt vector="44" address="$056" name="TIMER4_COMPB">Timer/Counter4 Compare Match B</interrupt>
49 <interrupt vector="45" address="$058" name="TIMER4_COMPC">Timer/Counter4 Compare Match C</interrupt>
50 <interrupt vector="46" address="$05A" name="TIMER4_OVF">Timer/Counter4 Overflow</interrupt>
51 <interrupt vector="47" address="$05C" name="TIMER5_CAPT">Timer/Counter5 Capture Event</interrupt>
52 <interrupt vector="48" address="$05E" name="TIMER5_COMPA">Timer/Counter5 Compare Match A</interrupt>
53 <interrupt vector="49" address="$060" name="TIMER5_COMPB">Timer/Counter5 Compare Match B</interrupt>
54 <interrupt vector="50" address="$062" name="TIMER5_COMPC">Timer/Counter5 Compare Match C</interrupt>
55 <interrupt vector="51" address="$064" name="TIMER5_OVF">Timer/Counter5 Overflow</interrupt>
56 <interrupt vector="52" address="$066" name="USART2, RX">USART2, Rx Complete</interrupt>
57 <interrupt vector="53" address="$068" name="USART2, UDRE">USART2 Data register Empty</interrupt>
58 <interrupt vector="54" address="$06A" name="USART2, TX">USART2, Tx Complete</interrupt>
59 <interrupt vector="55" address="$06C" name="USART3, RX">USART3, Rx Complete</interrupt>
60 <interrupt vector="56" address="$06E" name="USART3, UDRE">USART3 Data register Empty</interrupt>
61 <interrupt vector="57" address="$070" name="USART3, TX">USART3, Tx Complete</interrupt>
62 </interrupts>
63 <packages>
64 <package name="TQFP" pins="64">
65 <pin id="1" name="[PG5:OC0B]"/>
66 <pin id="2" name="[PE0:RXD0:PDI:PCINT8]">PDI, Serial Programming Data Input. During Serial Program Downloading, this pin is used as data input line for the ATmega104. RXD0, USART0 Receive Pin. Receive Data (Data input pin for the USART0). When the USART0 receiver is enabled this pin is configured as an input regardless of the value of DDRE0. When the USART0 forces this pin to be an input, a logical one in PORTE0 will turn on the internal pull-up.</pin>
67 <pin id="3" name="[PE1:TXD0:PDO]">PDO, Serial Programming Data Output. During Serial Program Downloading, this pin is used as data output line for the ATmega104. TXD0, UART0 Transmit Pin.</pin>
68 <pin id="4" name="[PE2:XCK0:AIN0]">AIN0 - Analog Comparator Positive Input. This pin is directly connected to the positive input of the analog comparator. XCK0, USART0 external clock. The Data Direction Register (DDE2) controls whether the clock is output (DDE2 set) or input (DDE2 cleared). The XCK0 pin is active only when the USART0 operates in synchronous mode.</pin>
69 <pin id="5" name="[PE3:OC3A:AIN1]">AIN1 - Analog Comparator Negative Input. This pin is directly connected to the negative input of the analog comparator. OC3A, Output Compare matchA output: The PE3 pin can serve as an external output for the Timer/Counter3 output com-pareA. The pin has to be configured as an output (DDE3 set (one)) to serve this function. The OC3A pin is also the output pin for the PWM mode timer function.</pin>
70 <pin id="6" name="[PE4:OC3B:INT4]">INT4, External Interrupt source 4: The PE4 pin can serve as an external interrupt source. OC3B, Output Compare matchB output: The PE4 pin can serve as an external output for the Timer/Counter3 output com-pareB. The pin has to be configured as an output (DDE4 set (one)) to serve this function. The OC3B pin is also the output pin for the PWM mode timer function.</pin>
71 <pin id="7" name="[PE5:OC3C:INT5]">INT5, External Interrupt source 5: The PE5 pin can serve as an external interrupt source. OC3C, Output Compare matchC output: The PE5 pin can serve as an external output for the Timer/Counter3 output com-pareC. The pin has to be configured as an output (DDE5 set (one)) to serve this function. The OC3C pin is also the output pin for the PWM mode timer function.</pin>
72 <pin id="8" name="[PE6:T3:INT6]">INT6, External Interrupt source 6: The PE6 pin can serve as an external interrupt source. T3, Timer/Counter3 counter source.</pin>
73 <pin id="9" name="[PE7:ICP3:INT7:CLKO]">INT7, External Interrupt source 7: The PE7 pin can serve as an external interrupt source. IC3 - Input Capture Pin3: The PE7 pin can act as an input capture pin for Timer/Counter3.</pin>
74 <pin id="10" name="[PB0:'SS:PCINT0]">SS: Slave port select input. When the SPI is enabled as a slave, this pin is configured as an input regardless of the setting of DDB0. As a slave, the SPI is activated when this pin is driven low. When the SPI is enabled as a master, the data direc-tion of this pin is controlled by DDB0. When the pin is forced to be an input, the pull-up can still be controlled by the PORTB0 bit.</pin>
75 <pin id="11" name="[PB1:SCK:PCINT1]">SCK: Master clock output, slave clock input pin for SPI channel. When the SPI is enabled as a slave, this pin is configured as an input regardless of the setting of DDB1. When the SPI is enabled as a master, the data direction of this pin is con-trolled by DDB1. When the pin is forced to be an input, the pull-up can still be controlled by the PORTB1 bit.</pin>
76 <pin id="12" name="[PB2:MOSI:PCINT2]">MOSI: SPI Master data output, slave data input for SPI channel. When the SPI is enabled as a slave, this pin is configured as an input regardless of the setting of DDB2. When the SPI is enabled as a master, the data direction of this pin is con-trolled by DDB2. When the pin is forced to be an input, the pull-up can still be controlled by the PORTB2 bit.</pin>
77 <pin id="13" name="[PB3:MISO:PCINT3]">MISO: Master data input, slave data output pin for SPI channel. When the SPI is enabled as a master, this pin is configured as an input regardless of the setting of DDB3. When the SPI is enabled as a slave, the data direction of this pin is controlled by DDB3. When the pin is forced to be an input, the pull-up can still be controlled by the PORTB3 bit.</pin>
78 <pin id="14" name="[PB4:OC2:PCINT4]">OC2, Output Compare match output: The PB4 pin can serve as an external output for the Timer/Counter2 output compare. The pin has to be configured as an output (DDB4 set (one)) to serve this function. The OC0 pin is also the output pin for the PWM mode timer function.</pin>
79 <pin id="15" name="[PB5:OC1A:PCINT5]">OC1A, Output Compare matchA output: The PB5 pin can serve as an external output for the Timer/Counter1 output com-pareA. The pin has to be configured as an output (DDB5 set (one)) to serve this function. The OC1A pin is also the output pin for the PWM mode timer function.</pin>
80 <pin id="16" name="[PB6:OC1B:PCINT6]">OC1B, Output Compare matchB output: The PB6 pin can serve as an external output for the Timer/Counter1 output compare B. The pin has to be configured as an output (DDB6 set (one)) to serve this function. The OC1B pin is also the output pin for the PWM mode timer function.</pin>
81 <pin id="17" name="[PB7:OC0A:OC1C:PCINT7]">OC2, Output Compare match output: The PB7 pin can serve as an external output for the Timer/Counter2 output compare. The pin has to be configured as an output (DDB7 set (one)) to serve this function. The OC2 pin is also the output pin for the PWM mode timer function.</pin>
82 <pin id="18" name="[PG3:TOSC2]">TOSC2, Timer Oscillator pin 2: When the AS0 bit in ASSR is set (one) to enable asynchronous clocking of Timer/Counter0, pin PG3 is disconnected from the port, and becomes the input of the inverting oscillator amplifier. In this mode, a crystal oscillator is connected to this pin, and the pin can not be used as an I/O pin.</pin>
83 <pin id="19" name="[PG4:TOSC1]">TOSC1, Timer Oscillator pin 1: When the AS0 bit in ASSR is set (one) to enable asynchronous clocking of Timer/Counter0, pin PG4 is disconnected from the port, and becomes the inverting output of the oscillator amplifier. In this mode, a crystal oscillator is connected to this pin, and the pin can not be used as an I/O pin.</pin>
84 <pin id="20" name="['RESET]"/>
85 <pin id="21" name="[VCC]"/>
86 <pin id="22" name="[GND]"/>
87 <pin id="23" name="[XTAL2]"/>
88 <pin id="24" name="[XTAL1]"/>
89 <pin id="25" name="[PD0:SCL:INT0]">INT0, External Interrupt source 0. The PD0 pin can serve as external active low interrupt source to the MCU. The internal pull up MOS resistors can be activated as described above. See the interrupt description for further details, and how to enable the source. SCL, 2-wire Serial Interface Clock: When the TWEN bit in TWCR is set (one) to enable the 2-wire Serial Interface, pin PD0 is disconnected from the port and becomes the Serial Clock I/O pin for the 2-wire Serial Interface. In this mode, there is a spike filter on the pin to suppress spikes shorter than 50 ns on the input signal, and the pin is driven by an open drain driver with slew-rate limitation</pin>
90 <pin id="26" name="[PD1:SDA:INT1]">INT1, External Interrupt source 1. The PD1 pin can serve as external active low interrupt source to the MCU. The internal pull up MOS resistors can be activated as described above. See the interrupt description for further details, and how to enable the source. SDA, 2-wire Serial Interface Data: When the TWEN bit in TWCR is set (one) to enable the 2-wire Serial Interface, pin PD1 is disconnected from the port and becomes the Serial Data I/O pin for the 2-wire Serial Interface. In this mode, there is aspike filter on the pin to suppress spikes shorter than 50 ns on the input signal, and the pin is driven by an open drain driver with slew-rate limitati</pin>
91 <pin id="27" name="[PD2:RXD1:INT2]">INT2, External Interrupt source 2. The PD2 pin can serve as external active low interrupt source to the MCU. The internal pull up MOS resistors can be activated as described above. See the interrupt description for further details, and how to enable the source. RXD1, Receive Data (Data input pin for the USART1). When the USART1 receiver is enabled this pin is configured as an input regardless of the value of DDD2. When the USART forces this pin to be an input, the pull-up can still be controlled by the PORTD2 bi</pin>
92 <pin id="28" name="[PD3:TXD1:INT3]">INT3, External Interrupt source 3. The PD3 pin can serve as external active low interrupt source to the MCU. The internal pull up MOS resistors can be activated as described above. See the interrupt description for further details, and how to enable the source. TXD1, Transmit Data (Data output pin for the USART1). When the USART1 transmitter is enabled, this pin is configured as an output regardless of the value of DDD3.</pin>
93 <pin id="29" name="[PD4:ICP1]">ICP1 - Input Capture Pin1: The PD4 pin can act as an input capture pin for Timer/Counter1.</pin>
94 <pin id="30" name="[PD5:XCK1]">XCK1, USART1 external clock. The Data Direction Register (DDD4) controls whether the clock is output (DDD4 set) or input (DDD4 cleared). The XCK1 pin is active only when the USART1 operates in synchronous mode.</pin>
95 <pin id="31" name="[PD6:T1]">T1, Timer/Counter1 counter source.</pin>
96 <pin id="32" name="[PD7:T0]">T0, Timer/Counter0 counter source.</pin>
97 <pin id="33" name="[PG0:'WR]">WR is the external data memory write control strobe.</pin>
98 <pin id="34" name="[PG1:'RD]">RD is the external data memory read control strobe.</pin>
99 <pin id="35" name="[PC0:A8]"/>
100 <pin id="36" name="[PC1:A9]"/>
101 <pin id="37" name="[PC2:A10]"/>
102 <pin id="38" name="[PC3:A11]"/>
103 <pin id="39" name="[PC4:A12]"/>
104 <pin id="40" name="[PC5:A13]"/>
105 <pin id="41" name="[PC6:A14]"/>
106 <pin id="42" name="[PC7:A15]"/>
107 <pin id="43" name="[PG2:ALE]">ALE is the external data memory Address Latch Enable signal.</pin>
108 <pin id="44" name="[PA7:AD7]"/>
109 <pin id="45" name="[PA6:AD6]"/>
110 <pin id="46" name="[PA5:AD5]"/>
111 <pin id="47" name="[PA4:AD4]"/>
112 <pin id="48" name="[PA3:AD3]"/>
113 <pin id="49" name="[PA2:AD2]"/>
114 <pin id="50" name="[PA1:AD1]"/>
115 <pin id="51" name="[PA0:AD0]"/>
116 <pin id="52" name="[VCC]"/>
117 <pin id="53" name="[GND]"/>
118 <pin id="54" name="[PF7:ADC7:TDI]">ADC7, Analog to Digital Converter, channel 7. TDI, JTAG Test Data In: Serial input data to be shifted in to the Instruction Register or Data Register (scan chains). When the JTAG interface is enabled, this pin can not be used as an I/O pin.</pin>
119 <pin id="55" name="[PF6:ADC6:TD0]">ADC6, Analog to Digital Converter, channel 6. TDO, JTAG Test Data Out: Serial output data from Instruction register or Data Register. When the JTAG interface is enabled, this pin can not be used as an I/O pin.</pin>
120 <pin id="56" name="[PF5:ADC5:TMS]">ADC5, Analog to Digital Converter, channel 5. TMS, JTAG Test Mode Select: This pin is used for navigating through the TAP-controller state machine. When the JTAG interface is enabled, this pin can not be used as an I/O pin.</pin>
121 <pin id="57" name="[PF4:ADC4:TCK]">ADC4, Analog to Digital Converter, channel 4. TCK, JTAG Test Clock: JTAG operation is synchronous to TCK. When the JTAG interface is enabled, this pin can not be used as an I/O pin.</pin>
122 <pin id="58" name="[PF3:ADC3]">Analog to Digital Converter, Channel 3</pin>
123 <pin id="59" name="[PF2:ADC2]">Analog to Digital Converter, Channel 2</pin>
124 <pin id="60" name="[PF1:ADC1]">Analog to Digital Converter, Channel 1</pin>
125 <pin id="61" name="[PF0:ADC0]">Analog to Digital Converter, Channel 0</pin>
126 <pin id="62" name="[AREF]"/>
127 <pin id="63" name="[GND]"/>
128 <pin id="64" name="[AVCC]"/>
129 </package>
130 </packages>
131 <memory>
132 <flash size="131072"/>
133 <iospace start="$20" stop="$1FF"/>
134 <sram size="8192"/>
135 <eram size="65536"/>
136 </memory>
137 <ioregisters>
138 <ioreg name="PINH" address="$100"/>
139 <ioreg name="DDRH" address="$101"/>
140 <ioreg name="PORTH" address="$102"/>
141 <ioreg name="PINJ" address="$103"/>
142 <ioreg name="DDRJ" address="$104"/>
143 <ioreg name="PORTJ" address="$105"/>
144 <ioreg name="PINK" address="$106"/>
145 <ioreg name="DDRK" address="$107"/>
146 <ioreg name="PORTK" address="$108"/>
147 <ioreg name="PINL" address="$109"/>
148 <ioreg name="DDRL" address="$10A"/>
149 <ioreg name="PORTL" address="$10B"/>
150 <ioreg name="TCCR5A" address="$120"/>
151 <ioreg name="TCCR5B" address="$121"/>
152 <ioreg name="TCCR5C" address="$122"/>
153 <ioreg name="TCNT5L" address="$124"/>
154 <ioreg name="TCNT5H" address="$125"/>
155 <ioreg name="ICR5L" address="$126"/>
156 <ioreg name="ICR5H" address="$127"/>
157 <ioreg name="OCR5AL" address="$128"/>
158 <ioreg name="OCR5AH" address="$129"/>
159 <ioreg name="OCR5BL" address="$12A"/>
160 <ioreg name="OCR5BH" address="$12B"/>
161 <ioreg name="OCR5CL" address="$12C"/>
162 <ioreg name="OCR5CH" address="$12D"/>
163 <ioreg name="UCSR3A" address="$130"/>
164 <ioreg name="UCSR3B" address="$131"/>
165 <ioreg name="UCSR3C" address="$132"/>
166 <ioreg name="UBRR3L" address="$134"/>
167 <ioreg name="UBRR3H" address="$135"/>
168 <ioreg name="UDR3" address="$136"/>
169 <ioreg name="PINA" address="$00"/>
170 <ioreg name="DDRA" address="$01"/>
171 <ioreg name="PORTA" address="$02"/>
172 <ioreg name="PINB" address="$03"/>
173 <ioreg name="DDRB" address="$04"/>
174 <ioreg name="PORTB" address="$05"/>
175 <ioreg name="PINC" address="$06"/>
176 <ioreg name="DDRC" address="$07"/>
177 <ioreg name="PORTC" address="$08"/>
178 <ioreg name="PIND" address="$09"/>
179 <ioreg name="DDRD" address="$0A"/>
180 <ioreg name="PORTD" address="$0B"/>
181 <ioreg name="PINE" address="$0C"/>
182 <ioreg name="DDRE" address="$0D"/>
183 <ioreg name="PORTE" address="$0E"/>
184 <ioreg name="PINF" address="$0F"/>
185 <ioreg name="DDRF" address="$10"/>
186 <ioreg name="PORTF" address="$11"/>
187 <ioreg name="PING" address="$12"/>
188 <ioreg name="DDRG" address="$13"/>
189 <ioreg name="PORTG" address="$14"/>
190 <ioreg name="TIFR0" address="$15"/>
191 <ioreg name="TIFR1" address="$16"/>
192 <ioreg name="TIFR2" address="$17"/>
193 <ioreg name="TIFR3" address="$18"/>
194 <ioreg name="TIFR4" address="$19"/>
195 <ioreg name="TIFR5" address="$1A"/>
196 <ioreg name="PCIFR" address="$1B"/>
197 <ioreg name="EIFR" address="$1C"/>
198 <ioreg name="EIMSK" address="$1D"/>
199 <ioreg name="GPIOR0" address="$1E"/>
200 <ioreg name="EECR" address="$1F"/>
201 <ioreg name="EEDR" address="$20"/>
202 <ioreg name="EEARL" address="$21"/>
203 <ioreg name="EEARH" address="$22"/>
204 <ioreg name="GTCCR" address="$23"/>
205 <ioreg name="TCCR0A" address="$24"/>
206 <ioreg name="TCCR0B" address="$25"/>
207 <ioreg name="TCNT0" address="$26"/>
208 <ioreg name="OCR0A" address="$27"/>
209 <ioreg name="OCR0B" address="$28"/>
210 <ioreg name="GPIOR1" address="$2A"/>
211 <ioreg name="GPIOR2" address="$2B"/>
212 <ioreg name="SPCR" address="$2C"/>
213 <ioreg name="SPSR" address="$2D"/>
214 <ioreg name="SPDR" address="$2E"/>
215 <ioreg name="ACSR" address="$30"/>
216 <ioreg name="OCDR" address="$31"/>
217 <ioreg name="SMCR" address="$33"/>
218 <ioreg name="MCUSR" address="$34"/>
219 <ioreg name="MCUCR" address="$35"/>
220 <ioreg name="SPMCSR" address="$37"/>
221 <ioreg name="RAMPZ" address="$3B"/>
222 <ioreg name="EIND" address="$3C"/>
223 <ioreg name="SPL" address="$3D"/>
224 <ioreg name="SPH" address="$3E"/>
225 <ioreg name="SREG" address="$3F"/>
226 <ioreg name="WDTCSR" address="$60"/>
227 <ioreg name="CLKPR" address="$61"/>
228 <ioreg name="PRR0" address="$64"/>
229 <ioreg name="PRR1" address="$65"/>
230 <ioreg name="OSCCAL" address="$66"/>
231 <ioreg name="PCICR" address="$68"/>
232 <ioreg name="EICRA" address="$69"/>
233 <ioreg name="EICRB" address="$6A"/>
234 <ioreg name="PCMSK0" address="$6B"/>
235 <ioreg name="PCMSK1" address="$6C"/>
236 <ioreg name="PCMSK2" address="$6D"/>
237 <ioreg name="TIMSK0" address="$6E"/>
238 <ioreg name="TIMSK1" address="$6F"/>
239 <ioreg name="TIMSK2" address="$70"/>
240 <ioreg name="TIMSK3" address="$71"/>
241 <ioreg name="TIMSK4" address="$72"/>
242 <ioreg name="TIMSK5" address="$73"/>
243 <ioreg name="XMCRA" address="$74"/>
244 <ioreg name="XMCRB" address="$75"/>
245 <ioreg name="ADCL" address="$78"/>
246 <ioreg name="ADCH" address="$79"/>
247 <ioreg name="ADCSRA" address="$7A"/>
248 <ioreg name="ADCSRB" address="$7B"/>
249 <ioreg name="ADMUX" address="$7C"/>
250 <ioreg name="DIDR2" address="$7D"/>
251 <ioreg name="DIDR0" address="$7E"/>
252 <ioreg name="DIDR1" address="$7F"/>
253 <ioreg name="TCCR1A" address="$80"/>
254 <ioreg name="TCCR1B" address="$81"/>
255 <ioreg name="TCCR1C" address="$82"/>
256 <ioreg name="TCNT1L" address="$84"/>
257 <ioreg name="TCNT1H" address="$85"/>
258 <ioreg name="ICR1L" address="$86"/>
259 <ioreg name="ICR1H" address="$87"/>
260 <ioreg name="OCR1AL" address="$88"/>
261 <ioreg name="OCR1AH" address="$89"/>
262 <ioreg name="OCR1BL" address="$8A"/>
263 <ioreg name="OCR1BH" address="$8B"/>
264 <ioreg name="OCR1CL" address="$8C"/>
265 <ioreg name="OCR1CH" address="$8D"/>
266 <ioreg name="TCCR3A" address="$90"/>
267 <ioreg name="TCCR3B" address="$91"/>
268 <ioreg name="TCCR3C" address="$92"/>
269 <ioreg name="TCNT3L" address="$94"/>
270 <ioreg name="TCNT3H" address="$95"/>
271 <ioreg name="ICR3L" address="$96"/>
272 <ioreg name="ICR3H" address="$97"/>
273 <ioreg name="OCR3AL" address="$98"/>
274 <ioreg name="OCR3AH" address="$99"/>
275 <ioreg name="OCR3BL" address="$9A"/>
276 <ioreg name="OCR3BH" address="$9B"/>
277 <ioreg name="OCR3CL" address="$9C"/>
278 <ioreg name="OCR3CH" address="$9D"/>
279 <ioreg name="TCCR4A" address="$A0"/>
280 <ioreg name="TCCR4B" address="$A1"/>
281 <ioreg name="TCCR4C" address="$A2"/>
282 <ioreg name="TCNT4L" address="$A4"/>
283 <ioreg name="TCNT4H" address="$A5"/>
284 <ioreg name="ICR4L" address="$A6"/>
285 <ioreg name="ICR4H" address="$A7"/>
286 <ioreg name="OCR4AL" address="$A8"/>
287 <ioreg name="OCR4AH" address="$A9"/>
288 <ioreg name="OCR4BL" address="$AA"/>
289 <ioreg name="OCR4BH" address="$AB"/>
290 <ioreg name="OCR4CL" address="$AC"/>
291 <ioreg name="OCR4CH" address="$AD"/>
292 <ioreg name="TCCR2A" address="$B0"/>
293 <ioreg name="TCCR2B" address="$B1"/>
294 <ioreg name="TCNT2" address="$B2"/>
295 <ioreg name="OCR2A" address="$B3"/>
296 <ioreg name="OCR2B" address="$B4"/>
297 <ioreg name="ASSR" address="$B6"/>
298 <ioreg name="TWBR" address="$B8"/>
299 <ioreg name="TWSR" address="$B9"/>
300 <ioreg name="TWAR" address="$BA"/>
301 <ioreg name="TWDR" address="$BB"/>
302 <ioreg name="TWCR" address="$BC"/>
303 <ioreg name="TWAMR" address="$BD"/>
304 <ioreg name="UCSR0A" address="$C0"/>
305 <ioreg name="UCSR0B" address="$C1"/>
306 <ioreg name="UCSR0C" address="$C2"/>
307 <ioreg name="UBRR0L" address="$C4"/>
308 <ioreg name="UBRR0H" address="$C5"/>
309 <ioreg name="UDR0" address="$C6"/>
310 <ioreg name="UCSR1A" address="$C8"/>
311 <ioreg name="UCSR1B" address="$C9"/>
312 <ioreg name="UCSR1C" address="$CA"/>
313 <ioreg name="UBRR1L" address="$CC"/>
314 <ioreg name="UBRR1H" address="$CD"/>
315 <ioreg name="UDR1" address="$CE"/>
316 <ioreg name="UCSR2A" address="$D0"/>
317 <ioreg name="UCSR2B" address="$D1"/>
318 <ioreg name="UCSR2C" address="$D2"/>
319 <ioreg name="UBRR2L" address="$D4"/>
320 <ioreg name="UBRR2H" address="$D5"/>
321 <ioreg name="UDR2" address="$D6"/>
322 </ioregisters>
323 <hardware>
324 <!--Everything after this needs editing!!!-->
325 <module class="FUSE">
326 <registers name="FUSE" memspace="FUSE">
327 <reg size="1" name="EXTENDED" offset="0x02">
328 <bitfield name="BODLEVEL" mask="0x07" text="Brown-out Detector trigger level" icon="" enum="ENUM_BODLEVEL"/>
329 </reg>
330 <reg size="1" name="HIGH" offset="0x01">
331 <bitfield name="OCDEN" mask="0x80" text="On-Chip Debug Enabled" icon=""/>
332 <bitfield name="JTAGEN" mask="0x40" text="JTAG Interface Enabled" icon=""/>
333 <bitfield name="SPIEN" mask="0x20" text="Serial program downloading (SPI) enabled" icon=""/>
334 <bitfield name="WDTON" mask="0x10" text="Watchdog timer always on" icon=""/>
335 <bitfield name="EESAVE" mask="0x08" text="Preserve EEPROM through the Chip Erase cycle" icon=""/>
336 <bitfield name="BOOTSZ" mask="0x06" text="Select Boot Size" icon="" enum="ENUM_BOOTSZ"/>
337 <bitfield name="BOOTRST" mask="0x01" text="Boot Reset vector Enabled" icon=""/>
338 </reg>
339 <reg size="1" name="LOW" offset="0x00">
340 <bitfield name="CKDIV8" mask="0x80" text="Divide clock by 8 internally" icon=""/>
341 <bitfield name="CKOUT" mask="0x40" text="Clock output on PORTE7" icon=""/>
342 <bitfield name="SUT_CKSEL" mask="0x3F" text="Select Clock Source" icon="" enum="ENUM_SUT_CKSEL"/>
343 </reg>
344 </registers>
345 </module>
346 <module class="LOCKBIT">
347 <registers name="LOCKBIT" memspace="LOCKBIT">
348 <reg size="1" name="LOCKBIT" offset="0x00">
349 <bitfield name="LB" mask="0x03" text="Memory Lock" icon="" enum="ENUM_LB"/>
350 <bitfield name="BLB0" mask="0x0C" text="Boot Loader Protection Mode" icon="" enum="ENUM_BLB"/>
351 <bitfield name="BLB1" mask="0x30" text="Boot Loader Protection Mode" icon="" enum="ENUM_BLB2"/>
352 </reg>
353 </registers>
354 </module>
355 <module class="ANALOG_COMPARATOR">
356 <registers name="ANALOG_COMPARATOR" memspace="DATAMEM" text="" icon="io_analo.bmp">
357 <reg size="1" name="ADCSRB" offset="0x7B" text="ADC Control and Status Register B" icon="io_flag.bmp">
358 <bitfield name="ACME" mask="0x40" text="Analog Comparator Multiplexer Enable" icon=""/>
359 </reg>
360 <reg size="1" name="ACSR" offset="0x50" text="Analog Comparator Control And Status Register" icon="io_analo.bmp">
361 <bitfield name="ACD" mask="0x80" text="Analog Comparator Disable" icon=""/>
362 <bitfield name="ACBG" mask="0x40" text="Analog Comparator Bandgap Select" icon=""/>
363 <bitfield name="ACO" mask="0x20" text="Analog Compare Output" icon=""/>
364 <bitfield name="ACI" mask="0x10" text="Analog Comparator Interrupt Flag" icon=""/>
365 <bitfield name="ACIE" mask="0x08" text="Analog Comparator Interrupt Enable" icon=""/>
366 <bitfield name="ACIC" mask="0x04" text="Analog Comparator Input Capture Enable" icon=""/>
367 <bitfield name="ACIS" mask="0x03" text="Analog Comparator Interrupt Mode Select bits" icon="" enum="ANALOG_COMP_INTERRUPT"/>
368 </reg>
369 <reg size="1" name="DIDR1" offset="0x7F" text="Digital Input Disable Register 1" icon="io_analo.bmp">
370 <bitfield name="AIN1D" mask="0x02" text="AIN1 Digital Input Disable" icon=""/>
371 <bitfield name="AIN0D" mask="0x01" text="AIN0 Digital Input Disable" icon=""/>
372 </reg>
373 </registers>
374 </module>
375 <module class="USART0">
376 <registers name="USART0" memspace="DATAMEM" text="" icon="io_com.bmp">
377 <reg size="1" name="UDR0" offset="0xC6" text="USART I/O Data Register" icon="io_com.bmp" mask="0xFF"/>
378 <reg size="1" name="UCSR0A" offset="0xC0" text="USART Control and Status Register A" icon="io_flag.bmp">
379 <bitfield name="RXC0" mask="0x80" text="USART Receive Complete" icon=""/>
380 <bitfield name="TXC0" mask="0x40" text="USART Transmitt Complete" icon=""/>
381 <bitfield name="UDRE0" mask="0x20" text="USART Data Register Empty" icon=""/>
382 <bitfield name="FE0" mask="0x10" text="Framing Error" icon=""/>
383 <bitfield name="DOR0" mask="0x08" text="Data overRun" icon=""/>
384 <bitfield name="UPE0" mask="0x04" text="Parity Error" icon=""/>
385 <bitfield name="U2X0" mask="0x02" text="Double the USART transmission speed" icon=""/>
386 <bitfield name="MPCM0" mask="0x01" text="Multi-processor Communication Mode" icon=""/>
387 </reg>
388 <reg size="1" name="UCSR0B" offset="0xC1" text="USART Control and Status Register B" icon="io_flag.bmp">
389 <bitfield name="RXCIE0" mask="0x80" text="RX Complete Interrupt Enable" icon=""/>
390 <bitfield name="TXCIE0" mask="0x40" text="TX Complete Interrupt Enable" icon=""/>
391 <bitfield name="UDRIE0" mask="0x20" text="USART Data register Empty Interrupt Enable" icon=""/>
392 <bitfield name="RXEN0" mask="0x10" text="Receiver Enable" icon=""/>
393 <bitfield name="TXEN0" mask="0x08" text="Transmitter Enable" icon=""/>
394 <bitfield name="UCSZ02" mask="0x04" text="Character Size" icon=""/>
395 <bitfield name="RXB80" mask="0x02" text="Receive Data Bit 8" icon=""/>
396 <bitfield name="TXB80" mask="0x01" text="Transmit Data Bit 8" icon=""/>
397 </reg>
398 <reg size="1" name="UCSR0C" offset="0xC2" text="USART Control and Status Register C" icon="io_flag.bmp">
399 <bitfield name="UMSEL0" mask="0xC0" text="USART Mode Select" icon="" enum="COMM_USART_MODE"/>
400 <bitfield name="UPM0" mask="0x30" text="Parity Mode Bits" icon="" enum="COMM_UPM_PARITY_MODE"/>
401 <bitfield name="USBS0" mask="0x08" text="Stop Bit Select" icon="" enum="COMM_STOP_BIT_SEL"/>
402 <bitfield name="UCSZ0" mask="0x06" text="Character Size" icon=""/>
403 <bitfield name="UCPOL0" mask="0x01" text="Clock Polarity" icon=""/>
404 </reg>
405 <reg size="2" name="UBRR0" offset="0xC4" text="USART Baud Rate Register Bytes" icon="io_com.bmp" mask="0x0FFF"/>
406 </registers>
407 </module>
408 <module class="USART1">
409 <registers name="USART1" memspace="DATAMEM" text="" icon="io_com.bmp">
410 <reg size="1" name="UDR1" offset="0xCE" text="USART I/O Data Register" icon="io_com.bmp" mask="0xFF"/>
411 <reg size="1" name="UCSR1A" offset="0xC8" text="USART Control and Status Register A" icon="io_flag.bmp">
412 <bitfield name="RXC1" mask="0x80" text="USART Receive Complete" icon=""/>
413 <bitfield name="TXC1" mask="0x40" text="USART Transmitt Complete" icon=""/>
414 <bitfield name="UDRE1" mask="0x20" text="USART Data Register Empty" icon=""/>
415 <bitfield name="FE1" mask="0x10" text="Framing Error" icon=""/>
416 <bitfield name="DOR1" mask="0x08" text="Data overRun" icon=""/>
417 <bitfield name="UPE1" mask="0x04" text="Parity Error" icon=""/>
418 <bitfield name="U2X1" mask="0x02" text="Double the USART transmission speed" icon=""/>
419 <bitfield name="MPCM1" mask="0x01" text="Multi-processor Communication Mode" icon=""/>
420 </reg>
421 <reg size="1" name="UCSR1B" offset="0xC9" text="USART Control and Status Register B" icon="io_flag.bmp">
422 <bitfield name="RXCIE1" mask="0x80" text="RX Complete Interrupt Enable" icon=""/>
423 <bitfield name="TXCIE1" mask="0x40" text="TX Complete Interrupt Enable" icon=""/>
424 <bitfield name="UDRIE1" mask="0x20" text="USART Data register Empty Interrupt Enable" icon=""/>
425 <bitfield name="RXEN1" mask="0x10" text="Receiver Enable" icon=""/>
426 <bitfield name="TXEN1" mask="0x08" text="Transmitter Enable" icon=""/>
427 <bitfield name="UCSZ12" mask="0x04" text="Character Size" icon=""/>
428 <bitfield name="RXB81" mask="0x02" text="Receive Data Bit 8" icon=""/>
429 <bitfield name="TXB81" mask="0x01" text="Transmit Data Bit 8" icon=""/>
430 </reg>
431 <reg size="1" name="UCSR1C" offset="0xCA" text="USART Control and Status Register C" icon="io_flag.bmp">
432 <bitfield name="UMSEL1" mask="0xC0" text="USART Mode Select" icon="" enum="COMM_USART_MODE_2BIT"/>
433 <bitfield name="UPM1" mask="0x30" text="Parity Mode Bits" icon="" enum="COMM_UPM_PARITY_MODE"/>
434 <bitfield name="USBS1" mask="0x08" text="Stop Bit Select" icon="" enum="COMM_STOP_BIT_SEL"/>
435 <bitfield name="UCSZ1" mask="0x06" text="Character Size" icon=""/>
436 <bitfield name="UCPOL1" mask="0x01" text="Clock Polarity" icon=""/>
437 </reg>
438 <reg size="2" name="UBRR1" offset="0xCC" text="USART Baud Rate Register Bytes" icon="io_com.bmp" mask="0x0FFF"/>
439 </registers>
440 </module>
441 <module class="TWI">
442 <registers name="TWI" memspace="DATAMEM" text="" icon="io_com.bmp">
443 <reg size="1" name="TWAMR" offset="0xBD" text="TWI (Slave) Address Mask Register" icon="io_com.bmp">
444 <bitfield name="TWAM" mask="0xFE" text="" icon=""/>
445 </reg>
446 <reg size="1" name="TWBR" offset="0xB8" text="TWI Bit Rate register" icon="io_com.bmp" mask="0xFF"/>
447 <reg size="1" name="TWCR" offset="0xBC" text="TWI Control Register" icon="io_flag.bmp">
448 <bitfield name="TWINT" mask="0x80" text="TWI Interrupt Flag" icon=""/>
449 <bitfield name="TWEA" mask="0x40" text="TWI Enable Acknowledge Bit" icon=""/>
450 <bitfield name="TWSTA" mask="0x20" text="TWI Start Condition Bit" icon=""/>
451 <bitfield name="TWSTO" mask="0x10" text="TWI Stop Condition Bit" icon=""/>
452 <bitfield name="TWWC" mask="0x08" text="TWI Write Collition Flag" icon=""/>
453 <bitfield name="TWEN" mask="0x04" text="TWI Enable Bit" icon=""/>
454 <bitfield name="TWIE" mask="0x01" text="TWI Interrupt Enable" icon=""/>
455 </reg>
456 <reg size="1" name="TWSR" offset="0xB9" text="TWI Status Register" icon="io_flag.bmp">
457 <bitfield name="TWS" mask="0xF8" text="TWI Status" icon="" lsb="3"/>
458 <bitfield name="TWPS" mask="0x03" text="TWI Prescaler" icon="" enum="COMM_TWI_PRESACLE"/>
459 </reg>
460 <reg size="1" name="TWDR" offset="0xBB" text="TWI Data register" icon="io_com.bmp" mask="0xFF"/>
461 <reg size="1" name="TWAR" offset="0xBA" text="TWI (Slave) Address register" icon="io_com.bmp">
462 <bitfield name="TWA" mask="0xFE" text="TWI (Slave) Address register Bits" icon=""/>
463 <bitfield name="TWGCE" mask="0x01" text="TWI General Call Recognition Enable Bit" icon=""/>
464 </reg>
465 </registers>
466 </module>
467 <module class="SPI">
468 <registers name="SPI" memspace="DATAMEM" text="" icon="io_com.bmp">
469 <reg size="1" name="SPCR" offset="0x4C" text="SPI Control Register" icon="io_flag.bmp">
470 <bitfield name="SPIE" mask="0x80" text="SPI Interrupt Enable" icon=""/>
471 <bitfield name="SPE" mask="0x40" text="SPI Enable" icon=""/>
472 <bitfield name="DORD" mask="0x20" text="Data Order" icon=""/>
473 <bitfield name="MSTR" mask="0x10" text="Master/Slave Select" icon=""/>
474 <bitfield name="CPOL" mask="0x08" text="Clock polarity" icon=""/>
475 <bitfield name="CPHA" mask="0x04" text="Clock Phase" icon=""/>
476 <bitfield name="SPR" mask="0x03" text="SPI Clock Rate Selects" icon="" enum="COMM_SCK_RATE_3BIT"/>
477 </reg>
478 <reg size="1" name="SPSR" offset="0x4D" text="SPI Status Register" icon="io_flag.bmp">
479 <bitfield name="SPIF" mask="0x80" text="SPI Interrupt Flag" icon=""/>
480 <bitfield name="WCOL" mask="0x40" text="Write Collision Flag" icon=""/>
481 <bitfield name="SPI2X" mask="0x01" text="Double SPI Speed Bit" icon=""/>
482 </reg>
483 <reg size="1" name="SPDR" offset="0x4E" text="SPI Data Register" icon="io_com.bmp" mask="0xFF"/>
484 </registers>
485 </module>
486 <module class="PORTA">
487 <registers name="PORTA" memspace="DATAMEM" text="" icon="io_port.bmp">
488 <reg size="1" name="PORTA" offset="0x22" text="Port A Data Register" icon="io_port.bmp" mask="0xFF"/>
489 <reg size="1" name="DDRA" offset="0x21" text="Port A Data Direction Register" icon="io_flag.bmp" mask="0xFF"/>
490 <reg size="1" name="PINA" offset="0x20" text="Port A Input Pins" icon="io_port.bmp" mask="0xFF"/>
491 </registers>
492 </module>
493 <module class="PORTB">
494 <registers name="PORTB" memspace="DATAMEM" text="" icon="io_port.bmp">
495 <reg size="1" name="PORTB" offset="0x25" text="Port B Data Register" icon="io_port.bmp" mask="0xFF"/>
496 <reg size="1" name="DDRB" offset="0x24" text="Port B Data Direction Register" icon="io_flag.bmp" mask="0xFF"/>
497 <reg size="1" name="PINB" offset="0x23" text="Port B Input Pins" icon="io_port.bmp" mask="0xFF"/>
498 </registers>
499 </module>
500 <module class="PORTC">
501 <registers name="PORTC" memspace="DATAMEM" text="" icon="io_port.bmp">
502 <reg size="1" name="PORTC" offset="0x28" text="Port C Data Register" icon="io_port.bmp" mask="0xFF"/>
503 <reg size="1" name="DDRC" offset="0x27" text="Port C Data Direction Register" icon="io_flag.bmp" mask="0xFF"/>
504 <reg size="1" name="PINC" offset="0x26" text="Port C Input Pins" icon="io_port.bmp" mask="0xFF"/>
505 </registers>
506 </module>
507 <module class="PORTD">
508 <registers name="PORTD" memspace="DATAMEM" text="" icon="io_port.bmp">
509 <reg size="1" name="PORTD" offset="0x2B" text="Port D Data Register" icon="io_port.bmp" mask="0xFF"/>
510 <reg size="1" name="DDRD" offset="0x2A" text="Port D Data Direction Register" icon="io_flag.bmp" mask="0xFF"/>
511 <reg size="1" name="PIND" offset="0x29" text="Port D Input Pins" icon="io_port.bmp" mask="0xFF"/>
512 </registers>
513 </module>
514 <module class="PORTE">
515 <registers name="PORTE" memspace="DATAMEM" text="" icon="io_port.bmp">
516 <reg size="1" name="PORTE" offset="0x2E" text="Data Register, Port E" icon="io_port.bmp" mask="0xFF"/>
517 <reg size="1" name="DDRE" offset="0x2D" text="Data Direction Register, Port E" icon="io_flag.bmp" mask="0xFF"/>
518 <reg size="1" name="PINE" offset="0x2C" text="Input Pins, Port E" icon="io_port.bmp" mask="0xFF"/>
519 </registers>
520 </module>
521 <module class="PORTF">
522 <registers name="PORTF" memspace="DATAMEM" text="" icon="io_port.bmp">
523 <reg size="1" name="PORTF" offset="0x31" text="Data Register, Port F" icon="io_port.bmp" mask="0xFF"/>
524 <reg size="1" name="DDRF" offset="0x30" text="Data Direction Register, Port F" icon="io_flag.bmp" mask="0xFF"/>
525 <reg size="1" name="PINF" offset="0x2F" text="Input Pins, Port F" icon="io_port.bmp" mask="0xFF"/>
526 </registers>
527 </module>
528 <module class="PORTG">
529 <registers name="PORTG" memspace="DATAMEM" text="" icon="io_port.bmp">
530 <reg size="1" name="PORTG" offset="0x34" text="Data Register, Port G" icon="io_port.bmp" mask="0x3F"/>
531 <reg size="1" name="DDRG" offset="0x33" text="Data Direction Register, Port G" icon="io_flag.bmp" mask="0x3F"/>
532 <reg size="1" name="PING" offset="0x32" text="Input Pins, Port G" icon="io_port.bmp" mask="0x3F"/>
533 </registers>
534 </module>
535 <module class="TIMER_COUNTER_0">
536 <registers name="TIMER_COUNTER_0" memspace="DATAMEM" text="" icon="io_timer.bmp">
537 <reg size="1" name="OCR0B" offset="0x48" text="Timer/Counter0 Output Compare Register" icon="io_timer.bmp" mask="0xFF"/>
538 <reg size="1" name="OCR0A" offset="0x47" text="Timer/Counter0 Output Compare Register" icon="io_timer.bmp" mask="0xFF"/>
539 <reg size="1" name="TCNT0" offset="0x46" text="Timer/Counter0" icon="io_timer.bmp" mask="0xFF"/>
540 <reg size="1" name="TCCR0B" offset="0x45" text="Timer/Counter Control Register B" icon="io_flag.bmp">
541 <bitfield name="FOC0A" mask="0x80" text="Force Output Compare A" icon=""/>
542 <bitfield name="FOC0B" mask="0x40" text="Force Output Compare B" icon=""/>
543 <bitfield name="WGM02" mask="0x08" text="" icon=""/>
544 <bitfield name="CS0" mask="0x07" text="Clock Select" icon="" enum="CLK_SEL_3BIT_EXT"/>
545 </reg>
546 <reg size="1" name="TCCR0A" offset="0x44" text="Timer/Counter Control Register A" icon="io_flag.bmp">
547 <bitfield name="COM0A" mask="0xC0" text="Compare Output Mode, Phase Correct PWM Mode" icon=""/>
548 <bitfield name="COM0B" mask="0x30" text="Compare Output Mode, Fast PWm" icon=""/>
549 <bitfield name="WGM0" mask="0x03" text="Waveform Generation Mode" icon=""/>
550 </reg>
551 <reg size="1" name="TIMSK0" offset="0x6E" text="Timer/Counter0 Interrupt Mask Register" icon="io_flag.bmp">
552 <bitfield name="OCIE0B" mask="0x04" text="Timer/Counter0 Output Compare Match B Interrupt Enable" icon=""/>
553 <bitfield name="OCIE0A" mask="0x02" text="Timer/Counter0 Output Compare Match A Interrupt Enable" icon=""/>
554 <bitfield name="TOIE0" mask="0x01" text="Timer/Counter0 Overflow Interrupt Enable" icon=""/>
555 </reg>
556 <reg size="1" name="TIFR0" offset="0x35" text="Timer/Counter0 Interrupt Flag register" icon="io_flag.bmp">
557 <bitfield name="OCF0B" mask="0x04" text="Timer/Counter0 Output Compare Flag 0B" icon=""/>
558 <bitfield name="OCF0A" mask="0x02" text="Timer/Counter0 Output Compare Flag 0A" icon=""/>
559 <bitfield name="TOV0" mask="0x01" text="Timer/Counter0 Overflow Flag" icon=""/>
560 </reg>
561 <reg size="1" name="GTCCR" offset="0x43" text="General Timer/Counter Control Register" icon="io_flag.bmp">
562 <bitfield name="TSM" mask="0x80" text="Timer/Counter Synchronization Mode" icon=""/>
563 <bitfield name="PSRSYNC" mask="0x01" text="Prescaler Reset Timer/Counter1 and Timer/Counter0" icon=""/>
564 </reg>
565 </registers>
566 </module>
567 <module class="TIMER_COUNTER_2">
568 <registers name="TIMER_COUNTER_2" memspace="DATAMEM" text="" icon="io_timer.bmp">
569 <reg size="1" name="TIMSK2" offset="0x70" text="Timer/Counter Interrupt Mask register" icon="io_flag.bmp">
570 <bitfield name="OCIE2B" mask="0x04" text="Timer/Counter2 Output Compare Match B Interrupt Enable" icon=""/>
571 <bitfield name="OCIE2A" mask="0x02" text="Timer/Counter2 Output Compare Match A Interrupt Enable" icon=""/>
572 <bitfield name="TOIE2" mask="0x01" text="Timer/Counter2 Overflow Interrupt Enable" icon=""/>
573 </reg>
574 <reg size="1" name="TIFR2" offset="0x37" text="Timer/Counter Interrupt Flag Register" icon="io_flag.bmp">
575 <bitfield name="OCF2B" mask="0x04" text="Output Compare Flag 2B" icon=""/>
576 <bitfield name="OCF2A" mask="0x02" text="Output Compare Flag 2A" icon=""/>
577 <bitfield name="TOV2" mask="0x01" text="Timer/Counter2 Overflow Flag" icon=""/>
578 </reg>
579 <reg size="1" name="TCCR2A" offset="0xB0" text="Timer/Counter2 Control Register A" icon="io_flag.bmp">
580 <bitfield name="COM2A" mask="0xC0" text="Compare Output Mode bits" icon=""/>
581 <bitfield name="COM2B" mask="0x30" text="Compare Output Mode bits" icon=""/>
582 <bitfield name="WGM2" mask="0x03" text="Waveform Genration Mode" icon=""/>
583 </reg>
584 <reg size="1" name="TCCR2B" offset="0xB1" text="Timer/Counter2 Control Register B" icon="io_flag.bmp">
585 <bitfield name="FOC2A" mask="0x80" text="Force Output Compare A" icon=""/>
586 <bitfield name="FOC2B" mask="0x40" text="Force Output Compare B" icon=""/>
587 <bitfield name="WGM22" mask="0x08" text="Waveform Generation Mode" icon=""/>
588 <bitfield name="CS2" mask="0x07" text="Clock Select bits" icon="" enum="CLK_SEL_3BIT"/>
589 </reg>
590 <reg size="1" name="TCNT2" offset="0xB2" text="Timer/Counter2" icon="io_timer.bmp" mask="0xFF"/>
591 <reg size="1" name="OCR2B" offset="0xB4" text="Timer/Counter2 Output Compare Register B" icon="io_timer.bmp" mask="0xFF"/>
592 <reg size="1" name="OCR2A" offset="0xB3" text="Timer/Counter2 Output Compare Register A" icon="io_timer.bmp" mask="0xFF"/>
593 <reg size="1" name="ASSR" offset="0xB6" text="Asynchronous Status Register" icon="io_flag.bmp">
594 <bitfield name="EXCLK" mask="0x40" text="Enable External Clock Input" icon=""/>
595 <bitfield name="AS2" mask="0x20" text="Asynchronous Timer/Counter2" icon=""/>
596 <bitfield name="TCN2UB" mask="0x10" text="Timer/Counter2 Update Busy" icon=""/>
597 <bitfield name="OCR2AUB" mask="0x08" text="Output Compare Register2 Update Busy" icon=""/>
598 <bitfield name="OCR2BUB" mask="0x04" text="Output Compare Register 2 Update Busy" icon=""/>
599 <bitfield name="TCR2AUB" mask="0x02" text="Timer/Counter Control Register2 Update Busy" icon=""/>
600 <bitfield name="TCR2BUB" mask="0x01" text="Timer/Counter Control Register2 Update Busy" icon=""/>
601 </reg>
602 <reg size="1" name="GTCCR" offset="0x43" text="General Timer Counter Control register" icon="io_flag.bmp">
603 <bitfield name="TSM" mask="0x80" text="Timer/Counter Synchronization Mode" icon=""/>
604 <bitfield name="PSRASY" mask="0x02" text="Prescaler Reset Timer/Counter2" icon=""/>
605 </reg>
606 </registers>
607 </module>
608 <module class="WATCHDOG">
609 <registers name="WATCHDOG" memspace="DATAMEM" text="" icon="io_watch.bmp">
610 <reg size="1" name="WDTCSR" offset="0x60" text="Watchdog Timer Control Register" icon="io_flag.bmp">
611 <bitfield name="WDIF" mask="0x80" text="Watchdog Timeout Interrupt Flag" icon=""/>
612 <bitfield name="WDIE" mask="0x40" text="Watchdog Timeout Interrupt Enable" icon=""/>
613 <bitfield name="WDP" mask="0x27" text="Watchdog Timer Prescaler Bits" icon="" enum="WDOG_TIMER_PRESCALE_4BITS"/>
614 <bitfield name="WDCE" mask="0x10" text="Watchdog Change Enable" icon=""/>
615 <bitfield name="WDE" mask="0x08" text="Watch Dog Enable" icon=""/>
616 </reg>
617 </registers>
618 </module>
619 <module class="TIMER_COUNTER_5">
620 <registers name="TIMER_COUNTER_5" memspace="DATAMEM" text="" icon="io_timer.bmp">
621 <reg size="1" name="TCCR5A" offset="0x120" text="Timer/Counter5 Control Register A" icon="io_flag.bmp">
622 <bitfield name="COM5A" mask="0xC0" text="Compare Output Mode 1A, bits" icon=""/>
623 <bitfield name="COM5B" mask="0x30" text="Compare Output Mode 5B, bits" icon=""/>
624 <bitfield name="COM5C" mask="0x0C" text="Compare Output Mode 5C, bits" icon=""/>
625 <bitfield name="WGM5" mask="0x03" text="Waveform Generation Mode" icon=""/>
626 </reg>
627 <reg size="1" name="TCCR5B" offset="0x121" text="Timer/Counter5 Control Register B" icon="io_flag.bmp">
628 <bitfield name="ICNC5" mask="0x80" text="Input Capture 5 Noise Canceler" icon=""/>
629 <bitfield name="ICES5" mask="0x40" text="Input Capture 5 Edge Select" icon=""/>
630 <bitfield name="WGM5" mask="0x18" text="Waveform Generation Mode" icon="" lsb="2"/>
631 <bitfield name="CS5" mask="0x07" text="Prescaler source of Timer/Counter 5" icon="" enum="CLK_SEL_3BIT_EXT"/>
632 </reg>
633 <reg size="1" name="TCCR5C" offset="0x122" text="Timer/Counter 5 Control Register C" icon="io_flag.bmp">
634 <bitfield name="FOC5A" mask="0x80" text="Force Output Compare 5A" icon=""/>
635 <bitfield name="FOC5B" mask="0x40" text="Force Output Compare 5B" icon=""/>
636 <bitfield name="FOC5C" mask="0x20" text="Force Output Compare 5C" icon=""/>
637 </reg>
638 <reg size="2" name="TCNT5" offset="0x124" text="Timer/Counter5 Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
639 <reg size="2" name="OCR5A" offset="0x128" text="Timer/Counter5 Outbut Compare Register A Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
640 <reg size="2" name="OCR5B" offset="0x12A" text="Timer/Counter5 Output Compare Register B Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
641 <reg size="2" name="OCR5C" offset="0x12C" text="Timer/Counter5 Output Compare Register B Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
642 <reg size="2" name="ICR5" offset="0x126" text="Timer/Counter5 Input Capture Register Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
643 <reg size="1" name="TIMSK5" offset="0x73" text="Timer/Counter5 Interrupt Mask Register" icon="io_flag.bmp">
644 <bitfield name="ICIE5" mask="0x20" text="Timer/Counter5 Input Capture Interrupt Enable" icon=""/>
645 <bitfield name="OCIE5C" mask="0x08" text="Timer/Counter5 Output Compare C Match Interrupt Enable" icon=""/>
646 <bitfield name="OCIE5B" mask="0x04" text="Timer/Counter5 Output Compare B Match Interrupt Enable" icon=""/>
647 <bitfield name="OCIE5A" mask="0x02" text="Timer/Counter5 Output Compare A Match Interrupt Enable" icon=""/>
648 <bitfield name="TOIE5" mask="0x01" text="Timer/Counter5 Overflow Interrupt Enable" icon=""/>
649 </reg>
650 <reg size="1" name="TIFR5" offset="0x3A" text="Timer/Counter5 Interrupt Flag register" icon="io_flag.bmp">
651 <bitfield name="ICF5" mask="0x20" text="Input Capture Flag 5" icon=""/>
652 <bitfield name="OCF5C" mask="0x08" text="Output Compare Flag 5C" icon=""/>
653 <bitfield name="OCF5B" mask="0x04" text="Output Compare Flag 5B" icon=""/>
654 <bitfield name="OCF5A" mask="0x02" text="Output Compare Flag 5A" icon=""/>
655 <bitfield name="TOV5" mask="0x01" text="Timer/Counter5 Overflow Flag" icon=""/>
656 </reg>
657 </registers>
658 </module>
659 <module class="TIMER_COUNTER_4">
660 <registers name="TIMER_COUNTER_4" memspace="DATAMEM" text="" icon="io_timer.bmp">
661 <reg size="1" name="TCCR4A" offset="0xA0" text="Timer/Counter4 Control Register A" icon="io_flag.bmp">
662 <bitfield name="COM4A" mask="0xC0" text="Compare Output Mode 1A, bits" icon=""/>
663 <bitfield name="COM4B" mask="0x30" text="Compare Output Mode 4B, bits" icon=""/>
664 <bitfield name="COM4C" mask="0x0C" text="Compare Output Mode 4C, bits" icon=""/>
665 <bitfield name="WGM4" mask="0x03" text="Waveform Generation Mode" icon=""/>
666 </reg>
667 <reg size="1" name="TCCR4B" offset="0xA1" text="Timer/Counter4 Control Register B" icon="io_flag.bmp">
668 <bitfield name="ICNC4" mask="0x80" text="Input Capture 4 Noise Canceler" icon=""/>
669 <bitfield name="ICES4" mask="0x40" text="Input Capture 4 Edge Select" icon=""/>
670 <bitfield name="WGM4" mask="0x18" text="Waveform Generation Mode" icon="" lsb="2"/>
671 <bitfield name="CS4" mask="0x07" text="Prescaler source of Timer/Counter 4" icon="" enum="CLK_SEL_3BIT_EXT"/>
672 </reg>
673 <reg size="1" name="TCCR4C" offset="0xA2" text="Timer/Counter 4 Control Register C" icon="io_flag.bmp">
674 <bitfield name="FOC4A" mask="0x80" text="Force Output Compare 4A" icon=""/>
675 <bitfield name="FOC4B" mask="0x40" text="Force Output Compare 4B" icon=""/>
676 <bitfield name="FOC4C" mask="0x20" text="Force Output Compare 4C" icon=""/>
677 </reg>
678 <reg size="2" name="TCNT4" offset="0xA4" text="Timer/Counter4 Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
679 <reg size="2" name="OCR4A" offset="0xA8" text="Timer/Counter4 Outbut Compare Register A Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
680 <reg size="2" name="OCR4B" offset="0xAA" text="Timer/Counter4 Output Compare Register B Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
681 <reg size="2" name="OCR4C" offset="0xAC" text="Timer/Counter4 Output Compare Register B Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
682 <reg size="2" name="ICR4" offset="0xA6" text="Timer/Counter4 Input Capture Register Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
683 <reg size="1" name="TIMSK4" offset="0x72" text="Timer/Counter4 Interrupt Mask Register" icon="io_flag.bmp">
684 <bitfield name="ICIE4" mask="0x20" text="Timer/Counter4 Input Capture Interrupt Enable" icon=""/>
685 <bitfield name="OCIE4C" mask="0x08" text="Timer/Counter4 Output Compare C Match Interrupt Enable" icon=""/>
686 <bitfield name="OCIE4B" mask="0x04" text="Timer/Counter4 Output Compare B Match Interrupt Enable" icon=""/>
687 <bitfield name="OCIE4A" mask="0x02" text="Timer/Counter4 Output Compare A Match Interrupt Enable" icon=""/>
688 <bitfield name="TOIE4" mask="0x01" text="Timer/Counter4 Overflow Interrupt Enable" icon=""/>
689 </reg>
690 <reg size="1" name="TIFR4" offset="0x39" text="Timer/Counter4 Interrupt Flag register" icon="io_flag.bmp">
691 <bitfield name="ICF4" mask="0x20" text="Input Capture Flag 4" icon=""/>
692 <bitfield name="OCF4C" mask="0x08" text="Output Compare Flag 4C" icon=""/>
693 <bitfield name="OCF4B" mask="0x04" text="Output Compare Flag 4B" icon=""/>
694 <bitfield name="OCF4A" mask="0x02" text="Output Compare Flag 4A" icon=""/>
695 <bitfield name="TOV4" mask="0x01" text="Timer/Counter4 Overflow Flag" icon=""/>
696 </reg>
697 </registers>
698 </module>
699 <module class="TIMER_COUNTER_3">
700 <registers name="TIMER_COUNTER_3" memspace="DATAMEM" text="" icon="io_timer.bmp">
701 <reg size="1" name="TCCR3A" offset="0x90" text="Timer/Counter3 Control Register A" icon="io_flag.bmp">
702 <bitfield name="COM3A" mask="0xC0" text="Compare Output Mode 1A, bits" icon=""/>
703 <bitfield name="COM3B" mask="0x30" text="Compare Output Mode 3B, bits" icon=""/>
704 <bitfield name="COM3C" mask="0x0C" text="Compare Output Mode 3C, bits" icon=""/>
705 <bitfield name="WGM3" mask="0x03" text="Waveform Generation Mode" icon=""/>
706 </reg>
707 <reg size="1" name="TCCR3B" offset="0x91" text="Timer/Counter3 Control Register B" icon="io_flag.bmp">
708 <bitfield name="ICNC3" mask="0x80" text="Input Capture 3 Noise Canceler" icon=""/>
709 <bitfield name="ICES3" mask="0x40" text="Input Capture 3 Edge Select" icon=""/>
710 <bitfield name="WGM3" mask="0x18" text="Waveform Generation Mode" icon="" lsb="2"/>
711 <bitfield name="CS3" mask="0x07" text="Prescaler source of Timer/Counter 3" icon="" enum="CLK_SEL_3BIT_EXT"/>
712 </reg>
713 <reg size="1" name="TCCR3C" offset="0x92" text="Timer/Counter 3 Control Register C" icon="io_flag.bmp">
714 <bitfield name="FOC3A" mask="0x80" text="Force Output Compare 3A" icon=""/>
715 <bitfield name="FOC3B" mask="0x40" text="Force Output Compare 3B" icon=""/>
716 <bitfield name="FOC3C" mask="0x20" text="Force Output Compare 3C" icon=""/>
717 </reg>
718 <reg size="2" name="TCNT3" offset="0x94" text="Timer/Counter3 Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
719 <reg size="2" name="OCR3A" offset="0x98" text="Timer/Counter3 Outbut Compare Register A Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
720 <reg size="2" name="OCR3B" offset="0x9A" text="Timer/Counter3 Output Compare Register B Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
721 <reg size="2" name="OCR3C" offset="0x9C" text="Timer/Counter3 Output Compare Register B Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
722 <reg size="2" name="ICR3" offset="0x96" text="Timer/Counter3 Input Capture Register Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
723 <reg size="1" name="TIMSK3" offset="0x71" text="Timer/Counter3 Interrupt Mask Register" icon="io_flag.bmp">
724 <bitfield name="ICIE3" mask="0x20" text="Timer/Counter3 Input Capture Interrupt Enable" icon=""/>
725 <bitfield name="OCIE3C" mask="0x08" text="Timer/Counter3 Output Compare C Match Interrupt Enable" icon=""/>
726 <bitfield name="OCIE3B" mask="0x04" text="Timer/Counter3 Output Compare B Match Interrupt Enable" icon=""/>
727 <bitfield name="OCIE3A" mask="0x02" text="Timer/Counter3 Output Compare A Match Interrupt Enable" icon=""/>
728 <bitfield name="TOIE3" mask="0x01" text="Timer/Counter3 Overflow Interrupt Enable" icon=""/>
729 </reg>
730 <reg size="1" name="TIFR3" offset="0x38" text="Timer/Counter3 Interrupt Flag register" icon="io_flag.bmp">
731 <bitfield name="ICF3" mask="0x20" text="Input Capture Flag 3" icon=""/>
732 <bitfield name="OCF3C" mask="0x08" text="Output Compare Flag 3C" icon=""/>
733 <bitfield name="OCF3B" mask="0x04" text="Output Compare Flag 3B" icon=""/>
734 <bitfield name="OCF3A" mask="0x02" text="Output Compare Flag 3A" icon=""/>
735 <bitfield name="TOV3" mask="0x01" text="Timer/Counter3 Overflow Flag" icon=""/>
736 </reg>
737 </registers>
738 </module>
739 <module class="TIMER_COUNTER_1">
740 <registers name="TIMER_COUNTER_1" memspace="DATAMEM" text="" icon="io_timer.bmp">
741 <reg size="1" name="TCCR1A" offset="0x80" text="Timer/Counter1 Control Register A" icon="io_flag.bmp">
742 <bitfield name="COM1A" mask="0xC0" text="Compare Output Mode 1A, bits" icon=""/>
743 <bitfield name="COM1B" mask="0x30" text="Compare Output Mode 1B, bits" icon=""/>
744 <bitfield name="COM1C" mask="0x0C" text="Compare Output Mode 1C, bits" icon=""/>
745 <bitfield name="WGM1" mask="0x03" text="Waveform Generation Mode" icon=""/>
746 </reg>
747 <reg size="1" name="TCCR1B" offset="0x81" text="Timer/Counter1 Control Register B" icon="io_flag.bmp">
748 <bitfield name="ICNC1" mask="0x80" text="Input Capture 1 Noise Canceler" icon=""/>
749 <bitfield name="ICES1" mask="0x40" text="Input Capture 1 Edge Select" icon=""/>
750 <bitfield name="WGM1" mask="0x18" text="Waveform Generation Mode" icon="" lsb="2"/>
751 <bitfield name="CS1" mask="0x07" text="Prescaler source of Timer/Counter 1" icon="" enum="CLK_SEL_3BIT_EXT"/>
752 </reg>
753 <reg size="1" name="TCCR1C" offset="0x82" text="Timer/Counter 1 Control Register C" icon="io_flag.bmp">
754 <bitfield name="FOC1A" mask="0x80" text="Force Output Compare 1A" icon=""/>
755 <bitfield name="FOC1B" mask="0x40" text="Force Output Compare 1B" icon=""/>
756 <bitfield name="FOC1C" mask="0x20" text="Force Output Compare 1C" icon=""/>
757 </reg>
758 <reg size="2" name="TCNT1" offset="0x84" text="Timer/Counter1 Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
759 <reg size="2" name="OCR1A" offset="0x88" text="Timer/Counter1 Outbut Compare Register A Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
760 <reg size="2" name="OCR1B" offset="0x8A" text="Timer/Counter1 Output Compare Register B Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
761 <reg size="2" name="OCR1C" offset="0x8C" text="Timer/Counter1 Output Compare Register C Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
762 <reg size="2" name="ICR1" offset="0x86" text="Timer/Counter1 Input Capture Register Bytes" icon="io_timer.bmp" mask="0xFFFF"/>
763 <reg size="1" name="TIMSK1" offset="0x6F" text="Timer/Counter1 Interrupt Mask Register" icon="io_flag.bmp">
764 <bitfield name="ICIE1" mask="0x20" text="Timer/Counter1 Input Capture Interrupt Enable" icon=""/>
765 <bitfield name="OCIE1C" mask="0x08" text="Timer/Counter1 Output Compare C Match Interrupt Enable" icon=""/>
766 <bitfield name="OCIE1B" mask="0x04" text="Timer/Counter1 Output Compare B Match Interrupt Enable" icon=""/>
767 <bitfield name="OCIE1A" mask="0x02" text="Timer/Counter1 Output Compare A Match Interrupt Enable" icon=""/>
768 <bitfield name="TOIE1" mask="0x01" text="Timer/Counter1 Overflow Interrupt Enable" icon=""/>
769 </reg>
770 <reg size="1" name="TIFR1" offset="0x36" text="Timer/Counter1 Interrupt Flag register" icon="io_flag.bmp">
771 <bitfield name="ICF1" mask="0x20" text="Input Capture Flag 1" icon=""/>
772 <bitfield name="OCF1C" mask="0x08" text="Output Compare Flag 1C" icon=""/>
773 <bitfield name="OCF1B" mask="0x04" text="Output Compare Flag 1B" icon=""/>
774 <bitfield name="OCF1A" mask="0x02" text="Output Compare Flag 1A" icon=""/>
775 <bitfield name="TOV1" mask="0x01" text="Timer/Counter1 Overflow Flag" icon=""/>
776 </reg>
777 </registers>
778 </module>
779 <module class="EEPROM">
780 <registers name="EEPROM" memspace="DATAMEM" text="" icon="io_cpu.bmp">
781 <reg size="2" name="EEAR" offset="0x41" text="EEPROM Address Register Low Bytes" icon="io_cpu.bmp" mask="0x0FFF"/>
782 <reg size="1" name="EEDR" offset="0x40" text="EEPROM Data Register" icon="io_cpu.bmp" mask="0xFF"/>
783 <reg size="1" name="EECR" offset="0x3F" text="EEPROM Control Register" icon="io_flag.bmp">
784 <bitfield name="EEPM" mask="0x30" text="EEPROM Programming Mode Bits" icon="" enum="EEP_MODE"/>
785 <bitfield name="EERIE" mask="0x08" text="EEPROM Ready Interrupt Enable" icon=""/>
786 <bitfield name="EEMPE" mask="0x04" text="EEPROM Master Write Enable" icon=""/>
787 <bitfield name="EEPE" mask="0x02" text="EEPROM Write Enable" icon=""/>
788 <bitfield name="EERE" mask="0x01" text="EEPROM Read Enable" icon=""/>
789 </reg>
790 </registers>
791 </module>
792 <module class="JTAG">
793 <registers name="JTAG" memspace="DATAMEM" text="" icon="io_com.bmp">
794 <reg size="1" name="OCDR" offset="0x51" text="On-Chip Debug Related Register in I/O Memory" icon="io_com.bmp" mask="0xFF"/>
795 <reg size="1" name="MCUCR" offset="0x55" text="MCU Control Register" icon="io_flag.bmp">
796 <bitfield name="JTD" mask="0x80" text="JTAG Interface Disable" icon=""/>
797 </reg>
798 <reg size="1" name="MCUSR" offset="0x54" text="MCU Status Register" icon="io_flag.bmp">
799 <bitfield name="JTRF" mask="0x10" text="JTAG Reset Flag" icon=""/>
800 </reg>
801 </registers>
802 </module>
803 <module class="EXTERNAL_INTERRUPT">
804 <registers name="EXTERNAL_INTERRUPT" memspace="DATAMEM" text="" icon="io_ext.bmp">
805 <reg size="1" name="EICRA" offset="0x69" text="External Interrupt Control Register A" icon="io_flag.bmp">
806 <bitfield name="ISC3" mask="0xC0" text="External Interrupt Sense Control Bit" icon="" enum="INTERRUPT_SENSE_CONTROL"/>
807 <bitfield name="ISC2" mask="0x30" text="External Interrupt Sense Control Bit" icon="" enum="INTERRUPT_SENSE_CONTROL"/>
808 <bitfield name="ISC1" mask="0x0C" text="External Interrupt Sense Control Bit" icon="" enum="INTERRUPT_SENSE_CONTROL"/>
809 <bitfield name="ISC0" mask="0x03" text="External Interrupt Sense Control Bit" icon="" enum="INTERRUPT_SENSE_CONTROL"/>
810 </reg>
811 <reg size="1" name="EICRB" offset="0x6A" text="External Interrupt Control Register B" icon="io_flag.bmp">
812 <bitfield name="ISC7" mask="0xC0" text="External Interrupt 7-4 Sense Control Bit" icon="" enum="INTERRUPT_SENSE_CONTROL"/>
813 <bitfield name="ISC6" mask="0x30" text="External Interrupt 7-4 Sense Control Bit" icon="" enum="INTERRUPT_SENSE_CONTROL"/>
814 <bitfield name="ISC5" mask="0x0C" text="External Interrupt 7-4 Sense Control Bit" icon="" enum="INTERRUPT_SENSE_CONTROL"/>
815 <bitfield name="ISC4" mask="0x03" text="External Interrupt 7-4 Sense Control Bit" icon="" enum="INTERRUPT_SENSE_CONTROL"/>
816 </reg>
817 <reg size="1" name="EIMSK" offset="0x3D" text="External Interrupt Mask Register" icon="io_flag.bmp">
818 <bitfield name="INT" mask="0xFF" text="External Interrupt Request 7 Enable" icon=""/>
819 </reg>
820 <reg size="1" name="EIFR" offset="0x3C" text="External Interrupt Flag Register" icon="io_flag.bmp">
821 <bitfield name="INTF" mask="0xFF" text="External Interrupt Flags" icon=""/>
822 </reg>
823 <reg size="1" name="PCMSK2" offset="0x6D" text="Pin Change Mask Register 2" icon="io_flag.bmp" mask="0xFF"/>
824 <reg size="1" name="PCMSK1" offset="0x6C" text="Pin Change Mask Register 1" icon="io_flag.bmp" mask="0xFF"/>
825 <reg size="1" name="PCMSK0" offset="0x6B" text="Pin Change Mask Register 0" icon="io_flag.bmp" mask="0xFF"/>
826 <reg size="1" name="PCIFR" offset="0x3B" text="Pin Change Interrupt Flag Register" icon="io_flag.bmp">
827 <bitfield name="PCIF" mask="0x07" text="Pin Change Interrupt Flags" icon=""/>
828 </reg>
829 <reg size="1" name="PCICR" offset="0x68" text="Pin Change Interrupt Control Register" icon="io_flag.bmp">
830 <bitfield name="PCIE" mask="0x07" text="Pin Change Interrupt Enables" icon=""/>
831 </reg>
832 </registers>
833 </module>
834 <module class="AD_CONVERTER">
835 <registers name="AD_CONVERTER" memspace="DATAMEM" text="" icon="io_analo.bmp">
836 <reg size="1" name="ADMUX" offset="0x7C" text="The ADC multiplexer Selection Register" icon="io_analo.bmp">
837 <bitfield name="REFS" mask="0xC0" text="Reference Selection Bits" icon="" enum="ANALOG_ADC_V_REF6"/>
838 <bitfield name="ADLAR" mask="0x20" text="Left Adjust Result" icon=""/>
839 <bitfield name="MUX" mask="0x1F" text="Analog Channel and Gain Selection Bits" icon=""/>
840 </reg>
841 <reg size="2" name="ADC" offset="0x78" text="ADC Data Register Bytes" icon="io_analo.bmp" mask="0xFFFF"/>
842 <reg size="1" name="ADCSRA" offset="0x7A" text="The ADC Control and Status register A" icon="io_flag.bmp">
843 <bitfield name="ADEN" mask="0x80" text="ADC Enable" icon=""/>
844 <bitfield name="ADSC" mask="0x40" text="ADC Start Conversion" icon=""/>
845 <bitfield name="ADATE" mask="0x20" text="ADC Auto Trigger Enable" icon=""/>
846 <bitfield name="ADIF" mask="0x10" text="ADC Interrupt Flag" icon=""/>
847 <bitfield name="ADIE" mask="0x08" text="ADC Interrupt Enable" icon=""/>
848 <bitfield name="ADPS" mask="0x07" text="ADC Prescaler Select Bits" icon="" enum="ANALIG_ADC_PRESCALER"/>
849 </reg>
850 <reg size="1" name="ADCSRB" offset="0x7B" text="The ADC Control and Status register B" icon="io_flag.bmp">
851 <bitfield name="ACME" mask="0x40" text="" icon=""/>
852 <bitfield name="MUX5" mask="0x08" text="Analog Channel and Gain Selection Bits" icon=""/>
853 <bitfield name="ADTS" mask="0x07" text="ADC Auto Trigger Source bits" icon="" enum="ANALIG_ADC_AUTO_TRIGGER"/>
854 </reg>
855 <reg size="1" name="DIDR2" offset="0x7D" text="Digital Input Disable Register" icon="io_analo.bmp">
856 <bitfield name="ADC15D" mask="0x80" text="" icon=""/>
857 <bitfield name="ADC14D" mask="0x40" text="" icon=""/>
858 <bitfield name="ADC13D" mask="0x20" text="" icon=""/>
859 <bitfield name="ADC12D" mask="0x10" text="" icon=""/>
860 <bitfield name="ADC11D" mask="0x08" text="" icon=""/>
861 <bitfield name="ADC10D" mask="0x04" text="" icon=""/>
862 <bitfield name="ADC9D" mask="0x02" text="" icon=""/>
863 <bitfield name="ADC8D" mask="0x01" text="" icon=""/>
864 </reg>
865 <reg size="1" name="DIDR0" offset="0x7E" text="Digital Input Disable Register" icon="io_analo.bmp">
866 <bitfield name="ADC7D" mask="0x80" text="" icon=""/>
867 <bitfield name="ADC6D" mask="0x40" text="" icon=""/>
868 <bitfield name="ADC5D" mask="0x20" text="" icon=""/>
869 <bitfield name="ADC4D" mask="0x10" text="" icon=""/>
870 <bitfield name="ADC3D" mask="0x08" text="" icon=""/>
871 <bitfield name="ADC2D" mask="0x04" text="" icon=""/>
872 <bitfield name="ADC1D" mask="0x02" text="" icon=""/>
873 <bitfield name="ADC0D" mask="0x01" text="" icon=""/>
874 </reg>
875 </registers>
876 </module>
877 <module class="BOOT_LOAD">
878 <registers name="BOOT_LOAD" memspace="DATAMEM" text="" icon="io_cpu.bmp">
879 <reg size="1" name="SPMCSR" offset="0x57" text="Store Program Memory Control Register" icon="io_flag.bmp">
880 <bitfield name="SPMIE" mask="0x80" text="SPM Interrupt Enable" icon=""/>
881 <bitfield name="RWWSB" mask="0x40" text="Read While Write Section Busy" icon=""/>
882 <bitfield name="SIGRD" mask="0x20" text="Signature Row Read" icon=""/>
883 <bitfield name="RWWSRE" mask="0x10" text="Read While Write section read enable" icon=""/>
884 <bitfield name="BLBSET" mask="0x08" text="Boot Lock Bit Set" icon=""/>
885 <bitfield name="PGWRT" mask="0x04" text="Page Write" icon=""/>
886 <bitfield name="PGERS" mask="0x02" text="Page Erase" icon=""/>
887 <bitfield name="SPMEN" mask="0x01" text="Store Program Memory Enable" icon=""/>
888 </reg>
889 </registers>
890 </module>
891 <module class="CPU">
892 <registers name="CPU" memspace="DATAMEM" text="" icon="io_cpu.bmp">
893 <reg size="1" name="SREG" offset="0x5F" text="Status Register" icon="io_sreg.bmp">
894 <bitfield name="I" mask="0x80" text="Global Interrupt Enable" icon=""/>
895 <bitfield name="T" mask="0x40" text="Bit Copy Storage" icon=""/>
896 <bitfield name="H" mask="0x20" text="Half Carry Flag" icon=""/>
897 <bitfield name="S" mask="0x10" text="Sign Bit" icon=""/>
898 <bitfield name="V" mask="0x08" text="Two's Complement Overflow Flag" icon=""/>
899 <bitfield name="N" mask="0x04" text="Negative Flag" icon=""/>
900 <bitfield name="Z" mask="0x02" text="Zero Flag" icon=""/>
901 <bitfield name="C" mask="0x01" text="Carry Flag" icon=""/>
902 </reg>
903 <reg size="2" name="SP" offset="0x5D" text="Stack Pointer " icon="io_sph.bmp" mask="0xFFFF"/>
904 <reg size="1" name="MCUCR" offset="0x55" text="MCU Control Register" icon="io_flag.bmp">
905 <bitfield name="JTD" mask="0x80" text="JTAG Interface Disable" icon=""/>
906 <bitfield name="PUD" mask="0x10" text="Pull-up disable" icon=""/>
907 <bitfield name="IVSEL" mask="0x02" text="Interrupt Vector Select" icon=""/>
908 <bitfield name="IVCE" mask="0x01" text="Interrupt Vector Change Enable" icon=""/>
909 </reg>
910 <reg size="1" name="MCUSR" offset="0x54" text="MCU Status Register" icon="io_flag.bmp">
911 <bitfield name="JTRF" mask="0x10" text="JTAG Reset Flag" icon=""/>
912 <bitfield name="WDRF" mask="0x08" text="Watchdog Reset Flag" icon=""/>
913 <bitfield name="BORF" mask="0x04" text="Brown-out Reset Flag" icon=""/>
914 <bitfield name="EXTRF" mask="0x02" text="External Reset Flag" icon=""/>
915 <bitfield name="PORF" mask="0x01" text="Power-on reset flag" icon=""/>
916 </reg>
917 <reg size="1" name="XMCRA" offset="0x74" text="External Memory Control Register A" icon="io_cpu.bmp">
918 <bitfield name="SRE" mask="0x80" text="External SRAM Enable" icon=""/>
919 <bitfield name="SRL" mask="0x70" text="Wait state page limit" icon="" enum="CPU_SECTOR_LIMITS2"/>
920 <bitfield name="SRW1" mask="0x0C" text="Wait state select bit upper page" icon="" enum="CPU_WAIT_STATES"/>
921 <bitfield name="SRW0" mask="0x03" text="Wait state select bit lower page" icon="" enum="CPU_WAIT_STATES"/>
922 </reg>
923 <reg size="1" name="XMCRB" offset="0x75" text="External Memory Control Register B" icon="io_cpu.bmp">
924 <bitfield name="XMBK" mask="0x80" text="External Memory Bus Keeper Enable" icon=""/>
925 <bitfield name="XMM" mask="0x07" text="External Memory High Mask" icon="" enum="CPU_PIN_RELEASE"/>
926 </reg>
927 <reg size="1" name="OSCCAL" offset="0x66" text="Oscillator Calibration Value" icon="io_cpu.bmp" mask="0xFF"/>
928 <reg size="1" name="CLKPR" offset="0x61" text="" icon="io_cpu.bmp">
929 <bitfield name="CLKPCE" mask="0x80" text="" icon=""/>
930 <bitfield name="CLKPS" mask="0x0F" text="" icon="" enum="CPU_CLK_PRESCALE_4_BITS_SMALL"/>
931 </reg>
932 <reg size="1" name="SMCR" offset="0x53" text="Sleep Mode Control Register" icon="io_cpu.bmp">
933 <bitfield name="SM" mask="0x0E" text="Sleep Mode Select bits" icon="" enum="CPU_SLEEP_MODE_3BITS"/>
934 <bitfield name="SE" mask="0x01" text="Sleep Enable" icon=""/>
935 </reg>
936 <reg size="1" name="RAMPZ" offset="0x5B" text="RAM Page Z Select Register" icon="io_cpu.bmp" mask="0x03"/>
937 <reg size="1" name="GPIOR2" offset="0x4B" text="General Purpose IO Register 2" icon="io_cpu.bmp">
938 <bitfield name="GPIOR" mask="0xFF" text="General Purpose IO Register 2 bis" icon="" lsb="20"/>
939 </reg>
940 <reg size="1" name="GPIOR1" offset="0x4A" text="General Purpose IO Register 1" icon="io_cpu.bmp">
941 <bitfield name="GPIOR" mask="0xFF" text="General Purpose IO Register 1 bis" icon="" lsb="10"/>
942 </reg>
943 <reg size="1" name="GPIOR0" offset="0x3E" text="General Purpose IO Register 0" icon="io_cpu.bmp">
944 <bitfield name="GPIOR07" mask="0x80" text="General Purpose IO Register 0 bit 7" icon=""/>
945 <bitfield name="GPIOR06" mask="0x40" text="General Purpose IO Register 0 bit 6" icon=""/>
946 <bitfield name="GPIOR05" mask="0x20" text="General Purpose IO Register 0 bit 5" icon=""/>
947 <bitfield name="GPIOR04" mask="0x10" text="General Purpose IO Register 0 bit 4" icon=""/>
948 <bitfield name="GPIOR03" mask="0x08" text="General Purpose IO Register 0 bit 3" icon=""/>
949 <bitfield name="GPIOR02" mask="0x04" text="General Purpose IO Register 0 bit 2" icon=""/>
950 <bitfield name="GPIOR01" mask="0x02" text="General Purpose IO Register 0 bit 1" icon=""/>
951 <bitfield name="GPIOR00" mask="0x01" text="General Purpose IO Register 0 bit 0" icon=""/>
952 </reg>
953 <reg size="1" name="PRR1" offset="0x65" text="Power Reduction Register1" icon="io_cpu.bmp">
954 <bitfield name="PRTIM5" mask="0x20" text="Power Reduction Timer/Counter5" icon=""/>
955 <bitfield name="PRTIM4" mask="0x10" text="Power Reduction Timer/Counter4" icon=""/>
956 <bitfield name="PRTIM3" mask="0x08" text="Power Reduction Timer/Counter3" icon=""/>
957 <bitfield name="PRUSART" mask="0x07" text="Power Reduction USART3" icon="" lsb="1"/>
958 </reg>
959 <reg size="1" name="PRR0" offset="0x64" text="Power Reduction Register0" icon="io_cpu.bmp">
960 <bitfield name="PRTWI" mask="0x80" text="Power Reduction TWI" icon=""/>
961 <bitfield name="PRTIM2" mask="0x40" text="Power Reduction Timer/Counter2" icon=""/>
962 <bitfield name="PRTIM0" mask="0x20" text="Power Reduction Timer/Counter0" icon=""/>
963 <bitfield name="PRTIM1" mask="0x08" text="Power Reduction Timer/Counter1" icon=""/>
964 <bitfield name="PRSPI" mask="0x04" text="Power Reduction Serial Peripheral Interface" icon=""/>
965 <bitfield name="PRUSART0" mask="0x02" text="Power Reduction USART" icon=""/>
966 <bitfield name="PRADC" mask="0x01" text="Power Reduction ADC" icon=""/>
967 </reg>
968 </registers>
969 </module>
970 </hardware>
971 </device>