atmega161-4pi ATMEL Corporation, atmega161-4pi Datasheet - Page 155

no-image

atmega161-4pi

Manufacturer Part Number
atmega161-4pi
Description
8-bit Microcontroller With 16k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Table of Contents
1228D–AVR–02/07
Features................................................................................................. 1
Disclaimer.............................................................................................. 1
Pin Configuration.................................................................................. 2
Description ............................................................................................ 3
Architectural Overview......................................................................... 7
Timer/Counters ................................................................................... 38
Watchdog Timer.................................................................................. 58
EEPROM Read/Write Access............................................................. 60
Serial Peripheral Interface – SPI........................................................ 63
UARTs.................................................................................................. 69
Analog Comparator ............................................................................ 81
Block Diagram ...................................................................................................... 4
Pin Descriptions.................................................................................................... 5
Crystal Oscillator................................................................................................... 6
The General Purpose Register File .................................................................... 10
ALU – Arithmetic Logic Unit................................................................................ 11
Self-programmable Flash Program Memory....................................................... 11
EEPROM Data Memory...................................................................................... 11
SRAM Data Memory........................................................................................... 12
Program and Data Addressing Modes................................................................ 13
Memory Access Times and Instruction Execution Timing .................................. 17
l/O Memory ......................................................................................................... 19
Reset and Interrupt Handling.............................................................................. 22
MCU Control Register – MCUCR ....................................................................... 34
Sleep Modes....................................................................................................... 36
Timer/Counter Prescalers................................................................................... 38
8-bit Timer/Counters T/C0 and T/C2 .................................................................. 40
Timer/Counter1................................................................................................... 49
Prevent EEPROM Corruption ............................................................................. 62
SS Pin Functionality............................................................................................ 65
Data Modes ........................................................................................................ 65
Data Transmission.............................................................................................. 69
Data Reception ................................................................................................... 71
UART Control ..................................................................................................... 73
Baud Rate Generator.......................................................................................... 76
Double-speed Transmission ............................................................................... 78
ATmega161(L)
i

Related parts for atmega161-4pi