FreeEMS  0.2.0-SNAPSHOT-285-g028e24c
flashBurn.h
Go to the documentation of this file.
1 /* FreeEMS - the open source engine management system
2  *
3  * Copyright 2008-2009 Fred Cooke
4  *
5  * This file is part of the FreeEMS project.
6  *
7  * FreeEMS software is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * FreeEMS software is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with any FreeEMS software. If not, see http://www.gnu.org/licenses/
19  *
20  * We ask that if you make any changes to this file you email them upstream to
21  * us at admin(at)diyefi(dot)org or, even better, fork the code on github.com!
22  *
23  * Thank you for choosing FreeEMS to run your engine!
24  */
25 
26 
27 /** @file
28  *
29  * @ingroup allHeaders
30  *
31  * @brief C header for assembly flash function
32  *
33  * Because we need to call the assembly flash burning function from C code an
34  * extern function declaration is required to allow successful compilation.
35  *
36  * @author Sean Keys
37  */
38 
39 
40 /* Header file multiple inclusion protection courtesy eclipse Header Template */
41 /* and http://gcc.gnu.org/onlinedocs/gcc-3.1.1/cpp/ C pre processor manual */
42 #ifndef FLASHBURN_H_SEEN
43 #define FLASHBURN_H_SEEN
44 
45 
46 extern void StackBurner();
47 
48 
49 #else
50  /* let us know if we are being untidy with headers */
51  #warning "Header file FLASHBURN_H seen before, sort it out!"
52 /* end of the wrapper ifdef from the very top */
53 #endif