Datasheet

2018 Microchip Technology Inc. Data Sheet Complete DS40002060A-page 3
ATtiny4/5/9/10
Table Of Contents
1 Pin Configurations ................................................................................... 8
1.1 Pin Description .................................................................................................. 8
2 Ordering Information ............................................................................... 9
2.1 ATtiny4 .............................................................................................................. 9
2.2 ATtiny5 ............................................................................................................ 10
2.3 ATtiny9 ............................................................................................................ 11
2.4 ATtiny10 .......................................................................................................... 12
3 Overview ................................................................................................. 13
3.1 Comparison of ATtiny4, ATtiny5, ATtiny9 and ATtiny10 ................................. 14
4 General Information ............................................................................... 15
4.1 Resources ....................................................................................................... 15
4.2 Code Examples ............................................................................................... 15
4.3 Capacitive Touch Sensing............................................................................... 15
4.4 Data Retention................................................................................................. 15
5 CPU Core ................................................................................................ 16
5.1 Architectural Overview..................................................................................... 16
5.2 ALU – Arithmetic Logic Unit............................................................................. 17
5.3 Status Register ................................................................................................ 17
5.4 General Purpose Register File ........................................................................ 17
5.5 Stack Pointer ................................................................................................... 19
5.6 Instruction Execution Timing ........................................................................... 19
5.7 Reset and Interrupt Handling........................................................................... 20
5.8 Register Description ........................................................................................ 21
6 Memories ................................................................................................ 24
6.1 In-System Re-programmable Flash Program Memory.................................... 24
6.2 Data Memory ................................................................................................... 24
6.3 I/O Memory...................................................................................................... 26
7 Clock System .......................................................................................... 27
7.1 Clock Subsystems ........................................................................................... 27
7.2 Clock Sources ................................................................................................. 28
7.3 System Clock Prescaler .................................................................................. 29
7.4 Starting ............................................................................................................ 30