2021-04-04 21:04:12 +01:00
<?xml version="1.0" encoding="UTF-8"?>
2021-05-31 01:01:14 +01:00
<target-description-file >
2021-06-02 23:24:05 +01:00
<variants >
2023-12-13 23:03:04 +00:00
<variant name= "ATtiny43U-SU" package= "SOIC20" pinout= "SOIC20" tempmax= "85" tempmin= "-40" />
<variant name= "ATtiny43U-MU" package= "WQFN20" pinout= "QFN20" tempmax= "85" tempmin= "-40" />
2021-06-02 23:24:05 +01:00
</variants>
2023-12-13 20:33:41 +00:00
<device name= "ATtiny43U" family= "AVR8" architecture= "AVR8" avr-family= "tinyAVR" >
2021-06-02 23:24:05 +01:00
<address-spaces >
<address-space endianness= "little" name= "prog" id= "prog" start= "0x0000" size= "0x1000" >
2023-12-13 20:40:14 +00:00
<memory-segment start= "0x0000" size= "0x1000" type= "flash" rw= "RW" exec= "1" name= "FLASH" pagesize= "0x40" />
2021-06-02 23:24:05 +01:00
</address-space>
<address-space endianness= "little" name= "signatures" id= "signatures" start= "0" size= "3" >
<memory-segment start= "0" size= "3" type= "signatures" rw= "R" exec= "0" name= "SIGNATURES" />
</address-space>
<address-space endianness= "little" name= "fuses" id= "fuses" start= "0" size= "0x0003" >
<memory-segment start= "0" size= "0x0003" type= "fuses" rw= "RW" exec= "0" name= "FUSES" />
</address-space>
<address-space endianness= "little" name= "lockbits" id= "lockbits" start= "0" size= "0x0001" >
<memory-segment start= "0" size= "0x0001" type= "lockbits" rw= "RW" exec= "0" name= "LOCKBITS" />
</address-space>
<address-space endianness= "little" name= "data" id= "data" start= "0x0000" size= "0x0160" >
<memory-segment external= "false" type= "regs" size= "0x0020" start= "0x0000" name= "REGISTERS" />
<memory-segment name= "MAPPED_IO" start= "0x0020" size= "0x0040" type= "io" external= "false" />
<memory-segment name= "IRAM" start= "0x0060" size= "0x0100" type= "ram" external= "false" />
</address-space>
<address-space endianness= "little" name= "eeprom" id= "eeprom" start= "0x0000" size= "0x0040" >
2023-12-13 20:40:14 +00:00
<memory-segment start= "0x0000" size= "0x0040" type= "eeprom" rw= "RW" exec= "0" name= "EEPROM" pagesize= "0x04" />
2021-06-02 23:24:05 +01:00
</address-space>
<address-space size= "0x40" start= "0x00" endianness= "little" name= "io" id= "io" />
<address-space endianness= "little" name= "osccal" id= "osccal" start= "0" size= "1" >
<memory-segment start= "0" size= "1" type= "osccal" rw= "R" exec= "0" name= "OSCCAL" />
</address-space>
</address-spaces>
<peripherals >
<module name= "PORT" >
<instance name= "PORTA" caption= "I/O Port" >
2023-12-13 20:40:14 +00:00
<register-group name= "PORTA" name-in-module= "PORTA" offset= "0x00" address-space= "data" caption= "I/O Port" />
2021-06-11 23:59:17 +01:00
<signals >
<signal function= "PORTA" group= "P" index= "0" pad= "PA0" />
<signal function= "PORTA" group= "P" index= "1" pad= "PA1" />
<signal function= "PORTA" group= "P" index= "2" pad= "PA2" />
<signal function= "PORTA" group= "P" index= "3" pad= "PA3" />
<signal function= "PORTA" group= "P" index= "4" pad= "PA4" />
<signal function= "PORTA" group= "P" index= "5" pad= "PA5" />
<signal function= "PORTA" group= "P" index= "6" pad= "PA6" />
<signal function= "PORTA" group= "P" index= "7" pad= "PA7" />
</signals>
2021-06-02 23:24:05 +01:00
</instance>
<instance name= "PORTB" caption= "I/O Port" >
2023-12-13 20:40:14 +00:00
<register-group name= "PORTB" name-in-module= "PORTB" offset= "0x00" address-space= "data" caption= "I/O Port" />
2021-06-11 23:59:17 +01:00
<signals >
<signal function= "PORTB" group= "P" index= "0" pad= "PB0" />
<signal function= "PORTB" group= "P" index= "1" pad= "PB1" />
<signal function= "PORTB" group= "P" index= "2" pad= "PB2" />
<signal function= "PORTB" group= "P" index= "3" pad= "PB3" />
<signal function= "PORTB" group= "P" index= "4" pad= "PB4" />
<signal function= "PORTB" group= "P" index= "5" pad= "PB5" />
<signal function= "PORTB" group= "P" index= "6" pad= "PB6" />
<signal function= "PORTB" group= "P" index= "7" pad= "PB7" />
</signals>
2021-06-02 23:24:05 +01:00
</instance>
</module>
<module name= "USI" >
<instance name= "USI" caption= "Universal Serial Interface" >
2023-12-13 20:40:14 +00:00
<register-group name= "USI" name-in-module= "USI" offset= "0x00" address-space= "data" caption= "Universal Serial Interface" />
2021-06-02 23:24:05 +01:00
</instance>
</module>
<module name= "WDT" >
<instance name= "WDT" caption= "Watchdog Timer" >
2023-12-13 20:40:14 +00:00
<register-group name= "WDT" name-in-module= "WDT" offset= "0x00" address-space= "data" caption= "Watchdog Timer" />
2021-06-02 23:24:05 +01:00
</instance>
</module>
<module name= "TC8" >
<instance name= "TC0" caption= "Timer/Counter, 8-bit" >
2023-12-13 20:40:14 +00:00
<register-group name= "TC0" name-in-module= "TC0" offset= "0x00" address-space= "data" caption= "Timer/Counter, 8-bit" />
2021-06-02 23:24:05 +01:00
</instance>
<instance name= "TC1" caption= "Timer/Counter, 8-bit" >
2023-12-13 20:40:14 +00:00
<register-group name= "TC1" name-in-module= "TC1" offset= "0x00" address-space= "data" caption= "Timer/Counter, 8-bit" />
2021-06-02 23:24:05 +01:00
</instance>
</module>
<module name= "BOOT_LOAD" >
<instance name= "BOOT_LOAD" caption= "Bootloader" >
2023-12-13 20:40:14 +00:00
<register-group name= "BOOT_LOAD" name-in-module= "BOOT_LOAD" offset= "0x00" address-space= "data" caption= "Bootloader" />
2021-06-02 23:24:05 +01:00
</instance>
</module>
<module name= "CPU" >
<instance name= "CPU" caption= "CPU Registers" >
2023-12-13 20:40:14 +00:00
<register-group name= "CPU" name-in-module= "CPU" offset= "0x00" address-space= "data" caption= "CPU Registers" />
2021-06-02 23:24:05 +01:00
<parameters >
<param name= "CORE_VERSION" value= "V2" />
<param name= "NEW_INSTRUCTIONS" value= "lpm rd,z+" />
</parameters>
</instance>
</module>
<module name= "EXINT" >
<instance name= "EXINT" caption= "External Interrupts" >
2023-12-13 20:40:14 +00:00
<register-group name= "EXINT" name-in-module= "EXINT" offset= "0x00" address-space= "data" caption= "External Interrupts" />
2021-06-02 23:24:05 +01:00
</instance>
</module>
<module name= "AC" >
<instance name= "AC" caption= "Analog Comparator" >
2023-12-13 20:40:14 +00:00
<register-group name= "AC" name-in-module= "AC" offset= "0x00" address-space= "data" caption= "Analog Comparator" />
2021-06-02 23:24:05 +01:00
</instance>
</module>
<module name= "ADC" >
<instance name= "ADC" caption= "Analog-to-Digital Converter" >
2023-12-13 20:40:14 +00:00
<register-group name= "ADC" name-in-module= "ADC" offset= "0x00" address-space= "data" caption= "Analog-to-Digital Converter" />
2021-06-02 23:24:05 +01:00
</instance>
</module>
<module name= "EEPROM" >
<instance name= "EEPROM" caption= "EEPROM" >
2023-12-13 20:40:14 +00:00
<register-group name= "EEPROM" name-in-module= "EEPROM" offset= "0x00" address-space= "data" caption= "EEPROM" />
2021-06-02 23:24:05 +01:00
</instance>
</module>
<module name= "FUSE" >
<instance name= "FUSE" caption= "Fuses" >
<register-group name= "FUSE" name-in-module= "FUSE" offset= "0" address-space= "fuses" caption= "Fuses" />
</instance>
</module>
<module name= "LOCKBIT" >
<instance name= "LOCKBIT" caption= "Lockbits" >
2023-12-13 20:40:14 +00:00
<register-group name= "LOCKBIT" name-in-module= "LOCKBIT" offset= "0" address-space= "lockbits" caption= "Lockbits" />
2021-06-02 23:24:05 +01:00
</instance>
</module>
</peripherals>
<interrupts >
<interrupt index= "0" name= "RESET" caption= "External Pin, Power-on Reset, Brown-out Reset,Watchdog Reset" />
<interrupt index= "1" name= "INT0" caption= "External Interrupt Request 0" />
<interrupt index= "2" name= "PCINT0" caption= "Pin Change Interrupt Request 0" />
<interrupt index= "3" name= "PCINT1" caption= "Pin Change Interrupt Request 1" />
<interrupt index= "4" name= "WDT" caption= "Watchdog Time-out" />
<interrupt index= "5" name= "TIM1_COMPA" caption= "Timer/Counter1 Compare Match A" />
<interrupt index= "6" name= "TIM1_COMPB" caption= "Timer/Counter1 Compare Match B" />
<interrupt index= "7" name= "TIM1_OVF" caption= "Timer/Counter1 Overflow" />
<interrupt index= "8" name= "TIM0_COMPA" caption= "Timer/Counter0 Compare Match A" />
<interrupt index= "9" name= "TIM0_COMPB" caption= "Timer/Counter0 Compare Match B" />
<interrupt index= "10" name= "TIM0_OVF" caption= "Timer/Counter0 Overflow" />
<interrupt index= "11" name= "ANA_COMP" caption= "Analog Comparator" />
<interrupt index= "12" name= "ADC" caption= "ADC Conversion Complete" />
<interrupt index= "13" name= "EE_RDY" caption= "EEPROM Ready" />
<interrupt index= "14" name= "USI_START" caption= "USI START" />
<interrupt index= "15" name= "USI_OVF" caption= "USI Overflow" />
</interrupts>
<interfaces >
<interface name= "ISP" type= "isp" />
<interface name= "HVPP" type= "hvpp" />
<interface name= "debugWIRE" type= "dw" />
</interfaces>
<property-groups >
<property-group name= "SIGNATURES" >
<property name= "JTAGID" value= "0x920C" />
<property name= "SIGNATURE0" value= "0x1e" />
<property name= "SIGNATURE1" value= "0x92" />
<property name= "SIGNATURE2" value= "0x0c" />
</property-group>
<property-group name= "OCD" >
<property name= "OCD_REVISION" value= "1" />
<property name= "OCD_DATAREG" value= "0x27" />
<property name= "PROGBASE" value= "0x0000" />
</property-group>
<property-group name= "JTAG_INTERFACE" >
<property name= "ALLOWFULLPAGESTREAM" value= "0x00" />
</property-group>
<property-group name= "ISP_INTERFACE_STK600" >
<property name= "IspEnterProgMode_timeout" value= "200" />
<property name= "IspEnterProgMode_stabDelay" value= "100" />
<property name= "IspEnterProgMode_cmdexeDelay" value= "25" />
<property name= "IspEnterProgMode_synchLoops" value= "32" />
<property name= "IspEnterProgMode_byteDelay" value= "0" />
<property name= "IspEnterProgMode_pollIndex" value= "3" />
<property name= "IspEnterProgMode_pollValue" value= "0x53" />
<property name= "IspLeaveProgMode_preDelay" value= "1" />
<property name= "IspLeaveProgMode_postDelay" value= "1" />
<property name= "IspChipErase_eraseDelay" value= "10" />
<property name= "IspChipErase_pollMethod" value= "0" />
<property name= "IspProgramFlash_mode" value= "0x41" />
<property name= "IspProgramFlash_blockSize" value= "64" />
<property name= "IspProgramFlash_delay" value= "10" />
<property name= "IspProgramFlash_cmd1" value= "0x40" />
<property name= "IspProgramFlash_cmd2" value= "0x4C" />
<property name= "IspProgramFlash_cmd3" value= "0x00" />
<property name= "IspProgramFlash_pollVal1" value= "0x00" />
<property name= "IspProgramFlash_pollVal2" value= "0x00" />
<property name= "IspProgramEeprom_mode" value= "0x41" />
<property name= "IspProgramEeprom_blockSize" value= "4" />
<property name= "IspProgramEeprom_delay" value= "10" />
<property name= "IspProgramEeprom_cmd1" value= "0xC1" />
<property name= "IspProgramEeprom_cmd2" value= "0xC2" />
<property name= "IspProgramEeprom_cmd3" value= "0x00" />
<property name= "IspProgramEeprom_pollVal1" value= "0x00" />
<property name= "IspProgramEeprom_pollVal2" value= "0x00" />
<property name= "IspReadFlash_blockSize" value= "256" />
<property name= "IspReadEeprom_blockSize" value= "256" />
<property name= "IspReadFuse_pollIndex" value= "4" />
<property name= "IspReadLock_pollIndex" value= "4" />
<property name= "IspReadSign_pollIndex" value= "4" />
<property name= "IspReadOsccal_pollIndex" value= "4" />
</property-group>
<property-group name= "PP_INTERFACE_STK600" >
2023-12-13 20:40:14 +00:00
<property name= "PpControlStack" value= "0x0E 0x1E 0x0E 0x1E 0x2E 0x3E 0x2E 0x3E 0x4E 0x5E 0x4E 0x5E 0x6E 0x7E 0x6E 0x7E 0x06 0x16 0x46 0x56 0x0A 0x1A 0x4A 0x5A 0x1E 0x7C 0x00 0x01 0x00 0x00 0x00 0x00" />
2021-06-02 23:24:05 +01:00
<property name= "PpEnterProgMode_stabDelay" value= "100" />
<property name= "PpEnterProgMode_progModeDelay" value= "0" />
<property name= "PpEnterProgMode_latchCycles" value= "5" />
<property name= "PpEnterProgMode_toggleVtg" value= "1" />
<property name= "PpEnterProgMode_powerOffDelay" value= "20" />
<property name= "PpEnterProgMode_resetDelayMs" value= "1" />
<property name= "PpEnterProgMode_resetDelayUs" value= "0" />
<property name= "PpLeaveProgMode_stabDelay" value= "15" />
<property name= "PpLeaveProgMode_resetDelay" value= "15" />
<property name= "PpChipErase_pulseWidth" value= "0" />
<property name= "PpChipErase_pollTimeout" value= "10" />
<property name= "PpProgramFlash_pollTimeout" value= "5" />
<property name= "PpProgramFlash_mode" value= "0x0B" />
<property name= "PpProgramFlash_blockSize" value= "256" />
<property name= "PpReadFlash_blockSize" value= "256" />
<property name= "PpProgramEeprom_pollTimeout" value= "5" />
<property name= "PpProgramEeprom_mode" value= "0x05" />
<property name= "PpProgramEeprom_blockSize" value= "256" />
<property name= "PpReadEeprom_blockSize" value= "256" />
<property name= "PpProgramFuse_pulseWidth" value= "0" />
<property name= "PpProgramFuse_pollTimeout" value= "5" />
<property name= "PpProgramLock_pulseWidth" value= "0" />
<property name= "PpProgramLock_pollTimeout" value= "5" />
</property-group>
<property-group name= "ISP_INTERFACE" >
<property name= "IspEnterProgMode_timeout" value= "200" />
<property name= "IspEnterProgMode_stabDelay" value= "100" />
<property name= "IspEnterProgMode_cmdexeDelay" value= "25" />
<property name= "IspEnterProgMode_synchLoops" value= "32" />
<property name= "IspEnterProgMode_byteDelay" value= "0" />
<property name= "IspEnterProgMode_pollIndex" value= "3" />
<property name= "IspEnterProgMode_pollValue" value= "0x53" />
<property name= "IspLeaveProgMode_preDelay" value= "1" />
<property name= "IspLeaveProgMode_postDelay" value= "1" />
<property name= "IspChipErase_eraseDelay" value= "10" />
<property name= "IspChipErase_pollMethod" value= "0" />
<property name= "IspProgramFlash_mode" value= "0x41" />
<property name= "IspProgramFlash_blockSize" value= "64" />
<property name= "IspProgramFlash_delay" value= "10" />
<property name= "IspProgramFlash_cmd1" value= "0x40" />
<property name= "IspProgramFlash_cmd2" value= "0x4C" />
<property name= "IspProgramFlash_cmd3" value= "0x00" />
<property name= "IspProgramFlash_pollVal1" value= "0x00" />
<property name= "IspProgramFlash_pollVal2" value= "0x00" />
<property name= "IspProgramEeprom_mode" value= "0x41" />
<property name= "IspProgramEeprom_blockSize" value= "4" />
<property name= "IspProgramEeprom_delay" value= "10" />
<property name= "IspProgramEeprom_cmd1" value= "0xC1" />
<property name= "IspProgramEeprom_cmd2" value= "0xC2" />
<property name= "IspProgramEeprom_cmd3" value= "0x00" />
<property name= "IspProgramEeprom_pollVal1" value= "0x00" />
<property name= "IspProgramEeprom_pollVal2" value= "0x00" />
<property name= "IspReadFlash_blockSize" value= "256" />
<property name= "IspReadEeprom_blockSize" value= "256" />
<property name= "IspReadFuse_pollIndex" value= "4" />
<property name= "IspReadLock_pollIndex" value= "4" />
<property name= "IspReadSign_pollIndex" value= "4" />
<property name= "IspReadOsccal_pollIndex" value= "4" />
</property-group>
<property-group name= "PP_INTERFACE" >
2023-12-13 20:40:14 +00:00
<property name= "PpControlStack" value= "0x0E 0x1E 0x0E 0x1E 0x2E 0x3E 0x2E 0x3E 0x4E 0x5E 0x4E 0x5E 0x6E 0x7E 0x6E 0x7E 0x06 0x16 0x46 0x56 0x0A 0x1A 0x4A 0x5A 0x1E 0x7C 0x00 0x01 0x00 0x00 0x00 0x00" />
2021-06-02 23:24:05 +01:00
<property name= "PpEnterProgMode_stabDelay" value= "100" />
<property name= "PpEnterProgMode_progModeDelay" value= "0" />
<property name= "PpEnterProgMode_latchCycles" value= "5" />
<property name= "PpEnterProgMode_toggleVtg" value= "1" />
<property name= "PpEnterProgMode_powerOffDelay" value= "20" />
<property name= "PpEnterProgMode_resetDelayMs" value= "1" />
<property name= "PpEnterProgMode_resetDelayUs" value= "0" />
<property name= "PpLeaveProgMode_stabDelay" value= "15" />
<property name= "PpLeaveProgMode_resetDelay" value= "15" />
<property name= "PpChipErase_pulseWidth" value= "0" />
<property name= "PpChipErase_pollTimeout" value= "10" />
<property name= "PpProgramFlash_pollTimeout" value= "5" />
<property name= "PpProgramFlash_mode" value= "0x0B" />
<property name= "PpProgramFlash_blockSize" value= "256" />
<property name= "PpReadFlash_blockSize" value= "256" />
<property name= "PpProgramEeprom_pollTimeout" value= "5" />
<property name= "PpProgramEeprom_mode" value= "0x05" />
<property name= "PpProgramEeprom_blockSize" value= "256" />
<property name= "PpReadEeprom_blockSize" value= "256" />
<property name= "PpProgramFuse_pulseWidth" value= "0" />
<property name= "PpProgramFuse_pollTimeout" value= "5" />
<property name= "PpProgramLock_pulseWidth" value= "0" />
<property name= "PpProgramLock_pollTimeout" value= "5" />
</property-group>
</property-groups>
</device>
<modules >
<module caption= "Fuses" name= "FUSE" >
<register-group caption= "Fuses" name= "FUSE" >
<register caption= "" name= "EXTENDED" offset= "0x02" size= "1" initval= "0xFF" >
<bitfield caption= "Self Programming enable" mask= "0x01" name= "SELFPRGEN" />
</register>
<register caption= "" name= "HIGH" offset= "0x01" size= "1" initval= "0xDF" >
<bitfield caption= "Reset Disabled (Enable PB7 as i/o pin)" mask= "0x80" name= "RSTDISBL" />
<bitfield caption= "Debug Wire enable" mask= "0x40" name= "DWEN" />
<bitfield caption= "Serial program downloading (SPI) enabled" mask= "0x20" name= "SPIEN" />
<bitfield caption= "Watch-dog Timer always on" mask= "0x10" name= "WDTON" />
<bitfield caption= "Preserve EEPROM through the Chip Erase cycle" mask= "0x08" name= "EESAVE" />
2023-12-13 20:40:14 +00:00
<bitfield caption= "Brown-out Detector trigger level" mask= "0x07" name= "BODLEVEL" values= "ENUM_BODLEVEL" />
2021-06-02 23:24:05 +01:00
</register>
<register caption= "" name= "LOW" offset= "0x00" size= "1" initval= "0x62" >
<bitfield caption= "Divide clock by 8 internally" mask= "0x80" name= "CKDIV8" />
<bitfield caption= "Clock output on PORTB5" mask= "0x40" name= "CKOUT" />
<bitfield caption= "Select Clock source" mask= "0x3F" name= "SUT_CKSEL" values= "ENUM_SUT_CKSEL" />
</register>
</register-group>
<value-group caption= "" name= "ENUM_SUT_CKSEL" >
2023-12-13 20:40:14 +00:00
<value caption= "Ext. Clock; Start-up time PWRDWN/RESET: 6 CK/14 CK + 0 ms" name= "EXTCLK_6CK_14CK_0MS" value= "0x00" />
<value caption= "Ext. Clock; Start-up time PWRDWN/RESET: 6 CK/14 CK + 4 ms" name= "EXTCLK_6CK_14CK_4MS" value= "0x10" />
<value caption= "Ext. Clock; Start-up time PWRDWN/RESET: 6 CK/14 CK + 64 ms" name= "EXTCLK_6CK_14CK_64MS" value= "0x20" />
<value caption= "PLL Clock; Start-up time PWRDWN/RESET: 1K CK/14 CK + 8 ms" name= "PLLCLK_1KCK_14CK_8MS" value= "0x01" />
<value caption= "PLL Clock; Start-up time PWRDWN/RESET: 16K CK/14 CK + 8 ms" name= "PLLCLK_16KCK_14CK_8MS" value= "0x11" />
<value caption= "PLL Clock; Start-up time PWRDWN/RESET: 1K CK/14 CK + 68 ms" name= "PLLCLK_1KCK_14CK_68MS" value= "0x21" />
<value caption= "PLL Clock; Start-up time PWRDWN/RESET: 16K CK/14 CK + 68 ms" name= "PLLCLK_16KCK_14CK_68MS" value= "0x31" />
<value caption= "Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 0 ms" name= "INTRCOSC_8MHZ_6CK_14CK_0MS" value= "0x02" />
<value caption= "Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 4 ms" name= "INTRCOSC_8MHZ_6CK_14CK_4MS" value= "0x12" />
<value caption= "Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 64 ms" name= "INTRCOSC_8MHZ_6CK_14CK_64MS" value= "0x22" />
<value caption= "WD. Osc. 128 kHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 0 ms" name= "WDOSC_128KHZ_6CK_14CK_0MS" value= "0x03" />
<value caption= "WD. Osc. 128 kHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 4 ms" name= "WDOSC_128KHZ_6CK_14CK_4MS" value= "0x13" />
<value caption= "WD. Osc. 128 kHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 64 ms" name= "WDOSC_128KHZ_6CK_14CK_64MS" value= "0x23" />
<value caption= "Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 1 CK 4 ms" name= "EXTLOFXTAL_1CK_4MS" value= "0x04" />
<value caption= "Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 1 CK + 64 ms" name= "EXTLOFXTAL_1CK_64MS" value= "0x14" />
<value caption= "Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 32 CK + 64 ms" name= "EXTLOFXTAL_32CK_64MS" value= "0x24" />
<value caption= "Ext. Ceramic Res. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms" name= "EXTCRES_0MHZ4_0MHZ9_258CK_14CK_4MS1" value= "0x08" />
<value caption= "Ext. Ceramic Res. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms" name= "EXTCRES_0MHZ4_0MHZ9_258CK_14CK_65MS" value= "0x18" />
<value caption= "Ext. Ceramic Res. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms" name= "EXTCRES_0MHZ4_0MHZ9_1KCK_14CK_0MS" value= "0x28" />
<value caption= "Ext. Ceramic Res. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms" name= "EXTCRES_0MHZ4_0MHZ9_1KCK_14CK_4MS1" value= "0x38" />
<value caption= "Ext. Ceramic Res. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms" name= "EXTCRES_0MHZ4_0MHZ9_1KCK_14CK_65MS" value= "0x09" />
<value caption= "Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms" name= "EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_0MS" value= "0x19" />
<value caption= "Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms" name= "EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_4MS1" value= "0x29" />
<value caption= "Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms" name= "EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_65MS" value= "0x39" />
<value caption= "Ext. Ceramic Res. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms" name= "EXTCRES_0MHZ9_3MHZ_258CK_14CK_4MS1" value= "0x0A" />
<value caption= "Ext. Ceramic Res. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms" name= "EXTCRES_0MHZ9_3MHZ_258CK_14CK_65MS" value= "0x1A" />
<value caption= "Ext. Ceramic Res. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms" name= "EXTCRES_0MHZ9_3MHZ_1KCK_14CK_0MS" value= "0x2A" />
<value caption= "Ext. Ceramic Res. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms" name= "EXTCRES_0MHZ9_3MHZ_1KCK_14CK_4MS1" value= "0x3A" />
<value caption= "Ext. Ceramic Res. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms" name= "EXTCRES_0MHZ9_3MHZ_1KCK_14CK_65MS" value= "0x0B" />
<value caption= "Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms" name= "EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_0MS" value= "0x1B" />
<value caption= "Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms" name= "EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_4MS1" value= "0x2B" />
<value caption= "Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms" name= "EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_65MS" value= "0x3B" />
<value caption= "Ext. Ceramic Res. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms" name= "EXTCRES_3MHZ_8MHZ_258CK_14CK_4MS1" value= "0x0C" />
<value caption= "Ext. Ceramic Res. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms" name= "EXTCRES_3MHZ_8MHZ_258CK_14CK_65MS" value= "0x1C" />
<value caption= "Ext. Ceramic Res. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms" name= "EXTCRES_3MHZ_8MHZ_1KCK_14CK_0MS" value= "0x2C" />
<value caption= "Ext. Ceramic Res. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms" name= "EXTCRES_3MHZ_8MHZ_1KCK_14CK_4MS1" value= "0x3C" />
<value caption= "Ext. Ceramic Res. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms" name= "EXTCRES_3MHZ_8MHZ_1KCK_14CK_65MS" value= "0x0D" />
<value caption= "Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms" name= "EXTXOSC_3MHZ_8MHZ_16KCK_14CK_0MS" value= "0x1D" />
<value caption= "Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms" name= "EXTXOSC_3MHZ_8MHZ_16KCK_14CK_4MS1" value= "0x2D" />
<value caption= "Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms" name= "EXTXOSC_3MHZ_8MHZ_16KCK_14CK_65MS" value= "0x3D" />
<value caption= "Ext. Ceramic Res. 8.0- MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms" name= "EXTCRES_8MHZ_XX_258CK_14CK_4MS1" value= "0x0E" />
<value caption= "Ext. Ceramic Res. 8.0- MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms" name= "EXTCRES_8MHZ_XX_258CK_14CK_65MS" value= "0x1E" />
<value caption= "Ext. Ceramic Res. 8.0- MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms" name= "EXTCRES_8MHZ_XX_1KCK_14CK_0MS" value= "0x2E" />
<value caption= "Ext. Ceramic Res. 8.0- MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms" name= "EXTCRES_8MHZ_XX_1KCK_14CK_4MS1" value= "0x3E" />
<value caption= "Ext. Ceramic Res. 8.0- MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms" name= "EXTCRES_8MHZ_XX_1KCK_14CK_65MS" value= "0x0F" />
<value caption= "Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms" name= "EXTXOSC_8MHZ_XX_16KCK_14CK_0MS" value= "0x1F" />
<value caption= "Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms" name= "EXTXOSC_8MHZ_XX_16KCK_14CK_4MS1" value= "0x2F" />
<value caption= "Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms" name= "EXTXOSC_8MHZ_XX_16KCK_14CK_65MS" value= "0x3F" />
2021-06-02 23:24:05 +01:00
</value-group>
<value-group caption= "" name= "ENUM_BODLEVEL" >
<value caption= "Brown-out detection at VCC=4.3 V" name= "4V3" value= "0x04" />
<value caption= "Brown-out detection at VCC=2.7 V" name= "2V7" value= "0x05" />
<value caption= "Brown-out detection at VCC=1.8 V" name= "1V8" value= "0x06" />
<value caption= "Brown-out detection at VCC=2.3 V" name= "2V3" value= "0x03" />
<value caption= "Brown-out detection at VCC=2.2 V" name= "2V2" value= "0x02" />
<value caption= "Brown-out detection at VCC=1.9 V" name= "1V9" value= "0x01" />
<value caption= "Brown-out detection at VCC=2.0 V" name= "2V0" value= "0x00" />
<value caption= "Brown-out detection disabled" name= "DISABLED" value= "0x07" />
</value-group>
2021-04-04 21:04:12 +01:00
</module>
2021-06-02 23:24:05 +01:00
<module caption= "Lockbits" name= "LOCKBIT" >
<register-group caption= "Lockbits" name= "LOCKBIT" >
<register caption= "" name= "LOCKBIT" offset= "0x00" size= "1" initval= "0xFF" >
<bitfield caption= "Memory Lock" mask= "0x03" name= "LB" values= "ENUM_LB" />
</register>
</register-group>
<value-group caption= "" name= "ENUM_LB" >
<value caption= "Further programming and verification disabled" name= "PROG_VER_DISABLED" value= "0x00" />
<value caption= "Further programming disabled" name= "PROG_DISABLED" value= "0x02" />
<value caption= "No memory lock features enabled" name= "NO_LOCK" value= "0x03" />
</value-group>
2021-04-04 21:04:12 +01:00
</module>
2021-06-02 23:24:05 +01:00
<module caption= "I/O Port" name= "PORT" >
<register-group caption= "I/O Port" name= "PORTA" >
<register caption= "Port A Data Register" name= "PORTA" offset= "0x3B" size= "1" mask= "0xFF" />
<register caption= "Port A Data Direction Register" name= "DDRA" offset= "0x3A" size= "1" mask= "0xFF" />
<register caption= "Port A Input Pins" name= "PINA" offset= "0x39" size= "1" mask= "0xFF" ocd-rw= "R" />
</register-group>
<register-group caption= "I/O Port" name= "PORTB" >
<register caption= "Port B Data Register" name= "PORTB" offset= "0x38" size= "1" mask= "0xFF" />
<register caption= "Port B Data Direction Register" name= "DDRB" offset= "0x37" size= "1" mask= "0xFF" />
<register caption= "Port B Input Pins" name= "PINB" offset= "0x36" size= "1" mask= "0xFF" ocd-rw= "R" />
</register-group>
2021-04-04 21:04:12 +01:00
</module>
2021-06-02 23:24:05 +01:00
<module caption= "Universal Serial Interface" name= "USI" >
<register-group caption= "Universal Serial Interface" name= "USI" >
<register caption= "USI Buffer Register" name= "USIBR" offset= "0x30" size= "1" mask= "0xFF" ocd-rw= "R" />
<register caption= "USI Data Register" name= "USIDR" offset= "0x2F" size= "1" mask= "0xFF" />
<register caption= "USI Status Register" name= "USISR" offset= "0x2E" size= "1" ocd-rw= "R" >
<bitfield caption= "Start Condition Interrupt Flag" mask= "0x80" name= "USISIF" />
<bitfield caption= "Counter Overflow Interrupt Flag" mask= "0x40" name= "USIOIF" />
<bitfield caption= "Stop Condition Flag" mask= "0x20" name= "USIPF" />
<bitfield caption= "Data Output Collision" mask= "0x10" name= "USIDC" />
<bitfield caption= "USI Counter Value Bits" mask= "0x0F" name= "USICNT" />
</register>
<register caption= "USI Control Register" name= "USICR" offset= "0x2D" size= "1" >
<bitfield caption= "Start Condition Interrupt Enable" mask= "0x80" name= "USISIE" />
<bitfield caption= "Counter Overflow Interrupt Enable" mask= "0x40" name= "USIOIE" />
<bitfield caption= "USI Wire Mode Bits" mask= "0x30" name= "USIWM" values= "COMM_USI_OP" />
<bitfield caption= "USI Clock Source Select Bits" mask= "0x0C" name= "USICS" />
<bitfield caption= "Clock Strobe" mask= "0x02" name= "USICLK" />
<bitfield caption= "Toggle Clock Port Pin" mask= "0x01" name= "USITC" />
</register>
</register-group>
<value-group caption= "" name= "COMM_USI_OP" >
<value caption= "Normal Operation" name= "VAL_0x00" value= "0x00" />
<value caption= "Three-Wire Mode" name= "VAL_0x01" value= "0x01" />
<value caption= "Two-Wire Mode" name= "VAL_0x02" value= "0x02" />
<value caption= "Two-Wire Mode Held Low" name= "VAL_0x03" value= "0x03" />
</value-group>
2021-04-04 21:04:12 +01:00
</module>
2021-06-02 23:24:05 +01:00
<module caption= "Watchdog Timer" name= "WDT" >
<register-group caption= "Watchdog Timer" name= "WDT" >
<register caption= "Watchdog Timer Control Register" name= "WDTCSR" offset= "0x41" size= "1" ocd-rw= "R" >
<bitfield caption= "Watchdog Timeout Interrupt Flag" mask= "0x80" name= "WDIF" />
<bitfield caption= "Watchdog Timeout Interrupt Enable" mask= "0x40" name= "WDIE" />
2023-12-13 20:40:14 +00:00
<bitfield caption= "Watchdog Timer Prescaler Bits" mask= "0x27" name= "WDP" values= "WDOG_TIMER_PRESCALE_4BITS" />
2021-06-02 23:24:05 +01:00
<bitfield caption= "Watchdog Change Enable" mask= "0x10" name= "WDCE" />
<bitfield caption= "Watch Dog Enable" mask= "0x08" name= "WDE" />
</register>
</register-group>
<value-group caption= "" name= "WDOG_TIMER_PRESCALE_4BITS" >
<value caption= "Oscillator Cycles 2K" name= "VAL_0x00" value= "0x00" />
<value caption= "Oscillator Cycles 4K" name= "VAL_0x01" value= "0x01" />
<value caption= "Oscillator Cycles 8K" name= "VAL_0x02" value= "0x02" />
<value caption= "Oscillator Cycles 16K" name= "VAL_0x03" value= "0x03" />
<value caption= "Oscillator Cycles 32K" name= "VAL_0x04" value= "0x04" />
<value caption= "Oscillator Cycles 64K" name= "VAL_0x05" value= "0x05" />
<value caption= "Oscillator Cycles 128K" name= "VAL_0x06" value= "0x06" />
<value caption= "Oscillator Cycles 256K" name= "VAL_0x07" value= "0x07" />
<value caption= "Oscillator Cycles 512K" name= "VAL_0x08" value= "0x08" />
<value caption= "Oscillator Cycles 1024K" name= "VAL_0x09" value= "0x09" />
</value-group>
2021-04-04 21:04:12 +01:00
</module>
2021-06-02 23:24:05 +01:00
<module caption= "Timer/Counter, 8-bit" name= "TC8" >
<register-group caption= "Timer/Counter, 8-bit" name= "TC0" >
<register caption= "Timer/Counter Interrupt Mask Register" name= "TIMSK0" offset= "0x59" size= "1" >
2023-12-13 20:40:14 +00:00
<bitfield caption= "Timer/Counter0 Output Compare Match B Interrupt Enable" mask= "0x04" name= "OCIE0B" />
<bitfield caption= "Timer/Counter0 Output Compare Match A Interrupt Enable" mask= "0x02" name= "OCIE0A" />
2021-06-02 23:24:05 +01:00
<bitfield caption= "Timer/Counter0 Overflow Interrupt Enable" mask= "0x01" name= "TOIE0" />
</register>
2023-12-13 20:40:14 +00:00
<register caption= "Timer/Counter0 Interrupt Flag Register" name= "TIFR0" offset= "0x58" size= "1" ocd-rw= "R" >
2021-06-02 23:24:05 +01:00
<bitfield caption= "Timer/Counter0 Output Compare Flag B" mask= "0x04" name= "OCF0B" />
<bitfield caption= "Timer/Counter0 Output Compare Flag A" mask= "0x02" name= "OCF0A" />
<bitfield caption= "Timer/Counter0 Overflow Flag" mask= "0x01" name= "TOV0" />
</register>
2021-09-17 22:44:36 +01:00
<register caption= "Timer/Counter Control Register A" name= "TCCR0A" offset= "0x50" size= "1" >
2021-06-02 23:24:05 +01:00
<bitfield caption= "Compare Match Output A Mode bits" mask= "0xC0" name= "COM0A" />
<bitfield caption= "Compare Match Output B Mode bits" mask= "0x30" name= "COM0B" />
<bitfield caption= "Waveform Generation Mode bits" mask= "0x03" name= "WGM0" />
</register>
<register caption= "Timer/Counter Control Register B" name= "TCCR0B" offset= "0x53" size= "1" >
<bitfield caption= "Force Output Compare A" mask= "0x80" name= "FOC0A" />
<bitfield caption= "Force Output Compare B" mask= "0x40" name= "FOC0B" />
<bitfield caption= "Waveform Generation Mode bit 2" mask= "0x08" name= "WGM02" />
<bitfield caption= "Clock Select bits" mask= "0x07" name= "CS0" values= "CLK_SEL_3BIT_EXT" />
</register>
<register caption= "Timer/Counter0" name= "TCNT0" offset= "0x52" size= "1" mask= "0xFF" />
2023-12-13 20:40:14 +00:00
<register caption= "Timer/Counter0 Output Compare Register A" name= "OCR0A" offset= "0x56" size= "1" mask= "0xFF" />
<register caption= "Timer/Counter0 Output Compare Register B" name= "OCR0B" offset= "0x5C" size= "1" mask= "0xFF" />
2021-06-02 23:24:05 +01:00
<register caption= "General Timer/Counter Control Register" name= "GTCCR" offset= "0x43" size= "1" >
<bitfield caption= "Timer/Counter Synchronization Mode" mask= "0x80" name= "TSM" />
<bitfield caption= "Prescaler Reset Timer/CounterN" mask= "0x01" name= "PSR10" />
</register>
</register-group>
<register-group caption= "Timer/Counter, 8-bit" name= "TC1" >
<register caption= "Timer/Counter Interrupt Mask Register" name= "TIMSK1" offset= "0x2C" size= "1" >
2023-12-13 20:40:14 +00:00
<bitfield caption= "Timer/Counter1 Output Compare Match B Interrupt Enable" mask= "0x04" name= "OCIE1B" />
<bitfield caption= "Timer/Counter1 Output Compare Match A Interrupt Enable" mask= "0x02" name= "OCIE1A" />
2021-06-02 23:24:05 +01:00
<bitfield caption= "Timer/Counter1 Overflow Interrupt Enable" mask= "0x01" name= "TOIE1" />
</register>
2023-12-13 20:40:14 +00:00
<register caption= "Timer/Counter1 Interrupt Flag Register" name= "TIFR1" offset= "0x2B" size= "1" ocd-rw= "R" >
2021-06-02 23:24:05 +01:00
<bitfield caption= "Timer/Counter1 Output Compare Flag B" mask= "0x04" name= "OCF1B" />
<bitfield caption= "Timer/Counter1 Output Compare Flag A" mask= "0x02" name= "OCF1A" />
<bitfield caption= "Timer/Counter1 Overflow Flag" mask= "0x01" name= "TOV1" />
</register>
<register caption= "Timer/Counter1 Control Register A" name= "TCCR1A" offset= "0x4F" size= "1" >
<bitfield caption= "Compare Match Output A Mode bits" mask= "0xC0" name= "COM1A" />
<bitfield caption= "Compare Match Output B Mode bits" mask= "0x30" name= "COM1B" />
<bitfield caption= "Waveform Generation Mode bits" mask= "0x03" name= "WGM1" />
</register>
<register caption= "Timer/Counter Control Register B" name= "TCCR1B" offset= "0x4E" size= "1" >
<bitfield caption= "Force Output Compare A" mask= "0x80" name= "FOC1A" />
<bitfield caption= "Force Output Compare B" mask= "0x40" name= "FOC1B" />
<bitfield caption= "Waveform Generation Mode bit 2" mask= "0x08" name= "WGM12" />
<bitfield caption= "Clock Select bits" mask= "0x07" name= "CS1" values= "CLK_SEL_3BIT_EXT" />
</register>
<register caption= "Timer/Counter1" name= "TCNT1" offset= "0x4D" size= "1" mask= "0xFF" />
2023-12-13 20:40:14 +00:00
<register caption= "Timer/Counter1 Output Compare Register A" name= "OCR1A" offset= "0x4C" size= "1" mask= "0xFF" />
<register caption= "Timer/Counter1 Output Compare Register B" name= "OCR1B" offset= "0x4B" size= "1" mask= "0xFF" />
2021-06-02 23:24:05 +01:00
<register caption= "General Timer/Counter Control Register" name= "GTCCR" offset= "0x43" size= "1" >
<bitfield caption= "Timer/Counter Synchronization Mode" mask= "0x80" name= "TSM" />
<bitfield caption= "Prescaler Reset Timer/CounterN" mask= "0x01" name= "PSR10" />
</register>
</register-group>
<value-group caption= "" name= "CLK_SEL_3BIT_EXT" >
<value caption= "No Clock Source (Stopped)" name= "VAL_0x00" value= "0x00" />
<value caption= "Running, No Prescaling" name= "VAL_0x01" value= "0x01" />
<value caption= "Running, CLK/8" name= "VAL_0x02" value= "0x02" />
<value caption= "Running, CLK/64" name= "VAL_0x03" value= "0x03" />
<value caption= "Running, CLK/256" name= "VAL_0x04" value= "0x04" />
<value caption= "Running, CLK/1024" name= "VAL_0x05" value= "0x05" />
<value caption= "Running, ExtClk Tn Falling Edge" name= "VAL_0x06" value= "0x06" />
<value caption= "Running, ExtClk Tn Rising Edge" name= "VAL_0x07" value= "0x07" />
</value-group>
2021-04-04 21:04:12 +01:00
</module>
2021-06-02 23:24:05 +01:00
<module caption= "Bootloader" name= "BOOT_LOAD" >
<register-group caption= "Bootloader" name= "BOOT_LOAD" >
2023-12-13 20:40:14 +00:00
<register caption= "Store Program Memory Control Register" name= "SPMCSR" offset= "0x57" size= "1" ocd-rw= "R" >
2021-06-02 23:24:05 +01:00
<bitfield caption= "Clear temporary page buffer" mask= "0x10" name= "CTPB" />
<bitfield caption= "Read fuse and lock bits" mask= "0x08" name= "RFLB" />
<bitfield caption= "Page Write" mask= "0x04" name= "PGWRT" />
<bitfield caption= "Page Erase" mask= "0x02" name= "PGERS" />
<bitfield caption= "Store Program Memory Enable" mask= "0x01" name= "SPMEN" />
</register>
</register-group>
2021-04-04 21:04:12 +01:00
</module>
2021-06-02 23:24:05 +01:00
<module caption= "CPU Registers" name= "CPU" >
<register-group caption= "CPU Registers" name= "CPU" >
<register caption= "Power Reduction Register" name= "PRR" offset= "0x20" size= "1" >
<bitfield caption= "Power Reduction Timer/Counter1" mask= "0x08" name= "PRTIM1" />
<bitfield caption= "Power Reduction Timer/Counter0" mask= "0x04" name= "PRTIM0" />
<bitfield caption= "Power Reduction USI" mask= "0x02" name= "PRUSI" />
<bitfield caption= "Power Reduction ADC" mask= "0x01" name= "PRADC" />
</register>
2023-12-13 20:40:14 +00:00
<register caption= "Oscillator Calibration Value" name= "OSCCAL" offset= "0x51" size= "1" mask= "0xFF" ocd-rw= "R" >
2021-06-02 23:24:05 +01:00
<bitfield caption= "Oscillator Calibration " mask= "0xFF" name= "OSCCAL" />
</register>
<register caption= "Clock Prescale Register" name= "CLKPR" offset= "0x46" size= "1" ocd-rw= "R" >
<bitfield caption= "Clock Prescaler Change Enable" mask= "0x80" name= "CLKPCE" />
2023-12-13 20:40:14 +00:00
<bitfield caption= "Clock Prescaler Select Bits" mask= "0x0F" name= "CLKPS" values= "CPU_CLK_PRESCALE_4_BITS_SMALL" />
2021-06-02 23:24:05 +01:00
</register>
<register caption= "Status Register" name= "SREG" offset= "0x5F" size= "1" >
<bitfield caption= "Global Interrupt Enable" mask= "0x80" name= "I" />
<bitfield caption= "Bit Copy Storage" mask= "0x40" name= "T" />
<bitfield caption= "Half Carry Flag" mask= "0x20" name= "H" />
<bitfield caption= "Sign Bit" mask= "0x10" name= "S" />
<bitfield caption= "Two's Complement Overflow Flag" mask= "0x08" name= "V" />
<bitfield caption= "Negative Flag" mask= "0x04" name= "N" />
<bitfield caption= "Zero Flag" mask= "0x02" name= "Z" />
<bitfield caption= "Carry Flag" mask= "0x01" name= "C" />
</register>
<register caption= "Stack Pointer " name= "SP" offset= "0x5D" size= "2" mask= "0x01FF" />
<register caption= "MCU Control Register" name= "MCUCR" offset= "0x55" size= "1" >
<bitfield caption= "BOD Sleep" mask= "0x80" name= "BODS" />
<bitfield caption= "Pull-Up Disable" mask= "0x40" name= "PUD" />
<bitfield caption= "Sleep Enable" mask= "0x20" name= "SE" />
<bitfield caption= "Sleep Mode Select Bits" mask= "0x18" name= "SM" values= "CPU_SLEEP_MODE" />
<bitfield caption= "BOD Sleep Enable" mask= "0x04" name= "BODSE" />
2023-12-13 20:40:14 +00:00
<bitfield caption= "Interrupt Sense Control 0 Bits" mask= "0x03" name= "ISC0" values= "INTERRUPT_SENSE_CONTROL2" />
2021-06-02 23:24:05 +01:00
</register>
<register caption= "MCU Status Register" name= "MCUSR" offset= "0x54" size= "1" >
<bitfield caption= "Watchdog Reset Flag" mask= "0x08" name= "WDRF" />
<bitfield caption= "Brown-out Reset Flag" mask= "0x04" name= "BORF" />
<bitfield caption= "External Reset Flag" mask= "0x02" name= "EXTRF" />
<bitfield caption= "Power-on reset flag" mask= "0x01" name= "PORF" />
</register>
<register caption= "General Purpose I/O Register 2" name= "GPIOR2" offset= "0x35" size= "1" mask= "0xFF" />
<register caption= "General Purpose I/O Register 1" name= "GPIOR1" offset= "0x34" size= "1" mask= "0xFF" />
<register caption= "General Purpose I/O Register 0" name= "GPIOR0" offset= "0x33" size= "1" mask= "0xFF" />
</register-group>
<value-group caption= "" name= "CPU_CLK_PRESCALE_4_BITS_SMALL" >
<value caption= "1" name= "VAL_0x00" value= "0x00" />
<value caption= "2" name= "VAL_0x01" value= "0x01" />
<value caption= "4" name= "VAL_0x02" value= "0x02" />
<value caption= "8" name= "VAL_0x03" value= "0x03" />
<value caption= "16" name= "VAL_0x04" value= "0x04" />
<value caption= "32" name= "VAL_0x05" value= "0x05" />
<value caption= "64" name= "VAL_0x06" value= "0x06" />
<value caption= "128" name= "VAL_0x07" value= "0x07" />
<value caption= "256" name= "VAL_0x08" value= "0x08" />
</value-group>
<value-group caption= "" name= "CPU_SLEEP_MODE" >
<value caption= "Idle" name= "IDLE" value= "0x00" />
<value caption= "ADC Noise Reduction (If Available)" name= "ADC" value= "0x01" />
<value caption= "Power Down" name= "PDOWN" value= "0x02" />
<value caption= "Standby" name= "STDBY" value= "0x03" />
</value-group>
<value-group caption= "" name= "INTERRUPT_SENSE_CONTROL2" >
<value caption= "Low Level of INTX" name= "VAL_0x00" value= "0x00" />
<value caption= "Any Logical Change in INTX" name= "VAL_0x01" value= "0x01" />
<value caption= "Falling Edge of INTX" name= "VAL_0x02" value= "0x02" />
<value caption= "Rising Edge of INTX" name= "VAL_0x03" value= "0x03" />
</value-group>
<value-group caption= "Oscillator Calibration Values" name= "OSCCAL_VALUE_ADDRESSES" >
<value value= "0x00" caption= "8.0 MHz" name= "8_0_MHz" />
</value-group>
2021-04-04 21:04:12 +01:00
</module>
2021-06-02 23:24:05 +01:00
<module caption= "External Interrupts" name= "EXINT" >
<register-group caption= "External Interrupts" name= "EXINT" >
<register caption= "MCU Control Register" name= "MCUCR" offset= "0x55" size= "1" >
<bitfield caption= "Interrupt Sense Control 0 Bit 1" mask= "0x02" name= "ISC01" />
2023-12-13 20:40:14 +00:00
<bitfield caption= "Interrupt Sense Control 0 Bit 0" mask= "0x01" name= "ISC00" values= "INTERRUPT_SENSE_CONTROL" />
2021-06-02 23:24:05 +01:00
</register>
<register caption= "General Interrupt Mask Register" name= "GIMSK" offset= "0x5B" size= "1" >
<bitfield caption= "External Interrupt Request 0 Enable" mask= "0x40" name= "INT0" />
<bitfield caption= "Pin Change Interrupt Enables" mask= "0x30" name= "PCIE" />
</register>
<register caption= "General Interrupt Flag register" name= "GIFR" offset= "0x5A" size= "1" ocd-rw= "R" >
<bitfield caption= "External Interrupt Flag 0" mask= "0x40" name= "INTF0" />
<bitfield caption= "Pin Change Interrupt Flags" mask= "0x30" name= "PCIF" />
</register>
<register caption= "Pin Change Enable Mask Byte 1" name= "PCMSK1" offset= "0x40" size= "1" mask= "0xFF" />
<register caption= "Pin Change Enable Mask Byte 0" name= "PCMSK0" offset= "0x32" size= "1" mask= "0xFF" />
</register-group>
<value-group caption= "Interrupt Sense Control" name= "INTERRUPT_SENSE_CONTROL" >
<value caption= "Low Level of INTX" name= "VAL_0x00" value= "0x00" />
<value caption= "Any Logical Change of INTX" name= "VAL_0x01" value= "0x01" />
<value caption= "Falling Edge of INTX" name= "VAL_0x02" value= "0x02" />
<value caption= "Rising Edge of INTX" name= "VAL_0x03" value= "0x03" />
</value-group>
2021-04-04 21:04:12 +01:00
</module>
2021-06-02 23:24:05 +01:00
<module caption= "Analog Comparator" name= "AC" >
<register-group caption= "Analog Comparator" name= "AC" >
<register caption= "ADC Control and Status Register B" name= "ADCSRB" offset= "0x23" size= "1" >
<bitfield caption= "Analog Comparator Multiplexer Enable" mask= "0x40" name= "ACME" />
</register>
2023-12-13 20:40:14 +00:00
<register caption= "Analog Comparator Control And Status Register" name= "ACSR" offset= "0x28" size= "1" ocd-rw= "R" >
2021-06-02 23:24:05 +01:00
<bitfield caption= "Analog Comparator Disable" mask= "0x80" name= "ACD" />
<bitfield caption= "Analog Comparator Bandgap Select" mask= "0x40" name= "ACBG" />
<bitfield caption= "Analog Compare Output" mask= "0x20" name= "ACO" />
<bitfield caption= "Analog Comparator Interrupt Flag" mask= "0x10" name= "ACI" />
<bitfield caption= "Analog Comparator Interrupt Enable" mask= "0x08" name= "ACIE" />
2023-12-13 20:40:14 +00:00
<bitfield caption= "Analog Comparator Interrupt Mode Select bits" mask= "0x03" name= "ACIS" values= "ANALOG_COMP_INTERRUPT" />
2021-06-02 23:24:05 +01:00
</register>
<register caption= "" name= "DIDR0" offset= "0x21" size= "1" >
<bitfield caption= "ADC 1 Digital input buffer disable" mask= "0x02" name= "ADC1D" />
<bitfield caption= "ADC 0 Digital input buffer disable" mask= "0x01" name= "ADC0D" />
</register>
</register-group>
<value-group caption= "" name= "ANALOG_COMP_INTERRUPT" >
<value caption= "Interrupt on Toggle" name= "VAL_0x00" value= "0x00" />
<value caption= "Reserved" name= "VAL_0x01" value= "0x01" />
<value caption= "Interrupt on Falling Edge" name= "VAL_0x02" value= "0x02" />
<value caption= "Interrupt on Rising Edge" name= "VAL_0x03" value= "0x03" />
</value-group>
2021-04-04 21:04:12 +01:00
</module>
2021-06-02 23:24:05 +01:00
<module caption= "Analog-to-Digital Converter" name= "ADC" >
<register-group caption= "Analog-to-Digital Converter" name= "ADC" >
<register caption= "ADC Multiplexer Selection Register" name= "ADMUX" offset= "0x27" size= "1" >
<bitfield caption= "Reference Selection Bit" mask= "0x40" name= "REFS" values= "ANALOG_ADC_V_REF5" />
<bitfield caption= "Analog Channel Selection Bits" mask= "0x07" name= "MUX" />
</register>
<register caption= "ADC Control and Status Register A" name= "ADCSRA" offset= "0x26" size= "1" ocd-rw= "R" >
<bitfield caption= "ADC Enable" mask= "0x80" name= "ADEN" />
<bitfield caption= "ADC Start Conversion" mask= "0x40" name= "ADSC" />
<bitfield caption= "ADC Auto Trigger Enable" mask= "0x20" name= "ADATE" />
<bitfield caption= "ADC Interrupt Flag" mask= "0x10" name= "ADIF" />
<bitfield caption= "ADC Interrupt Enable" mask= "0x08" name= "ADIE" />
2023-12-13 20:40:14 +00:00
<bitfield caption= "ADC Prescaler Select Bits" mask= "0x07" name= "ADPS" values= "ANALOG_ADC_PRESCALER" />
2021-06-02 23:24:05 +01:00
</register>
2021-09-17 22:44:36 +01:00
<register caption= "ADC Data Register Bytes" name= "ADC" offset= "0x24" size= "2" mask= "0xFFFF" />
2021-06-02 23:24:05 +01:00
<register caption= "ADC Control and Status Register B" name= "ADCSRB" offset= "0x23" size= "1" >
<bitfield caption= "Boost Regulator Status Bit" mask= "0x80" name= "BVRON" />
<bitfield caption= "Analog Comparator Multiplexer Enable" mask= "0x40" name= "ACME" />
<bitfield caption= "ADC Left Adjust Result" mask= "0x10" name= "ADLAR" />
2023-12-13 20:40:14 +00:00
<bitfield caption= "ADC Auto Trigger Source bits" mask= "0x07" name= "ADTS" values= "ANALOG_ADC_AUTO_TRIGGER_T43U" />
2021-06-02 23:24:05 +01:00
</register>
<register caption= "Digital Input Disable Register 0" name= "DIDR0" offset= "0x21" size= "1" >
<bitfield caption= "Analog Comparator IO" mask= "0x20" name= "AIN1D" />
<bitfield caption= "Analog Comparator IO" mask= "0x10" name= "AIN0D" />
<bitfield caption= "ADC3 Digital Input Disable" mask= "0x08" name= "ADC3D" />
<bitfield caption= "ADC2 Digital Input Disable" mask= "0x04" name= "ADC2D" />
<bitfield caption= "ADC1 Digital Input Disable" mask= "0x02" name= "ADC1D" />
<bitfield caption= "ADC0 Digital Input Disable" mask= "0x01" name= "ADC0D" />
</register>
</register-group>
<value-group caption= "" name= "ANALOG_ADC_V_REF5" >
<value caption= "Vcc" name= "VAL_0x00" value= "0x00" />
<value caption= "Internal 1.1V Voltage Reference" name= "VAL_0x01" value= "0x01" />
</value-group>
<value-group caption= "" name= "ANALOG_ADC_PRESCALER" >
<value caption= "2" name= "VAL_0x00" value= "0x00" />
<value caption= "2" name= "VAL_0x01" value= "0x01" />
<value caption= "4" name= "VAL_0x02" value= "0x02" />
<value caption= "8" name= "VAL_0x03" value= "0x03" />
<value caption= "16" name= "VAL_0x04" value= "0x04" />
<value caption= "32" name= "VAL_0x05" value= "0x05" />
<value caption= "64" name= "VAL_0x06" value= "0x06" />
<value caption= "128" name= "VAL_0x07" value= "0x07" />
</value-group>
<value-group caption= "" name= "ANALOG_ADC_AUTO_TRIGGER_T43U" >
<value caption= "Free Running mode" name= "VAL_0x00" value= "0x00" />
<value caption= "Analog Comparator" name= "VAL_0x01" value= "0x01" />
<value caption= "External Interrupt Request 0" name= "VAL_0x02" value= "0x02" />
<value caption= "Timer/Counter0 Compare Match A" name= "VAL_0x03" value= "0x03" />
<value caption= "Timer/Counter0 Overflow" name= "VAL_0x04" value= "0x04" />
<value caption= "Timer/Counter1 Compare Match A" name= "VAL_0x05" value= "0x05" />
<value caption= "Timer/Counter1 Overflow" name= "VAL_0x06" value= "0x06" />
<value caption= "Timer/Counter1 Capture Match B" name= "VAL_0x07" value= "0x07" />
</value-group>
2021-04-04 21:04:12 +01:00
</module>
2021-06-02 23:24:05 +01:00
<module caption= "EEPROM" name= "EEPROM" >
<register-group caption= "EEPROM" name= "EEPROM" >
<register caption= "EEPROM Address Register" name= "EEAR" offset= "0x3E" size= "1" mask= "0x3F" />
<register caption= "EEPROM Data Register" name= "EEDR" offset= "0x3D" size= "1" mask= "0xFF" />
<register caption= "EEPROM Control Register" name= "EECR" offset= "0x3C" size= "1" >
<bitfield caption= "EEPROM Programming Mode Bits" mask= "0x30" name= "EEPM" values= "EEP_MODE" />
<bitfield caption= "EEPROM Ready Interrupt Enable" mask= "0x08" name= "EERIE" />
<bitfield caption= "EEPROM Master Write Enable" mask= "0x04" name= "EEMPE" />
<bitfield caption= "EEPROM Write Enable" mask= "0x02" name= "EEPE" />
<bitfield caption= "EEPROM Read Enable" mask= "0x01" name= "EERE" />
</register>
</register-group>
<value-group caption= "" name= "EEP_MODE" >
<value caption= "Erase and Write in one operation" name= "VAL_0x00" value= "0x00" />
<value caption= "Erase Only" name= "VAL_0x01" value= "0x01" />
<value caption= "Write Only" name= "VAL_0x02" value= "0x02" />
</value-group>
2021-04-04 21:04:12 +01:00
</module>
2021-06-02 23:24:05 +01:00
</modules>
2021-06-11 23:59:17 +01:00
<pinouts >
<pinout name= "SOIC20" >
<pin pad= "PB0" position= "1" />
<pin pad= "PB1" position= "2" />
<pin pad= "PB2" position= "3" />
<pin pad= "PB3" position= "4" />
<pin pad= "PB4" position= "5" />
<pin pad= "PB5" position= "6" />
<pin pad= "PB6" position= "7" />
<pin pad= "PB7" position= "8" />
<pin pad= "VCC" position= "9" />
<pin pad= "GND" position= "10" />
<pin pad= "LSW" position= "11" />
<pin pad= "VBAT" position= "12" />
<pin pad= "PA0" position= "13" />
<pin pad= "PA1" position= "14" />
<pin pad= "PA2" position= "15" />
<pin pad= "PA3" position= "16" />
<pin pad= "PA4" position= "17" />
<pin pad= "PA5" position= "18" />
<pin pad= "PA6" position= "19" />
<pin pad= "PA7" position= "20" />
</pinout>
<pinout name= "QFN20" >
<pin pad= "PB2" position= "1" />
<pin pad= "PB3" position= "2" />
<pin pad= "PB4" position= "3" />
<pin pad= "PB5" position= "4" />
<pin pad= "PB6" position= "5" />
<pin pad= "PB7" position= "6" />
<pin pad= "VCC" position= "7" />
<pin pad= "GND" position= "8" />
<pin pad= "LSW" position= "9" />
<pin pad= "VBAT" position= "10" />
<pin pad= "PA0" position= "11" />
<pin pad= "PA1" position= "12" />
<pin pad= "PA2" position= "13" />
<pin pad= "PA3" position= "14" />
<pin pad= "PA4" position= "15" />
<pin pad= "PA5" position= "16" />
<pin pad= "PA6" position= "17" />
<pin pad= "PA7" position= "18" />
<pin pad= "PB0" position= "19" />
<pin pad= "PB1" position= "20" />
</pinout>
</pinouts>
2021-05-31 01:01:14 +01:00
</target-description-file>