Datasheet

Table Of Contents
v
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
2549Q–AVR–02/2014
24.1Features ..............................................................................................................236
24.22-wire Serial Interface Bus Definition ..................................................................236
24.3Data Transfer and Frame Format ........................................................................237
24.4Multi-master Bus Systems, Arbitration, and Synchronization ..............................239
24.5Overview of the TWI Module ...............................................................................241
24.6Using the TWI ......................................................................................................244
24.7Transmission Modes ...........................................................................................247
24.8Multi-master Systems and Arbitration ..................................................................259
24.9Register Description ............................................................................................261
25 AC – Analog Comparator .....................................................................265
25.1Analog Comparator Multiplexed Input .................................................................265
25.2Register Description ............................................................................................266
26 ADC – Analog to Digital Converter ..................................................... 268
26.1Features ..............................................................................................................268
26.2Operation .............................................................................................................269
26.3Starting a Conversion ..........................................................................................270
26.4Prescaling and Conversion Timing ......................................................................271
26.5Changing Channel or Reference Selection .........................................................274
26.6ADC Noise Canceler ...........................................................................................275
26.7ADC Conversion Result .......................................................................................280
26.8Register Description ............................................................................................281
27 JTAG Interface and On-chip Debug System ...................................... 289
27.1Features ..............................................................................................................289
27.2Overview ..............................................................................................................289
27.3TAP - Test Access Port .......................................................................................290
27.4Using the Boundary-scan Chain ..........................................................................292
27.5Using the On-chip Debug System .......................................................................292
27.6On-chip Debug Specific JTAG Instructions .........................................................293
27.7Using the JTAG Programming Capabilities .........................................................293
27.8Bibliography .........................................................................................................294
27.9On-chip Debug Related Register in I/O Memory .................................................294
28 IEEE 1149.1 (JTAG) Boundary-scan ................................................... 295
28.1Features ..............................................................................................................295
28.2System Overview .................................................................................................295
28.3Data Registers .....................................................................................................295