beautypg.com

Rainbow Electronics Atmega169L User Manual

Page 311

background image

i

ATmega169V/L

2514A–AVR–08/02

Table of Contents

Features................................................................................................. 1

Pin Configurations................................................................................ 2

Disclaimer ............................................................................................................. 2

Overview................................................................................................ 3

Block Diagram ...................................................................................................... 3

Pin Descriptions.................................................................................................... 5

About Code Examples.......................................................................... 6

AVR CPU Core ...................................................................................... 7

Introduction ........................................................................................................... 7

Architectural Overview .......................................................................................... 7

ALU – Arithmetic Logic Unit.................................................................................. 8

Status Register ..................................................................................................... 9

General Purpose Register File ........................................................................... 10

Stack Pointer ...................................................................................................... 11

Instruction Execution Timing............................................................................... 12

Reset and Interrupt Handling .............................................................................. 12

AVR ATmega169 Memories ............................................................... 15

In-System Reprogrammable Flash Program Memory ........................................ 15

SRAM Data Memory........................................................................................... 16

EEPROM Data Memory...................................................................................... 17

I/O Memory ......................................................................................................... 22

System Clock and Clock Options ..................................................... 23

Clock Systems and their Distribution .................................................................. 23

Clock Sources..................................................................................................... 24

Default Clock Source .......................................................................................... 24

Crystal Oscillator................................................................................................. 25

Low-frequency Crystal Oscillator ........................................................................ 26

Calibrated Internal RC Oscillator ........................................................................ 27

External Clock..................................................................................................... 29

Clock Output Buffer ............................................................................................ 29

Timer/Counter Oscillator ..................................................................................... 30

System Clock Prescaler...................................................................................... 30

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

Minimizing Power Consumption ......................................................................... 34