English
Language : 

ATMEGA163_14 Datasheet, PDF (183/187 Pages) ATMEL Corporation – Nonvolatile Program and Data Memories
ATmega163(L)
Table of Contents
Features................................................................................................. 1
Pin Configurations................................................................................ 2
Description ............................................................................................ 3
Block Diagram....................................................................................... 3
Pin Descriptions.................................................................................................... 4
Clock Options ....................................................................................................... 5
Timer Oscillator..................................................................................................... 6
Architectural Overview......................................................................... 7
The General Purpose Register File .................................................................... 10
The ALU – Arithmetic Logic Unit......................................................................... 11
The In-System Self-Programmable Flash Program Memory.............................. 11
The SRAM Data Memory.................................................................................... 11
The Program and Data Addressing Modes ........................................................ 12
The EEPROM Data Memory .............................................................................. 16
Memory Access Times and Instruction Execution Timing .................................. 16
I/O Memory ......................................................................................................... 17
Reset and Interrupt Handling .............................................................................. 21
Sleep Modes....................................................................................................... 35
Calibrated Internal RC Oscillator ........................................................................ 37
Timer/Counters ................................................................................... 39
Timer/Counter Prescalers ................................................................................... 39
8-bit Timer/Counter0........................................................................................... 40
16-bit Timer/Counter1......................................................................................... 42
8-bit Timer/Counter 2 .......................................................................................... 51
Watchdog Timer.................................................................................. 60
EEPROM Read/Write Access............................................................. 62
Preventing EEPROM Corruption ........................................................................ 64
Serial Peripheral Interface – SPI........................................................ 65
SS Pin Functionality............................................................................................ 66
Data Modes ........................................................................................................ 67
UART.................................................................................................... 70
Data Transmission.............................................................................................. 70
Data Reception ................................................................................................... 72
UART Control ..................................................................................................... 74
Double Speed Transmission............................................................................... 78
i
1142E–AVR–02/03