Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

AVR device-specific IO definitions

#include <avr/io.h> 

This header file includes the apropriate IO definitions for the device that has been specified by the -mmcu= compiler command-line switch.

Note that each of these files always includes

#include <avr/sfr_defs.h> 
See avr_sfr for the details.

Included are definitions of the IO register set and their respective bit values as specified in the Atmel documentation. Note that Atmel is not very consistent in its naming conventions, so even identical functions sometimes get different names on different devices.

Also included are the specific names useable for interrupt function definitions as documented here unknown reference! .

Finally, the following macros are defined:

A constant describing the last on-chip RAM location.

A constant describing the last possible location in RAM. This is equal to RAMEND for devices that do not allow for external RAM.

A constant describing the address of the last EEPROM cell.

A constant describing the last byte address in flash ROM.
Generated on Thu Jan 30 22:30:58 2003 for EduNet by doxygen1.2.18