1 | /** |
---|
2 | * @file avr/iom644PA.h |
---|
3 | * |
---|
4 | * @brief Current Version of avr-libc |
---|
5 | * |
---|
6 | * This header file defines macros that contain version numbers and |
---|
7 | * strings describing the current version of avr-libc. |
---|
8 | * |
---|
9 | * The version number itself basically consists of three pieces that |
---|
10 | * are separated by a dot: the major number, the minor number, and |
---|
11 | * the revision number. For development versions (which use an odd |
---|
12 | * minor number), the string representation additionally gets the |
---|
13 | * date code (YYYYMMDD) appended. |
---|
14 | * |
---|
15 | * This file will also be included by \c <avr/io.h>. That way, |
---|
16 | * portable tests can be implemented using \c <avr/io.h> that can be |
---|
17 | * used in code that wants to remain backwards-compatible to library |
---|
18 | * versions prior to the date when the library version API had been |
---|
19 | * added, as referenced but undefined C preprocessor macros |
---|
20 | * automatically evaluate to 0. |
---|
21 | */ |
---|
22 | |
---|
23 | /* |
---|
24 | * Copyright (c) 2005, Joerg Wunsch |
---|
25 | * All rights reserved. |
---|
26 | * |
---|
27 | * Redistribution and use in source and binary forms, with or without |
---|
28 | * modification, are permitted provided that the following conditions are met: |
---|
29 | * |
---|
30 | * * Redistributions of source code must retain the above copyright |
---|
31 | * notice, this list of conditions and the following disclaimer. |
---|
32 | * |
---|
33 | * * Redistributions in binary form must reproduce the above copyright |
---|
34 | * notice, this list of conditions and the following disclaimer in |
---|
35 | * the documentation and/or other materials provided with the |
---|
36 | * distribution. |
---|
37 | * |
---|
38 | * * Neither the name of the copyright holders nor the names of |
---|
39 | * contributors may be used to endorse or promote products derived |
---|
40 | * from this software without specific prior written permission. |
---|
41 | * |
---|
42 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
---|
43 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
---|
44 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
---|
45 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
---|
46 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
---|
47 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
---|
48 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
---|
49 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
---|
50 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
---|
51 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
---|
52 | * POSSIBILITY OF SUCH DAMAGE. |
---|
53 | */ |
---|
54 | |
---|
55 | /** |
---|
56 | * @defgroup avr_version avr-libc Version Macros |
---|
57 | * |
---|
58 | * @ingroup avr |
---|
59 | */ |
---|
60 | /**@{*/ |
---|
61 | |
---|
62 | #ifndef _AVR_VERSION_H_ |
---|
63 | #define _AVR_VERSION_H_ |
---|
64 | |
---|
65 | /** \ingroup avr_version |
---|
66 | String literal representation of the current library version. */ |
---|
67 | #define __AVR_LIBC_VERSION_STRING__ "1.6.8" |
---|
68 | |
---|
69 | /** \ingroup avr_version |
---|
70 | Numerical representation of the current library version. |
---|
71 | |
---|
72 | In the numerical representation, the major number is multiplied by |
---|
73 | 10000, the minor number by 100, and all three parts are then |
---|
74 | added. It is intented to provide a monotonically increasing |
---|
75 | numerical value that can easily be used in numerical checks. |
---|
76 | */ |
---|
77 | #define __AVR_LIBC_VERSION__ 10608UL |
---|
78 | |
---|
79 | /** \ingroup avr_version |
---|
80 | String literal representation of the release date. */ |
---|
81 | #define __AVR_LIBC_DATE_STRING__ "20100211" |
---|
82 | |
---|
83 | /** \ingroup avr_version |
---|
84 | Numerical representation of the release date. */ |
---|
85 | #define __AVR_LIBC_DATE_ 20100211UL |
---|
86 | |
---|
87 | /** \ingroup avr_version |
---|
88 | Library major version number. */ |
---|
89 | #define __AVR_LIBC_MAJOR__ 1 |
---|
90 | |
---|
91 | /** \ingroup avr_version |
---|
92 | Library minor version number. */ |
---|
93 | #define __AVR_LIBC_MINOR__ 6 |
---|
94 | |
---|
95 | /** \ingroup avr_version |
---|
96 | Library revision number. */ |
---|
97 | #define __AVR_LIBC_REVISION__ 8 |
---|
98 | |
---|
99 | /**@}*/ |
---|
100 | #endif /* _AVR_VERSION_H_ */ |
---|