Atmel AVR42787 AVR Software User Guide

This application note provides general information about the Atmel AVR microcontrollers, including the AVR architecture, the AVR GCC compiler, the I/O header files, Flash variables, interrupt service routines, serial port baud rate calculation, power management and sleep modes, delay routines, and code size optimization techniques.


Atmel AVR42787 AVR Software User Guide - cover page
Brand
Atmel
Category
microcontrollers
Document type
Application Note
Language
English
Pages
33
File format
PDF
File size
364 KB
Published
19 October, 2023
Updated
19 October, 2023
MD5 checksum
5D253FC9BDFA32B2100D39F60B657C8F

About this manual

This document serves as a software user guide for the Atmel AVR 8-bit microcontroller family, including tinyAVR, megaAVR, and XMEGA devices. It focuses on helping developers write efficient C code by explaining the underlying architecture and providing practical examples.

What's inside

  • AVR 8-bit Architecture
  • AVR GCC and the Toolchain
  • I/O Header Files
  • Flash Variables
  • Interrupt Service Routine
  • Power Management and Sleep Modes
  • Delay Routines
  • Tips and Tricks to Reduce Code Size

Frequently asked questions

What microcontrollers does this guide apply to?

This document applies to tinyAVR®, megaAVR®, and XMEGA® MCUs.

How is an ISR defined in AVR GCC?

In AVR GCC, an ISR is defined using the ISR macro and the header file .

What keyword does IAR use to declare a variable in Program Memory?

IAR uses the __flash keyword to declare a variable in Program Memory.

What header file is used to include I/O register definitions in AVR GCC?

The header file is used to include I/O register definitions in AVR GCC.

Download PDF (364 KB)

More Atmel Manuals


View all Atmel manuals →