ATmega32(L)
Table of Contents
Features................................................................................................ 1
Pin Configurations............................................................................... 2
Overview............................................................................................... 3
Block Diagram ...................................................................................................... 3
Pin Descriptions.................................................................................................... 4
Resources ............................................................................................ 6
About Code Examples......................................................................... 7
AVR CPU Core ..................................................................................... 8
Introduction........................................................................................................... 8
Architectural Overview.......................................................................................... 8
ALU – Arithmetic Logic Unit.................................................................................. 9
Status Register ................................................................................................... 10
General Purpose Register File ........................................................................... 11
Stack Pointer ...................................................................................................... 12
Instruction Execution Timing............................................................................... 13
Reset and Interrupt Handling.............................................................................. 13
AVR ATmega32 Memories ................................................................ 16
In-System Reprogrammable Flash Program Memory ........................................ 16
SRAM Data Memory........................................................................................... 17
EEPROM Data Memory...................................................................................... 18
I/O Memory......................................................................................................... 23
System Clock and Clock Options .................................................... 24
Clock Systems and their Distribution.................................................................. 24
Clock Sources..................................................................................................... 25
Default Clock Source.......................................................................................... 25
Crystal Oscillator................................................................................................. 26
Low-frequency Crystal Oscillator........................................................................ 28
External RC Oscillator ........................................................................................ 28
Calibrated Internal RC Oscillator ........................................................................ 29
External Clock..................................................................................................... 31
Timer/Counter Oscillator..................................................................................... 31
Power Management and Sleep Modes............................................. 32
Idle Mode............................................................................................................ 33
ADC Noise Reduction Mode............................................................................... 33
Power-down Mode.............................................................................................. 33
Power-save Mode............................................................................................... 33
Standby Mode..................................................................................................... 34
Extended Standby Mode .................................................................................... 34
i
2503J–AVR–10/06