rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
ford_1995_inline_6.cpp
Go to the documentation of this file.
1/**
2 * @file ford_1995_inline_6.cpp
3 * @brief Default engine configuration for a 1995 Ford inline 6 engine
4 *
5 * todo: adjust/remove/modernize "unit" tests which still depend on this config?
6 *
7 * FORD_INLINE_6_1995 = 7
8 * set engine_type 7
9 *
10 * @date Feb 12, 2014
11 * @author Andrey Belomutskiy, (c) 2012-2020
12 */
13
14#include "pch.h"
15
16#include "ford_1995_inline_6.h"
17
18/**
19 * @brief Default values for persistent properties
20 */
23
25
26 engineConfiguration->ignitionMode = IM_ONE_COIL;
27 engineConfiguration->firingOrder = FO_1_5_3_6_2_4;
30
31 /**
32 * 0.5ms dwell time just to be sure it would fit within camshaft revolution, dwell is not controlled by us anyway
33 */
34 setConstantDwell(FORD_INLINE_DWELL);
35
36 /**
37 * We treat the trigger as 6/0 toothed wheel
38 */
43
45
46 engineConfiguration->clt.config = {-10, 60, 120, 160310, 7700, 1180, 2700};
47 engineConfiguration->iat.config = {-10, 60, 120, 160310, 7700, 1180, 2700};
48
50
52
56
59
60 // engineConfiguration->vbattAdcChannel = 0; //
62
65}
@ Unassigned
void setConstantDwell(floatms_t dwellMs)
Sets the same dwell time across the whole getRpm() range set dwell X.
void setCamOperationMode()
static constexpr engine_configuration_s * engineConfiguration
void setFordInline6()
Default values for persistent properties.
brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT]