Datasheet
ii
2586N–AVR–04/11
ATtiny25/45/85
7.1 Sleep Modes ....................................................................................................35
7.2 Software BOD Disable .....................................................................................36
7.3 Power Reduction Register ...............................................................................37
7.4 Minimizing Power Consumption ......................................................................37
7.5 Register Description ........................................................................................38
8 System Control and Reset .................................................................... 41
8.1 Resetting the AVR ...........................................................................................41
8.2 Reset Sources .................................................................................................41
8.3 Internal Voltage Reference ..............................................................................44
8.4 Watchdog Timer ..............................................................................................44
8.5 Register Description ........................................................................................46
9 Interrupts ................................................................................................ 50
9.1 Interrupt Vectors in ATtiny25/45/85 .................................................................50
9.2 External Interrupts ...........................................................................................51
9.3 Register Description ........................................................................................53
10 I/O Ports .................................................................................................. 55
10.1 Introduction ......................................................................................................55
10.2 Ports as General Digital I/O .............................................................................56
10.3 Alternate Port Functions ..................................................................................59
10.4 Register Description ........................................................................................66
11 8-bit Timer/Counter0 with PWM ............................................................ 67
11.1 Features ..........................................................................................................67
11.2 Overview ..........................................................................................................67
11.3 Timer/Counter0 Prescaler and Clock Sources ................................................68
11.4 Counter Unit ....................................................................................................70
11.5 Output Compare Unit .......................................................................................71
11.6 Compare Match Output Unit ............................................................................72
11.7 Modes of Operation .........................................................................................73
11.8 Timer/Counter Timing Diagrams .....................................................................78
11.9 Register Description ........................................................................................80
12 8-bit Timer/Counter1 .............................................................................. 86
12.1 Timer/Counter1 Prescaler ...............................................................................86
12.2 Counter and Compare Units ............................................................................86
12.3 Register Description ........................................................................................92