title: AVR Serial Library
title_de: AVR Serial Library
description: Hardware UART library for many AVR MCUs
parent: projects
position: 20
comments: true
flattr: true
github: https://github.com/xythobuz/avrSerial
compat: avrserlib
date: 2012-10-15
update: 2017-09-15
---

The avrSerial Library enables interrupt-driven UART communication on all available UART modules. Each module has it's own receive and transmit buffer. XON/XOFF Flow Control for the receiving end can be enabled. At the moment, the following AtMega types are supported:

    AtMega8
    AtMega16
    AtMega32
    AtMega8515
    AtMega8535
    AtMega323
    AtMega168
    AtMega328
    AtMega48
    AtMega88
    AtMega168p
    AtMega328p
    AtMega48p
    AtMega88p
    AtMega2561
    AtMega1281
    AtMega1284p
    AtMega2560
    AtMega1280
    AtMega640
    AtTiny2313
    AtTiny2313a
    AtTiny4313
    AtXMega128a1

To add another processor, just get the register names from the data sheet and put them in the header file.

[Code on GitHub][1]

[Doxygen Documentation (HTML)][2]

[Doxygen Documentation (PDF)][3]

 [1]: https://github.com/xythobuz/avrSerial
 [2]: http://www.xythobuz.org/avrserial/
 [3]: http://www.xythobuz.org/avrserial.pdf

lang: de

Die avrSerial Library ermöglicht Interruptgesteuerte UART kommunikation mit allen verfügbaren UART Modulen. Jedes Modul hat einen eigenen Sende- und Empfangspuffer. XON/XOFF Flow Control kann auf Empfangsseite aktiviert werden. Unterstützt werden momentan folgende AtMega Typen:

    AtMega8
    AtMega16
    AtMega32
    AtMega8515
    AtMega8535
    AtMega323
    AtMega168
    AtMega328
    AtMega48
    AtMega88
    AtMega168p
    AtMega328p
    AtMega48p
    AtMega88p
    AtMega2561
    AtMega1281
    AtMega1284p
    AtMega2560
    AtMega1280
    AtMega640
    AtTiny2313
    AtTiny2313a
    AtTiny4313
    AtXMega128a1

Es können jedoch problemlos weitere Prozessoren hinzugefügt werden. Dafür müssen nur die Registernamen aus dem Datenblatt in die Header Datei eingefügt werden.

[Code auf GitHub][1]

[Doxygen Dokumentation (HTML)][2]

[Doxygen Dokumentation (PDF)][3]

 [1]: https://github.com/xythobuz/avrSerial
 [2]: http://www.xythobuz.org/avrserial/
 [3]: http://www.xythobuz.org/avrserial.pdf