rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
ford_festiva.cpp
Go to the documentation of this file.
1/*
2 * @file ford_festiva.cpp
3 *
4 * todo: revisit "unit" tests and remove this configuration?
5 *
6 * http://rusefi.com/wiki/index.php?title=Vehicle:Mazda_Protege_1993
7 * http://rusefi.com/forum/viewtopic.php?f=3&t=537
8 * http://rusefi.com/forum/viewtopic.php?f=3&t=822
9 *
10 * @date Jan 3, 2016
11 * @author Andrey Belomutskiy, (c) 2012-2020
12 */
13
14#include "pch.h"
15
16#include "ford_festiva.h"
17#include "custom_engine.h"
18
19/**
20 * pin 1I/W9 - extra +5v
21 * set engine_type 14
22 */
25
27 setAlgorithm(engine_load_mode_e::LM_SPEED_DENSITY);
28
29 // in case of DOHC distributor we have two signals
31 engineConfiguration->triggerInputPins[1] = Gpio::A5; // 2E White CKP
32 // set global_trigger_offset_angle -37
34
35 // todo: change to 15?
36 // set cranking_timing_angle 3
38
40 engineConfiguration->ignitionMode = IM_INDIVIDUAL_COILS;
41
44}
45
static constexpr engine_configuration_s * engineConfiguration
void setAlgorithm(engine_load_mode_e algo)
void setSingleCoilDwell()
void setFordEscortGt()
brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT]