<parts>
  <regblock  name="I/O_REG" start="0x0020" end="0x005F" offset="32">
    <register  name="PRR"     addr="0x0000" mask="00001111" 
               bits="PRADC,PRUSI,PRTIM0,PRTIM1,0,0,0,0" />
               
    <register  name="DIDR0"   addr="0x0001" />
    <register  name="ADCSRB"  addr="0x0003" 
               bits="ADTS0,ADTS1,ADTS2,0,ADLAR,0,ACME,BIN" />
               
    <register  name="ADCL"    addr="0x0004" />
    <register  name="ADCH"    addr="0x0005" />
    <register  name="ADCSRA"  addr="0x0006" 
               bits="ADPS0,ADPS1,ADPS2,ADIE,ADIF,ADATE,ADSC,ADEN" />
               
    <register  name="ADMUX"   addr="0x0007" 
               bits="MUX0,MUX1,MUX2,MUX3,MUX4,MUX5,REFS0,REFS1" />
               
    <register  name="ACSR"    addr="0x0008" 
               bits="ACIS0,ACIS1,ACIC,ACIE,ACI,ACO,ACBG,ACD" />
               
    <register  name="TIFR1"   addr="0x000B" mask="00100111"
               bits="TOV1,OCF1A,OCF1B,0,0,ICF1,0,0" />
               
    <register  name="TIMSK1"  addr="0x000C" mask="00100111"
               bits="TOIE1,OCIE1A,OCIE1B,0,0,ICIE1,0,0" />
               
    <register  name="USICR"   addr="0x000D" 
               bits="USITC,USICLK,USICS0,USICS1,USIWM0,USIWM1,USIOIE,USISIE" />
               
    <register  name="USISR"   addr="0x000E" 
               bits="USICNT0,USICNT1,USICNT2,USICNT3,USIDC,USIPF,USIOIF,USISIF" />
               
    <register  name="USIDR"   addr="0x000F" />
    <register  name="USIBR"   addr="0x0010" />
    <register  name="PCMSK0"  addr="0x0012" />
    <register  name="GPIOR0"  addr="0x0013" />
    <register  name="GPIOR1"  addr="0x0014" />
    <register  name="GPIOR2"  addr="0x0015" />
    <register  name="PINB"    addr="0x0016" />
    <register  name="DDRB"    addr="0x0017" />
    <register  name="PORTB"   addr="0x0018" />
    <register  name="PINA"    addr="0x0019" />
    <register  name="DDRA"    addr="0x001A" />
    <register  name="PORTA"   addr="0x001B" />
    <register  name="EECR"    addr="0x001C" mask="00111111"
               bits="EERE,EEPE,EEMPE,EERIE,EEPM0,EEPM1,0,0" />
               
    <register  name="EEDR"    addr="0x001D" />
    <register  name="EEARL"   addr="0x001E" />
    <register  name="EEARH"   addr="0x001F" mask="00000001" />
    <register  name="PCMSK1"  addr="0x0020" mask="00001111" />
    <register  name="WDTCSR"  addr="0x0021" 
               bits="WDP0,WDP1,WDP2,WDE,WDCE,WDP3,WDIE,WDIF" />
               
    <register  name="TCCR1C"  addr="0x0022" mask="11000000"
               bits="0,0,0,0,0,0,FOC1B,FOC1A" />
               
    <register  name="GTCCR"   addr="0x0023" mask="10000001"
               bits="PSR10,0,0,0,0,0,0,TSM" />
               
    <register  name="ICR1L"   addr="0x0024" />
    <register  name="ICR1H"   addr="0x0025" />
    <register  name="CLKPR"   addr="0x0026" mask="10001111"
               bits="CLKPS0,CLKPS1,CLKPS2,CLKPS3,0,0,0,CLKPCE" />
               
    <register  name="DWDR"    addr="0x0027" />
    <register  name="OCR1BL"  addr="0x0028" />
    <register  name="OCR1BH"  addr="0x0029" />
    <register  name="OCR1AL"  addr="0x002A" />
    <register  name="OCR1AH"  addr="0x002B" />
    <register  name="TCNT1L"  addr="0x002C" />
    <register  name="TCNT1H"  addr="0x002D" />
    <register  name="TCCR1B"  addr="0x002E" mask="11011111"
               bits="CS10,CS11,CS12,WGM12,WGM13,0,ICES1,ICNC1" />
               
    <register  name="TCCR1A"  addr="0x002F" mask="11110011"
               bits="WGM10,WGM11,0,0,COM1B0,COM1B1,COM1A0,COM1A1" />
               
    <register  name="TCCR0A"  addr="0x0030" mask="11110011"
               bits="WGM00,WGM01,0,0,COM0B0,COM0B1,COM0A0,COM0A1" />
               
    <register  name="OSCCAL"  addr="0x0031" />
    <register  name="TCNT0"   addr="0x0032" />
    <register  name="TCCR0B"  addr="0x0033" mask="11001111"
               bits="CS00,CS01,CS02,WGM02,0,0,FOC0B,FOC0A" />
               
    <register  name="MCUSR"   addr="0x0034" mask="00001111" 
               bits="PORF,EXTRF,BORF,WDRF,0,0,0,0" />
               
    <register  name="MCUCR"   addr="0x0035" 
               bits="ISC00,ISC01,BODSE,SM0,SM1,SE,PUD,BODS" />
               
    <register  name="OCR0A"   addr="0x0036" />
    <register  name="SPMCSR"  addr="0x0037" mask="00011111" 
               bits="SPMEN,PGERS,PGWRT,RFLB,CTPB,0,0,0" />
               
    <register  name="TIFR0"   addr="0x0038" mask="00000111" 
               bits="TOV0,OCF0A,OCF0B,0,0,0,0,0" />
               
    <register  name="TIMSK0"  addr="0x0039" mask="00000111" 
               bits="TOIE0,OCIE0A,OCIE0B,0,0,0,0,0" />
               
    <register  name="GIFR"    addr="0x003A" mask="01110000"
               bits="0,0,0,0,PCIF0,PCIF1,INTF0,0" />
               
    <register  name="GIMSK"   addr="0x003B" mask="01110000"
               bits="0,0,0,0,PCIE0,PCIE1,INT0,0" />
               
    <register  name="OCR0B"   addr="0x003C" />
    <register  name="SPL"     addr="0x003D" />
    <register  name="SPH"     addr="0x003E" />
  </regblock>
  <stack  spreg="SPL,SPH" increment="postdec" />
</parts>

