FPointer - A callback system that allows for 32bit unsigned ints to be passed to and from the callback.

Dependents:   FYPFinalProgram FYPFinalizeProgram KEYS SaveKeypad ... more

Committer:
AjK
Date:
Tue Jan 18 23:09:32 2011 +0000
Revision:
2:56e309e76c19
Parent:
1:d7803001a259
1.2 See ChangeLog.h

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AjK 0:fcfb13f40846 1 /*
AjK 1:d7803001a259 2 Copyright (c) 2011 Andy Kirkham
AjK 0:fcfb13f40846 3
AjK 0:fcfb13f40846 4 Permission is hereby granted, free of charge, to any person obtaining a copy
AjK 0:fcfb13f40846 5 of this software and associated documentation files (the "Software"), to deal
AjK 0:fcfb13f40846 6 in the Software without restriction, including without limitation the rights
AjK 0:fcfb13f40846 7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
AjK 0:fcfb13f40846 8 copies of the Software, and to permit persons to whom the Software is
AjK 0:fcfb13f40846 9 furnished to do so, subject to the following conditions:
AjK 0:fcfb13f40846 10
AjK 0:fcfb13f40846 11 The above copyright notice and this permission notice shall be included in
AjK 0:fcfb13f40846 12 all copies or substantial portions of the Software.
AjK 0:fcfb13f40846 13
AjK 0:fcfb13f40846 14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
AjK 0:fcfb13f40846 15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
AjK 0:fcfb13f40846 16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AjK 0:fcfb13f40846 17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
AjK 0:fcfb13f40846 18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
AjK 0:fcfb13f40846 19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
AjK 0:fcfb13f40846 20 THE SOFTWARE.
AjK 0:fcfb13f40846 21
AjK 2:56e309e76c19 22 1.2 18/Jan/2011
AjK 2:56e309e76c19 23 Added some additional documentation.
AjK 2:56e309e76c19 24
AjK 1:d7803001a259 25 1.1 18/Jan/2011
AjK 1:d7803001a259 26 Fixed the date in the copyright.
AjK 1:d7803001a259 27 Fixed some typos.
AjK 1:d7803001a259 28 Added the uint32_t call(void); method to allow simple calling the
AjK 1:d7803001a259 29 calback without passing an argument. The callback function itself
AjK 1:d7803001a259 30 still has to have a prototype uint32_t callback(uint32_t).
AjK 0:fcfb13f40846 31
AjK 0:fcfb13f40846 32 1.0 18/Jan/2011
AjK 0:fcfb13f40846 33 Initial release
AjK 0:fcfb13f40846 34
AjK 0:fcfb13f40846 35 */