Datasheet

Table of Contents
Introduction......................................................................................................................1
Features.......................................................................................................................... 1
1. Description.................................................................................................................9
2. Configuration Summary...........................................................................................10
3. Ordering Information................................................................................................11
4. Block Diagram......................................................................................................... 12
5. Pin Configurations................................................................................................... 13
5.1. Pin Descriptions......................................................................................................................... 15
5.2. Accessing 16-bit Registers.........................................................................................................17
6. I/O Multiplexing........................................................................................................20
7. Resources............................................................................................................... 22
8. Data Retention.........................................................................................................23
9. About Code Examples.............................................................................................24
10. Capacitive Touch Sensing....................................................................................... 25
10.1. QTouch Library........................................................................................................................... 25
11. AVR CPU Core........................................................................................................ 26
11.1. Overview.................................................................................................................................... 26
11.2. ALU – Arithmetic Logic Unit....................................................................................................... 27
11.3. Status Register...........................................................................................................................27
11.4. General Purpose Register File...................................................................................................30
11.5. Stack Pointer..............................................................................................................................31
11.6. Instruction Execution Timing...................................................................................................... 32
11.7. Reset and Interrupt Handling..................................................................................................... 33
12. AVR Memories.........................................................................................................35
12.1. Overview.................................................................................................................................... 35
12.2. In-System Reprogrammable Flash Program Memory................................................................35
12.3. SRAM Data Memory.................................................................................................................. 36
12.4. EEPROM Data Memory............................................................................................................. 38
12.5. I/O Memory.................................................................................................................................39
12.6. Register Description...................................................................................................................39
13. System Clock and Clock Options............................................................................ 46
13.1. Clock Systems and their Distribution..........................................................................................46
© 2017 Microchip Technology Inc.
Datasheet Complete
40001974A-page 3