beautypg.com

Rainbow Electronics ATmega64M1 User Manual

Page 336

background image

i

8209A–AVR–08/09

ATmega16M1/32M1/64M1

Table of Contents

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

1

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

1.1

Pin Descriptions .................................................................................................3

2

Overview ................................................................................................... 5

2.1

Block Diagram ...................................................................................................6

2.2

Pin Descriptions .................................................................................................7

3

Disclaimer ................................................................................................. 9

4

Resources ................................................................................................. 9

5

About Code Examples ............................................................................. 9

6

Data Retention .......................................................................................... 9

7

AVR CPU Core ........................................................................................ 10

7.1

Overview ..........................................................................................................10

7.2

ALU – Arithmetic Logic Unit .............................................................................11

7.3

Status Register ................................................................................................11

7.4

General Purpose Register File ........................................................................13

7.5

Stack Pointer ...................................................................................................14

7.6

Instruction Execution Timing ...........................................................................15

7.7

Reset and Interrupt Handling ...........................................................................16

8

Memories ................................................................................................ 18

8.1

Overview ..........................................................................................................18

8.2

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

8.3

SRAM Data Memory ........................................................................................19

8.4

EEPROM Data Memory ..................................................................................20

8.5

I/O Memory ......................................................................................................21

8.6

General Purpose I/O Registers .......................................................................21

8.7

Register Description ........................................................................................22

9

System Clock and their Distribution .................................................... 27

9.1

Clock Systems and their Distribution ...............................................................27

9.2

Clock Sources .................................................................................................28

9.3

Default Clock Source .......................................................................................29

9.4

Low Power Crystal Oscillator ...........................................................................29