Custom Auto-generated Configs

[no ci]
This commit is contained in:
GitHub git update Action 2024-09-06 01:18:33 +00:00
parent c834d1f570
commit 0aba4583f4
37 changed files with 6569 additions and 1570 deletions

View File

@ -180,6 +180,8 @@ entry = vssEdgeCounter, "vssEdgeCounter", int, "%d"
entry = issEdgeCounter, "issEdgeCounter", int, "%d" entry = issEdgeCounter, "issEdgeCounter", int, "%d"
entry = auxLinear1, "Aux linear #1", float, "%.3f" entry = auxLinear1, "Aux linear #1", float, "%.3f"
entry = auxLinear2, "Aux linear #2", float, "%.3f" entry = auxLinear2, "Aux linear #2", float, "%.3f"
entry = auxLinear3, "Aux linear #3", float, "%.3f"
entry = auxLinear4, "Aux linear #4", float, "%.3f"
entry = fallbackMap, "fallbackMap", float, "%.3f" entry = fallbackMap, "fallbackMap", float, "%.3f"
entry = instantMAPValue, "Instant MAP", float, "%.3f" entry = instantMAPValue, "Instant MAP", float, "%.3f"
entry = maxLockedDuration, "maxLockedDuration", int, "%d" entry = maxLockedDuration, "maxLockedDuration", int, "%d"
@ -794,3 +796,4 @@ entry = lambdaMonitorCut, "lambdaMonitorCut", int, "%d"
entry = lambdaTimeSinceGood, "lambdaTimeSinceGood", float, "%.3f" entry = lambdaTimeSinceGood, "lambdaTimeSinceGood", float, "%.3f"
entry = extraField, "extraField", int, "%d" entry = extraField, "extraField", int, "%d"
entry = extraCustomGauge, "extraCustomGauge", int, "%d" entry = extraCustomGauge, "extraCustomGauge", int, "%d"
entry = customBit, "customBit", int, "%d"

View File

@ -41,31 +41,31 @@ LDS_lambda_monitor,
LDS_extra, LDS_extra,
} live_data_e; } live_data_e;
#define OUTPUT_CHANNELS_BASE_ADDRESS 0 #define OUTPUT_CHANNELS_BASE_ADDRESS 0
#define FUEL_COMPUTER_BASE_ADDRESS 840 #define FUEL_COMPUTER_BASE_ADDRESS 848
#define IGNITION_STATE_BASE_ADDRESS 892 #define IGNITION_STATE_BASE_ADDRESS 900
#define KNOCK_CONTROLLER_BASE_ADDRESS 932 #define KNOCK_CONTROLLER_BASE_ADDRESS 940
#define TCU_CONTROLLER_BASE_ADDRESS 968 #define TCU_CONTROLLER_BASE_ADDRESS 976
#define THROTTLE_MODEL_BASE_ADDRESS 984 #define THROTTLE_MODEL_BASE_ADDRESS 992
#define HIGH_PRESSURE_FUEL_PUMP_BASE_ADDRESS 996 #define HIGH_PRESSURE_FUEL_PUMP_BASE_ADDRESS 1004
#define INJECTOR_MODEL_BASE_ADDRESS 1024 #define INJECTOR_MODEL_BASE_ADDRESS 1032
#define LAUNCH_CONTROL_STATE_BASE_ADDRESS 1036 #define LAUNCH_CONTROL_STATE_BASE_ADDRESS 1044
#define ANTILAG_SYSTEM_STATE_BASE_ADDRESS 1044 #define ANTILAG_SYSTEM_STATE_BASE_ADDRESS 1052
#define BOOST_CONTROL_BASE_ADDRESS 1056 #define BOOST_CONTROL_BASE_ADDRESS 1064
#define AC_CONTROL_BASE_ADDRESS 1080 #define AC_CONTROL_BASE_ADDRESS 1088
#define FAN_CONTROL_BASE_ADDRESS 1092 #define FAN_CONTROL_BASE_ADDRESS 1100
#define FUEL_PUMP_CONTROL_BASE_ADDRESS 1108 #define FUEL_PUMP_CONTROL_BASE_ADDRESS 1116
#define MAIN_RELAY_BASE_ADDRESS 1112 #define MAIN_RELAY_BASE_ADDRESS 1120
#define ENGINE_STATE_BASE_ADDRESS 1116 #define ENGINE_STATE_BASE_ADDRESS 1124
#define TPS_ACCEL_STATE_BASE_ADDRESS 1216 #define TPS_ACCEL_STATE_BASE_ADDRESS 1224
#define TRIGGER_CENTRAL_BASE_ADDRESS 1264 #define TRIGGER_CENTRAL_BASE_ADDRESS 1272
#define TRIGGER_STATE_BASE_ADDRESS 1328 #define TRIGGER_STATE_BASE_ADDRESS 1336
#define TRIGGER_STATE_PRIMARY_BASE_ADDRESS 1528 #define TRIGGER_STATE_PRIMARY_BASE_ADDRESS 1536
#define WALL_FUEL_STATE_BASE_ADDRESS 1536 #define WALL_FUEL_STATE_BASE_ADDRESS 1544
#define IDLE_STATE_BASE_ADDRESS 1544 #define IDLE_STATE_BASE_ADDRESS 1552
#define ELECTRONIC_THROTTLE_BASE_ADDRESS 1592 #define ELECTRONIC_THROTTLE_BASE_ADDRESS 1600
#define WIDEBAND_STATE_BASE_ADDRESS 1704 #define WIDEBAND_STATE_BASE_ADDRESS 1712
#define DC_MOTORS_BASE_ADDRESS 1728 #define DC_MOTORS_BASE_ADDRESS 1736
#define SENT_STATE_BASE_ADDRESS 1740 #define SENT_STATE_BASE_ADDRESS 1748
#define VVT_BASE_ADDRESS 1748 #define VVT_BASE_ADDRESS 1756
#define LAMBDA_MONITOR_BASE_ADDRESS 1752 #define LAMBDA_MONITOR_BASE_ADDRESS 1760
#define EXTRA_BASE_ADDRESS 1760 #define EXTRA_BASE_ADDRESS 1768

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,2 @@
// generated by gen_live_documentation.sh / LiveDataProcessor.java // generated by gen_live_documentation.sh / LiveDataProcessor.java
#define TS_TOTAL_OUTPUT_SIZE 1860 #define TS_TOTAL_OUTPUT_SIZE 1872

View File

@ -4563,16 +4563,24 @@ struct engine_configuration_s {
*/ */
scaled_channel<uint8_t, 10, 1> minimumOilPressureTimeout; scaled_channel<uint8_t, 10, 1> minimumOilPressureTimeout;
/** /**
* need 4 byte alignment
* units: units * units: units
* offset 3853 * offset 3853
*/ */
uint8_t unusedOftenChangesDuringFirmwareUpdate[END_OF_CALIBRATION_PADDING]; uint8_t alignmentFill_at_3853[3];
/** /**
* need 4 byte alignment * offset 3856
* units: units
* offset 4021
*/ */
uint8_t alignmentFill_at_4021[3]; linear_sensor_s auxLinear3;
/**
* offset 3876
*/
linear_sensor_s auxLinear4;
/**
* units: units
* offset 3896
*/
uint8_t unusedOftenChangesDuringFirmwareUpdate[END_OF_CALIBRATION_PADDING];
}; };
static_assert(sizeof(engine_configuration_s) == 4024); static_assert(sizeof(engine_configuration_s) == 4024);

View File

@ -129,7 +129,6 @@
#define BOARD_DIAG_PANEL2_FROM_FILE #define BOARD_DIAG_PANEL2_FROM_FILE
#define BOARD_ENGINE_CONFIGURATION_FROM_FILE #define BOARD_ENGINE_CONFIGURATION_FROM_FILE
#define BOARD_GAUGES_FROM_FILE #define BOARD_GAUGES_FROM_FILE
#define BOARD_INDICATORS_FROM_FILE
#define BOARD_MENU_FROM_FILE #define BOARD_MENU_FROM_FILE
#define BOARD_OPTIONS_FROM_FILE #define BOARD_OPTIONS_FROM_FILE
#define BOARD_PANELS_FROM_FILE #define BOARD_PANELS_FROM_FILE
@ -345,7 +344,7 @@
#define ego_sensor_e_ES_Innovate_MTX_L 1 #define ego_sensor_e_ES_Innovate_MTX_L 1
#define ego_sensor_e_ES_PLX 4 #define ego_sensor_e_ES_PLX 4
#define EGT_CHANNEL_COUNT 8 #define EGT_CHANNEL_COUNT 8
#define END_OF_CALIBRATION_PADDING 168 #define END_OF_CALIBRATION_PADDING 128
#define engine_configuration_s_size 4024 #define engine_configuration_s_size 4024
#define engine_load_mode_e_auto_enum 0="LM_SPEED_DENSITY",2="LM_ALPHA_N",3="LM_LUA",100="LM_MOCK",1="LM_REAL_MAF" #define engine_load_mode_e_auto_enum 0="LM_SPEED_DENSITY",2="LM_ALPHA_N",3="LM_LUA",100="LM_MOCK",1="LM_REAL_MAF"
#define engine_load_mode_e_enum "Speed Density", "MAF Air Charge", "Alpha-N", "Lua" #define engine_load_mode_e_enum "Speed Density", "MAF Air Charge", "Alpha-N", "Lua"
@ -531,6 +530,8 @@
#define GAUGE_NAME_AIR_MASS "Air: Cylinder airmass" #define GAUGE_NAME_AIR_MASS "Air: Cylinder airmass"
#define GAUGE_NAME_AUX_LINEAR_1 "Aux linear #1" #define GAUGE_NAME_AUX_LINEAR_1 "Aux linear #1"
#define GAUGE_NAME_AUX_LINEAR_2 "Aux linear #2" #define GAUGE_NAME_AUX_LINEAR_2 "Aux linear #2"
#define GAUGE_NAME_AUX_LINEAR_3 "Aux linear #3"
#define GAUGE_NAME_AUX_LINEAR_4 "Aux linear #4"
#define GAUGE_NAME_AUX_TEMP1 "Aux temp 1" #define GAUGE_NAME_AUX_TEMP1 "Aux temp 1"
#define GAUGE_NAME_AUX_TEMP2 "Aux temp 2" #define GAUGE_NAME_AUX_TEMP2 "Aux temp 2"
#define GAUGE_NAME_BARO_PRESSURE "Barometric pressure" #define GAUGE_NAME_BARO_PRESSURE "Barometric pressure"
@ -1012,11 +1013,13 @@
#define GPPWM_2_NAME "General Purpose PWM 2" #define GPPWM_2_NAME "General Purpose PWM 2"
#define GPPWM_3_NAME "General Purpose PWM 3" #define GPPWM_3_NAME "General Purpose PWM 3"
#define GPPWM_4_NAME "General Purpose PWM 4" #define GPPWM_4_NAME "General Purpose PWM 4"
#define gppwm_channel_e_auto_enum 0="GPPWM_Zero",9="GPPWM_AccelPedal",16="GPPWM_AuxLinear1",17="GPPWM_AuxLinear2",7="GPPWM_AuxTemp1",8="GPPWM_AuxTemp2",26="GPPWM_BaroPressure",3="GPPWM_Clt",25="GPPWM_DetectedGear",27="GPPWM_Egt1",28="GPPWM_Egt2",15="GPPWM_EthanolPercent",5="GPPWM_FuelLoad",18="GPPWM_GppwmOutput1",19="GPPWM_GppwmOutput2",20="GPPWM_GppwmOutput3",21="GPPWM_GppwmOutput4",4="GPPWM_Iat",6="GPPWM_IgnLoad",22="GPPWM_LuaGauge1",23="GPPWM_LuaGauge2",2="GPPWM_Map",24="GPPWM_Rpm",1="GPPWM_Tps",12="GPPWM_VVT_1E",11="GPPWM_VVT_1I",14="GPPWM_VVT_2E",13="GPPWM_VVT_2I",10="GPPWM_Vbatt" #define gppwm_channel_e_auto_enum 0="GPPWM_Zero",9="GPPWM_AccelPedal",16="GPPWM_AuxLinear1",17="GPPWM_AuxLinear2",29="GPPWM_AuxLinear3",30="GPPWM_AuxLinear4",7="GPPWM_AuxTemp1",8="GPPWM_AuxTemp2",26="GPPWM_BaroPressure",3="GPPWM_Clt",25="GPPWM_DetectedGear",27="GPPWM_Egt1",28="GPPWM_Egt2",15="GPPWM_EthanolPercent",5="GPPWM_FuelLoad",18="GPPWM_GppwmOutput1",19="GPPWM_GppwmOutput2",20="GPPWM_GppwmOutput3",21="GPPWM_GppwmOutput4",4="GPPWM_Iat",6="GPPWM_IgnLoad",22="GPPWM_LuaGauge1",23="GPPWM_LuaGauge2",2="GPPWM_Map",24="GPPWM_Rpm",1="GPPWM_Tps",12="GPPWM_VVT_1E",11="GPPWM_VVT_1I",14="GPPWM_VVT_2E",13="GPPWM_VVT_2I",10="GPPWM_Vbatt",31="GPPWM_VehicleSpeed"
#define gppwm_channel_e_enum "Zero", "TPS", "MAP", "CLT", "IAT", "Fuel Load", "Ignition Load", "Aux Temp 1", "Aux Temp 2", "Accel Pedal", "Battery Voltage", "VVT 1 I", "VVT 1 E", "VVT 2 I", "VVT 2 E", "Ethanol (Flex) %", "Aux Linear 1", "Aux Linear 2", "GPPWM Output 1", "GPPWM Output 2", "GPPWM Output 3", "GPPWM Output 4", "Lua Gauge 1", "Lua Gauge 2", "RPM", "Gear (detected)", "Baro pressure", "EGT 1", "EGT 2" #define gppwm_channel_e_enum "Zero", "TPS", "MAP", "CLT", "IAT", "Fuel Load", "Ignition Load", "Aux Temp 1", "Aux Temp 2", "Accel Pedal", "Battery Voltage", "VVT 1 I", "VVT 1 E", "VVT 2 I", "VVT 2 E", "Ethanol (Flex) %", "Aux Linear 1", "Aux Linear 2", "GPPWM Output 1", "GPPWM Output 2", "GPPWM Output 3", "GPPWM Output 4", "Lua Gauge 1", "Lua Gauge 2", "RPM", "Gear (detected)", "Baro pressure", "EGT 1", "EGT 2", "Aux Linear 3", "Aux Linear 4", "Vehicle speed"
#define gppwm_channel_e_GPPWM_AccelPedal 9 #define gppwm_channel_e_GPPWM_AccelPedal 9
#define gppwm_channel_e_GPPWM_AuxLinear1 16 #define gppwm_channel_e_GPPWM_AuxLinear1 16
#define gppwm_channel_e_GPPWM_AuxLinear2 17 #define gppwm_channel_e_GPPWM_AuxLinear2 17
#define gppwm_channel_e_GPPWM_AuxLinear3 29
#define gppwm_channel_e_GPPWM_AuxLinear4 30
#define gppwm_channel_e_GPPWM_AuxTemp1 7 #define gppwm_channel_e_GPPWM_AuxTemp1 7
#define gppwm_channel_e_GPPWM_AuxTemp2 8 #define gppwm_channel_e_GPPWM_AuxTemp2 8
#define gppwm_channel_e_GPPWM_BaroPressure 26 #define gppwm_channel_e_GPPWM_BaroPressure 26
@ -1038,6 +1041,7 @@
#define gppwm_channel_e_GPPWM_Rpm 24 #define gppwm_channel_e_GPPWM_Rpm 24
#define gppwm_channel_e_GPPWM_Tps 1 #define gppwm_channel_e_GPPWM_Tps 1
#define gppwm_channel_e_GPPWM_Vbatt 10 #define gppwm_channel_e_GPPWM_Vbatt 10
#define gppwm_channel_e_GPPWM_VehicleSpeed 31
#define gppwm_channel_e_GPPWM_VVT_1E 12 #define gppwm_channel_e_GPPWM_VVT_1E 12
#define gppwm_channel_e_GPPWM_VVT_1I 11 #define gppwm_channel_e_GPPWM_VVT_1I 11
#define gppwm_channel_e_GPPWM_VVT_2E 14 #define gppwm_channel_e_GPPWM_VVT_2E 14
@ -1296,7 +1300,7 @@
#define show_Proteus_presets false #define show_Proteus_presets false
#define show_test_presets false #define show_test_presets false
#define show_vvt_output_pin true #define show_vvt_output_pin true
#define SIGNATURE_HASH 3644004984 #define SIGNATURE_HASH 1434061329
#define SIMULATOR_TUNE_BIN_FILE_NAME "generated/simulator_tune_image.bin" #define SIMULATOR_TUNE_BIN_FILE_NAME "generated/simulator_tune_image.bin"
#define SIMULATOR_TUNE_BIN_FILE_NAME_PREFIX "generated/simulator_tune_image" #define SIMULATOR_TUNE_BIN_FILE_NAME_PREFIX "generated/simulator_tune_image"
#define SIMULATOR_TUNE_BIN_FILE_NAME_SUFFIX ".bin" #define SIMULATOR_TUNE_BIN_FILE_NAME_SUFFIX ".bin"
@ -1666,6 +1670,7 @@
#define ts_show_fuel_trims true #define ts_show_fuel_trims true
#define ts_show_full_pinout true #define ts_show_full_pinout true
#define ts_show_gdi false #define ts_show_gdi false
#define ts_show_gdi_low_level true
#define ts_show_globalTriggerAngleOffset true #define ts_show_globalTriggerAngleOffset true
#define ts_show_hardware_simulator true #define ts_show_hardware_simulator true
#define ts_show_hbridge_function true #define ts_show_hbridge_function true
@ -1742,14 +1747,14 @@
#define ts_show_wastegate_sensor true #define ts_show_wastegate_sensor true
#define ts_show_wbo_canbus_index true #define ts_show_wbo_canbus_index true
#define ts_show_wbo_canbus_set_index true #define ts_show_wbo_canbus_set_index true
#define TS_SIGNATURE "rusEFI main.2024.09.05.XYZ.3644004984" #define TS_SIGNATURE "rusEFI main.2024.09.06.XYZ.1434061329"
#define TS_SIMULATE_CAN '>' #define TS_SIMULATE_CAN '>'
#define TS_SIMULATE_CAN_char > #define TS_SIMULATE_CAN_char >
#define TS_SINGLE_WRITE_COMMAND 'W' #define TS_SINGLE_WRITE_COMMAND 'W'
#define TS_SINGLE_WRITE_COMMAND_char W #define TS_SINGLE_WRITE_COMMAND_char W
#define TS_TEST_COMMAND 't' #define TS_TEST_COMMAND 't'
#define TS_TEST_COMMAND_char t #define TS_TEST_COMMAND_char t
#define TS_TOTAL_OUTPUT_SIZE 1760 #define TS_TOTAL_OUTPUT_SIZE 1768
#define TS_TRIGGER_SCOPE_CHANNEL_1_NAME "Channel 1" #define TS_TRIGGER_SCOPE_CHANNEL_1_NAME "Channel 1"
#define TS_TRIGGER_SCOPE_CHANNEL_2_NAME "Channel 2" #define TS_TRIGGER_SCOPE_CHANNEL_2_NAME "Channel 2"
#define TS_TRIGGER_SCOPE_DISABLE 5 #define TS_TRIGGER_SCOPE_DISABLE 5

View File

@ -2,5 +2,5 @@
// was generated automatically by rusEFI tool config_definition-all.jar based on gen_config.sh by SignatureConsumer // was generated automatically by rusEFI tool config_definition-all.jar based on gen_config.sh by SignatureConsumer
// //
#define SIGNATURE_HASH 3644004984 #define SIGNATURE_HASH 1434061329
#define TS_SIGNATURE "rusEFI main.2024.09.05.XYZ.3644004984" #define TS_SIGNATURE "rusEFI main.2024.09.06.XYZ.1434061329"

View File

@ -0,0 +1,133 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/ac_control.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of ac_control_s
struct ac_control_s {
/**
* @@INDICATOR_NAME_AC_SWITCH@@
* offset 0
*/
int8_t acButtonState = (int8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 1
*/
uint8_t alignmentFill_at_1[3];
/**
* AC enabled
offset 4 bit 0 */
bool m_acEnabled : 1 {};
/**
* AC engine too slow
offset 4 bit 1 */
bool engineTooSlow : 1 {};
/**
* AC engine too fast
offset 4 bit 2 */
bool engineTooFast : 1 {};
/**
* AC no CLT
offset 4 bit 3 */
bool noClt : 1 {};
/**
* AC engine too hot
offset 4 bit 4 */
bool engineTooHot : 1 {};
/**
* AC tps too high
offset 4 bit 5 */
bool tpsTooHigh : 1 {};
/**
* AC disabled by Lua
offset 4 bit 6 */
bool isDisabledByLua : 1 {};
/**
* AC compressor on
offset 4 bit 7 */
bool acCompressorState : 1 {};
/**
* AC pressure too low
offset 4 bit 8 */
bool acPressureTooLow : 1 {};
/**
* AC pressure too high
offset 4 bit 9 */
bool acPressureTooHigh : 1 {};
/**
offset 4 bit 10 */
bool unusedBit_12_10 : 1 {};
/**
offset 4 bit 11 */
bool unusedBit_12_11 : 1 {};
/**
offset 4 bit 12 */
bool unusedBit_12_12 : 1 {};
/**
offset 4 bit 13 */
bool unusedBit_12_13 : 1 {};
/**
offset 4 bit 14 */
bool unusedBit_12_14 : 1 {};
/**
offset 4 bit 15 */
bool unusedBit_12_15 : 1 {};
/**
offset 4 bit 16 */
bool unusedBit_12_16 : 1 {};
/**
offset 4 bit 17 */
bool unusedBit_12_17 : 1 {};
/**
offset 4 bit 18 */
bool unusedBit_12_18 : 1 {};
/**
offset 4 bit 19 */
bool unusedBit_12_19 : 1 {};
/**
offset 4 bit 20 */
bool unusedBit_12_20 : 1 {};
/**
offset 4 bit 21 */
bool unusedBit_12_21 : 1 {};
/**
offset 4 bit 22 */
bool unusedBit_12_22 : 1 {};
/**
offset 4 bit 23 */
bool unusedBit_12_23 : 1 {};
/**
offset 4 bit 24 */
bool unusedBit_12_24 : 1 {};
/**
offset 4 bit 25 */
bool unusedBit_12_25 : 1 {};
/**
offset 4 bit 26 */
bool unusedBit_12_26 : 1 {};
/**
offset 4 bit 27 */
bool unusedBit_12_27 : 1 {};
/**
offset 4 bit 28 */
bool unusedBit_12_28 : 1 {};
/**
offset 4 bit 29 */
bool unusedBit_12_29 : 1 {};
/**
offset 4 bit 30 */
bool unusedBit_12_30 : 1 {};
/**
offset 4 bit 31 */
bool unusedBit_12_31 : 1 {};
/**
* offset 8
*/
int acSwitchLastChangeTimeMs = (int)0;
};
static_assert(sizeof(ac_control_s) == 12);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/ac_control.txt

View File

@ -0,0 +1,122 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/antilag_system_state.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of antilag_system_state_s
struct antilag_system_state_s {
/**
offset 0 bit 0 */
bool isAntilagCondition : 1 {};
/**
offset 0 bit 1 */
bool ALSMinRPMCondition : 1 {};
/**
offset 0 bit 2 */
bool ALSMaxRPMCondition : 1 {};
/**
offset 0 bit 3 */
bool ALSMinCLTCondition : 1 {};
/**
offset 0 bit 4 */
bool ALSMaxCLTCondition : 1 {};
/**
offset 0 bit 5 */
bool ALSMaxThrottleIntentCondition : 1 {};
/**
offset 0 bit 6 */
bool isALSSwitchActivated : 1 {};
/**
offset 0 bit 7 */
bool ALSActivatePinState : 1 {};
/**
offset 0 bit 8 */
bool ALSSwitchCondition : 1 {};
/**
offset 0 bit 9 */
bool ALSTimerCondition : 1 {};
/**
offset 0 bit 10 */
bool unusedBit_10_10 : 1 {};
/**
offset 0 bit 11 */
bool unusedBit_10_11 : 1 {};
/**
offset 0 bit 12 */
bool unusedBit_10_12 : 1 {};
/**
offset 0 bit 13 */
bool unusedBit_10_13 : 1 {};
/**
offset 0 bit 14 */
bool unusedBit_10_14 : 1 {};
/**
offset 0 bit 15 */
bool unusedBit_10_15 : 1 {};
/**
offset 0 bit 16 */
bool unusedBit_10_16 : 1 {};
/**
offset 0 bit 17 */
bool unusedBit_10_17 : 1 {};
/**
offset 0 bit 18 */
bool unusedBit_10_18 : 1 {};
/**
offset 0 bit 19 */
bool unusedBit_10_19 : 1 {};
/**
offset 0 bit 20 */
bool unusedBit_10_20 : 1 {};
/**
offset 0 bit 21 */
bool unusedBit_10_21 : 1 {};
/**
offset 0 bit 22 */
bool unusedBit_10_22 : 1 {};
/**
offset 0 bit 23 */
bool unusedBit_10_23 : 1 {};
/**
offset 0 bit 24 */
bool unusedBit_10_24 : 1 {};
/**
offset 0 bit 25 */
bool unusedBit_10_25 : 1 {};
/**
offset 0 bit 26 */
bool unusedBit_10_26 : 1 {};
/**
offset 0 bit 27 */
bool unusedBit_10_27 : 1 {};
/**
offset 0 bit 28 */
bool unusedBit_10_28 : 1 {};
/**
offset 0 bit 29 */
bool unusedBit_10_29 : 1 {};
/**
offset 0 bit 30 */
bool unusedBit_10_30 : 1 {};
/**
offset 0 bit 31 */
bool unusedBit_10_31 : 1 {};
/**
* offset 4
*/
float fuelALSCorrection = (float)0;
/**
* units: deg
* offset 8
*/
scaled_channel<int16_t, 100, 1> timingALSCorrection = (int16_t)0;
/**
* units: deg
* offset 10
*/
scaled_channel<int16_t, 100, 1> timingALSSkip = (int16_t)0;
};
static_assert(sizeof(antilag_system_state_s) == 12);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/antilag_system_state.txt

View File

@ -0,0 +1,156 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/boost_control.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of boost_control_s
struct boost_control_s {
/**
offset 0 bit 0 */
bool isTpsInvalid : 1 {};
/**
offset 0 bit 1 */
bool m_shouldResetPid : 1 {};
/**
offset 0 bit 2 */
bool isBelowClosedLoopThreshold : 1 {};
/**
offset 0 bit 3 */
bool isNotClosedLoop : 1 {};
/**
offset 0 bit 4 */
bool isZeroRpm : 1 {};
/**
offset 0 bit 5 */
bool hasInitBoost : 1 {};
/**
offset 0 bit 6 */
bool rpmTooLow : 1 {};
/**
offset 0 bit 7 */
bool tpsTooLow : 1 {};
/**
offset 0 bit 8 */
bool mapTooLow : 1 {};
/**
offset 0 bit 9 */
bool isPlantValid : 1 {};
/**
offset 0 bit 10 */
bool isBoostControlled : 1 {};
/**
offset 0 bit 11 */
bool unusedBit_11_11 : 1 {};
/**
offset 0 bit 12 */
bool unusedBit_11_12 : 1 {};
/**
offset 0 bit 13 */
bool unusedBit_11_13 : 1 {};
/**
offset 0 bit 14 */
bool unusedBit_11_14 : 1 {};
/**
offset 0 bit 15 */
bool unusedBit_11_15 : 1 {};
/**
offset 0 bit 16 */
bool unusedBit_11_16 : 1 {};
/**
offset 0 bit 17 */
bool unusedBit_11_17 : 1 {};
/**
offset 0 bit 18 */
bool unusedBit_11_18 : 1 {};
/**
offset 0 bit 19 */
bool unusedBit_11_19 : 1 {};
/**
offset 0 bit 20 */
bool unusedBit_11_20 : 1 {};
/**
offset 0 bit 21 */
bool unusedBit_11_21 : 1 {};
/**
offset 0 bit 22 */
bool unusedBit_11_22 : 1 {};
/**
offset 0 bit 23 */
bool unusedBit_11_23 : 1 {};
/**
offset 0 bit 24 */
bool unusedBit_11_24 : 1 {};
/**
offset 0 bit 25 */
bool unusedBit_11_25 : 1 {};
/**
offset 0 bit 26 */
bool unusedBit_11_26 : 1 {};
/**
offset 0 bit 27 */
bool unusedBit_11_27 : 1 {};
/**
offset 0 bit 28 */
bool unusedBit_11_28 : 1 {};
/**
offset 0 bit 29 */
bool unusedBit_11_29 : 1 {};
/**
offset 0 bit 30 */
bool unusedBit_11_30 : 1 {};
/**
offset 0 bit 31 */
bool unusedBit_11_31 : 1 {};
/**
* "Boost: Lua target add"
* units: v
* offset 4
*/
scaled_channel<int16_t, 2, 1> luaTargetAdd = (int16_t)0;
/**
* @@GAUGE_NAME_BOOST_OUTPUT@@
* units: percent
* offset 6
*/
scaled_channel<int16_t, 100, 1> boostOutput = (int16_t)0;
/**
* "Boost: Lua target mult"
* units: v
* offset 8
*/
float luaTargetMult = (float)0;
/**
* @@GAUGE_NAME_BOOST_OPEN_LOOP@@
* units: v
* offset 12
*/
float openLoopPart = (float)0;
/**
* "Boost: Lua open loop add"
* units: v
* offset 16
*/
float luaOpenLoopAdd = (float)0;
/**
* @@GAUGE_NAME_BOOST_CLOSED_LOOP@@
* units: %
* offset 20
*/
scaled_channel<int8_t, 2, 1> boostControllerClosedLoopPart = (int8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 21
*/
uint8_t alignmentFill_at_21[1];
/**
* @@GAUGE_NAME_BOOST_TARGET@@
* units: kPa
* offset 22
*/
scaled_channel<int16_t, 30, 1> boostControlTarget = (int16_t)0;
};
static_assert(sizeof(boost_control_s) == 24);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/boost_control.txt

View File

@ -0,0 +1,126 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/dc_motors.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of dc_motors_s
struct dc_motors_s {
/**
* "DC: output0"
* units: per
* offset 0
*/
float dcOutput0 = (float)0;
/**
* "DC: en0"
* units: per
* offset 4
*/
uint8_t isEnabled0_int = (uint8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 5
*/
uint8_t alignmentFill_at_5[3];
/**
offset 8 bit 0 */
bool isEnabled0 : 1 {};
/**
offset 8 bit 1 */
bool unusedBit_4_1 : 1 {};
/**
offset 8 bit 2 */
bool unusedBit_4_2 : 1 {};
/**
offset 8 bit 3 */
bool unusedBit_4_3 : 1 {};
/**
offset 8 bit 4 */
bool unusedBit_4_4 : 1 {};
/**
offset 8 bit 5 */
bool unusedBit_4_5 : 1 {};
/**
offset 8 bit 6 */
bool unusedBit_4_6 : 1 {};
/**
offset 8 bit 7 */
bool unusedBit_4_7 : 1 {};
/**
offset 8 bit 8 */
bool unusedBit_4_8 : 1 {};
/**
offset 8 bit 9 */
bool unusedBit_4_9 : 1 {};
/**
offset 8 bit 10 */
bool unusedBit_4_10 : 1 {};
/**
offset 8 bit 11 */
bool unusedBit_4_11 : 1 {};
/**
offset 8 bit 12 */
bool unusedBit_4_12 : 1 {};
/**
offset 8 bit 13 */
bool unusedBit_4_13 : 1 {};
/**
offset 8 bit 14 */
bool unusedBit_4_14 : 1 {};
/**
offset 8 bit 15 */
bool unusedBit_4_15 : 1 {};
/**
offset 8 bit 16 */
bool unusedBit_4_16 : 1 {};
/**
offset 8 bit 17 */
bool unusedBit_4_17 : 1 {};
/**
offset 8 bit 18 */
bool unusedBit_4_18 : 1 {};
/**
offset 8 bit 19 */
bool unusedBit_4_19 : 1 {};
/**
offset 8 bit 20 */
bool unusedBit_4_20 : 1 {};
/**
offset 8 bit 21 */
bool unusedBit_4_21 : 1 {};
/**
offset 8 bit 22 */
bool unusedBit_4_22 : 1 {};
/**
offset 8 bit 23 */
bool unusedBit_4_23 : 1 {};
/**
offset 8 bit 24 */
bool unusedBit_4_24 : 1 {};
/**
offset 8 bit 25 */
bool unusedBit_4_25 : 1 {};
/**
offset 8 bit 26 */
bool unusedBit_4_26 : 1 {};
/**
offset 8 bit 27 */
bool unusedBit_4_27 : 1 {};
/**
offset 8 bit 28 */
bool unusedBit_4_28 : 1 {};
/**
offset 8 bit 29 */
bool unusedBit_4_29 : 1 {};
/**
offset 8 bit 30 */
bool unusedBit_4_30 : 1 {};
/**
offset 8 bit 31 */
bool unusedBit_4_31 : 1 {};
};
static_assert(sizeof(dc_motors_s) == 12);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/dc_motors.txt

View File

@ -0,0 +1,202 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/electronic_throttle.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of electronic_throttle_s
struct electronic_throttle_s {
/**
* "ETB: target with idle"
* units: per
* offset 0
*/
float targetWithIdlePosition = (float)0;
/**
* "ETB: trim"
* offset 4
*/
float trim = (float)0;
/**
* "ETB: luaAdjustment"
* units: per
* offset 8
*/
float luaAdjustment = (float)0;
/**
* "DC: wastegatePosition"
* units: per
* offset 12
*/
float m_wastegatePosition = (float)0;
/**
* offset 16
*/
percent_t etbFeedForward = (percent_t)0;
/**
* offset 20
*/
float etbIntegralError = (float)0;
/**
* ETB: target for current pedal
* units: %
* offset 24
*/
float etbCurrentTarget = (float)0;
/**
* units: %
* offset 28
*/
float etbCurrentAdjustedTarget = (float)0;
/**
offset 32 bit 0 */
bool etbRevLimitActive : 1 {};
/**
offset 32 bit 1 */
bool jamDetected : 1 {};
/**
offset 32 bit 2 */
bool unusedBit_10_2 : 1 {};
/**
offset 32 bit 3 */
bool unusedBit_10_3 : 1 {};
/**
offset 32 bit 4 */
bool unusedBit_10_4 : 1 {};
/**
offset 32 bit 5 */
bool unusedBit_10_5 : 1 {};
/**
offset 32 bit 6 */
bool unusedBit_10_6 : 1 {};
/**
offset 32 bit 7 */
bool unusedBit_10_7 : 1 {};
/**
offset 32 bit 8 */
bool unusedBit_10_8 : 1 {};
/**
offset 32 bit 9 */
bool unusedBit_10_9 : 1 {};
/**
offset 32 bit 10 */
bool unusedBit_10_10 : 1 {};
/**
offset 32 bit 11 */
bool unusedBit_10_11 : 1 {};
/**
offset 32 bit 12 */
bool unusedBit_10_12 : 1 {};
/**
offset 32 bit 13 */
bool unusedBit_10_13 : 1 {};
/**
offset 32 bit 14 */
bool unusedBit_10_14 : 1 {};
/**
offset 32 bit 15 */
bool unusedBit_10_15 : 1 {};
/**
offset 32 bit 16 */
bool unusedBit_10_16 : 1 {};
/**
offset 32 bit 17 */
bool unusedBit_10_17 : 1 {};
/**
offset 32 bit 18 */
bool unusedBit_10_18 : 1 {};
/**
offset 32 bit 19 */
bool unusedBit_10_19 : 1 {};
/**
offset 32 bit 20 */
bool unusedBit_10_20 : 1 {};
/**
offset 32 bit 21 */
bool unusedBit_10_21 : 1 {};
/**
offset 32 bit 22 */
bool unusedBit_10_22 : 1 {};
/**
offset 32 bit 23 */
bool unusedBit_10_23 : 1 {};
/**
offset 32 bit 24 */
bool unusedBit_10_24 : 1 {};
/**
offset 32 bit 25 */
bool unusedBit_10_25 : 1 {};
/**
offset 32 bit 26 */
bool unusedBit_10_26 : 1 {};
/**
offset 32 bit 27 */
bool unusedBit_10_27 : 1 {};
/**
offset 32 bit 28 */
bool unusedBit_10_28 : 1 {};
/**
offset 32 bit 29 */
bool unusedBit_10_29 : 1 {};
/**
offset 32 bit 30 */
bool unusedBit_10_30 : 1 {};
/**
offset 32 bit 31 */
bool unusedBit_10_31 : 1 {};
/**
* "ETB duty rate of change"
* units: per
* offset 36
*/
float etbDutyRateOfChange = (float)0;
/**
* "ETB average duty"
* units: %
* offset 40
*/
float etbDutyAverage = (float)0;
/**
* "ETB TPS error counter"
* units: count
* offset 44
*/
uint16_t etbTpsErrorCounter = (uint16_t)0;
/**
* "ETB pedal error counter"
* units: count
* offset 46
*/
uint16_t etbPpsErrorCounter = (uint16_t)0;
/**
* offset 48
*/
int8_t etbErrorCode = (int8_t)0;
/**
* ETB traction control
* units: %
* offset 49
*/
int8_t tcEtbDrop = (int8_t)0;
/**
* ETB jam timer
* units: sec
* offset 50
*/
scaled_channel<uint16_t, 100, 1> jamTimer = (uint16_t)0;
/**
* ETB with adjustments
* units: %
* offset 52
*/
int8_t adjustedEtbTarget = (int8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 53
*/
uint8_t alignmentFill_at_53[3];
};
static_assert(sizeof(electronic_throttle_s) == 56);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/electronic_throttle.txt

View File

@ -0,0 +1,406 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/engine_state.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of LuaAdjustments
struct LuaAdjustments {
/**
* Lua: Fuel add
* units: g
* offset 0
*/
float fuelAdd = (float)0;
/**
* Lua: Fuel mult
* offset 4
*/
float fuelMult = (float)0;
/**
offset 8 bit 0 */
bool clutchUpState : 1 {};
/**
offset 8 bit 1 */
bool brakePedalState : 1 {};
/**
offset 8 bit 2 */
bool acRequestState : 1 {};
/**
offset 8 bit 3 */
bool luaDisableEtb : 1 {};
/**
offset 8 bit 4 */
bool luaIgnCut : 1 {};
/**
offset 8 bit 5 */
bool luaFuelCut : 1 {};
/**
offset 8 bit 6 */
bool clutchDownState : 1 {};
/**
offset 8 bit 7 */
bool disableDecelerationFuelCutOff : 1 {};
/**
offset 8 bit 8 */
bool unusedBit_10_8 : 1 {};
/**
offset 8 bit 9 */
bool unusedBit_10_9 : 1 {};
/**
offset 8 bit 10 */
bool unusedBit_10_10 : 1 {};
/**
offset 8 bit 11 */
bool unusedBit_10_11 : 1 {};
/**
offset 8 bit 12 */
bool unusedBit_10_12 : 1 {};
/**
offset 8 bit 13 */
bool unusedBit_10_13 : 1 {};
/**
offset 8 bit 14 */
bool unusedBit_10_14 : 1 {};
/**
offset 8 bit 15 */
bool unusedBit_10_15 : 1 {};
/**
offset 8 bit 16 */
bool unusedBit_10_16 : 1 {};
/**
offset 8 bit 17 */
bool unusedBit_10_17 : 1 {};
/**
offset 8 bit 18 */
bool unusedBit_10_18 : 1 {};
/**
offset 8 bit 19 */
bool unusedBit_10_19 : 1 {};
/**
offset 8 bit 20 */
bool unusedBit_10_20 : 1 {};
/**
offset 8 bit 21 */
bool unusedBit_10_21 : 1 {};
/**
offset 8 bit 22 */
bool unusedBit_10_22 : 1 {};
/**
offset 8 bit 23 */
bool unusedBit_10_23 : 1 {};
/**
offset 8 bit 24 */
bool unusedBit_10_24 : 1 {};
/**
offset 8 bit 25 */
bool unusedBit_10_25 : 1 {};
/**
offset 8 bit 26 */
bool unusedBit_10_26 : 1 {};
/**
offset 8 bit 27 */
bool unusedBit_10_27 : 1 {};
/**
offset 8 bit 28 */
bool unusedBit_10_28 : 1 {};
/**
offset 8 bit 29 */
bool unusedBit_10_29 : 1 {};
/**
offset 8 bit 30 */
bool unusedBit_10_30 : 1 {};
/**
offset 8 bit 31 */
bool unusedBit_10_31 : 1 {};
};
static_assert(sizeof(LuaAdjustments) == 12);
// start of speed_density_s
struct speed_density_s {
/**
* Air: Charge temperature estimate
* units: deg C
* offset 0
*/
scaled_channel<int16_t, 100, 1> tCharge = (int16_t)0;
/**
* need 4 byte alignment
* units: units
* offset 2
*/
uint8_t alignmentFill_at_2[2];
/**
* Air: Charge temperature estimate K
* offset 4
*/
float tChargeK = (float)0;
};
static_assert(sizeof(speed_density_s) == 8);
// start of cranking_fuel_s
struct cranking_fuel_s {
/**
* Fuel: cranking CLT mult
* offset 0
*/
float coolantTemperatureCoefficient = (float)0;
/**
* Fuel: cranking TPS mult
* offset 4
*/
float tpsCoefficient = (float)0;
/**
* Fuel: cranking duration mult
* offset 8
*/
float durationCoefficient = (float)0;
/**
* Fuel: Cranking cycle mass
* units: mg
* offset 12
*/
scaled_channel<uint16_t, 100, 1> fuel = (uint16_t)0;
/**
* need 4 byte alignment
* units: units
* offset 14
*/
uint8_t alignmentFill_at_14[2];
};
static_assert(sizeof(cranking_fuel_s) == 16);
// start of engine_state_s
struct engine_state_s {
/**
* offset 0
*/
LuaAdjustments lua;
/**
* offset 12
*/
speed_density_s sd;
/**
* offset 20
*/
cranking_fuel_s crankingFuel;
/**
* @@GAUGE_NAME_FUEL_BARO_CORR@@
* offset 36
*/
float baroCorrection = (float)0;
/**
* Detected Board ID
* units: id
* offset 40
*/
int16_t hellenBoardId = (int16_t)0;
/**
* @@INDICATOR_NAME_CLUTCH_UP@@
* offset 42
*/
int8_t clutchUpState = (int8_t)0;
/**
* @@INDICATOR_NAME_CLUTCH_DOWN@@
* offset 43
*/
int8_t clutchDownState = (int8_t)0;
/**
* @@INDICATOR_NAME_BRAKE_DOWN@@
* offset 44
*/
int8_t brakePedalState = (int8_t)0;
/**
* offset 45
*/
int8_t startStopState = (int8_t)0;
/**
* offset 46
*/
int8_t smartChipState = (int8_t)0;
/**
* offset 47
*/
int8_t smartChipRestartCounter = (int8_t)0;
/**
* offset 48
*/
int8_t smartChipAliveCounter = (int8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 49
*/
uint8_t alignmentFill_at_49[3];
/**
offset 52 bit 0 */
bool startStopPhysicalState : 1 {};
/**
* Harley ACR Active
offset 52 bit 1 */
bool acrActive : 1 {};
/**
offset 52 bit 2 */
bool acrEngineMovedRecently : 1 {};
/**
offset 52 bit 3 */
bool heaterControlEnabled : 1 {};
/**
offset 52 bit 4 */
bool luaDigitalState0 : 1 {};
/**
offset 52 bit 5 */
bool luaDigitalState1 : 1 {};
/**
offset 52 bit 6 */
bool luaDigitalState2 : 1 {};
/**
offset 52 bit 7 */
bool luaDigitalState3 : 1 {};
/**
offset 52 bit 8 */
bool unusedBit_21_8 : 1 {};
/**
offset 52 bit 9 */
bool unusedBit_21_9 : 1 {};
/**
offset 52 bit 10 */
bool unusedBit_21_10 : 1 {};
/**
offset 52 bit 11 */
bool unusedBit_21_11 : 1 {};
/**
offset 52 bit 12 */
bool unusedBit_21_12 : 1 {};
/**
offset 52 bit 13 */
bool unusedBit_21_13 : 1 {};
/**
offset 52 bit 14 */
bool unusedBit_21_14 : 1 {};
/**
offset 52 bit 15 */
bool unusedBit_21_15 : 1 {};
/**
offset 52 bit 16 */
bool unusedBit_21_16 : 1 {};
/**
offset 52 bit 17 */
bool unusedBit_21_17 : 1 {};
/**
offset 52 bit 18 */
bool unusedBit_21_18 : 1 {};
/**
offset 52 bit 19 */
bool unusedBit_21_19 : 1 {};
/**
offset 52 bit 20 */
bool unusedBit_21_20 : 1 {};
/**
offset 52 bit 21 */
bool unusedBit_21_21 : 1 {};
/**
offset 52 bit 22 */
bool unusedBit_21_22 : 1 {};
/**
offset 52 bit 23 */
bool unusedBit_21_23 : 1 {};
/**
offset 52 bit 24 */
bool unusedBit_21_24 : 1 {};
/**
offset 52 bit 25 */
bool unusedBit_21_25 : 1 {};
/**
offset 52 bit 26 */
bool unusedBit_21_26 : 1 {};
/**
offset 52 bit 27 */
bool unusedBit_21_27 : 1 {};
/**
offset 52 bit 28 */
bool unusedBit_21_28 : 1 {};
/**
offset 52 bit 29 */
bool unusedBit_21_29 : 1 {};
/**
offset 52 bit 30 */
bool unusedBit_21_30 : 1 {};
/**
offset 52 bit 31 */
bool unusedBit_21_31 : 1 {};
/**
* offset 56
*/
uint32_t startStopStateToggleCounter = (uint32_t)0;
/**
* offset 60
*/
float luaSoftSparkSkip = (float)0;
/**
* offset 64
*/
float luaHardSparkSkip = (float)0;
/**
* offset 68
*/
float tractionControlSparkSkip = (float)0;
/**
* User-defined RPM hard limit
* units: rpm
* offset 72
*/
int16_t desiredRpmLimit = (int16_t)0;
/**
* need 4 byte alignment
* units: units
* offset 74
*/
uint8_t alignmentFill_at_74[2];
/**
* Fuel: Injection counter
* offset 76
*/
uint32_t fuelInjectionCounter = (uint32_t)0;
/**
* Ign: Spark counter
* offset 80
*/
uint32_t globalSparkCounter = (uint32_t)0;
/**
* @@GAUGE_NAME_FUEL_LOAD@@
* offset 84
*/
float fuelingLoad = (float)0;
/**
* @@GAUGE_NAME_IGNITION_LOAD@@
* offset 88
*/
float ignitionLoad = (float)0;
/**
* units: %
* offset 92
*/
scaled_channel<uint16_t, 100, 1> veTableYAxis = (uint16_t)0;
/**
* offset 94
*/
uint8_t overDwellCounter = (uint8_t)0;
/**
* offset 95
*/
uint8_t overDwellNotScheduledCounter = (uint8_t)0;
/**
* offset 96
*/
uint8_t sparkOutOfOrderCounter = (uint8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 97
*/
uint8_t alignmentFill_at_97[3];
};
static_assert(sizeof(engine_state_s) == 100);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/engine_state.txt

View File

@ -0,0 +1,120 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) ../../../extra.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of extra_s
struct extra_s {
/**
* offset 0
*/
int extraField = (int)0;
/**
* offset 4
*/
int extraCustomGauge = (int)0;
/**
offset 8 bit 0 */
bool customBit : 1 {};
/**
offset 8 bit 1 */
bool unusedBit_3_1 : 1 {};
/**
offset 8 bit 2 */
bool unusedBit_3_2 : 1 {};
/**
offset 8 bit 3 */
bool unusedBit_3_3 : 1 {};
/**
offset 8 bit 4 */
bool unusedBit_3_4 : 1 {};
/**
offset 8 bit 5 */
bool unusedBit_3_5 : 1 {};
/**
offset 8 bit 6 */
bool unusedBit_3_6 : 1 {};
/**
offset 8 bit 7 */
bool unusedBit_3_7 : 1 {};
/**
offset 8 bit 8 */
bool unusedBit_3_8 : 1 {};
/**
offset 8 bit 9 */
bool unusedBit_3_9 : 1 {};
/**
offset 8 bit 10 */
bool unusedBit_3_10 : 1 {};
/**
offset 8 bit 11 */
bool unusedBit_3_11 : 1 {};
/**
offset 8 bit 12 */
bool unusedBit_3_12 : 1 {};
/**
offset 8 bit 13 */
bool unusedBit_3_13 : 1 {};
/**
offset 8 bit 14 */
bool unusedBit_3_14 : 1 {};
/**
offset 8 bit 15 */
bool unusedBit_3_15 : 1 {};
/**
offset 8 bit 16 */
bool unusedBit_3_16 : 1 {};
/**
offset 8 bit 17 */
bool unusedBit_3_17 : 1 {};
/**
offset 8 bit 18 */
bool unusedBit_3_18 : 1 {};
/**
offset 8 bit 19 */
bool unusedBit_3_19 : 1 {};
/**
offset 8 bit 20 */
bool unusedBit_3_20 : 1 {};
/**
offset 8 bit 21 */
bool unusedBit_3_21 : 1 {};
/**
offset 8 bit 22 */
bool unusedBit_3_22 : 1 {};
/**
offset 8 bit 23 */
bool unusedBit_3_23 : 1 {};
/**
offset 8 bit 24 */
bool unusedBit_3_24 : 1 {};
/**
offset 8 bit 25 */
bool unusedBit_3_25 : 1 {};
/**
offset 8 bit 26 */
bool unusedBit_3_26 : 1 {};
/**
offset 8 bit 27 */
bool unusedBit_3_27 : 1 {};
/**
offset 8 bit 28 */
bool unusedBit_3_28 : 1 {};
/**
offset 8 bit 29 */
bool unusedBit_3_29 : 1 {};
/**
offset 8 bit 30 */
bool unusedBit_3_30 : 1 {};
/**
offset 8 bit 31 */
bool unusedBit_3_31 : 1 {};
/**
* offset 12
*/
uint8_t unusedAtTheExtraEnd[92];
};
static_assert(sizeof(extra_s) == 104);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) ../../../extra.txt

View File

@ -0,0 +1,122 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/fan_control.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of fan_control_s
struct fan_control_s {
/**
offset 0 bit 0 */
bool cranking : 1 {};
/**
offset 0 bit 1 */
bool notRunning : 1 {};
/**
offset 0 bit 2 */
bool disabledWhileEngineStopped : 1 {};
/**
offset 0 bit 3 */
bool brokenClt : 1 {};
/**
offset 0 bit 4 */
bool enabledForAc : 1 {};
/**
offset 0 bit 5 */
bool hot : 1 {};
/**
offset 0 bit 6 */
bool cold : 1 {};
/**
offset 0 bit 7 */
bool disabledBySpeed : 1 {};
/**
offset 0 bit 8 */
bool unusedBit_8_8 : 1 {};
/**
offset 0 bit 9 */
bool unusedBit_8_9 : 1 {};
/**
offset 0 bit 10 */
bool unusedBit_8_10 : 1 {};
/**
offset 0 bit 11 */
bool unusedBit_8_11 : 1 {};
/**
offset 0 bit 12 */
bool unusedBit_8_12 : 1 {};
/**
offset 0 bit 13 */
bool unusedBit_8_13 : 1 {};
/**
offset 0 bit 14 */
bool unusedBit_8_14 : 1 {};
/**
offset 0 bit 15 */
bool unusedBit_8_15 : 1 {};
/**
offset 0 bit 16 */
bool unusedBit_8_16 : 1 {};
/**
offset 0 bit 17 */
bool unusedBit_8_17 : 1 {};
/**
offset 0 bit 18 */
bool unusedBit_8_18 : 1 {};
/**
offset 0 bit 19 */
bool unusedBit_8_19 : 1 {};
/**
offset 0 bit 20 */
bool unusedBit_8_20 : 1 {};
/**
offset 0 bit 21 */
bool unusedBit_8_21 : 1 {};
/**
offset 0 bit 22 */
bool unusedBit_8_22 : 1 {};
/**
offset 0 bit 23 */
bool unusedBit_8_23 : 1 {};
/**
offset 0 bit 24 */
bool unusedBit_8_24 : 1 {};
/**
offset 0 bit 25 */
bool unusedBit_8_25 : 1 {};
/**
offset 0 bit 26 */
bool unusedBit_8_26 : 1 {};
/**
offset 0 bit 27 */
bool unusedBit_8_27 : 1 {};
/**
offset 0 bit 28 */
bool unusedBit_8_28 : 1 {};
/**
offset 0 bit 29 */
bool unusedBit_8_29 : 1 {};
/**
offset 0 bit 30 */
bool unusedBit_8_30 : 1 {};
/**
offset 0 bit 31 */
bool unusedBit_8_31 : 1 {};
/**
* offset 4
*/
uint8_t tempAlive = (uint8_t)0;
/**
* offset 5
*/
uint8_t tempCode = (uint8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 6
*/
uint8_t alignmentFill_at_6[2];
};
static_assert(sizeof(fan_control_s) == 8);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/fan_control.txt

View File

@ -0,0 +1,207 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/fuel/fuel_computer.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of running_fuel_s
struct running_fuel_s {
/**
* Fuel: Post cranking mult
* offset 0
*/
float postCrankingFuelCorrection = (float)0;
/**
* @@GAUGE_NAME_FUEL_IAT_CORR@@
* offset 4
*/
float intakeTemperatureCoefficient = (float)0;
/**
* @@GAUGE_NAME_FUEL_CLT_CORR@@
* offset 8
*/
float coolantTemperatureCoefficient = (float)0;
/**
* units: secs
* offset 12
*/
float timeSinceCrankingInSecs = (float)0;
/**
* @@GAUGE_NAME_FUEL_BASE@@
* This is the raw value we take from the fuel map or base fuel algorithm, before the corrections
* units: mg
* offset 16
*/
scaled_channel<uint16_t, 100, 1> baseFuel = (uint16_t)0;
/**
* @@GAUGE_NAME_FUEL_RUNNING@@
* Total fuel with CLT IAT and TPS acceleration without injector lag corrections per cycle, as pulse per cycle
* units: mg
* offset 18
*/
scaled_channel<uint16_t, 100, 1> fuel = (uint16_t)0;
};
static_assert(sizeof(running_fuel_s) == 20);
// start of fuel_computer_s
struct fuel_computer_s {
/**
* Fuel: Total correction
* units: mult
* offset 0
*/
float totalFuelCorrection = (float)0;
/**
* offset 4
*/
running_fuel_s running;
/**
* units: %
* offset 24
*/
scaled_channel<uint16_t, 100, 1> afrTableYAxis = (uint16_t)0;
/**
* @@GAUGE_NAME_TARGET_LAMBDA@@
* offset 26
*/
scaled_channel<uint16_t, 10000, 1> targetLambda = (uint16_t)0;
/**
* @@GAUGE_NAME_TARGET_AFR@@
* units: ratio
* offset 28
*/
scaled_channel<uint16_t, 1000, 1> targetAFR = (uint16_t)0;
/**
* Fuel: Stoich ratio
* units: ratio
* offset 30
*/
scaled_channel<uint16_t, 1000, 1> stoichiometricRatio = (uint16_t)0;
/**
* offset 32
*/
float sdTcharge_coff = (float)0;
/**
* @@GAUGE_NAME_AIR_MASS@@
* units: g
* offset 36
*/
float sdAirMassInOneCylinder = (float)0;
/**
* Air: Normalized cyl filling
* units: %
* offset 40
*/
float normalizedCylinderFilling = (float)0;
/**
* offset 44
*/
uint8_t brokenInjector = (uint8_t)0;
/**
* offset 45
*/
uint8_t unused88 = (uint8_t)0;
/**
* offset 46
*/
uint16_t idealEngineTorque = (uint16_t)0;
/**
offset 48 bit 0 */
bool injectorHwIssue : 1 {};
/**
offset 48 bit 1 */
bool unusedBit_13_1 : 1 {};
/**
offset 48 bit 2 */
bool unusedBit_13_2 : 1 {};
/**
offset 48 bit 3 */
bool unusedBit_13_3 : 1 {};
/**
offset 48 bit 4 */
bool unusedBit_13_4 : 1 {};
/**
offset 48 bit 5 */
bool unusedBit_13_5 : 1 {};
/**
offset 48 bit 6 */
bool unusedBit_13_6 : 1 {};
/**
offset 48 bit 7 */
bool unusedBit_13_7 : 1 {};
/**
offset 48 bit 8 */
bool unusedBit_13_8 : 1 {};
/**
offset 48 bit 9 */
bool unusedBit_13_9 : 1 {};
/**
offset 48 bit 10 */
bool unusedBit_13_10 : 1 {};
/**
offset 48 bit 11 */
bool unusedBit_13_11 : 1 {};
/**
offset 48 bit 12 */
bool unusedBit_13_12 : 1 {};
/**
offset 48 bit 13 */
bool unusedBit_13_13 : 1 {};
/**
offset 48 bit 14 */
bool unusedBit_13_14 : 1 {};
/**
offset 48 bit 15 */
bool unusedBit_13_15 : 1 {};
/**
offset 48 bit 16 */
bool unusedBit_13_16 : 1 {};
/**
offset 48 bit 17 */
bool unusedBit_13_17 : 1 {};
/**
offset 48 bit 18 */
bool unusedBit_13_18 : 1 {};
/**
offset 48 bit 19 */
bool unusedBit_13_19 : 1 {};
/**
offset 48 bit 20 */
bool unusedBit_13_20 : 1 {};
/**
offset 48 bit 21 */
bool unusedBit_13_21 : 1 {};
/**
offset 48 bit 22 */
bool unusedBit_13_22 : 1 {};
/**
offset 48 bit 23 */
bool unusedBit_13_23 : 1 {};
/**
offset 48 bit 24 */
bool unusedBit_13_24 : 1 {};
/**
offset 48 bit 25 */
bool unusedBit_13_25 : 1 {};
/**
offset 48 bit 26 */
bool unusedBit_13_26 : 1 {};
/**
offset 48 bit 27 */
bool unusedBit_13_27 : 1 {};
/**
offset 48 bit 28 */
bool unusedBit_13_28 : 1 {};
/**
offset 48 bit 29 */
bool unusedBit_13_29 : 1 {};
/**
offset 48 bit 30 */
bool unusedBit_13_30 : 1 {};
/**
offset 48 bit 31 */
bool unusedBit_13_31 : 1 {};
};
static_assert(sizeof(fuel_computer_s) == 52);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/fuel/fuel_computer.txt

View File

@ -0,0 +1,108 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/fuel_pump_control.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of fuel_pump_control_s
struct fuel_pump_control_s {
/**
offset 0 bit 0 */
bool isPrime : 1 {};
/**
offset 0 bit 1 */
bool engineTurnedRecently : 1 {};
/**
offset 0 bit 2 */
bool isFuelPumpOn : 1 {};
/**
offset 0 bit 3 */
bool ignitionOn : 1 {};
/**
offset 0 bit 4 */
bool unusedBit_4_4 : 1 {};
/**
offset 0 bit 5 */
bool unusedBit_4_5 : 1 {};
/**
offset 0 bit 6 */
bool unusedBit_4_6 : 1 {};
/**
offset 0 bit 7 */
bool unusedBit_4_7 : 1 {};
/**
offset 0 bit 8 */
bool unusedBit_4_8 : 1 {};
/**
offset 0 bit 9 */
bool unusedBit_4_9 : 1 {};
/**
offset 0 bit 10 */
bool unusedBit_4_10 : 1 {};
/**
offset 0 bit 11 */
bool unusedBit_4_11 : 1 {};
/**
offset 0 bit 12 */
bool unusedBit_4_12 : 1 {};
/**
offset 0 bit 13 */
bool unusedBit_4_13 : 1 {};
/**
offset 0 bit 14 */
bool unusedBit_4_14 : 1 {};
/**
offset 0 bit 15 */
bool unusedBit_4_15 : 1 {};
/**
offset 0 bit 16 */
bool unusedBit_4_16 : 1 {};
/**
offset 0 bit 17 */
bool unusedBit_4_17 : 1 {};
/**
offset 0 bit 18 */
bool unusedBit_4_18 : 1 {};
/**
offset 0 bit 19 */
bool unusedBit_4_19 : 1 {};
/**
offset 0 bit 20 */
bool unusedBit_4_20 : 1 {};
/**
offset 0 bit 21 */
bool unusedBit_4_21 : 1 {};
/**
offset 0 bit 22 */
bool unusedBit_4_22 : 1 {};
/**
offset 0 bit 23 */
bool unusedBit_4_23 : 1 {};
/**
offset 0 bit 24 */
bool unusedBit_4_24 : 1 {};
/**
offset 0 bit 25 */
bool unusedBit_4_25 : 1 {};
/**
offset 0 bit 26 */
bool unusedBit_4_26 : 1 {};
/**
offset 0 bit 27 */
bool unusedBit_4_27 : 1 {};
/**
offset 0 bit 28 */
bool unusedBit_4_28 : 1 {};
/**
offset 0 bit 29 */
bool unusedBit_4_29 : 1 {};
/**
offset 0 bit 30 */
bool unusedBit_4_30 : 1 {};
/**
offset 0 bit 31 */
bool unusedBit_4_31 : 1 {};
};
static_assert(sizeof(fuel_pump_control_s) == 4);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/fuel_pump_control.txt

View File

@ -0,0 +1,140 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/engine_cycle/high_pressure_fuel_pump.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of high_pressure_fuel_pump_s
struct high_pressure_fuel_pump_s {
/**
* GDI: HPFP duration
* Computed requested pump duration in degrees (not including deadtime)
* offset 0
*/
angle_t m_requested_pump = (angle_t)0;
/**
* "GDI: requested_percent"
* offset 4
*/
float fuel_requested_percent = (float)0;
/**
* "GDI: percent_pi"
* offset 8
*/
float fuel_requested_percent_pi = (float)0;
/**
offset 12 bit 0 */
bool noValve : 1 {};
/**
offset 12 bit 1 */
bool angleAboveMin : 1 {};
/**
offset 12 bit 2 */
bool isHpfpInactive : 1 {};
/**
offset 12 bit 3 */
bool unusedBit_6_3 : 1 {};
/**
offset 12 bit 4 */
bool unusedBit_6_4 : 1 {};
/**
offset 12 bit 5 */
bool unusedBit_6_5 : 1 {};
/**
offset 12 bit 6 */
bool unusedBit_6_6 : 1 {};
/**
offset 12 bit 7 */
bool unusedBit_6_7 : 1 {};
/**
offset 12 bit 8 */
bool unusedBit_6_8 : 1 {};
/**
offset 12 bit 9 */
bool unusedBit_6_9 : 1 {};
/**
offset 12 bit 10 */
bool unusedBit_6_10 : 1 {};
/**
offset 12 bit 11 */
bool unusedBit_6_11 : 1 {};
/**
offset 12 bit 12 */
bool unusedBit_6_12 : 1 {};
/**
offset 12 bit 13 */
bool unusedBit_6_13 : 1 {};
/**
offset 12 bit 14 */
bool unusedBit_6_14 : 1 {};
/**
offset 12 bit 15 */
bool unusedBit_6_15 : 1 {};
/**
offset 12 bit 16 */
bool unusedBit_6_16 : 1 {};
/**
offset 12 bit 17 */
bool unusedBit_6_17 : 1 {};
/**
offset 12 bit 18 */
bool unusedBit_6_18 : 1 {};
/**
offset 12 bit 19 */
bool unusedBit_6_19 : 1 {};
/**
offset 12 bit 20 */
bool unusedBit_6_20 : 1 {};
/**
offset 12 bit 21 */
bool unusedBit_6_21 : 1 {};
/**
offset 12 bit 22 */
bool unusedBit_6_22 : 1 {};
/**
offset 12 bit 23 */
bool unusedBit_6_23 : 1 {};
/**
offset 12 bit 24 */
bool unusedBit_6_24 : 1 {};
/**
offset 12 bit 25 */
bool unusedBit_6_25 : 1 {};
/**
offset 12 bit 26 */
bool unusedBit_6_26 : 1 {};
/**
offset 12 bit 27 */
bool unusedBit_6_27 : 1 {};
/**
offset 12 bit 28 */
bool unusedBit_6_28 : 1 {};
/**
offset 12 bit 29 */
bool unusedBit_6_29 : 1 {};
/**
offset 12 bit 30 */
bool unusedBit_6_30 : 1 {};
/**
offset 12 bit 31 */
bool unusedBit_6_31 : 1 {};
/**
* "GDI: target pressure"
* offset 16
*/
float m_pressureTarget_kPa = (float)0;
/**
* "GDI: nextLobe"
* offset 20
*/
angle_t nextLobe = (angle_t)0;
/**
* GDI: next start
* units: v
* offset 24
*/
float di_nextStart = (float)0;
};
static_assert(sizeof(high_pressure_fuel_pump_s) == 28);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/engine_cycle/high_pressure_fuel_pump.txt

View File

@ -0,0 +1,181 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/idle_state.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of idle_state_s
struct idle_state_s {
/**
* offset 0
*/
idle_state_e idleState = (idle_state_e)0;
/**
* @@GAUGE_NAME_IAC@@
* units: %
* offset 4
*/
percent_t currentIdlePosition = (percent_t)0;
/**
* "idle: base value
* current position without adjustments (iacByTpsTaper, afterCrankingIACtaperDuration)"
* offset 8
*/
percent_t baseIdlePosition = (percent_t)0;
/**
* Idle: Closed loop
* offset 12
*/
percent_t idleClosedLoop = (percent_t)0;
/**
* idle: iacByTpsTaper portion
* offset 16
*/
percent_t iacByTpsTaper = (percent_t)0;
/**
* idle: throttlePedalUpState
* true in IDLE throttle pedal state, false if driver is touching the pedal
* todo: better name for this field?
* offset 20
*/
int throttlePedalUpState = (int)0;
/**
* idle: mightResetPid
* The idea of 'mightResetPid' is to reset PID only once - each time when TPS > idlePidDeactivationTpsThreshold.
* The throttle pedal can be pressed for a long time, making the PID data obsolete (thus the reset is required).
* We set 'mightResetPid' to true only if PID was actually used (i.e. idlePid.getOutput() was called) to save some CPU resources.
* See automaticIdleController().
offset 24 bit 0 */
bool mightResetPid : 1 {};
/**
* Idle: shouldResetPid
offset 24 bit 1 */
bool shouldResetPid : 1 {};
/**
* Idle: wasResetPid
* This is needed to slowly turn on the PID back after it was reset.
offset 24 bit 2 */
bool wasResetPid : 1 {};
/**
* Idle: mustResetPid
* This is used when the PID configuration is changed, to guarantee the reset
offset 24 bit 3 */
bool mustResetPid : 1 {};
/**
* Idle: cranking
offset 24 bit 4 */
bool isCranking : 1 {};
/**
offset 24 bit 5 */
bool isIacTableForCoasting : 1 {};
/**
offset 24 bit 6 */
bool notIdling : 1 {};
/**
* Idle: reset
offset 24 bit 7 */
bool needReset : 1 {};
/**
* Idle: dead zone
offset 24 bit 8 */
bool isInDeadZone : 1 {};
/**
offset 24 bit 9 */
bool isBlipping : 1 {};
/**
offset 24 bit 10 */
bool useClosedLoop : 1 {};
/**
offset 24 bit 11 */
bool badTps : 1 {};
/**
offset 24 bit 12 */
bool looksLikeRunning : 1 {};
/**
offset 24 bit 13 */
bool looksLikeCoasting : 1 {};
/**
offset 24 bit 14 */
bool looksLikeCrankToIdle : 1 {};
/**
* Idle: coasting
offset 24 bit 15 */
bool isIdleCoasting : 1 {};
/**
* Idle: Closed loop active
offset 24 bit 16 */
bool isIdleClosedLoop : 1 {};
/**
offset 24 bit 17 */
bool unusedBit_23_17 : 1 {};
/**
offset 24 bit 18 */
bool unusedBit_23_18 : 1 {};
/**
offset 24 bit 19 */
bool unusedBit_23_19 : 1 {};
/**
offset 24 bit 20 */
bool unusedBit_23_20 : 1 {};
/**
offset 24 bit 21 */
bool unusedBit_23_21 : 1 {};
/**
offset 24 bit 22 */
bool unusedBit_23_22 : 1 {};
/**
offset 24 bit 23 */
bool unusedBit_23_23 : 1 {};
/**
offset 24 bit 24 */
bool unusedBit_23_24 : 1 {};
/**
offset 24 bit 25 */
bool unusedBit_23_25 : 1 {};
/**
offset 24 bit 26 */
bool unusedBit_23_26 : 1 {};
/**
offset 24 bit 27 */
bool unusedBit_23_27 : 1 {};
/**
offset 24 bit 28 */
bool unusedBit_23_28 : 1 {};
/**
offset 24 bit 29 */
bool unusedBit_23_29 : 1 {};
/**
offset 24 bit 30 */
bool unusedBit_23_30 : 1 {};
/**
offset 24 bit 31 */
bool unusedBit_23_31 : 1 {};
/**
* Idle: Target RPM
* offset 28
*/
int idleTarget = (int)0;
/**
* Idle: Target RPM base
* offset 32
*/
int targetRpmByClt = (int)0;
/**
* Idle: Target A/C RPM
* offset 36
*/
int targetRpmAc = (int)0;
/**
* idle: iacByRpmTaper portion
* offset 40
*/
percent_t iacByRpmTaper = (percent_t)0;
/**
* idle: Lua Adder
* offset 44
*/
percent_t luaAdd = (percent_t)0;
};
static_assert(sizeof(idle_state_s) == 48);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/idle_state.txt

View File

@ -0,0 +1,183 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/ignition_state.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of ignition_state_s
struct ignition_state_s {
/**
* "Ignition: base dwell"
* units: ms
* offset 0
*/
float baseDwell = (float)0;
/**
* @@GAUGE_COIL_DWELL_TIME@@
* units: ms
* offset 4
*/
floatms_t sparkDwell = (floatms_t)0;
/**
* Ignition: dwell duration
* as crankshaft angle
* NAN if engine is stopped
* See also sparkDwell
* units: deg
* offset 8
*/
angle_t dwellDurationAngle = (angle_t)0;
/**
* Ign: CLT correction
* units: deg
* offset 12
*/
scaled_channel<int16_t, 100, 1> cltTimingCorrection = (int16_t)0;
/**
* Ign: IAT correction
* units: deg
* offset 14
*/
scaled_channel<int16_t, 100, 1> timingIatCorrection = (int16_t)0;
/**
* Idle: Timing adjustment
* units: deg
* offset 16
*/
scaled_channel<int16_t, 100, 1> timingPidCorrection = (int16_t)0;
/**
* @@GAUGE_NAME_TIMING_ADVANCE@@
* units: deg
* offset 18
*/
scaled_channel<int16_t, 50, 1> baseIgnitionAdvance = (int16_t)0;
/**
* @@GAUGE_NAME_ADJUSTED_TIMING@@
* units: deg
* offset 20
*/
scaled_channel<int16_t, 50, 1> correctedIgnitionAdvance = (int16_t)0;
/**
* Traction: timing correction
* units: deg
* offset 22
*/
scaled_channel<int16_t, 50, 1> tractionAdvanceDrop = (int16_t)0;
/**
* Ign: Dwell voltage correction
* offset 24
*/
float dwellVoltageCorrection = (float)0;
/**
* Ign: Lua timing add
* units: deg
* offset 28
*/
float luaTimingAdd = (float)0;
/**
* Ign: Lua timing mult
* units: deg
* offset 32
*/
float luaTimingMult = (float)0;
/**
* Ign: Lua Spark Skip
offset 36 bit 0 */
bool luaIgnitionSkip : 1 {};
/**
offset 36 bit 1 */
bool unusedBit_13_1 : 1 {};
/**
offset 36 bit 2 */
bool unusedBit_13_2 : 1 {};
/**
offset 36 bit 3 */
bool unusedBit_13_3 : 1 {};
/**
offset 36 bit 4 */
bool unusedBit_13_4 : 1 {};
/**
offset 36 bit 5 */
bool unusedBit_13_5 : 1 {};
/**
offset 36 bit 6 */
bool unusedBit_13_6 : 1 {};
/**
offset 36 bit 7 */
bool unusedBit_13_7 : 1 {};
/**
offset 36 bit 8 */
bool unusedBit_13_8 : 1 {};
/**
offset 36 bit 9 */
bool unusedBit_13_9 : 1 {};
/**
offset 36 bit 10 */
bool unusedBit_13_10 : 1 {};
/**
offset 36 bit 11 */
bool unusedBit_13_11 : 1 {};
/**
offset 36 bit 12 */
bool unusedBit_13_12 : 1 {};
/**
offset 36 bit 13 */
bool unusedBit_13_13 : 1 {};
/**
offset 36 bit 14 */
bool unusedBit_13_14 : 1 {};
/**
offset 36 bit 15 */
bool unusedBit_13_15 : 1 {};
/**
offset 36 bit 16 */
bool unusedBit_13_16 : 1 {};
/**
offset 36 bit 17 */
bool unusedBit_13_17 : 1 {};
/**
offset 36 bit 18 */
bool unusedBit_13_18 : 1 {};
/**
offset 36 bit 19 */
bool unusedBit_13_19 : 1 {};
/**
offset 36 bit 20 */
bool unusedBit_13_20 : 1 {};
/**
offset 36 bit 21 */
bool unusedBit_13_21 : 1 {};
/**
offset 36 bit 22 */
bool unusedBit_13_22 : 1 {};
/**
offset 36 bit 23 */
bool unusedBit_13_23 : 1 {};
/**
offset 36 bit 24 */
bool unusedBit_13_24 : 1 {};
/**
offset 36 bit 25 */
bool unusedBit_13_25 : 1 {};
/**
offset 36 bit 26 */
bool unusedBit_13_26 : 1 {};
/**
offset 36 bit 27 */
bool unusedBit_13_27 : 1 {};
/**
offset 36 bit 28 */
bool unusedBit_13_28 : 1 {};
/**
offset 36 bit 29 */
bool unusedBit_13_29 : 1 {};
/**
offset 36 bit 30 */
bool unusedBit_13_30 : 1 {};
/**
offset 36 bit 31 */
bool unusedBit_13_31 : 1 {};
};
static_assert(sizeof(ignition_state_s) == 40);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/ignition_state.txt

View File

@ -0,0 +1,29 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/fuel/injector_model.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of injector_model_s
struct injector_model_s {
/**
* @@GAUGE_NAME_INJECTOR_LAG@@
* units: ms
* offset 0
*/
float m_deadtime = (float)0;
/**
* Fuel: Injector pressure delta
* units: kPa
* offset 4
*/
float pressureDelta = (float)0;
/**
* Fuel: Injector pressure ratio
* offset 8
*/
float pressureRatio = (float)0;
};
static_assert(sizeof(injector_model_s) == 12);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/fuel/injector_model.txt

View File

@ -0,0 +1,51 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/engine_cycle/knock_controller.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of knock_controller_s
struct knock_controller_s {
/**
* @@GAUGE_NAME_KNOCK_LEVEL@@
* units: Volts
* offset 0
*/
float m_knockLevel = (float)0;
/**
* Knock: Cyl
* units: dBv
* offset 4
*/
int8_t m_knockCyl[12];
/**
* @@GAUGE_NAME_KNOCK_RETARD@@
* units: deg
* offset 16
*/
angle_t m_knockRetard = (angle_t)0;
/**
* Knock: Threshold
* offset 20
*/
float m_knockThreshold = (float)0;
/**
* @@GAUGE_NAME_KNOCK_COUNTER@@
* offset 24
*/
uint32_t m_knockCount = (uint32_t)0;
/**
* Knock: Max retard
* offset 28
*/
float m_maximumRetard = (float)0;
/**
* @@GAUGE_NAME_KNOCK_FREQ@@
* units: Hz
* offset 32
*/
uint32_t m_knockFrequency = (uint32_t)0;
};
static_assert(sizeof(knock_controller_s) == 36);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/engine_cycle/knock_controller.txt

View File

@ -0,0 +1,119 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/math/lambda_monitor.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of lambda_monitor_s
struct lambda_monitor_s {
/**
offset 0 bit 0 */
bool lambdaCurrentlyGood : 1 {};
/**
offset 0 bit 1 */
bool lambdaMonitorCut : 1 {};
/**
offset 0 bit 2 */
bool unusedBit_2_2 : 1 {};
/**
offset 0 bit 3 */
bool unusedBit_2_3 : 1 {};
/**
offset 0 bit 4 */
bool unusedBit_2_4 : 1 {};
/**
offset 0 bit 5 */
bool unusedBit_2_5 : 1 {};
/**
offset 0 bit 6 */
bool unusedBit_2_6 : 1 {};
/**
offset 0 bit 7 */
bool unusedBit_2_7 : 1 {};
/**
offset 0 bit 8 */
bool unusedBit_2_8 : 1 {};
/**
offset 0 bit 9 */
bool unusedBit_2_9 : 1 {};
/**
offset 0 bit 10 */
bool unusedBit_2_10 : 1 {};
/**
offset 0 bit 11 */
bool unusedBit_2_11 : 1 {};
/**
offset 0 bit 12 */
bool unusedBit_2_12 : 1 {};
/**
offset 0 bit 13 */
bool unusedBit_2_13 : 1 {};
/**
offset 0 bit 14 */
bool unusedBit_2_14 : 1 {};
/**
offset 0 bit 15 */
bool unusedBit_2_15 : 1 {};
/**
offset 0 bit 16 */
bool unusedBit_2_16 : 1 {};
/**
offset 0 bit 17 */
bool unusedBit_2_17 : 1 {};
/**
offset 0 bit 18 */
bool unusedBit_2_18 : 1 {};
/**
offset 0 bit 19 */
bool unusedBit_2_19 : 1 {};
/**
offset 0 bit 20 */
bool unusedBit_2_20 : 1 {};
/**
offset 0 bit 21 */
bool unusedBit_2_21 : 1 {};
/**
offset 0 bit 22 */
bool unusedBit_2_22 : 1 {};
/**
offset 0 bit 23 */
bool unusedBit_2_23 : 1 {};
/**
offset 0 bit 24 */
bool unusedBit_2_24 : 1 {};
/**
offset 0 bit 25 */
bool unusedBit_2_25 : 1 {};
/**
offset 0 bit 26 */
bool unusedBit_2_26 : 1 {};
/**
offset 0 bit 27 */
bool unusedBit_2_27 : 1 {};
/**
offset 0 bit 28 */
bool unusedBit_2_28 : 1 {};
/**
offset 0 bit 29 */
bool unusedBit_2_29 : 1 {};
/**
offset 0 bit 30 */
bool unusedBit_2_30 : 1 {};
/**
offset 0 bit 31 */
bool unusedBit_2_31 : 1 {};
/**
* units: sec
* offset 4
*/
scaled_channel<uint16_t, 100, 1> lambdaTimeSinceGood = (uint16_t)0;
/**
* need 4 byte alignment
* units: units
* offset 6
*/
uint8_t alignmentFill_at_6[2];
};
static_assert(sizeof(lambda_monitor_s) == 8);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/math/lambda_monitor.txt

View File

@ -0,0 +1,112 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/launch_control_state.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of launch_control_state_s
struct launch_control_state_s {
/**
* offset 0
*/
int retardThresholdRpm = (int)0;
/**
offset 4 bit 0 */
bool launchActivatePinState : 1 {};
/**
offset 4 bit 1 */
bool isPreLaunchCondition : 1 {};
/**
offset 4 bit 2 */
bool isLaunchCondition : 1 {};
/**
offset 4 bit 3 */
bool isSwitchActivated : 1 {};
/**
offset 4 bit 4 */
bool isClutchActivated : 1 {};
/**
offset 4 bit 5 */
bool isBrakePedalActivated : 1 {};
/**
offset 4 bit 6 */
bool isValidInputPin : 1 {};
/**
offset 4 bit 7 */
bool activateSwitchCondition : 1 {};
/**
offset 4 bit 8 */
bool rpmLaunchCondition : 1 {};
/**
offset 4 bit 9 */
bool rpmPreLaunchCondition : 1 {};
/**
offset 4 bit 10 */
bool speedCondition : 1 {};
/**
offset 4 bit 11 */
bool tpsCondition : 1 {};
/**
offset 4 bit 12 */
bool unusedBit_13_12 : 1 {};
/**
offset 4 bit 13 */
bool unusedBit_13_13 : 1 {};
/**
offset 4 bit 14 */
bool unusedBit_13_14 : 1 {};
/**
offset 4 bit 15 */
bool unusedBit_13_15 : 1 {};
/**
offset 4 bit 16 */
bool unusedBit_13_16 : 1 {};
/**
offset 4 bit 17 */
bool unusedBit_13_17 : 1 {};
/**
offset 4 bit 18 */
bool unusedBit_13_18 : 1 {};
/**
offset 4 bit 19 */
bool unusedBit_13_19 : 1 {};
/**
offset 4 bit 20 */
bool unusedBit_13_20 : 1 {};
/**
offset 4 bit 21 */
bool unusedBit_13_21 : 1 {};
/**
offset 4 bit 22 */
bool unusedBit_13_22 : 1 {};
/**
offset 4 bit 23 */
bool unusedBit_13_23 : 1 {};
/**
offset 4 bit 24 */
bool unusedBit_13_24 : 1 {};
/**
offset 4 bit 25 */
bool unusedBit_13_25 : 1 {};
/**
offset 4 bit 26 */
bool unusedBit_13_26 : 1 {};
/**
offset 4 bit 27 */
bool unusedBit_13_27 : 1 {};
/**
offset 4 bit 28 */
bool unusedBit_13_28 : 1 {};
/**
offset 4 bit 29 */
bool unusedBit_13_29 : 1 {};
/**
offset 4 bit 30 */
bool unusedBit_13_30 : 1 {};
/**
offset 4 bit 31 */
bool unusedBit_13_31 : 1 {};
};
static_assert(sizeof(launch_control_state_s) == 8);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/launch_control_state.txt

View File

@ -0,0 +1,108 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/main_relay.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of main_relay_s
struct main_relay_s {
/**
offset 0 bit 0 */
bool isBenchTest : 1 {};
/**
offset 0 bit 1 */
bool hasIgnitionVoltage : 1 {};
/**
offset 0 bit 2 */
bool mainRelayState : 1 {};
/**
offset 0 bit 3 */
bool delayedShutoffRequested : 1 {};
/**
offset 0 bit 4 */
bool unusedBit_4_4 : 1 {};
/**
offset 0 bit 5 */
bool unusedBit_4_5 : 1 {};
/**
offset 0 bit 6 */
bool unusedBit_4_6 : 1 {};
/**
offset 0 bit 7 */
bool unusedBit_4_7 : 1 {};
/**
offset 0 bit 8 */
bool unusedBit_4_8 : 1 {};
/**
offset 0 bit 9 */
bool unusedBit_4_9 : 1 {};
/**
offset 0 bit 10 */
bool unusedBit_4_10 : 1 {};
/**
offset 0 bit 11 */
bool unusedBit_4_11 : 1 {};
/**
offset 0 bit 12 */
bool unusedBit_4_12 : 1 {};
/**
offset 0 bit 13 */
bool unusedBit_4_13 : 1 {};
/**
offset 0 bit 14 */
bool unusedBit_4_14 : 1 {};
/**
offset 0 bit 15 */
bool unusedBit_4_15 : 1 {};
/**
offset 0 bit 16 */
bool unusedBit_4_16 : 1 {};
/**
offset 0 bit 17 */
bool unusedBit_4_17 : 1 {};
/**
offset 0 bit 18 */
bool unusedBit_4_18 : 1 {};
/**
offset 0 bit 19 */
bool unusedBit_4_19 : 1 {};
/**
offset 0 bit 20 */
bool unusedBit_4_20 : 1 {};
/**
offset 0 bit 21 */
bool unusedBit_4_21 : 1 {};
/**
offset 0 bit 22 */
bool unusedBit_4_22 : 1 {};
/**
offset 0 bit 23 */
bool unusedBit_4_23 : 1 {};
/**
offset 0 bit 24 */
bool unusedBit_4_24 : 1 {};
/**
offset 0 bit 25 */
bool unusedBit_4_25 : 1 {};
/**
offset 0 bit 26 */
bool unusedBit_4_26 : 1 {};
/**
offset 0 bit 27 */
bool unusedBit_4_27 : 1 {};
/**
offset 0 bit 28 */
bool unusedBit_4_28 : 1 {};
/**
offset 0 bit 29 */
bool unusedBit_4_29 : 1 {};
/**
offset 0 bit 30 */
bool unusedBit_4_30 : 1 {};
/**
offset 0 bit 31 */
bool unusedBit_4_31 : 1 {};
};
static_assert(sizeof(main_relay_s) == 4);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/main_relay.txt

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,30 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/sensors/sent_state.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of sent_state_s
struct sent_state_s {
/**
* "ETB: SENT value0"
* units: value
* offset 0
*/
uint16_t value0 = (uint16_t)0;
/**
* "ETB: SENT value1"
* units: value
* offset 2
*/
uint16_t value1 = (uint16_t)0;
/**
* "ETB: SENT error rate"
* units: ratio
* offset 4
*/
float errorRate = (float)0;
};
static_assert(sizeof(sent_state_s) == 8);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/sensors/sent_state.txt

View File

@ -0,0 +1,153 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/tcu/tcu_controller.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of tcu_controller_s
struct tcu_controller_s {
/**
* @@GAUGE_NAME_CURRENT_GEAR@@
* units: gear
* offset 0
*/
int8_t tcuCurrentGear = (int8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 1
*/
uint8_t alignmentFill_at_1[1];
/**
* @@GAUGE_NAME_TC_RATIO@@
* units: value
* offset 2
*/
scaled_channel<uint16_t, 100, 1> tcRatio = (uint16_t)0;
/**
* offset 4
*/
float lastShiftTime = (float)0;
/**
* "TCU: Current Range"
* offset 8
*/
uint8_t tcu_currentRange = (uint8_t)0;
/**
* "TCU: EPC Duty"
* units: %
* offset 9
*/
int8_t pressureControlDuty = (int8_t)0;
/**
* "TCU: TC Duty"
* units: %
* offset 10
*/
int8_t torqueConverterDuty = (int8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 11
*/
uint8_t alignmentFill_at_11[1];
/**
offset 12 bit 0 */
bool isShifting : 1 {};
/**
offset 12 bit 1 */
bool unusedBit_9_1 : 1 {};
/**
offset 12 bit 2 */
bool unusedBit_9_2 : 1 {};
/**
offset 12 bit 3 */
bool unusedBit_9_3 : 1 {};
/**
offset 12 bit 4 */
bool unusedBit_9_4 : 1 {};
/**
offset 12 bit 5 */
bool unusedBit_9_5 : 1 {};
/**
offset 12 bit 6 */
bool unusedBit_9_6 : 1 {};
/**
offset 12 bit 7 */
bool unusedBit_9_7 : 1 {};
/**
offset 12 bit 8 */
bool unusedBit_9_8 : 1 {};
/**
offset 12 bit 9 */
bool unusedBit_9_9 : 1 {};
/**
offset 12 bit 10 */
bool unusedBit_9_10 : 1 {};
/**
offset 12 bit 11 */
bool unusedBit_9_11 : 1 {};
/**
offset 12 bit 12 */
bool unusedBit_9_12 : 1 {};
/**
offset 12 bit 13 */
bool unusedBit_9_13 : 1 {};
/**
offset 12 bit 14 */
bool unusedBit_9_14 : 1 {};
/**
offset 12 bit 15 */
bool unusedBit_9_15 : 1 {};
/**
offset 12 bit 16 */
bool unusedBit_9_16 : 1 {};
/**
offset 12 bit 17 */
bool unusedBit_9_17 : 1 {};
/**
offset 12 bit 18 */
bool unusedBit_9_18 : 1 {};
/**
offset 12 bit 19 */
bool unusedBit_9_19 : 1 {};
/**
offset 12 bit 20 */
bool unusedBit_9_20 : 1 {};
/**
offset 12 bit 21 */
bool unusedBit_9_21 : 1 {};
/**
offset 12 bit 22 */
bool unusedBit_9_22 : 1 {};
/**
offset 12 bit 23 */
bool unusedBit_9_23 : 1 {};
/**
offset 12 bit 24 */
bool unusedBit_9_24 : 1 {};
/**
offset 12 bit 25 */
bool unusedBit_9_25 : 1 {};
/**
offset 12 bit 26 */
bool unusedBit_9_26 : 1 {};
/**
offset 12 bit 27 */
bool unusedBit_9_27 : 1 {};
/**
offset 12 bit 28 */
bool unusedBit_9_28 : 1 {};
/**
offset 12 bit 29 */
bool unusedBit_9_29 : 1 {};
/**
offset 12 bit 30 */
bool unusedBit_9_30 : 1 {};
/**
offset 12 bit 31 */
bool unusedBit_9_31 : 1 {};
};
static_assert(sizeof(tcu_controller_s) == 16);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/tcu/tcu_controller.txt

View File

@ -0,0 +1,127 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/math/throttle_model.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of throttle_model_s
struct throttle_model_s {
/**
* Air: Throttle model WOT
offset 0 bit 0 */
bool throttleUseWotModel : 1 {};
/**
offset 0 bit 1 */
bool unusedBit_1_1 : 1 {};
/**
offset 0 bit 2 */
bool unusedBit_1_2 : 1 {};
/**
offset 0 bit 3 */
bool unusedBit_1_3 : 1 {};
/**
offset 0 bit 4 */
bool unusedBit_1_4 : 1 {};
/**
offset 0 bit 5 */
bool unusedBit_1_5 : 1 {};
/**
offset 0 bit 6 */
bool unusedBit_1_6 : 1 {};
/**
offset 0 bit 7 */
bool unusedBit_1_7 : 1 {};
/**
offset 0 bit 8 */
bool unusedBit_1_8 : 1 {};
/**
offset 0 bit 9 */
bool unusedBit_1_9 : 1 {};
/**
offset 0 bit 10 */
bool unusedBit_1_10 : 1 {};
/**
offset 0 bit 11 */
bool unusedBit_1_11 : 1 {};
/**
offset 0 bit 12 */
bool unusedBit_1_12 : 1 {};
/**
offset 0 bit 13 */
bool unusedBit_1_13 : 1 {};
/**
offset 0 bit 14 */
bool unusedBit_1_14 : 1 {};
/**
offset 0 bit 15 */
bool unusedBit_1_15 : 1 {};
/**
offset 0 bit 16 */
bool unusedBit_1_16 : 1 {};
/**
offset 0 bit 17 */
bool unusedBit_1_17 : 1 {};
/**
offset 0 bit 18 */
bool unusedBit_1_18 : 1 {};
/**
offset 0 bit 19 */
bool unusedBit_1_19 : 1 {};
/**
offset 0 bit 20 */
bool unusedBit_1_20 : 1 {};
/**
offset 0 bit 21 */
bool unusedBit_1_21 : 1 {};
/**
offset 0 bit 22 */
bool unusedBit_1_22 : 1 {};
/**
offset 0 bit 23 */
bool unusedBit_1_23 : 1 {};
/**
offset 0 bit 24 */
bool unusedBit_1_24 : 1 {};
/**
offset 0 bit 25 */
bool unusedBit_1_25 : 1 {};
/**
offset 0 bit 26 */
bool unusedBit_1_26 : 1 {};
/**
offset 0 bit 27 */
bool unusedBit_1_27 : 1 {};
/**
offset 0 bit 28 */
bool unusedBit_1_28 : 1 {};
/**
offset 0 bit 29 */
bool unusedBit_1_29 : 1 {};
/**
offset 0 bit 30 */
bool unusedBit_1_30 : 1 {};
/**
offset 0 bit 31 */
bool unusedBit_1_31 : 1 {};
/**
* Air: Throttle crossover pos
* units: %
* offset 4
*/
scaled_channel<int16_t, 100, 1> throttleModelCrossoverAngle = (int16_t)0;
/**
* need 4 byte alignment
* units: units
* offset 6
*/
uint8_t alignmentFill_at_6[2];
/**
* Air: Throttle flow estimate
* units: g/s
* offset 8
*/
float throttleEstimatedFlow = (float)0;
};
static_assert(sizeof(throttle_model_s) == 12);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/math/throttle_model.txt

View File

@ -0,0 +1,159 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/tps_accel_state.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of tps_accel_state_s
struct tps_accel_state_s {
/**
* Fuel: TPS AE from
* offset 0
*/
percent_t tpsFrom = (percent_t)0;
/**
* Fuel: TPS AE to
* offset 4
*/
percent_t tpsTo = (percent_t)0;
/**
* Fuel: TPS AE change
* offset 8
*/
percent_t deltaTps = (percent_t)0;
/**
* offset 12
*/
floatms_t extraFuel = (floatms_t)0;
/**
* offset 16
*/
float valueFromTable = (float)0;
/**
* Fuel: TPS AE Active
offset 20 bit 0 */
bool isAboveAccelThreshold : 1 {};
/**
offset 20 bit 1 */
bool isBelowDecelThreshold : 1 {};
/**
* Fuel: TPS AE: reset time
offset 20 bit 2 */
bool isTimeToResetAccumulator : 1 {};
/**
offset 20 bit 3 */
bool isFractionalEnrichment : 1 {};
/**
* Fuel: TPS AE: below threshold
offset 20 bit 4 */
bool belowEpsilon : 1 {};
/**
* Fuel: TPS AE: too short
offset 20 bit 5 */
bool tooShort : 1 {};
/**
offset 20 bit 6 */
bool unusedBit_11_6 : 1 {};
/**
offset 20 bit 7 */
bool unusedBit_11_7 : 1 {};
/**
offset 20 bit 8 */
bool unusedBit_11_8 : 1 {};
/**
offset 20 bit 9 */
bool unusedBit_11_9 : 1 {};
/**
offset 20 bit 10 */
bool unusedBit_11_10 : 1 {};
/**
offset 20 bit 11 */
bool unusedBit_11_11 : 1 {};
/**
offset 20 bit 12 */
bool unusedBit_11_12 : 1 {};
/**
offset 20 bit 13 */
bool unusedBit_11_13 : 1 {};
/**
offset 20 bit 14 */
bool unusedBit_11_14 : 1 {};
/**
offset 20 bit 15 */
bool unusedBit_11_15 : 1 {};
/**
offset 20 bit 16 */
bool unusedBit_11_16 : 1 {};
/**
offset 20 bit 17 */
bool unusedBit_11_17 : 1 {};
/**
offset 20 bit 18 */
bool unusedBit_11_18 : 1 {};
/**
offset 20 bit 19 */
bool unusedBit_11_19 : 1 {};
/**
offset 20 bit 20 */
bool unusedBit_11_20 : 1 {};
/**
offset 20 bit 21 */
bool unusedBit_11_21 : 1 {};
/**
offset 20 bit 22 */
bool unusedBit_11_22 : 1 {};
/**
offset 20 bit 23 */
bool unusedBit_11_23 : 1 {};
/**
offset 20 bit 24 */
bool unusedBit_11_24 : 1 {};
/**
offset 20 bit 25 */
bool unusedBit_11_25 : 1 {};
/**
offset 20 bit 26 */
bool unusedBit_11_26 : 1 {};
/**
offset 20 bit 27 */
bool unusedBit_11_27 : 1 {};
/**
offset 20 bit 28 */
bool unusedBit_11_28 : 1 {};
/**
offset 20 bit 29 */
bool unusedBit_11_29 : 1 {};
/**
offset 20 bit 30 */
bool unusedBit_11_30 : 1 {};
/**
offset 20 bit 31 */
bool unusedBit_11_31 : 1 {};
/**
* offset 24
*/
float fractionalInjFuel = (float)0;
/**
* offset 28
*/
floatms_t accumulatedValue = (floatms_t)0;
/**
* offset 32
*/
floatms_t maxExtraPerCycle = (floatms_t)0;
/**
* offset 36
*/
floatms_t maxExtraPerPeriod = (floatms_t)0;
/**
* offset 40
*/
floatms_t maxInjectedPerPeriod = (floatms_t)0;
/**
* offset 44
*/
int cycleCnt = (int)0;
};
static_assert(sizeof(tps_accel_state_s) == 48);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/tps_accel_state.txt

View File

@ -0,0 +1,173 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/trigger/trigger_central.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
#define HW_EVENT_TYPES 6
// start of trigger_central_s
struct trigger_central_s {
/**
* Hardware events since boot
* offset 0
*/
uint32_t hwEventCounters[HW_EVENT_TYPES];
/**
* Sync: total cams front counter
* offset 24
*/
uint32_t vvtCamCounter = (uint32_t)0;
/**
* offset 28
*/
float mapVvt_MAP_AT_SPECIAL_POINT = (float)0;
/**
* offset 32
*/
float mapVvt_MAP_AT_DIFF = (float)0;
/**
* offset 36
*/
uint8_t mapVvt_MAP_AT_CYCLE_COUNT = (uint8_t)0;
/**
* offset 37
*/
uint8_t mapVvt_map_peak = (uint8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 38
*/
uint8_t alignmentFill_at_38[2];
/**
* Sync: Engine Phase
* units: deg
* offset 40
*/
float currentEngineDecodedPhase = (float)0;
/**
* Sync: trigger angle error
* units: deg
* offset 44
*/
float triggerToothAngleError = (float)0;
/**
* offset 48
*/
uint8_t triggerIgnoredToothCount = (uint8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 49
*/
uint8_t alignmentFill_at_49[3];
/**
* Sync: MAP: prev angle
* units: deg
* offset 52
*/
angle_t mapCamPrevToothAngle = (angle_t)0;
/**
offset 56 bit 0 */
bool isDecodingMapCam : 1 {};
/**
offset 56 bit 1 */
bool unusedBit_13_1 : 1 {};
/**
offset 56 bit 2 */
bool unusedBit_13_2 : 1 {};
/**
offset 56 bit 3 */
bool unusedBit_13_3 : 1 {};
/**
offset 56 bit 4 */
bool unusedBit_13_4 : 1 {};
/**
offset 56 bit 5 */
bool unusedBit_13_5 : 1 {};
/**
offset 56 bit 6 */
bool unusedBit_13_6 : 1 {};
/**
offset 56 bit 7 */
bool unusedBit_13_7 : 1 {};
/**
offset 56 bit 8 */
bool unusedBit_13_8 : 1 {};
/**
offset 56 bit 9 */
bool unusedBit_13_9 : 1 {};
/**
offset 56 bit 10 */
bool unusedBit_13_10 : 1 {};
/**
offset 56 bit 11 */
bool unusedBit_13_11 : 1 {};
/**
offset 56 bit 12 */
bool unusedBit_13_12 : 1 {};
/**
offset 56 bit 13 */
bool unusedBit_13_13 : 1 {};
/**
offset 56 bit 14 */
bool unusedBit_13_14 : 1 {};
/**
offset 56 bit 15 */
bool unusedBit_13_15 : 1 {};
/**
offset 56 bit 16 */
bool unusedBit_13_16 : 1 {};
/**
offset 56 bit 17 */
bool unusedBit_13_17 : 1 {};
/**
offset 56 bit 18 */
bool unusedBit_13_18 : 1 {};
/**
offset 56 bit 19 */
bool unusedBit_13_19 : 1 {};
/**
offset 56 bit 20 */
bool unusedBit_13_20 : 1 {};
/**
offset 56 bit 21 */
bool unusedBit_13_21 : 1 {};
/**
offset 56 bit 22 */
bool unusedBit_13_22 : 1 {};
/**
offset 56 bit 23 */
bool unusedBit_13_23 : 1 {};
/**
offset 56 bit 24 */
bool unusedBit_13_24 : 1 {};
/**
offset 56 bit 25 */
bool unusedBit_13_25 : 1 {};
/**
offset 56 bit 26 */
bool unusedBit_13_26 : 1 {};
/**
offset 56 bit 27 */
bool unusedBit_13_27 : 1 {};
/**
offset 56 bit 28 */
bool unusedBit_13_28 : 1 {};
/**
offset 56 bit 29 */
bool unusedBit_13_29 : 1 {};
/**
offset 56 bit 30 */
bool unusedBit_13_30 : 1 {};
/**
offset 56 bit 31 */
bool unusedBit_13_31 : 1 {};
/**
* offset 60
*/
uint32_t triggerElapsedUs = (uint32_t)0;
};
static_assert(sizeof(trigger_central_s) == 64);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/trigger/trigger_central.txt

View File

@ -0,0 +1,56 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/trigger/trigger_state.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of trigger_state_s
struct trigger_state_s {
/**
* sync: Crank sync counter
* Usually matches crank revolutions
* offset 0
*/
uint32_t crankSynchronizationCounter = (uint32_t)0;
/**
* offset 4
*/
float vvtSyncGapRatio = (float)0;
/**
* units: us
* offset 8
*/
uint32_t vvtToothDurations0 = (uint32_t)0;
/**
* units: sync: Primary Cam Position
* offset 12
*/
float vvtCurrentPosition = (float)0;
/**
* units: sync: Cam Tooth Position
* offset 16
*/
float vvtToothPosition[4];
/**
* @@GAUGE_NAME_TRG_GAP@@
* offset 32
*/
float triggerSyncGapRatio = (float)0;
/**
* offset 36
*/
uint8_t triggerStateIndex = (uint8_t)0;
/**
* offset 37
*/
uint8_t vvtStateIndex = (uint8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 38
*/
uint8_t alignmentFill_at_38[2];
};
static_assert(sizeof(trigger_state_s) == 40);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/trigger/trigger_state.txt

View File

@ -0,0 +1,120 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/trigger/trigger_state_primary.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of trigger_state_primary_s
struct trigger_state_primary_s {
/**
* sync: Phase Re-Sync Counter
* offset 0
*/
uint8_t camResyncCounter = (uint8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 1
*/
uint8_t alignmentFill_at_1[3];
/**
* sync: Known Engine Phase
offset 4 bit 0 */
bool m_hasSynchronizedPhase : 1 {};
/**
offset 4 bit 1 */
bool unusedBit_3_1 : 1 {};
/**
offset 4 bit 2 */
bool unusedBit_3_2 : 1 {};
/**
offset 4 bit 3 */
bool unusedBit_3_3 : 1 {};
/**
offset 4 bit 4 */
bool unusedBit_3_4 : 1 {};
/**
offset 4 bit 5 */
bool unusedBit_3_5 : 1 {};
/**
offset 4 bit 6 */
bool unusedBit_3_6 : 1 {};
/**
offset 4 bit 7 */
bool unusedBit_3_7 : 1 {};
/**
offset 4 bit 8 */
bool unusedBit_3_8 : 1 {};
/**
offset 4 bit 9 */
bool unusedBit_3_9 : 1 {};
/**
offset 4 bit 10 */
bool unusedBit_3_10 : 1 {};
/**
offset 4 bit 11 */
bool unusedBit_3_11 : 1 {};
/**
offset 4 bit 12 */
bool unusedBit_3_12 : 1 {};
/**
offset 4 bit 13 */
bool unusedBit_3_13 : 1 {};
/**
offset 4 bit 14 */
bool unusedBit_3_14 : 1 {};
/**
offset 4 bit 15 */
bool unusedBit_3_15 : 1 {};
/**
offset 4 bit 16 */
bool unusedBit_3_16 : 1 {};
/**
offset 4 bit 17 */
bool unusedBit_3_17 : 1 {};
/**
offset 4 bit 18 */
bool unusedBit_3_18 : 1 {};
/**
offset 4 bit 19 */
bool unusedBit_3_19 : 1 {};
/**
offset 4 bit 20 */
bool unusedBit_3_20 : 1 {};
/**
offset 4 bit 21 */
bool unusedBit_3_21 : 1 {};
/**
offset 4 bit 22 */
bool unusedBit_3_22 : 1 {};
/**
offset 4 bit 23 */
bool unusedBit_3_23 : 1 {};
/**
offset 4 bit 24 */
bool unusedBit_3_24 : 1 {};
/**
offset 4 bit 25 */
bool unusedBit_3_25 : 1 {};
/**
offset 4 bit 26 */
bool unusedBit_3_26 : 1 {};
/**
offset 4 bit 27 */
bool unusedBit_3_27 : 1 {};
/**
offset 4 bit 28 */
bool unusedBit_3_28 : 1 {};
/**
offset 4 bit 29 */
bool unusedBit_3_29 : 1 {};
/**
offset 4 bit 30 */
bool unusedBit_3_30 : 1 {};
/**
offset 4 bit 31 */
bool unusedBit_3_31 : 1 {};
};
static_assert(sizeof(trigger_state_primary_s) == 8);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/trigger/trigger_state_primary.txt

View File

@ -0,0 +1,28 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/vvt.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of vvt_s
struct vvt_s {
/**
* units: deg
* offset 0
*/
scaled_channel<uint16_t, 10, 1> vvtTarget = (uint16_t)0;
/**
* units: %
* offset 2
*/
scaled_channel<uint8_t, 2, 1> vvtOutput = (uint8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 3
*/
uint8_t alignmentFill_at_3[1];
};
static_assert(sizeof(vvt_s) == 4);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/vvt.txt

View File

@ -0,0 +1,24 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/wall_fuel_state.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of wall_fuel_state_s
struct wall_fuel_state_s {
/**
* fuel wallwetting injection time
* correction to account for wall wetting effect for current cycle
* offset 0
*/
float wallFuelCorrection = (float)0;
/**
* Fuel on the wall
* in ms of injector open time for each injector.
* offset 4
*/
floatms_t wallFuel = (floatms_t)0;
};
static_assert(sizeof(wall_fuel_state_s) == 8);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/wall_fuel_state.txt

View File

@ -0,0 +1,59 @@
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/sensors//wideband_state.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of wideband_state_s
struct wideband_state_s {
/**
* WBO: Fault code
* offset 0
*/
uint8_t faultCode = (uint8_t)0;
/**
* WBO: Heater duty
* units: %
* offset 1
*/
uint8_t heaterDuty = (uint8_t)0;
/**
* WBO: Pump duty
* units: %
* offset 2
*/
uint8_t pumpDuty = (uint8_t)0;
/**
* need 4 byte alignment
* units: units
* offset 3
*/
uint8_t alignmentFill_at_3[1];
/**
* WBO: Temperature
* units: C
* offset 4
*/
uint16_t tempC = (uint16_t)0;
/**
* WBO: Nernst Voltage
* units: V
* offset 6
*/
scaled_channel<uint16_t, 1000, 1> nernstVoltage = (uint16_t)0;
/**
* WBO: ESR
* units: ohm
* offset 8
*/
uint16_t esr = (uint16_t)0;
/**
* need 4 byte alignment
* units: units
* offset 10
*/
uint8_t alignmentFill_at_10[2];
};
static_assert(sizeof(wideband_state_s) == 12);
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/sensors//wideband_state.txt

File diff suppressed because it is too large Load Diff