2015-07-10 06:01:56 -07:00
|
|
|
/**
|
|
|
|
* @file ford_fiesta.cpp
|
|
|
|
* @brief European 1990 Ford Fiesta
|
|
|
|
*
|
|
|
|
* FORD_FIESTA = 4
|
2017-01-06 07:04:41 -08:00
|
|
|
* set engine_type 4
|
2015-07-10 06:01:56 -07:00
|
|
|
*
|
|
|
|
* @date Nov 22, 2013
|
2018-01-20 17:42:19 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2018
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
2018-09-16 19:25:17 -07:00
|
|
|
#include "global.h"
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
#if EFI_SUPPORT_FORD_FIESTA || defined(__DOXYGEN__)
|
|
|
|
|
|
|
|
#include "ford_fiesta.h"
|
|
|
|
#include "engine_math.h"
|
|
|
|
|
|
|
|
EXTERN_ENGINE;
|
|
|
|
|
2017-05-15 20:33:22 -07:00
|
|
|
void setFordFiestaDefaultEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
2015-07-10 06:01:56 -07:00
|
|
|
engineConfiguration->rpmHardLimit = 7000;
|
|
|
|
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
|
|
|
|
|
|
|
|
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL_36_1;
|
|
|
|
|
|
|
|
engineConfiguration->ignitionMode = IM_WASTED_SPARK;
|
2016-07-20 16:04:27 -07:00
|
|
|
engineConfiguration->specs.firingOrder = FO_1_3_4_2;
|
2015-07-10 17:01:36 -07:00
|
|
|
engineConfiguration->afr.hwChannel = EFI_ADC_NONE;
|
2015-07-10 06:01:56 -07:00
|
|
|
engineConfiguration->mafAdcChannel = EFI_ADC_14;
|
|
|
|
// engineConfiguration->mafAdcChannel = EFI_ADC_NONE; this would kill functional tests
|
|
|
|
|
|
|
|
|
|
|
|
// etb testing
|
|
|
|
// boardConfiguration->clutchUpPin
|
|
|
|
boardConfiguration->etbControlPin1 = GPIOD_3;
|
2018-11-29 21:17:55 -08:00
|
|
|
engineConfiguration->pedalPositionAdcChannel = EFI_ADC_1;
|
2015-07-10 17:01:36 -07:00
|
|
|
boardConfiguration->etbDirectionPin2 = GPIOD_5;
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
engineConfiguration->tpsMin = 337;
|
|
|
|
engineConfiguration->tpsMax = 896;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* EFI_SUPPORT_FORD_FIESTA */
|