parent
c834d1f570
commit
0aba4583f4
|
@ -180,6 +180,8 @@ entry = vssEdgeCounter, "vssEdgeCounter", int, "%d"
|
|||
entry = issEdgeCounter, "issEdgeCounter", int, "%d"
|
||||
entry = auxLinear1, "Aux linear #1", 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 = instantMAPValue, "Instant MAP", float, "%.3f"
|
||||
entry = maxLockedDuration, "maxLockedDuration", int, "%d"
|
||||
|
@ -794,3 +796,4 @@ entry = lambdaMonitorCut, "lambdaMonitorCut", int, "%d"
|
|||
entry = lambdaTimeSinceGood, "lambdaTimeSinceGood", float, "%.3f"
|
||||
entry = extraField, "extraField", int, "%d"
|
||||
entry = extraCustomGauge, "extraCustomGauge", int, "%d"
|
||||
entry = customBit, "customBit", int, "%d"
|
||||
|
|
|
@ -41,31 +41,31 @@ LDS_lambda_monitor,
|
|||
LDS_extra,
|
||||
} live_data_e;
|
||||
#define OUTPUT_CHANNELS_BASE_ADDRESS 0
|
||||
#define FUEL_COMPUTER_BASE_ADDRESS 840
|
||||
#define IGNITION_STATE_BASE_ADDRESS 892
|
||||
#define KNOCK_CONTROLLER_BASE_ADDRESS 932
|
||||
#define TCU_CONTROLLER_BASE_ADDRESS 968
|
||||
#define THROTTLE_MODEL_BASE_ADDRESS 984
|
||||
#define HIGH_PRESSURE_FUEL_PUMP_BASE_ADDRESS 996
|
||||
#define INJECTOR_MODEL_BASE_ADDRESS 1024
|
||||
#define LAUNCH_CONTROL_STATE_BASE_ADDRESS 1036
|
||||
#define ANTILAG_SYSTEM_STATE_BASE_ADDRESS 1044
|
||||
#define BOOST_CONTROL_BASE_ADDRESS 1056
|
||||
#define AC_CONTROL_BASE_ADDRESS 1080
|
||||
#define FAN_CONTROL_BASE_ADDRESS 1092
|
||||
#define FUEL_PUMP_CONTROL_BASE_ADDRESS 1108
|
||||
#define MAIN_RELAY_BASE_ADDRESS 1112
|
||||
#define ENGINE_STATE_BASE_ADDRESS 1116
|
||||
#define TPS_ACCEL_STATE_BASE_ADDRESS 1216
|
||||
#define TRIGGER_CENTRAL_BASE_ADDRESS 1264
|
||||
#define TRIGGER_STATE_BASE_ADDRESS 1328
|
||||
#define TRIGGER_STATE_PRIMARY_BASE_ADDRESS 1528
|
||||
#define WALL_FUEL_STATE_BASE_ADDRESS 1536
|
||||
#define IDLE_STATE_BASE_ADDRESS 1544
|
||||
#define ELECTRONIC_THROTTLE_BASE_ADDRESS 1592
|
||||
#define WIDEBAND_STATE_BASE_ADDRESS 1704
|
||||
#define DC_MOTORS_BASE_ADDRESS 1728
|
||||
#define SENT_STATE_BASE_ADDRESS 1740
|
||||
#define VVT_BASE_ADDRESS 1748
|
||||
#define LAMBDA_MONITOR_BASE_ADDRESS 1752
|
||||
#define EXTRA_BASE_ADDRESS 1760
|
||||
#define FUEL_COMPUTER_BASE_ADDRESS 848
|
||||
#define IGNITION_STATE_BASE_ADDRESS 900
|
||||
#define KNOCK_CONTROLLER_BASE_ADDRESS 940
|
||||
#define TCU_CONTROLLER_BASE_ADDRESS 976
|
||||
#define THROTTLE_MODEL_BASE_ADDRESS 992
|
||||
#define HIGH_PRESSURE_FUEL_PUMP_BASE_ADDRESS 1004
|
||||
#define INJECTOR_MODEL_BASE_ADDRESS 1032
|
||||
#define LAUNCH_CONTROL_STATE_BASE_ADDRESS 1044
|
||||
#define ANTILAG_SYSTEM_STATE_BASE_ADDRESS 1052
|
||||
#define BOOST_CONTROL_BASE_ADDRESS 1064
|
||||
#define AC_CONTROL_BASE_ADDRESS 1088
|
||||
#define FAN_CONTROL_BASE_ADDRESS 1100
|
||||
#define FUEL_PUMP_CONTROL_BASE_ADDRESS 1116
|
||||
#define MAIN_RELAY_BASE_ADDRESS 1120
|
||||
#define ENGINE_STATE_BASE_ADDRESS 1124
|
||||
#define TPS_ACCEL_STATE_BASE_ADDRESS 1224
|
||||
#define TRIGGER_CENTRAL_BASE_ADDRESS 1272
|
||||
#define TRIGGER_STATE_BASE_ADDRESS 1336
|
||||
#define TRIGGER_STATE_PRIMARY_BASE_ADDRESS 1536
|
||||
#define WALL_FUEL_STATE_BASE_ADDRESS 1544
|
||||
#define IDLE_STATE_BASE_ADDRESS 1552
|
||||
#define ELECTRONIC_THROTTLE_BASE_ADDRESS 1600
|
||||
#define WIDEBAND_STATE_BASE_ADDRESS 1712
|
||||
#define DC_MOTORS_BASE_ADDRESS 1736
|
||||
#define SENT_STATE_BASE_ADDRESS 1748
|
||||
#define VVT_BASE_ADDRESS 1756
|
||||
#define LAMBDA_MONITOR_BASE_ADDRESS 1760
|
||||
#define EXTRA_BASE_ADDRESS 1768
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,2 +1,2 @@
|
|||
// generated by gen_live_documentation.sh / LiveDataProcessor.java
|
||||
#define TS_TOTAL_OUTPUT_SIZE 1860
|
||||
#define TS_TOTAL_OUTPUT_SIZE 1872
|
|
@ -4563,16 +4563,24 @@ struct engine_configuration_s {
|
|||
*/
|
||||
scaled_channel<uint8_t, 10, 1> minimumOilPressureTimeout;
|
||||
/**
|
||||
* need 4 byte alignment
|
||||
* units: units
|
||||
* offset 3853
|
||||
*/
|
||||
uint8_t unusedOftenChangesDuringFirmwareUpdate[END_OF_CALIBRATION_PADDING];
|
||||
uint8_t alignmentFill_at_3853[3];
|
||||
/**
|
||||
* need 4 byte alignment
|
||||
* units: units
|
||||
* offset 4021
|
||||
* offset 3856
|
||||
*/
|
||||
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);
|
||||
|
||||
|
|
|
@ -129,7 +129,6 @@
|
|||
#define BOARD_DIAG_PANEL2_FROM_FILE
|
||||
#define BOARD_ENGINE_CONFIGURATION_FROM_FILE
|
||||
#define BOARD_GAUGES_FROM_FILE
|
||||
#define BOARD_INDICATORS_FROM_FILE
|
||||
#define BOARD_MENU_FROM_FILE
|
||||
#define BOARD_OPTIONS_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_PLX 4
|
||||
#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_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"
|
||||
|
@ -531,6 +530,8 @@
|
|||
#define GAUGE_NAME_AIR_MASS "Air: Cylinder airmass"
|
||||
#define GAUGE_NAME_AUX_LINEAR_1 "Aux linear #1"
|
||||
#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_TEMP2 "Aux temp 2"
|
||||
#define GAUGE_NAME_BARO_PRESSURE "Barometric pressure"
|
||||
|
@ -1012,11 +1013,13 @@
|
|||
#define GPPWM_2_NAME "General Purpose PWM 2"
|
||||
#define GPPWM_3_NAME "General Purpose PWM 3"
|
||||
#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_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_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", "Aux Linear 3", "Aux Linear 4", "Vehicle speed"
|
||||
#define gppwm_channel_e_GPPWM_AccelPedal 9
|
||||
#define gppwm_channel_e_GPPWM_AuxLinear1 16
|
||||
#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_AuxTemp2 8
|
||||
#define gppwm_channel_e_GPPWM_BaroPressure 26
|
||||
|
@ -1038,6 +1041,7 @@
|
|||
#define gppwm_channel_e_GPPWM_Rpm 24
|
||||
#define gppwm_channel_e_GPPWM_Tps 1
|
||||
#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_1I 11
|
||||
#define gppwm_channel_e_GPPWM_VVT_2E 14
|
||||
|
@ -1296,7 +1300,7 @@
|
|||
#define show_Proteus_presets false
|
||||
#define show_test_presets false
|
||||
#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_PREFIX "generated/simulator_tune_image"
|
||||
#define SIMULATOR_TUNE_BIN_FILE_NAME_SUFFIX ".bin"
|
||||
|
@ -1666,6 +1670,7 @@
|
|||
#define ts_show_fuel_trims true
|
||||
#define ts_show_full_pinout true
|
||||
#define ts_show_gdi false
|
||||
#define ts_show_gdi_low_level true
|
||||
#define ts_show_globalTriggerAngleOffset true
|
||||
#define ts_show_hardware_simulator true
|
||||
#define ts_show_hbridge_function true
|
||||
|
@ -1742,14 +1747,14 @@
|
|||
#define ts_show_wastegate_sensor true
|
||||
#define ts_show_wbo_canbus_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_char >
|
||||
#define TS_SINGLE_WRITE_COMMAND 'W'
|
||||
#define TS_SINGLE_WRITE_COMMAND_char W
|
||||
#define TS_TEST_COMMAND '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_2_NAME "Channel 2"
|
||||
#define TS_TRIGGER_SCOPE_DISABLE 5
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
// was generated automatically by rusEFI tool config_definition-all.jar based on gen_config.sh by SignatureConsumer
|
||||
//
|
||||
|
||||
#define SIGNATURE_HASH 3644004984
|
||||
#define TS_SIGNATURE "rusEFI main.2024.09.05.XYZ.3644004984"
|
||||
#define SIGNATURE_HASH 1434061329
|
||||
#define TS_SIGNATURE "rusEFI main.2024.09.06.XYZ.1434061329"
|
||||
|
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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 {};
|
||||
/**
|
||||
< |