
i
ATtiny2313
2543A–AVR–08/03
Table of Contents Features................................................................................................. 1
Pin Configurations................................................................................ 1
Overview................................................................................................ 2
Block Diagram ...................................................................................................... 2
Pin Descriptions.................................................................................................... 4
About Code Examples.......................................................................... 4
Disclaimer.............................................................................................. 4
AVR CPU Core ...................................................................................... 5
Introduction........................................................................................................... 5
Architectual Overview........................................................................................... 5
ALU – Arithmetic Logic Unit.................................................................................. 6
Status Register ..................................................................................................... 7
General Purpose Register File ............................................................................. 8
Stack Pointer ........................................................................................................ 9
Instruction Execution Timing............................................................................... 10
Reset and Interrupt Handling.............................................................................. 10
AVR ATtiny2313 Memories ................................................................ 13
In-System Reprogrammable Flash Program Memory ........................................ 13
SRAM Data Memory........................................................................................... 13
EEPROM Data Memory...................................................................................... 15
I/O Memory......................................................................................................... 21
System Clock and Clock Options ..................................................... 22
Clock Systems and their Distribution.................................................................. 22
Clock Sources..................................................................................................... 23
Default Clock Source .......................................................................................... 23
Crystal Oscillator................................................................................................. 24
Calibrated Internal RC Oscillator ........................................................................ 25
External Clock..................................................................................................... 27
128 kHz Internal Oscillator.................................................................................. 28
Power Management and Sleep Modes.............................................. 30
Idle Mode............................................................................................................ 31
Power-down Mode.............................................................................................. 31
Standby Mode..................................................................................................... 31
Minimizing Power Consumption ......................................................................... 32
System Control and Reset................................................................. 34
Internal Voltage Reference................................................................................. 39
Watchdog Timer ................................................................................................. 40
Komentarze do niniejszej Instrukcji