\hypertarget{group__avr__version}{}\doxysubsection{$<$avr/version.h$>$\+: avr-\/libc version macros}
\label{group__avr__version}\index{$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}}
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__avr__version_gaace584c6d368436814b4fe12d71230f9}{\+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+S\+T\+R\+I\+N\+G\+\_\+\+\_\+}}~\char`\"{}2.\+0.\+0\char`\"{}
\item 
\#define \mbox{\hyperlink{group__avr__version_ga161e98ee1c31a16eeb71fc87dc73526f}{\+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+\_\+}}~20000\+UL
\item 
\#define \mbox{\hyperlink{group__avr__version_gadecde61fc0ef6e31f4dd6c732913aba8}{\+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+D\+A\+T\+E\+\_\+\+S\+T\+R\+I\+N\+G\+\_\+\+\_\+}}~\char`\"{}20150208\char`\"{}
\item 
\#define \mbox{\hyperlink{group__avr__version_ga09c3581176726e46963330ae12270bf6}{\+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+D\+A\+T\+E\+\_\+}}~20150208UL
\item 
\#define \mbox{\hyperlink{group__avr__version_ga8a657f9b659536d9c0c3c03ca441bb00}{\+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+M\+A\+J\+O\+R\+\_\+\+\_\+}}~2
\item 
\#define \mbox{\hyperlink{group__avr__version_gaaabd42be463ab59be357639b50bd722c}{\+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+M\+I\+N\+O\+R\+\_\+\+\_\+}}~0
\item 
\#define \mbox{\hyperlink{group__avr__version_ga45476ad3a5db9be5a45d098bb1b093b1}{\+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+R\+E\+V\+I\+S\+I\+O\+N\+\_\+\+\_\+}}~0
\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}

\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{preprocessor}{\#include <avr/version.h>} }
\end{DoxyCode}


This header file defines macros that contain version numbers and strings describing the current version of avr-\/libc.

The version number itself basically consists of three pieces that are separated by a dot\+: the major number, the minor number, and the revision number. For development versions (which use an odd minor number), the string representation additionally gets the date code (Y\+Y\+Y\+Y\+M\+M\+DD) appended.

This file will also be included by {\ttfamily $<$\mbox{\hyperlink{io_8h}{avr/io.\+h}}$>$}. That way, portable tests can be implemented using {\ttfamily $<$\mbox{\hyperlink{io_8h}{avr/io.\+h}}$>$} that can be used in code that wants to remain backwards-\/compatible to library versions prior to the date when the library version A\+PI had been added, as referenced but undefined C preprocessor macros automatically evaluate to 0. 

\doxysubsubsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__avr__version_ga09c3581176726e46963330ae12270bf6}\label{group__avr__version_ga09c3581176726e46963330ae12270bf6}} 
\index{$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}!\_\_AVR\_LIBC\_DATE\_@{\_\_AVR\_LIBC\_DATE\_}}
\index{\_\_AVR\_LIBC\_DATE\_@{\_\_AVR\_LIBC\_DATE\_}!$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}}
\doxyparagraph{\texorpdfstring{\_\_AVR\_LIBC\_DATE\_}{\_\_AVR\_LIBC\_DATE\_}}
{\footnotesize\ttfamily \#define \+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+D\+A\+T\+E\+\_\+~20150208UL}

Numerical representation of the release date. \mbox{\Hypertarget{group__avr__version_gadecde61fc0ef6e31f4dd6c732913aba8}\label{group__avr__version_gadecde61fc0ef6e31f4dd6c732913aba8}} 
\index{$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}!\_\_AVR\_LIBC\_DATE\_STRING\_\_@{\_\_AVR\_LIBC\_DATE\_STRING\_\_}}
\index{\_\_AVR\_LIBC\_DATE\_STRING\_\_@{\_\_AVR\_LIBC\_DATE\_STRING\_\_}!$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}}
\doxyparagraph{\texorpdfstring{\_\_AVR\_LIBC\_DATE\_STRING\_\_}{\_\_AVR\_LIBC\_DATE\_STRING\_\_}}
{\footnotesize\ttfamily \#define \+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+D\+A\+T\+E\+\_\+\+S\+T\+R\+I\+N\+G\+\_\+\+\_\+~\char`\"{}20150208\char`\"{}}

String literal representation of the release date. \mbox{\Hypertarget{group__avr__version_ga8a657f9b659536d9c0c3c03ca441bb00}\label{group__avr__version_ga8a657f9b659536d9c0c3c03ca441bb00}} 
\index{$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}!\_\_AVR\_LIBC\_MAJOR\_\_@{\_\_AVR\_LIBC\_MAJOR\_\_}}
\index{\_\_AVR\_LIBC\_MAJOR\_\_@{\_\_AVR\_LIBC\_MAJOR\_\_}!$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}}
\doxyparagraph{\texorpdfstring{\_\_AVR\_LIBC\_MAJOR\_\_}{\_\_AVR\_LIBC\_MAJOR\_\_}}
{\footnotesize\ttfamily \#define \+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+M\+A\+J\+O\+R\+\_\+\+\_\+~2}

Library major version number. \mbox{\Hypertarget{group__avr__version_gaaabd42be463ab59be357639b50bd722c}\label{group__avr__version_gaaabd42be463ab59be357639b50bd722c}} 
\index{$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}!\_\_AVR\_LIBC\_MINOR\_\_@{\_\_AVR\_LIBC\_MINOR\_\_}}
\index{\_\_AVR\_LIBC\_MINOR\_\_@{\_\_AVR\_LIBC\_MINOR\_\_}!$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}}
\doxyparagraph{\texorpdfstring{\_\_AVR\_LIBC\_MINOR\_\_}{\_\_AVR\_LIBC\_MINOR\_\_}}
{\footnotesize\ttfamily \#define \+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+M\+I\+N\+O\+R\+\_\+\+\_\+~0}

Library minor version number. \mbox{\Hypertarget{group__avr__version_ga45476ad3a5db9be5a45d098bb1b093b1}\label{group__avr__version_ga45476ad3a5db9be5a45d098bb1b093b1}} 
\index{$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}!\_\_AVR\_LIBC\_REVISION\_\_@{\_\_AVR\_LIBC\_REVISION\_\_}}
\index{\_\_AVR\_LIBC\_REVISION\_\_@{\_\_AVR\_LIBC\_REVISION\_\_}!$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}}
\doxyparagraph{\texorpdfstring{\_\_AVR\_LIBC\_REVISION\_\_}{\_\_AVR\_LIBC\_REVISION\_\_}}
{\footnotesize\ttfamily \#define \+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+R\+E\+V\+I\+S\+I\+O\+N\+\_\+\+\_\+~0}

Library revision number. \mbox{\Hypertarget{group__avr__version_ga161e98ee1c31a16eeb71fc87dc73526f}\label{group__avr__version_ga161e98ee1c31a16eeb71fc87dc73526f}} 
\index{$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}!\_\_AVR\_LIBC\_VERSION\_\_@{\_\_AVR\_LIBC\_VERSION\_\_}}
\index{\_\_AVR\_LIBC\_VERSION\_\_@{\_\_AVR\_LIBC\_VERSION\_\_}!$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}}
\doxyparagraph{\texorpdfstring{\_\_AVR\_LIBC\_VERSION\_\_}{\_\_AVR\_LIBC\_VERSION\_\_}}
{\footnotesize\ttfamily \#define \+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+\_\+~20000\+UL}

Numerical representation of the current library version.

In the numerical representation, the major number is multiplied by 10000, the minor number by 100, and all three parts are then added. It is intented to provide a monotonically increasing numerical value that can easily be used in numerical checks. \mbox{\Hypertarget{group__avr__version_gaace584c6d368436814b4fe12d71230f9}\label{group__avr__version_gaace584c6d368436814b4fe12d71230f9}} 
\index{$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}!\_\_AVR\_LIBC\_VERSION\_STRING\_\_@{\_\_AVR\_LIBC\_VERSION\_STRING\_\_}}
\index{\_\_AVR\_LIBC\_VERSION\_STRING\_\_@{\_\_AVR\_LIBC\_VERSION\_STRING\_\_}!$<$avr/version.h$>$: avr-\/libc version macros@{$<$avr/version.h$>$: avr-\/libc version macros}}
\doxyparagraph{\texorpdfstring{\_\_AVR\_LIBC\_VERSION\_STRING\_\_}{\_\_AVR\_LIBC\_VERSION\_STRING\_\_}}
{\footnotesize\ttfamily \#define \+\_\+\+\_\+\+A\+V\+R\+\_\+\+L\+I\+B\+C\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+S\+T\+R\+I\+N\+G\+\_\+\+\_\+~\char`\"{}2.\+0.\+0\char`\"{}}

String literal representation of the current library version. 