ATTIny2313-16MI ATMEL Corporation, ATTIny2313-16MI Datasheet - Page 208

no-image

ATTIny2313-16MI

Manufacturer Part Number
ATTIny2313-16MI
Description
8-bit AVR Microcontroller with 2K Bytes In-System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
ii
ATtiny2313
Interrupts ............................................................................................ 44
I/O-Ports.............................................................................................. 46
External Interrupts ............................................................................. 60
8-bit Timer/Counter0 with PWM........................................................ 63
Timer/Counter0 and Timer/Counter1 Prescalers ............................ 81
16-bit Timer/Counter1 ....................................................................... 83
USART .............................................................................................. 112
Timed Sequences for Changing the Configuration of the Watchdog Timer ....... 43
Interrupt Vectors in ATtiny2313 .......................................................................... 44
Introduction ......................................................................................................... 46
Ports as General Digital I/O ................................................................................ 47
Alternate Port Functions ..................................................................................... 51
Register Description for I/O-Ports....................................................................... 59
Overview............................................................................................................. 63
Timer/Counter Clock Sources............................................................................. 64
Counter Unit........................................................................................................ 64
Output Compare Unit.......................................................................................... 65
Compare Match Output Unit ............................................................................... 67
Modes of Operation ............................................................................................ 68
Timer/Counter Timing Diagrams......................................................................... 72
8-bit Timer/Counter Register Description ........................................................... 74
Overview............................................................................................................. 83
Accessing 16-bit Registers ................................................................................. 86
Timer/Counter Clock Sources............................................................................. 89
Counter Unit........................................................................................................ 89
Input Capture Unit............................................................................................... 90
Output Compare Units ........................................................................................ 92
Compare Match Output Unit ............................................................................... 94
Modes of Operation ............................................................................................ 95
Timer/Counter Timing Diagrams....................................................................... 103
16-bit Timer/Counter Register Description ....................................................... 105
Overview........................................................................................................... 112
Clock Generation .............................................................................................. 113
Frame Formats ................................................................................................. 116
USART Initialization.......................................................................................... 117
Data Transmission – The USART Transmitter ................................................. 119
Data Reception – The USART Receiver .......................................................... 122
Asynchronous Data Reception ......................................................................... 125
Multi-processor Communication Mode ............................................................. 129
2543C–AVR–12/03

Related parts for ATTIny2313-16MI