Datasheet
iv
8246A–AVR–11/09
ATtiny2313A/4313
16.2 Overview ........................................................................................................155
16.3 Functional Descriptions .................................................................................156
16.4 Alternative USI Usage ...................................................................................162
16.5 Register Description ......................................................................................162
17 Analog Comparator ............................................................................. 167
17.1 Register Description ......................................................................................167
18 debugWIRE On-chip Debug System .................................................. 169
18.1 Features ........................................................................................................169
18.2 Overview ........................................................................................................169
18.3 Physical Interface ..........................................................................................169
18.4 Software Break Points ...................................................................................170
18.5 Limitations of debugWIRE .............................................................................170
18.6 Register Description ......................................................................................171
19 Self-Programming the Flash ............................................................... 172
19.1 Performing Page Erase by SPM ....................................................................172
19.2 Filling the Temporary Buffer (Page Loading) .................................................172
19.3 Performing a Page Write ...............................................................................173
19.4 Addressing the Flash During Self-Programming ...........................................173
19.5 EEPROM Write Prevents Writing to SPMCSR ..............................................174
19.6 Reading Lock Bits, Fuse Bits and Signature Data from Software .................174
19.7 Preventing Flash Corruption ..........................................................................176
19.8 Programming Time for Flash when Using SPM ............................................176
19.9 Register Description ......................................................................................176
20 Memory Programming ......................................................................... 178
20.1 Program And Data Memory Lock Bits ...........................................................178
20.2 Fuse Bits ........................................................................................................179
20.3 Device Signature Imprint Table .....................................................................180
20.4 Page Size ......................................................................................................181
20.5 Parallel Programming Parameters, Pin Mapping, and Commands ...............182
20.6 Parallel Programming ....................................................................................183
20.7 Serial Downloading ........................................................................................190
20.8 Serial Programming Pin Mapping ..................................................................191
21 Electrical Characteristics .................................................................... 195
21.1 Absolute Maximum Ratings* .........................................................................195