00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00043 #define INJECTIONISRS_C
00044 #include "inc/freeEMS.h"
00045 #include "inc/interrupts.h"
00046 #include "inc/injectionISRs.h"
00047
00048
00049
00050
00051 void StagedOnISR(void){
00052
00053 PITINTE |= 0x04;
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063 if(!(fixedConfigs1.coreSettingsA & STAGED_END)){
00064
00065 }
00066
00067
00068
00069 }
00070
00071
00072 void StagedOffISR(void){
00073
00074 PITINTE |= 0x08;
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085 }
00086
00087
00088
00089
00090
00091 #define INJECTOR_CHANNEL_NUMBER 0
00092 #define InjectorXISR Injector1ISR
00093 #define STAGEDXOFF STAGED1OFF
00094 #define STAGEDXON STAGED1ON
00095 #include "inc/injectorISR.c"
00096 #undef InjectorXISR
00097 #undef STAGEDXOFF
00098 #undef STAGEDXON
00099 #undef INJECTOR_CHANNEL_NUMBER
00100
00101
00102 #define INJECTOR_CHANNEL_NUMBER 1
00103 #define InjectorXISR Injector2ISR
00104 #define STAGEDXOFF STAGED2OFF
00105 #define STAGEDXON STAGED2ON
00106 #include "inc/injectorISR.c"
00107 #undef InjectorXISR
00108 #undef STAGEDXOFF
00109 #undef STAGEDXON
00110 #undef INJECTOR_CHANNEL_NUMBER
00111
00112
00113 #define INJECTOR_CHANNEL_NUMBER 2
00114 #define InjectorXISR Injector3ISR
00115 #define STAGEDXOFF STAGED3OFF
00116 #define STAGEDXON STAGED3ON
00117 #include "inc/injectorISR.c"
00118 #undef InjectorXISR
00119 #undef STAGEDXOFF
00120 #undef STAGEDXON
00121 #undef INJECTOR_CHANNEL_NUMBER
00122
00123
00124 #define INJECTOR_CHANNEL_NUMBER 3
00125 #define InjectorXISR Injector4ISR
00126 #define STAGEDXOFF STAGED4OFF
00127 #define STAGEDXON STAGED4ON
00128 #include "inc/injectorISR.c"
00129 #undef InjectorXISR
00130 #undef STAGEDXOFF
00131 #undef STAGEDXON
00132 #undef INJECTOR_CHANNEL_NUMBER
00133
00134
00135 #define INJECTOR_CHANNEL_NUMBER 4
00136 #define InjectorXISR Injector5ISR
00137 #define STAGEDXOFF STAGED5OFF
00138 #define STAGEDXON STAGED5ON
00139 #include "inc/injectorISR.c"
00140 #undef InjectorXISR
00141 #undef STAGEDXOFF
00142 #undef STAGEDXON
00143 #undef INJECTOR_CHANNEL_NUMBER
00144
00145
00146 #define INJECTOR_CHANNEL_NUMBER 5
00147 #define InjectorXISR Injector6ISR
00148 #define STAGEDXOFF STAGED6OFF
00149 #define STAGEDXON STAGED6ON
00150 #include "inc/injectorISR.c"
00151 #undef InjectorXISR
00152 #undef STAGEDXOFF
00153 #undef STAGEDXON
00154 #undef INJECTOR_CHANNEL_NUMBER
00155
00156