rusEFI
The most advanced open source ECU
Functions
ford_1995_inline_6.h File Reference

Functions

void setFordInline6 ()
 Default values for persistent properties. More...
 

Function Documentation

◆ setFordInline6()

void setFordInline6 ( )

Default values for persistent properties.

0.5ms dwell time just to be sure it would fit within camshaft revolution, dwell is not controlled by us anyway

We treat the trigger as 6/0 toothed wheel

Definition at line 21 of file ford_1995_inline_6.cpp.

21  {
23 
25 
26  engineConfiguration->ignitionMode = IM_ONE_COIL;
27  engineConfiguration->firingOrder = FO_1_5_3_6_2_4;
28  engineConfiguration->crankingInjectionMode = IM_SIMULTANEOUS;
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 
49  // 12ch analog board pinout:
50  // input channel 3 is PA7, that's ADC7
51  // input channel 5 is PA4, that's ADC4
52  // input channel 6 is PA3, that's ADC3
53  // input channel 7 is PA2, that's ADC2
54  // input channel 8 is PA1, that's ADC1
55  // input channel 9 is PA0, that's ADC0
56  // input channel 10 is PC3, that's ADC13
57  // input channel 12 is PC1, that's ADC11
58 
60  engineConfiguration->iat.adcChannel = EFI_ADC_2;
61  engineConfiguration->clt.adcChannel = EFI_ADC_1;
62  engineConfiguration->afr.hwChannel = EFI_ADC_11;
63 
64  engineConfiguration->map.sensor.type = MT_MPX4250;
66  engineConfiguration->baroSensor.type = MT_MPX4250;
68 
69  // 6 channel output board
70  // output 1 is PB9
71  // output 3 is PE3
72  // output 5 is PC13
73  // output 6 is PC15
74 
79 
82 
85 
86  // engineConfiguration->vbattAdcChannel = 0; //
88 
91 }
@ Unassigned
void setConstantDwell(floatms_t dwellMs)
Sets the same dwell time across the whole getRpm() range set dwell X.
void setCamOperationMode()
engine_configuration_s * engineConfiguration
brain_input_pin_e triggerInputPins[TRIGGER_INPUT_PIN_COUNT]
constexpr int convertVoltageTo10bitADC(float voltage)
Definition: tps.h:21

Referenced by resetConfigurationExt().

Here is the call graph for this function:
Here is the caller graph for this function:

Go to the source code of this file.