beautypg.com

Atmega128rfa1 – Rainbow Electronics ATmega128RFA1 User Manual

Page 519

background image

519


8266A-MCU Wireless-12/09

ATmega128RFA1

13.1 Resetting the AVR ............................................................................................ 176

13.2 Reset Sources .................................................................................................. 176

13.3 Internal Voltage Reference............................................................................... 179

13.4 Watchdog Timer ............................................................................................... 180

13.5 Register Description ......................................................................................... 183

14 I/O-Ports......................................................................................... 186

14.1 Introduction....................................................................................................... 186

14.2 Ports as General Digital I/O.............................................................................. 187

14.3 Alternate Port Functions................................................................................... 191

14.4 Register Description ......................................................................................... 204

15 Interrupts ....................................................................................... 211

15.1 Interrupt Vectors in ATmega128RFA1 ............................................................. 211

15.2 Reset and Interrupt Vector Placement ............................................................. 213

15.3 Moving Interrupts Between Application and Boot Section ............................... 216

15.4 Register Description ......................................................................................... 216

16 External Interrupts ........................................................................ 218

16.1 Pin Change Interrupt Timing ............................................................................ 218

16.2 Register Description ......................................................................................... 219

17 8-bit Timer/Counter0 with PWM ................................................... 226

17.1 Features ........................................................................................................... 226

17.2 Overview........................................................................................................... 226

17.3 Timer/Counter Clock Sources .......................................................................... 227

17.4 Counter Unit ..................................................................................................... 227

17.5 Output Compare Unit ....................................................................................... 228

17.6 Compare Match Output Unit............................................................................. 230

17.7 Modes of Operation .......................................................................................... 232

17.8 Timer/Counter Timing Diagrams ...................................................................... 236

17.9 Register Description ......................................................................................... 238

18 16-bit Timer/Counter (Timer/Counter 1, 3, 4, and 5)................... 244

18.1 Features ........................................................................................................... 244

18.2 Overview........................................................................................................... 244

18.3 Accessing 16-bit Registers............................................................................... 246

18.4 Timer/Counter Clock Sources .......................................................................... 249

18.5 Counter Unit ..................................................................................................... 249

18.6 Input Capture Unit ............................................................................................ 250

18.7 Output Compare Units...................................................................................... 252