AVR Libc

1.2.5

The latest version of this document is always available from http://savannah.nongnu.org/projects/avr-libc/

The AVR Libc package provides a subset of the standard C library for Atmel AVR 8-bit RISC microcontrollers. In addition, the library provides the basic startup code needed by most applications.

There is a wealth of information in this document which goes beyond simply describing the interfaces and routines provided by the library. We hope that this document provides enough information to get a new AVR developer up to speed quickly using the freely available development tools: binutils, gcc avr-libc and many others.

If you find yourself stuck on a problem which this document doesn't quite address, you may wish to post a message to the avr-gcc mailing list. Most of the developers of the AVR binutils and gcc ports in addition to the devleopers of avr-libc subscribe to the list, so you will usually be able to get your problem resolved. You can subscribe to the list at http://www.avr1.org/mailman/listinfo/avr-gcc-list/ . Before posting to the list, you might want to try reading the Frequently Asked Questions chapter of this document.

Note:
This document is a work in progress. As such, it may contain incorrect information. If you find a mistake, please send an email to avr-libc-dev@nongnu.org describing the mistake. Also, send us an email if you find that a specific topic is missing from the document.

Supported Devices

The following is a list of AVR devices currently supported by the library.

AT90S Type Devices:

ATmega Type Devices:

ATtiny Type Devices:

Misc Devices:

Note:
[1] Assembly only. There is no direct support for these devices to be programmed in C since they do not have a RAM based stack. Still, it could be possible to program them in C, see the FAQ for an option.

Note:
[2] The at94K devices are a combination of FPGA and AVR microcontroller. [TRoth-2002/11/12: Not sure of the level of support for these. More information would be welcomed.]

Note:
[3] The at76c711 is a USB to fast serial interface bridge chip using an AVR core.

Automatically generated by Doxygen 1.4.1 on 21 Oct 2005.