Datasheet

Table of Contents
Introduction......................................................................................................................1
Features.......................................................................................................................... 1
1. Description...............................................................................................................10
2. Configuration Summary........................................................................................... 11
3. Ordering Information................................................................................................12
4. Block Diagram......................................................................................................... 13
5. Pin Configurations................................................................................................... 14
5.1. Pin Descriptions......................................................................................................................... 15
6. I/O Multiplexing........................................................................................................18
7. Resources............................................................................................................... 20
8. About Code Examples.............................................................................................21
9. AVR CPU Core........................................................................................................ 22
9.1. Overview.................................................................................................................................... 22
9.2. ALU – Arithmetic Logic Unit....................................................................................................... 23
9.3. Status Register...........................................................................................................................23
9.4. General Purpose Register File................................................................................................... 26
9.5. Stack Pointer..............................................................................................................................27
9.6. Instruction Execution Timing...................................................................................................... 29
9.7. Reset and Interrupt Handling..................................................................................................... 30
10. AVR Memories.........................................................................................................33
10.1. Overview.................................................................................................................................... 33
10.2. In-System Reprogrammable Flash Program Memory................................................................33
10.3. SRAM Data Memory.................................................................................................................. 34
10.4. EEPROM Data Memory............................................................................................................. 35
10.5. I/O Memory.................................................................................................................................36
10.6. Register Description................................................................................................................... 37
11. System Clock and Clock Options............................................................................ 46
11.1. Clock Systems and Their Distribution........................................................................................ 46
11.2. Clock Sources............................................................................................................................ 47
11.3. Low-Power Crystal Oscillator..................................................................................................... 49
11.4. Low Frequency Crystal Oscillator...............................................................................................50
11.5. Calibrated Internal RC Oscillator................................................................................................52
11.6. 128 kHz Internal Oscillator......................................................................................................... 53
11.7. External Clock............................................................................................................................ 54
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001906C-page 3