rusEFI
The most advanced open source ECU
|
Fundamental rusEFI enumerable types live here.
This and few over headers are part of integration API between C/C++ and code generator for memory meta and java code. TODO: move enums which should not be visible outside of the firmware out of 'integration API' headers like this one
Definition in file rusefi_enums.h.
Functions | |
enum | __attribute__ ((__packed__)) |
Ignition Mode. More... | |
|
strong |
enum gear_e |
Enumerator | |
---|---|
REVERSE | |
NEUTRAL | |
GEAR_1 | |
GEAR_2 | |
GEAR_3 | |
GEAR_4 |
Definition at line 498 of file rusefi_enums.h.
|
strong |
Enumerator | |
---|---|
None | |
ButtonShift | |
Automatic | |
Generic |
Definition at line 713 of file rusefi_enums.h.
|
strong |
|
strong |
Enumerator | |
---|---|
OFF | |
ID200 | |
ID220 | |
ID240 |
Definition at line 200 of file rusefi_enums.h.
|
strong |
Enumerator | |
---|---|
OFF | |
VR12 | |
HALL34 | |
ALL1234 |
Definition at line 207 of file rusefi_enums.h.
enum operation_mode_e |
Definition at line 247 of file rusefi_enums.h.
|
strong |
Enumerator | |
---|---|
Invalid | |
ManualPlus | |
ManualMinus | |
Park | |
Reverse | |
Neutral | |
Drive | |
Manual | |
Manual3 | |
Manual2 | |
Manual1 | |
Low |
Definition at line 733 of file rusefi_enums.h.
|
strong |
Enumerator | |
---|---|
NONE | |
GM_TYPE_1 | |
FORD_TYPE_1 | |
CUSTOM |
Definition at line 187 of file rusefi_enums.h.
|
strong |
Enumerator | |
---|---|
None | |
SimpleTransmissionController | |
Generic4 | |
Gm4l6x |
Definition at line 720 of file rusefi_enums.h.
|
strong |
Enumerator | |
---|---|
T_PRIMARY | |
T_SECONDARY |
Definition at line 47 of file rusefi_enums.h.
|
strong |
Enumerator | |
---|---|
None | |
Tps1Max | |
Tps1Min | |
EtbKp | |
EtbKi | |
EtbKd | |
Tps1SecondaryMax | |
Tps1SecondaryMin | |
Tps2Max | |
Tps2Min | |
Tps2SecondaryMax | |
Tps2SecondaryMin | |
PedalMin | |
PedalMax |
Definition at line 696 of file rusefi_enums.h.
|
strong |
Enumerator | |
---|---|
FULL | |
INSTALLATION | |
TUNING |
Definition at line 214 of file rusefi_enums.h.
enum __attribute__ | ( | (__packed__) | ) |
Ignition Mode.
This enum is used to select your desired Engine Load calculation algorithm
See spi3mosiPin See spi2MisoMode
inertia measurement unit, yawn accelerometer By the way both kinds of BOSCH use Housing : TE 1-967640-1, pins 144969-1 seal 967056-1 plug 967067-2
Net Body Computer types
This mode is useful for troubleshooting and research - events are logged but no effects on phase synchronization
Single tooth on the camshaft anywhere in the 720 degree cycle
Toyota 2JZ has three cam tooth. We pick one of these three tooth to synchronize based on the expected angle position of the event
Mazda NB2 has three cam tooth. We synchronize based on gap ratio.
1.8l Toyota 1ZZ-FE https://rusefi.com/forum/viewtopic.php?f=3&t=1735 4 minus one
4 equally spaced no way to sync
4 plus one
Speed Density algorithm - Engine Load is a function of MAP, VE and target AFR http://articles.sae.org/8539/
MAF with a known kg/hour function
In auto mode we currently have some pid-like-but-not really PID logic which is trying to get idle RPM to desired value by dynamically adjusting idle valve position. TODO: convert to PID
Manual idle control is extremely simple: user just specifies desired idle valve position which could be adjusted according to current CLT
GND for logical OFF, VCC for logical ON
GND for logical ON, VCC for logical OFF
logical OFF is floating, logical ON is GND
in this mode only SPARKOUT_1_OUTPUT is used
in this mode we use as many coils as we have cylinders
some v12 engines line BMW M70 and M73 run two distributors, one for each bank of cylinders
each cylinder has it's own injector but they all works in parallel
each cylinder has it's own injector, each injector is wired separately
each cylinder has it's own injector but these injectors work in pairs. Injectors could be wired in pairs or separately. Each pair is fired once per engine cycle todo: we might want to implement one additional mode where each pair of injectors is floating twice per engine cycle. todo: this could reduce phase offset from injection to stroke but would not work great for large injectors
only one injector located in throttle body
Mercedes pn: A 006 542 26 18 Almost the same as BOSCH above, but XY only and different CAN IDs
same as innovate LC2 0v->7.35afr, 5v->22.39
Same as AEM 0v->10.0afr 5v->20.0afr
20 to 250 kPa (2.9 to 36.3 psi) 0.2 to 4.9 V OUTPUT
22012AA090
16040749
20 to 105 kPa (2.9 to 15.2 psi) 0.3 to 4.9 V Output
http://rusefi.com/forum/viewtopic.php?f=3&t=906&p=18976#p18976 Toyota 89420-02010
20 to 250 kPa (2.9 to 36.3 psi) 0.25 to 4.875 OUTPUT More precise calibration data for new NXP sensor revisions MPX4250A and MPXA4250A. For an old Freescale MPX4250D use "MT_MPX4250". See https://www.nxp.com/docs/en/data-sheet/MPX4250A.pdf
Bosch 2.5 Bar TMap Map Sensor with IAT 20 kPa at 0.40V, 250 kPa at 4.65V 4 pin: Pin 1 : Sensor Ground Pin 2 : Temp Signal Pin 3 : 5v Pin 4 : Map Signal Volkswagen Passat B6
4 bar
3 bar
You would use this value if you want to see a detailed graph of your trigger events
This is the default mode in which ECU controls timing dynamically
Fixed timing is useful while you are playing with a timing gun - you need to have fixed timing if you want to install your distributor at some specific angle
Definition at line 1 of file rusefi_enums.h.
air_pressure_sensor_type_e |
Definition at line 483 of file rusefi_enums.h.
antiLagActivationMode_e |
Definition at line 584 of file rusefi_enums.h.
boostType_e |
Definition at line 572 of file rusefi_enums.h.
brain_pin_diag_e |
Definition at line 43 of file rusefi_enums.h.
Referenced by benchOff(), reportPins(), and tle8888_2b_to_diag_with_temp().
can_baudrate_e |
Definition at line 624 of file rusefi_enums.h.
can_nbc_e |
Definition at line 548 of file rusefi_enums.h.
Referenced by setCanType().
can_vss_nbc_e |
Definition at line 372 of file rusefi_enums.h.
Referenced by setCanVss().
dc_function_e |
Definition at line 653 of file rusefi_enums.h.
display_mode_e |
Definition at line 152 of file rusefi_enums.h.
ego_sensor_e |
Definition at line 415 of file rusefi_enums.h.
engine_load_mode_e |
Definition at line 144 of file rusefi_enums.h.
Referenced by lua_getAirmassResolveMode(), and setAlgorithmInt().
fuel_pressure_sensor_mode_e |
Definition at line 677 of file rusefi_enums.h.
gppwm_channel_e |
Definition at line 614 of file rusefi_enums.h.
gppwm_compare_mode_e |
Definition at line 629 of file rusefi_enums.h.
hpfp_cam_e |
Definition at line 691 of file rusefi_enums.h.
idle_mode_e |
Definition at line 185 of file rusefi_enums.h.
idle_state_e |
Definition at line 565 of file rusefi_enums.h.
ignition_mode_e |
Definition at line 305 of file rusefi_enums.h.
Referenced by getCurrentIgnitionMode(), and setIgnitionMode().
imu_type_e |
Definition at line 393 of file rusefi_enums.h.
injection_mode_e |
Definition at line 331 of file rusefi_enums.h.
Referenced by getInjectionModeDurationMultiplier(), setCrankingInjectionMode(), setInjectionMode(), and InjectionEvent::update().
injector_compensation_mode_e |
Definition at line 671 of file rusefi_enums.h.
injector_pressure_type_e |
Definition at line 665 of file rusefi_enums.h.
InjectorNonlinearMode |
Definition at line 683 of file rusefi_enums.h.
launchActivationMode_e |
Definition at line 579 of file rusefi_enums.h.
load_override_e |
Definition at line 643 of file rusefi_enums.h.
maf_sensor_type_e |
Definition at line 514 of file rusefi_enums.h.
mc33810maxDwellTimer_e |
Definition at line 170 of file rusefi_enums.h.
pin_input_mode_e |
Definition at line 240 of file rusefi_enums.h.
pin_output_mode_e |
Definition at line 234 of file rusefi_enums.h.
Referenced by RegisteredOutputPin::init(), RegisteredOutputPin::isPinConfigurationChanged(), and startTriggerEmulatorPins().
sensor_chart_e |
Definition at line 496 of file rusefi_enums.h.
Referenced by setSensorChartMode().
spi_device_e |
Definition at line 361 of file rusefi_enums.h.
spi_speed_e |
Definition at line 346 of file rusefi_enums.h.
stepper_num_micro_steps_e |
Definition at line 660 of file rusefi_enums.h.
tChargeMode_e |
Definition at line 555 of file rusefi_enums.h.
timing_mode_e |
Definition at line 527 of file rusefi_enums.h.
Referenced by setTimingMode().
tle8888_mode_e |
Definition at line 160 of file rusefi_enums.h.
uart_device_e |
Definition at line 339 of file rusefi_enums.h.
ve_override_e |
Definition at line 635 of file rusefi_enums.h.
vvt_mode_e |
Definition at line 120 of file rusefi_enums.h.
Referenced by adjustCrankPhase(), and setValue().