Datasheet

ii
8126F–AVR–05/12
ATtiny13A
7.4 Minimizing Power Consumption ......................................................................32
7.5 Register Description ........................................................................................33
8 System Control and Reset .................................................................... 35
8.1 Resetting the AVR ...........................................................................................35
8.2 Reset Sources .................................................................................................36
8.3 Internal Voltage Reference ..............................................................................38
8.4 Watchdog Timer ..............................................................................................38
8.5 Register Description ........................................................................................42
9 Interrupts ................................................................................................ 45
9.1 Interrupt Vectors ..............................................................................................45
9.2 External Interrupts ...........................................................................................46
9.3 Register Description ........................................................................................47
10 I/O Ports .................................................................................................. 49
10.1 Overview ..........................................................................................................49
10.2 Ports as General Digital I/O .............................................................................50
10.3 Alternate Port Functions ..................................................................................54
10.4 Register Description ........................................................................................57
11 8-bit Timer/Counter0 with PWM ............................................................ 59
11.1 Features ..........................................................................................................59
11.2 Overview ..........................................................................................................59
11.3 Timer/Counter Clock Sources .........................................................................60
11.4 Counter Unit ....................................................................................................60
11.5 Output Compare Unit .......................................................................................61
11.6 Compare Match Output Unit ............................................................................63
11.7 Modes of Operation .........................................................................................64
11.8 Timer/Counter Timing Diagrams .....................................................................68
11.9 Register Description ........................................................................................70
12 Timer/Counter Prescaler ....................................................................... 77
12.1 Overview ..........................................................................................................77
12.2 Prescaler Reset ...............................................................................................77
12.3 External Clock Source .....................................................................................77
12.4 Register Description. .......................................................................................78
13 Analog Comparator ............................................................................... 79
13.1 Analog Comparator Multiplexed Input .............................................................79