beautypg.com

Rainbow Electronics ATtiny26L User Manual

Page 147

background image

i

ATtiny26(L)

1477B–AVR–04/02

Table of Contents

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

Pin Configuration.................................................................................. 2

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

Description ............................................................................................ 3

Block Diagram ...................................................................................................... 4

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

Architectural Overview......................................................................... 6

General Purpose Register File ............................................................................. 7

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

In-System Programmable Flash Program Memory .............................................. 9

SRAM Data Memory............................................................................................. 9

Program and Data Addressing Modes................................................................ 10

EEPROM Data Memory...................................................................................... 14

Memory Access Times and Instruction Execution Timing ............. 15

I/O Memory .......................................................................................... 17

Stack Pointer – SP.............................................................................................. 19

Reset and Interrupt Handling.............................................................................. 20

System Clock and Clock Options ..................................................... 25

Clock Systems and their Distribution .................................................................. 25

Clock Sources..................................................................................................... 27

Crystal Oscillator................................................................................................. 28

Low-frequency Crystal Oscillator ........................................................................ 29

External RC Oscillator ........................................................................................ 30

Calibrated Internal RC Oscillator ........................................................................ 31

External Clock..................................................................................................... 32

Power Management and Sleep Modes.............................................. 41

Minimizing Power Consumption ......................................................................... 43

Timer/Counters ................................................................................... 44

Timer/Counter0 Prescaler................................................................................... 44

Timer/Counter1 Prescaler................................................................................... 45

8-bit Timer/Counter0........................................................................................... 45

8-bit Timer/Counter1........................................................................................... 47

Watchdog Timer.................................................................................. 58

EEPROM Read/Write Access ............................................................. 60

Preventing EEPROM Corruption ........................................................................ 62