The AVR RISC Microcontroller Handbook is a comprehensive guide to designing with Atmel's new controller family, which is designed to offer high speed and low power consumption at a lower cost. The main text is divided into three sections: hardware, which covers all internal peripherals; software, which covers programming and the instruction set; and tools, which explains using Atmel's Assembler and Simulator (available on the Web) as well as IAR's C compiler.
- Practical guide for advanced hobbyists or design professionals
- Development tools and code available on the Web
Inhaltsverzeichnis
1;Front Cover ;1 2;AVR Rise Microcontroller Handbook;4 3;Copyright Page;5 4; Table of Contents;6 5;Preface;10 6;CHAPTER 1. Some Basics ;12 6.1;1.1 Architecture;12 6.2;1.2 Important Terms;16 6.3;1.3 Numbers;18 7;CHAPTER 2. Hardware Resources of AVR Microcontrollers;20 7.1;2. 1 Architectural Overview;20 7.2;2.2 The Arithmetic Logic Unit;24 7.3;2.3 Program and Data Memories;25 7.4;2.4 Peripherals;32 7.5;2.5 Reset and Interrupt System;68 7.6;2.6 Clock;71 8;CHAPTER 3. Handling the Hardware Resources;74 8.1;3.1 Memory Addressing Modes;74 8.2;3.2 Instruction Set;82 8.3;3.3 Reset and Interrupt Handling;123 8.4;3.4 Watchdog Handling;126 8.5;3.5 Stack;127 8.6;3.6 Program Constructs;131 8.7;3.7 Defensive Programming;138 9;CHAPTER 4. Development Tools;142 9.1;4.1 ATMEL AVR Assembler and Simulator;142 9.2;4.2 ATMEL A VR Studio;155 9.3;4.3 JAR Embedded Workbench EWA90;157 9.4;4.4 AVR Pascal from E-LAB Computers;166 9.5;4.5 AVR BASIC from Silicon Studio;177 9.6;4.6 Programmer and Evaluation Boards;179 10;CHAPTER 5. Example Programs;190 10.1;5.1 Example Programs in AVR Assembler;190 10.2;5.2 Example Program in C;272 10.3;5.3 Example Programs in AVR BASIC;276 11;Appendix A: Part Numbering System;284 12;Appendix B: Pin Configurations;286 13;Appendix C: Schematics of SIMMSTICK Modules;288 14;Appendix D: Register and Bit Definitions;292 15;Appendix E: Some Fundamentals of RS-232 ;298 16;Appendix F: Some Fundamentals of RS-422 and RS-485;304 17;Appendix G: 8-Bit Intel Hex File Format;308 18;Appendix H: Decimal-to-Hex-to-ASCII Converter;310 19;Appendix I: Overview of Atmel's Application Notes and Software;312 20;Appendix J: Literature;316 21;Appendix K: Contacts;318 22;Index;320