Library to access LPC17xx peripherals. It uses static inline functions, constant propagation and dead code elimination to be as fast as possible.

Dependents:   Chua-VGA Wolfram-1D-VGA WolframRnd-1D-VGA Basin-VGA ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers lgpl.h Source File

lgpl.h

00001                    GNU LESSER GENERAL PUBLIC LICENSE
00002                        Version 3, 29 June 2007
00003 
00004  Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
00005  Everyone is permitted to copy and distribute verbatim copies
00006  of this license document, but changing it is not allowed.
00007 
00008 
00009   This version of the GNU Lesser General Public License incorporates
00010 the terms and conditions of version 3 of the GNU General Public
00011 License, supplemented by the additional permissions listed below.
00012 
00013   0. Additional Definitions.
00014 
00015   As used herein, "this License" refers to version 3 of the GNU Lesser
00016 General Public License, and the "GNU GPL" refers to version 3 of the GNU
00017 General Public License.
00018 
00019   "The Library" refers to a covered work governed by this License,
00020 other than an Application or a Combined Work as defined below.
00021 
00022   An "Application" is any work that makes use of an interface provided
00023 by the Library, but which is not otherwise based on the Library.
00024 Defining a subclass of a class defined by the Library is deemed a mode
00025 of using an interface provided by the Library.
00026 
00027   A "Combined Work" is a work produced by combining or linking an
00028 Application with the Library.  The particular version of the Library
00029 with which the Combined Work was made is also called the "Linked
00030 Version".
00031 
00032   The "Minimal Corresponding Source" for a Combined Work means the
00033 Corresponding Source for the Combined Work, excluding any source code
00034 for portions of the Combined Work that, considered in isolation, are
00035 based on the Application, and not on the Linked Version.
00036 
00037   The "Corresponding Application Code" for a Combined Work means the
00038 object code and/or source code for the Application, including any data
00039 and utility programs needed for reproducing the Combined Work from the
00040 Application, but excluding the System Libraries of the Combined Work.
00041 
00042   1. Exception to Section 3 of the GNU GPL.
00043 
00044   You may convey a covered work under sections 3 and 4 of this License
00045 without being bound by section 3 of the GNU GPL.
00046 
00047   2. Conveying Modified Versions.
00048 
00049   If you modify a copy of the Library, and, in your modifications, a
00050 facility refers to a function or data to be supplied by an Application
00051 that uses the facility (other than as an argument passed when the
00052 facility is invoked), then you may convey a copy of the modified
00053 version:
00054 
00055    a) under this License, provided that you make a good faith effort to
00056    ensure that, in the event an Application does not supply the
00057    function or data, the facility still operates, and performs
00058    whatever part of its purpose remains meaningful, or
00059 
00060    b) under the GNU GPL, with none of the additional permissions of
00061    this License applicable to that copy.
00062 
00063   3. Object Code Incorporating Material from Library Header Files.
00064 
00065   The object code form of an Application may incorporate material from
00066 a header file that is part of the Library.  You may convey such object
00067 code under terms of your choice, provided that, if the incorporated
00068 material is not limited to numerical parameters, data structure
00069 layouts and accessors, or small macros, inline functions and templates
00070 (ten or fewer lines in length), you do both of the following:
00071 
00072    a) Give prominent notice with each copy of the object code that the
00073    Library is used in it and that the Library and its use are
00074    covered by this License.
00075 
00076    b) Accompany the object code with a copy of the GNU GPL and this license
00077    document.
00078 
00079   4. Combined Works.
00080 
00081   You may convey a Combined Work under terms of your choice that,
00082 taken together, effectively do not restrict modification of the
00083 portions of the Library contained in the Combined Work and reverse
00084 engineering for debugging such modifications, if you also do each of
00085 the following:
00086 
00087    a) Give prominent notice with each copy of the Combined Work that
00088    the Library is used in it and that the Library and its use are
00089    covered by this License.
00090 
00091    b) Accompany the Combined Work with a copy of the GNU GPL and this license
00092    document.
00093 
00094    c) For a Combined Work that displays copyright notices during
00095    execution, include the copyright notice for the Library among
00096    these notices, as well as a reference directing the user to the
00097    copies of the GNU GPL and this license document.
00098 
00099    d) Do one of the following:
00100 
00101        0) Convey the Minimal Corresponding Source under the terms of this
00102        License, and the Corresponding Application Code in a form
00103        suitable for, and under terms that permit, the user to
00104        recombine or relink the Application with a modified version of
00105        the Linked Version to produce a modified Combined Work, in the
00106        manner specified by section 6 of the GNU GPL for conveying
00107        Corresponding Source.
00108 
00109        1) Use a suitable shared library mechanism for linking with the
00110        Library.  A suitable mechanism is one that (a) uses at run time
00111        a copy of the Library already present on the user's computer
00112        system, and (b) will operate properly with a modified version
00113        of the Library that is interface-compatible with the Linked
00114        Version.
00115 
00116    e) Provide Installation Information, but only if you would otherwise
00117    be required to provide such information under section 6 of the
00118    GNU GPL, and only to the extent that such information is
00119    necessary to install and execute a modified version of the
00120    Combined Work produced by recombining or relinking the
00121    Application with a modified version of the Linked Version. (If
00122    you use option 4d0, the Installation Information must accompany
00123    the Minimal Corresponding Source and Corresponding Application
00124    Code. If you use option 4d1, you must provide the Installation
00125    Information in the manner specified by section 6 of the GNU GPL
00126    for conveying Corresponding Source.)
00127 
00128   5. Combined Libraries.
00129 
00130   You may place library facilities that are a work based on the
00131 Library side by side in a single library together with other library
00132 facilities that are not Applications and are not covered by this
00133 License, and convey such a combined library under terms of your
00134 choice, if you do both of the following:
00135 
00136    a) Accompany the combined library with a copy of the same work based
00137    on the Library, uncombined with any other library facilities,
00138    conveyed under the terms of this License.
00139 
00140    b) Give prominent notice with the combined library that part of it
00141    is a work based on the Library, and explaining where to find the
00142    accompanying uncombined form of the same work.
00143 
00144   6. Revised Versions of the GNU Lesser General Public License.
00145 
00146   The Free Software Foundation may publish revised and/or new versions
00147 of the GNU Lesser General Public License from time to time. Such new
00148 versions will be similar in spirit to the present version, but may
00149 differ in detail to address new problems or concerns.
00150 
00151   Each version is given a distinguishing version number. If the
00152 Library as you received it specifies that a certain numbered version
00153 of the GNU Lesser General Public License "or any later version"
00154 applies to it, you have the option of following the terms and
00155 conditions either of that published version or of any later version
00156 published by the Free Software Foundation. If the Library as you
00157 received it does not specify a version number of the GNU Lesser
00158 General Public License, you may choose any version of the GNU Lesser
00159 General Public License ever published by the Free Software Foundation.
00160 
00161   If the Library as you received it specifies that a proxy can decide
00162 whether future versions of the GNU Lesser General Public License shall
00163 apply, that proxy's public statement of acceptance of any version is
00164 permanent authorization for you to choose that version for the
00165 Library.