FreeEMS  0.2.0-SNAPSHOT-285-g028e24c
EvenTeeth-Template-Xand1.c
Go to the documentation of this file.
1 /* FreeEMS - the open source engine management system
2  *
3  * Copyright 2011-2012 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 interruptHandlers
30  * @ingroup enginePositionRPMDecoders
31  *
32  * @brief Template showing how to setup each available type of even tooth decoder.
33  *
34  * If copying this file to make a new decoder variant, please edit this comment block to describe the purpose.
35  *
36  * @see EvenTeeth-Xand1.c
37  */
38 
39 
40 #define DECODER_IMPLEMENTATION_C
41 
42 
43 // Uncomment ONE of these ONLY! Edit values to suit.
44 
45 // TEST dizzy 4 cyl use (early 4AGE engine)
46 //#define WITH_COMBUSTION_SYNC
47 //#define NUMBER_OF_EVENTS_PER_SYNC 6
48 //#define CYLINDER_COUNT 4
49 //#define TOTAL_EVENT_COUNT 24
50 
51 // OR
52 
53 // TEST crank use
54 //#define WITH_CRANK_SYNC
55 //#define NUMBER_OF_EVENTS_ON_CRANK 12
56 
57 // OR
58 
59 // TEST cam use
60 //#define WITH_CAM_SYNC
61 //#define NUMBER_OF_EVENTS_ON_CAM 24
62 
63 
64 #include "inc/EvenTeeth-Xand1.h"
65 #include "code/EvenTeeth-Xand1.c"