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

Committer:
Ivop
Date:
Wed Jan 04 01:42:56 2012 +0000
Revision:
2:148b9af2b336
Parent:
0:7a91348b4a02
fixed bug in fl_uart_send_byte. thanks to smayr for finding it

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Ivop 0:7a91348b4a02 1 GNU LESSER GENERAL PUBLIC LICENSE
Ivop 0:7a91348b4a02 2 Version 3, 29 June 2007
Ivop 0:7a91348b4a02 3
Ivop 0:7a91348b4a02 4 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Ivop 0:7a91348b4a02 5 Everyone is permitted to copy and distribute verbatim copies
Ivop 0:7a91348b4a02 6 of this license document, but changing it is not allowed.
Ivop 0:7a91348b4a02 7
Ivop 0:7a91348b4a02 8
Ivop 0:7a91348b4a02 9 This version of the GNU Lesser General Public License incorporates
Ivop 0:7a91348b4a02 10 the terms and conditions of version 3 of the GNU General Public
Ivop 0:7a91348b4a02 11 License, supplemented by the additional permissions listed below.
Ivop 0:7a91348b4a02 12
Ivop 0:7a91348b4a02 13 0. Additional Definitions.
Ivop 0:7a91348b4a02 14
Ivop 0:7a91348b4a02 15 As used herein, "this License" refers to version 3 of the GNU Lesser
Ivop 0:7a91348b4a02 16 General Public License, and the "GNU GPL" refers to version 3 of the GNU
Ivop 0:7a91348b4a02 17 General Public License.
Ivop 0:7a91348b4a02 18
Ivop 0:7a91348b4a02 19 "The Library" refers to a covered work governed by this License,
Ivop 0:7a91348b4a02 20 other than an Application or a Combined Work as defined below.
Ivop 0:7a91348b4a02 21
Ivop 0:7a91348b4a02 22 An "Application" is any work that makes use of an interface provided
Ivop 0:7a91348b4a02 23 by the Library, but which is not otherwise based on the Library.
Ivop 0:7a91348b4a02 24 Defining a subclass of a class defined by the Library is deemed a mode
Ivop 0:7a91348b4a02 25 of using an interface provided by the Library.
Ivop 0:7a91348b4a02 26
Ivop 0:7a91348b4a02 27 A "Combined Work" is a work produced by combining or linking an
Ivop 0:7a91348b4a02 28 Application with the Library. The particular version of the Library
Ivop 0:7a91348b4a02 29 with which the Combined Work was made is also called the "Linked
Ivop 0:7a91348b4a02 30 Version".
Ivop 0:7a91348b4a02 31
Ivop 0:7a91348b4a02 32 The "Minimal Corresponding Source" for a Combined Work means the
Ivop 0:7a91348b4a02 33 Corresponding Source for the Combined Work, excluding any source code
Ivop 0:7a91348b4a02 34 for portions of the Combined Work that, considered in isolation, are
Ivop 0:7a91348b4a02 35 based on the Application, and not on the Linked Version.
Ivop 0:7a91348b4a02 36
Ivop 0:7a91348b4a02 37 The "Corresponding Application Code" for a Combined Work means the
Ivop 0:7a91348b4a02 38 object code and/or source code for the Application, including any data
Ivop 0:7a91348b4a02 39 and utility programs needed for reproducing the Combined Work from the
Ivop 0:7a91348b4a02 40 Application, but excluding the System Libraries of the Combined Work.
Ivop 0:7a91348b4a02 41
Ivop 0:7a91348b4a02 42 1. Exception to Section 3 of the GNU GPL.
Ivop 0:7a91348b4a02 43
Ivop 0:7a91348b4a02 44 You may convey a covered work under sections 3 and 4 of this License
Ivop 0:7a91348b4a02 45 without being bound by section 3 of the GNU GPL.
Ivop 0:7a91348b4a02 46
Ivop 0:7a91348b4a02 47 2. Conveying Modified Versions.
Ivop 0:7a91348b4a02 48
Ivop 0:7a91348b4a02 49 If you modify a copy of the Library, and, in your modifications, a
Ivop 0:7a91348b4a02 50 facility refers to a function or data to be supplied by an Application
Ivop 0:7a91348b4a02 51 that uses the facility (other than as an argument passed when the
Ivop 0:7a91348b4a02 52 facility is invoked), then you may convey a copy of the modified
Ivop 0:7a91348b4a02 53 version:
Ivop 0:7a91348b4a02 54
Ivop 0:7a91348b4a02 55 a) under this License, provided that you make a good faith effort to
Ivop 0:7a91348b4a02 56 ensure that, in the event an Application does not supply the
Ivop 0:7a91348b4a02 57 function or data, the facility still operates, and performs
Ivop 0:7a91348b4a02 58 whatever part of its purpose remains meaningful, or
Ivop 0:7a91348b4a02 59
Ivop 0:7a91348b4a02 60 b) under the GNU GPL, with none of the additional permissions of
Ivop 0:7a91348b4a02 61 this License applicable to that copy.
Ivop 0:7a91348b4a02 62
Ivop 0:7a91348b4a02 63 3. Object Code Incorporating Material from Library Header Files.
Ivop 0:7a91348b4a02 64
Ivop 0:7a91348b4a02 65 The object code form of an Application may incorporate material from
Ivop 0:7a91348b4a02 66 a header file that is part of the Library. You may convey such object
Ivop 0:7a91348b4a02 67 code under terms of your choice, provided that, if the incorporated
Ivop 0:7a91348b4a02 68 material is not limited to numerical parameters, data structure
Ivop 0:7a91348b4a02 69 layouts and accessors, or small macros, inline functions and templates
Ivop 0:7a91348b4a02 70 (ten or fewer lines in length), you do both of the following:
Ivop 0:7a91348b4a02 71
Ivop 0:7a91348b4a02 72 a) Give prominent notice with each copy of the object code that the
Ivop 0:7a91348b4a02 73 Library is used in it and that the Library and its use are
Ivop 0:7a91348b4a02 74 covered by this License.
Ivop 0:7a91348b4a02 75
Ivop 0:7a91348b4a02 76 b) Accompany the object code with a copy of the GNU GPL and this license
Ivop 0:7a91348b4a02 77 document.
Ivop 0:7a91348b4a02 78
Ivop 0:7a91348b4a02 79 4. Combined Works.
Ivop 0:7a91348b4a02 80
Ivop 0:7a91348b4a02 81 You may convey a Combined Work under terms of your choice that,
Ivop 0:7a91348b4a02 82 taken together, effectively do not restrict modification of the
Ivop 0:7a91348b4a02 83 portions of the Library contained in the Combined Work and reverse
Ivop 0:7a91348b4a02 84 engineering for debugging such modifications, if you also do each of
Ivop 0:7a91348b4a02 85 the following:
Ivop 0:7a91348b4a02 86
Ivop 0:7a91348b4a02 87 a) Give prominent notice with each copy of the Combined Work that
Ivop 0:7a91348b4a02 88 the Library is used in it and that the Library and its use are
Ivop 0:7a91348b4a02 89 covered by this License.
Ivop 0:7a91348b4a02 90
Ivop 0:7a91348b4a02 91 b) Accompany the Combined Work with a copy of the GNU GPL and this license
Ivop 0:7a91348b4a02 92 document.
Ivop 0:7a91348b4a02 93
Ivop 0:7a91348b4a02 94 c) For a Combined Work that displays copyright notices during
Ivop 0:7a91348b4a02 95 execution, include the copyright notice for the Library among
Ivop 0:7a91348b4a02 96 these notices, as well as a reference directing the user to the
Ivop 0:7a91348b4a02 97 copies of the GNU GPL and this license document.
Ivop 0:7a91348b4a02 98
Ivop 0:7a91348b4a02 99 d) Do one of the following:
Ivop 0:7a91348b4a02 100
Ivop 0:7a91348b4a02 101 0) Convey the Minimal Corresponding Source under the terms of this
Ivop 0:7a91348b4a02 102 License, and the Corresponding Application Code in a form
Ivop 0:7a91348b4a02 103 suitable for, and under terms that permit, the user to
Ivop 0:7a91348b4a02 104 recombine or relink the Application with a modified version of
Ivop 0:7a91348b4a02 105 the Linked Version to produce a modified Combined Work, in the
Ivop 0:7a91348b4a02 106 manner specified by section 6 of the GNU GPL for conveying
Ivop 0:7a91348b4a02 107 Corresponding Source.
Ivop 0:7a91348b4a02 108
Ivop 0:7a91348b4a02 109 1) Use a suitable shared library mechanism for linking with the
Ivop 0:7a91348b4a02 110 Library. A suitable mechanism is one that (a) uses at run time
Ivop 0:7a91348b4a02 111 a copy of the Library already present on the user's computer
Ivop 0:7a91348b4a02 112 system, and (b) will operate properly with a modified version
Ivop 0:7a91348b4a02 113 of the Library that is interface-compatible with the Linked
Ivop 0:7a91348b4a02 114 Version.
Ivop 0:7a91348b4a02 115
Ivop 0:7a91348b4a02 116 e) Provide Installation Information, but only if you would otherwise
Ivop 0:7a91348b4a02 117 be required to provide such information under section 6 of the
Ivop 0:7a91348b4a02 118 GNU GPL, and only to the extent that such information is
Ivop 0:7a91348b4a02 119 necessary to install and execute a modified version of the
Ivop 0:7a91348b4a02 120 Combined Work produced by recombining or relinking the
Ivop 0:7a91348b4a02 121 Application with a modified version of the Linked Version. (If
Ivop 0:7a91348b4a02 122 you use option 4d0, the Installation Information must accompany
Ivop 0:7a91348b4a02 123 the Minimal Corresponding Source and Corresponding Application
Ivop 0:7a91348b4a02 124 Code. If you use option 4d1, you must provide the Installation
Ivop 0:7a91348b4a02 125 Information in the manner specified by section 6 of the GNU GPL
Ivop 0:7a91348b4a02 126 for conveying Corresponding Source.)
Ivop 0:7a91348b4a02 127
Ivop 0:7a91348b4a02 128 5. Combined Libraries.
Ivop 0:7a91348b4a02 129
Ivop 0:7a91348b4a02 130 You may place library facilities that are a work based on the
Ivop 0:7a91348b4a02 131 Library side by side in a single library together with other library
Ivop 0:7a91348b4a02 132 facilities that are not Applications and are not covered by this
Ivop 0:7a91348b4a02 133 License, and convey such a combined library under terms of your
Ivop 0:7a91348b4a02 134 choice, if you do both of the following:
Ivop 0:7a91348b4a02 135
Ivop 0:7a91348b4a02 136 a) Accompany the combined library with a copy of the same work based
Ivop 0:7a91348b4a02 137 on the Library, uncombined with any other library facilities,
Ivop 0:7a91348b4a02 138 conveyed under the terms of this License.
Ivop 0:7a91348b4a02 139
Ivop 0:7a91348b4a02 140 b) Give prominent notice with the combined library that part of it
Ivop 0:7a91348b4a02 141 is a work based on the Library, and explaining where to find the
Ivop 0:7a91348b4a02 142 accompanying uncombined form of the same work.
Ivop 0:7a91348b4a02 143
Ivop 0:7a91348b4a02 144 6. Revised Versions of the GNU Lesser General Public License.
Ivop 0:7a91348b4a02 145
Ivop 0:7a91348b4a02 146 The Free Software Foundation may publish revised and/or new versions
Ivop 0:7a91348b4a02 147 of the GNU Lesser General Public License from time to time. Such new
Ivop 0:7a91348b4a02 148 versions will be similar in spirit to the present version, but may
Ivop 0:7a91348b4a02 149 differ in detail to address new problems or concerns.
Ivop 0:7a91348b4a02 150
Ivop 0:7a91348b4a02 151 Each version is given a distinguishing version number. If the
Ivop 0:7a91348b4a02 152 Library as you received it specifies that a certain numbered version
Ivop 0:7a91348b4a02 153 of the GNU Lesser General Public License "or any later version"
Ivop 0:7a91348b4a02 154 applies to it, you have the option of following the terms and
Ivop 0:7a91348b4a02 155 conditions either of that published version or of any later version
Ivop 0:7a91348b4a02 156 published by the Free Software Foundation. If the Library as you
Ivop 0:7a91348b4a02 157 received it does not specify a version number of the GNU Lesser
Ivop 0:7a91348b4a02 158 General Public License, you may choose any version of the GNU Lesser
Ivop 0:7a91348b4a02 159 General Public License ever published by the Free Software Foundation.
Ivop 0:7a91348b4a02 160
Ivop 0:7a91348b4a02 161 If the Library as you received it specifies that a proxy can decide
Ivop 0:7a91348b4a02 162 whether future versions of the GNU Lesser General Public License shall
Ivop 0:7a91348b4a02 163 apply, that proxy's public statement of acceptance of any version is
Ivop 0:7a91348b4a02 164 permanent authorization for you to choose that version for the
Ivop 0:7a91348b4a02 165 Library.