rusEFI
The most advanced open source ECU
Functions
vw.cpp File Reference

Functions

void setVwAba ()
 
void setHellen121Vag_5_cyl ()
 
void setHellen121Vag_vr6_cyl ()
 
void setHellen121Vag_v6_cyl ()
 
void setHellen121Vag_8_cyl ()
 

Function Documentation

◆ setHellen121Vag_5_cyl()

void setHellen121Vag_5_cyl ( )

Definition at line 63 of file vw.cpp.

Referenced by resetConfigurationExt().

Here is the caller graph for this function:

◆ setHellen121Vag_8_cyl()

void setHellen121Vag_8_cyl ( )

Definition at line 83 of file vw.cpp.

83  {
86  engineConfiguration->firingOrder = FO_1_5_4_8_6_3_7_2;
87 }

Referenced by resetConfigurationExt().

Here is the caller graph for this function:

◆ setHellen121Vag_v6_cyl()

void setHellen121Vag_v6_cyl ( )

Definition at line 74 of file vw.cpp.

74  {
77 
78  engineConfiguration->camInputs[1 * CAMS_PER_BANK] = Gpio::A7; // 87a
79 
80  engineConfiguration->firingOrder = FO_1_4_3_6_2_5;
81 }

Referenced by resetConfigurationExt().

Here is the caller graph for this function:

◆ setHellen121Vag_vr6_cyl()

void setHellen121Vag_vr6_cyl ( )

Definition at line 69 of file vw.cpp.

69  {
71  engineConfiguration->firingOrder = FO_1_5_3_6_2_4;
72 }

Referenced by resetConfigurationExt().

Here is the caller graph for this function:

◆ setVwAba()

void setVwAba ( )

Definition at line 18 of file vw.cpp.

18  {
20 
22  // set cranking_timing_angle 10
24 
25  // set global_trigger_offset_angle 93
27 
30 
31  //Base engine setting
32  setInline4();
34  engineConfiguration->injector.flow = 320; // 30lb/h
35  // set algorithm 3
36  setAlgorithm(LM_SPEED_DENSITY);
37  engineConfiguration->map.sensor.type = MT_GM_3_BAR;
38 
39  engineConfiguration->ignitionMode = IM_ONE_COIL;
40 
41 #ifdef HW_FRANKENSO
43  engineConfiguration->ignitionPins[0] = Gpio::E14; // Frankenso high side - pin 1G
47 
48  engineConfiguration->idlePositionChannel = EFI_ADC_3; // PA3
49  engineConfiguration->wastegatePositionSensor = EFI_ADC_4; // PA4
50 #endif // HW_FRANKENSO
51 
52  float mapRange = 110;
53 
54  setEgoSensor(ES_PLX);
55  setFuelTablesLoadBin(20, mapRange);
56  setLinearCurve(config->ignitionLoadBins, 20, mapRange);
57 
61 }
@ Unassigned
void setFrankensoConfiguration()
void setInline4()
void setEgoSensor(ego_sensor_e type)
Definition: ego.cpp:89
void setCrankOperationMode()
void setWholeTimingTable(angle_t value)
void setFuelTablesLoadBin(float minValue, float maxValue)
void setAlgorithm(engine_load_mode_e algo)
persistent_config_s * config
void setLinearCurve(TValue(&array)[TSize], float from, float to, float precision=0.01f)
Definition: table_helper.h:139

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.