Datasheet
Table Of Contents
- Features
- Pin Configuration
- Description
- Architectural Overview
- General-purpose Register File
- ALU – Arithmetic Logic Unit
- Flash Program Memory
- Program and Data Addressing Modes
- Subroutine and Interrupt Hardware Stack
- EEPROM Data Memory
- Memory Access and Instruction Execution Timing
- I/O Memory
- Reset and Interrupt Handling
- ATtiny12 Internal Voltage Reference
- Interrupt Handling
- Sleep Modes for the ATtiny11
- Sleep Modes for the ATtiny12
- ATtiny12 Calibrated Internal RC Oscillator
- Timer/Counter0
- Watchdog Timer
- ATtiny12 EEPROM Read/Write Access
- Analog Comparator
- I/O Port B
- Memory Programming
- Program (and Data) Memory Lock Bits
- Fuse Bits in ATtiny11
- Fuse Bits in ATtiny12
- Signature Bytes
- Calibration Byte in ATtiny12
- Programming the Flash and EEPROM
- High-voltage Serial Programming
- High-voltage Serial Programming Algorithm
- High-voltage Serial Programming Characteristics
- Low-voltage Serial Downloading (ATtiny12 only)
- Low-voltage Serial Programming Characteristics
- Electrical Characteristics
- Register Summary ATtiny11
- Register Summary ATtiny12
- Instruction Set Summary
- Ordering Information
- Packaging Information
- Data Sheet Change Log for ATtiny11/12
- Table of Contents

i
ATtiny11/12
1006D–AVR–07/03
Table of Contents Features................................................................................................. 1
Pin Configuration.................................................................................. 1
Description............................................................................................ 2
ATtiny11 Block Diagram ....................................................................................... 2
ATtiny12 Block Diagram ....................................................................................... 4
Pin Descriptions.................................................................................................... 5
Clock Options ....................................................................................................... 5
Architectural Overview......................................................................... 8
General-purpose Register File.............................................................................. 9
ALU – Arithmetic Logic Unit................................................................................ 10
Flash Program Memory ...................................................................................... 10
Program and Data Addressing Modes................................................................ 10
Subroutine and Interrupt Hardware Stack .......................................................... 12
EEPROM Data Memory...................................................................................... 13
Memory Access and Instruction Execution Timing............................................. 13
I/O Memory......................................................................................................... 14
Reset and Interrupt Handling.............................................................................. 15
ATtiny12 Internal Voltage Reference.................................................................. 24
Interrupt Handling ............................................................................................... 25
Sleep Modes for the ATtiny11 ............................................................................ 31
Sleep Modes for the ATtiny12 ............................................................................ 31
ATtiny12 Calibrated Internal RC Oscillator......................................................... 32
Timer/Counter0 ................................................................................... 33
Timer/Counter Prescaler..................................................................................... 33
Watchdog Timer.................................................................................. 36
ATtiny12 EEPROM Read/Write Access............................................. 38
Prevent EEPROM Corruption............................................................................. 40
Analog Comparator ............................................................................ 41
I/O Port B ............................................................................................. 43
Memory Programming........................................................................ 46
Program (and Data) Memory Lock Bits .............................................................. 46
Fuse Bits in ATtiny11.......................................................................................... 46
Fuse Bits in ATtiny12.......................................................................................... 46
Signature Bytes .................................................................................................. 47
Calibration Byte in ATtiny12 ............................................................................... 47
Programming the Flash and EEPROM............................................................... 47
High-voltage Serial Programming....................................................................... 48