Datasheet

iii
2586D–AVR–02/06
ATtiny25/45/85
16 8-bit Timer/Counter1 in ATtiny15 Mode ............................................... 96
16.1 Timer/Counter1 Prescaler ....................................................................................96
16.2 Timer/Counter1 ....................................................................................................96
17 Dead Time Generator ........................................................................... 106
18 USI – Universal Serial Interface .......................................................... 109
18.1 Overview ............................................................................................................109
18.2 Functional Descriptions ......................................................................................110
18.3 Alternative USI Usage ........................................................................................116
18.4 USI Register Descriptions ..................................................................................116
19 Analog Comparator ............................................................................. 121
19.1 Analog Comparator Multiplexed Input ................................................................122
20 Analog to Digital Converter ................................................................ 124
20.1 Features .............................................................................................................124
20.2 Operation ............................................................................................................125
20.3 Starting a Conversion .........................................................................................126
20.4 Prescaling and Conversion Timing .....................................................................127
20.5 Changing Channel or Reference Selection ........................................................129
20.6 ADC Noise Canceler ..........................................................................................130
20.7 ADC Conversion Result .....................................................................................134
20.8 Temperature Measurement ................................................................................141
21 debugWIRE On-chip Debug System .................................................. 142
21.1 Features .............................................................................................................142
21.2 Overview ............................................................................................................142
21.3 Physical Interface ...............................................................................................142
21.4 Software Break Points ........................................................................................143
21.5 Limitations of debugWIRE ..................................................................................143
21.6 debugWIRE Related Register in I/O Memory .....................................................143
22 Self-Programming the Flash ............................................................... 144
22.1 Addressing the Flash During Self-Programming ................................................145
23 Memory Programming ......................................................................... 149
23.1 Program And Data Memory Lock Bits ................................................................149
23.2 Fuse Bytes .........................................................................................................150
23.3 Signature Bytes ..................................................................................................151
23.4 Calibration Byte ..................................................................................................152