2022-10-28 00:44:39 -07:00
|
|
|
// generated by gen_live_documentation.sh / LiveDataProcessor.java
|
2022-01-06 14:58:59 -08:00
|
|
|
#pragma once
|
|
|
|
|
2024-03-30 06:31:59 -07:00
|
|
|
// this generated C header is mostly used as input for java code generation
|
2022-01-06 14:58:59 -08:00
|
|
|
typedef enum {
|
2023-01-15 03:31:58 -08:00
|
|
|
LDS_output_channels,
|
2023-01-14 20:28:54 -08:00
|
|
|
LDS_fuel_computer,
|
2023-01-15 05:37:56 -08:00
|
|
|
LDS_ignition_state,
|
2022-04-29 08:51:48 -07:00
|
|
|
LDS_knock_controller,
|
2024-01-02 19:28:07 -08:00
|
|
|
LDS_tcu_controller,
|
2023-04-29 17:30:30 -07:00
|
|
|
LDS_throttle_model,
|
2022-01-06 14:58:59 -08:00
|
|
|
LDS_high_pressure_fuel_pump,
|
|
|
|
LDS_injector_model,
|
|
|
|
LDS_launch_control_state,
|
2022-12-16 17:29:31 -08:00
|
|
|
LDS_antilag_system_state,
|
2022-01-06 14:58:59 -08:00
|
|
|
LDS_boost_control,
|
|
|
|
LDS_ac_control,
|
2024-03-30 06:31:59 -07:00
|
|
|
LDS_fan_control0,
|
2024-03-30 20:20:57 -07:00
|
|
|
LDS_fan_control1,
|
2022-04-13 17:45:52 -07:00
|
|
|
LDS_fuel_pump_control,
|
2022-01-06 14:58:59 -08:00
|
|
|
LDS_main_relay,
|
|
|
|
LDS_engine_state,
|
|
|
|
LDS_tps_accel_state,
|
|
|
|
LDS_trigger_central,
|
2024-03-30 06:31:59 -07:00
|
|
|
LDS_trigger_state0,
|
2024-03-30 20:20:57 -07:00
|
|
|
LDS_trigger_state1,
|
|
|
|
LDS_trigger_state2,
|
|
|
|
LDS_trigger_state3,
|
|
|
|
LDS_trigger_state4,
|
2022-08-24 15:15:50 -07:00
|
|
|
LDS_trigger_state_primary,
|
2022-01-06 14:58:59 -08:00
|
|
|
LDS_wall_fuel_state,
|
|
|
|
LDS_idle_state,
|
2024-03-30 06:31:59 -07:00
|
|
|
LDS_electronic_throttle0,
|
2024-03-30 20:20:57 -07:00
|
|
|
LDS_electronic_throttle1,
|
2024-03-30 06:31:59 -07:00
|
|
|
LDS_wideband_state0,
|
2024-03-30 20:20:57 -07:00
|
|
|
LDS_wideband_state1,
|
2023-02-13 15:01:54 -08:00
|
|
|
LDS_dc_motors,
|
2023-02-14 16:56:39 -08:00
|
|
|
LDS_sent_state,
|
2023-07-03 09:39:36 -07:00
|
|
|
LDS_vvt,
|
2023-07-26 06:03:39 -07:00
|
|
|
LDS_lambda_monitor,
|
2022-01-06 14:58:59 -08:00
|
|
|
} live_data_e;
|
2023-01-15 03:31:58 -08:00
|
|
|
#define OUTPUT_CHANNELS_BASE_ADDRESS 0
|
2024-04-22 10:36:11 -07:00
|
|
|
#define FUEL_COMPUTER_BASE_ADDRESS 832
|
|
|
|
#define IGNITION_STATE_BASE_ADDRESS 884
|
|
|
|
#define KNOCK_CONTROLLER_BASE_ADDRESS 924
|
|
|
|
#define TCU_CONTROLLER_BASE_ADDRESS 956
|
|
|
|
#define THROTTLE_MODEL_BASE_ADDRESS 972
|
|
|
|
#define HIGH_PRESSURE_FUEL_PUMP_BASE_ADDRESS 984
|
|
|
|
#define INJECTOR_MODEL_BASE_ADDRESS 1012
|
|
|
|
#define LAUNCH_CONTROL_STATE_BASE_ADDRESS 1024
|
|
|
|
#define ANTILAG_SYSTEM_STATE_BASE_ADDRESS 1032
|
|
|
|
#define BOOST_CONTROL_BASE_ADDRESS 1044
|
|
|
|
#define AC_CONTROL_BASE_ADDRESS 1068
|
|
|
|
#define FAN_CONTROL_BASE_ADDRESS 1084
|
|
|
|
#define FUEL_PUMP_CONTROL_BASE_ADDRESS 1100
|
|
|
|
#define MAIN_RELAY_BASE_ADDRESS 1104
|
|
|
|
#define ENGINE_STATE_BASE_ADDRESS 1108
|
|
|
|
#define TPS_ACCEL_STATE_BASE_ADDRESS 1208
|
|
|
|
#define TRIGGER_CENTRAL_BASE_ADDRESS 1256
|
|
|
|
#define TRIGGER_STATE_BASE_ADDRESS 1316
|
|
|
|
#define TRIGGER_STATE_PRIMARY_BASE_ADDRESS 1516
|
|
|
|
#define WALL_FUEL_STATE_BASE_ADDRESS 1524
|
|
|
|
#define IDLE_STATE_BASE_ADDRESS 1532
|
|
|
|
#define ELECTRONIC_THROTTLE_BASE_ADDRESS 1580
|
|
|
|
#define WIDEBAND_STATE_BASE_ADDRESS 1684
|
|
|
|
#define DC_MOTORS_BASE_ADDRESS 1708
|
|
|
|
#define SENT_STATE_BASE_ADDRESS 1720
|
|
|
|
#define VVT_BASE_ADDRESS 1728
|
|
|
|
#define LAMBDA_MONITOR_BASE_ADDRESS 1732
|