1548 lines
29 KiB
C
1548 lines
29 KiB
C
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) console/binary/output_channels.txt
|
|
// by class com.rusefi.output.CHeaderConsumer
|
|
// begin
|
|
#pragma once
|
|
#include "rusefi_types.h"
|
|
// start of pid_status_s
|
|
struct pid_status_s {
|
|
/**
|
|
* offset 0
|
|
*/
|
|
float pTerm = (float)0;
|
|
/**
|
|
* offset 4
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> iTerm = (int16_t)0;
|
|
/**
|
|
* offset 6
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> dTerm = (int16_t)0;
|
|
/**
|
|
* offset 8
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> output = (int16_t)0;
|
|
/**
|
|
* offset 10
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> error = (int16_t)0;
|
|
/**
|
|
* offset 12
|
|
*/
|
|
uint32_t resetCounter = (uint32_t)0;
|
|
};
|
|
static_assert(sizeof(pid_status_s) == 16);
|
|
|
|
// start of output_channels_s
|
|
struct output_channels_s {
|
|
/**
|
|
* SD: Present
|
|
offset 0 bit 0 */
|
|
bool sd_present : 1 {};
|
|
/**
|
|
* SD: Logging
|
|
offset 0 bit 1 */
|
|
bool sd_logging_internal : 1 {};
|
|
/**
|
|
offset 0 bit 2 */
|
|
bool triggerScopeReady : 1 {};
|
|
/**
|
|
offset 0 bit 3 */
|
|
bool antilagTriggered : 1 {};
|
|
/**
|
|
* Radiator Fan
|
|
offset 0 bit 4 */
|
|
bool isFanOn : 1 {};
|
|
/**
|
|
offset 0 bit 5 */
|
|
bool isO2HeaterOn : 1 {};
|
|
/**
|
|
offset 0 bit 6 */
|
|
bool checkEngine : 1 {};
|
|
/**
|
|
offset 0 bit 7 */
|
|
bool needBurn : 1 {};
|
|
/**
|
|
* SD: MSD
|
|
offset 0 bit 8 */
|
|
bool sd_msd : 1 {};
|
|
/**
|
|
* Radiator Fan 2
|
|
offset 0 bit 9 */
|
|
bool isFan2On : 1 {};
|
|
/**
|
|
* Tooth Logger Ready
|
|
offset 0 bit 10 */
|
|
bool toothLogReady : 1 {};
|
|
/**
|
|
* Error: TPS
|
|
offset 0 bit 11 */
|
|
bool isTpsError : 1 {};
|
|
/**
|
|
* Error: CLT
|
|
offset 0 bit 12 */
|
|
bool isCltError : 1 {};
|
|
/**
|
|
* Error: MAP
|
|
offset 0 bit 13 */
|
|
bool isMapError : 1 {};
|
|
/**
|
|
* Error: IAT
|
|
offset 0 bit 14 */
|
|
bool isIatError : 1 {};
|
|
/**
|
|
* Error: Trigger
|
|
offset 0 bit 15 */
|
|
bool isTriggerError : 1 {};
|
|
/**
|
|
* Error: Active
|
|
offset 0 bit 16 */
|
|
bool hasCriticalError : 1 {};
|
|
/**
|
|
* Warning: Active
|
|
offset 0 bit 17 */
|
|
bool isWarnNow : 1 {};
|
|
/**
|
|
* Error: Pedal
|
|
offset 0 bit 18 */
|
|
bool isPedalError : 1 {};
|
|
/**
|
|
offset 0 bit 19 */
|
|
bool isKnockChipOk : 1 {};
|
|
/**
|
|
* Launch Control Triggered
|
|
offset 0 bit 20 */
|
|
bool launchTriggered : 1 {};
|
|
/**
|
|
* Error: TPS2
|
|
offset 0 bit 21 */
|
|
bool isTps2Error : 1 {};
|
|
/**
|
|
* Injector Fault
|
|
offset 0 bit 22 */
|
|
bool injectorFault : 1 {};
|
|
/**
|
|
* Ignition Fault
|
|
offset 0 bit 23 */
|
|
bool ignitionFault : 1 {};
|
|
/**
|
|
offset 0 bit 24 */
|
|
bool isMainRelayOn : 1 {};
|
|
/**
|
|
* isUsbConnected
|
|
* Original reason for this is to check if USB is connected from Lua
|
|
offset 0 bit 25 */
|
|
bool isUsbConnected : 1 {};
|
|
/**
|
|
offset 0 bit 26 */
|
|
bool dfcoActive : 1 {};
|
|
/**
|
|
* SD card writing
|
|
offset 0 bit 27 */
|
|
bool sd_active_wr : 1 {};
|
|
/**
|
|
* SD card reading
|
|
offset 0 bit 28 */
|
|
bool sd_active_rd : 1 {};
|
|
/**
|
|
* MAP from sensor seems valid
|
|
offset 0 bit 29 */
|
|
bool isMapValid : 1 {};
|
|
/**
|
|
offset 0 bit 30 */
|
|
bool unusedBit_30_30 : 1 {};
|
|
/**
|
|
offset 0 bit 31 */
|
|
bool unusedBit_30_31 : 1 {};
|
|
/**
|
|
* @@GAUGE_NAME_RPM@@
|
|
* units: RPM
|
|
* offset 4
|
|
*/
|
|
uint16_t RPMValue = (uint16_t)0;
|
|
/**
|
|
* dRPM
|
|
* units: RPM acceleration/Rate of Change/ROC
|
|
* offset 6
|
|
*/
|
|
int16_t rpmAcceleration = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_GEAR_RATIO@@
|
|
* units: value
|
|
* offset 8
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> speedToRpmRatio = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_VVS@@
|
|
* units: kph
|
|
* offset 10
|
|
*/
|
|
uint8_t unusedVehicleSpeedKph = (uint8_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_CPU_TEMP@@
|
|
* units: deg C
|
|
* offset 11
|
|
*/
|
|
int8_t internalMcuTemperature = (int8_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_CLT@@
|
|
* units: deg C
|
|
* offset 12
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> coolant = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_IAT@@
|
|
* units: deg C
|
|
* offset 14
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> intake = (int16_t)0;
|
|
/**
|
|
* units: deg C
|
|
* offset 16
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> auxTemp1 = (int16_t)0;
|
|
/**
|
|
* units: deg C
|
|
* offset 18
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> auxTemp2 = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_TPS@@
|
|
* units: %
|
|
* offset 20
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> TPSValue = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_THROTTLE_PEDAL@@
|
|
* units: %
|
|
* offset 22
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> throttlePedalPosition = (int16_t)0;
|
|
/**
|
|
* units: ADC
|
|
* offset 24
|
|
*/
|
|
uint16_t tpsADC = (uint16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 26
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> rawMaf = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_AIR_FLOW_MEASURED@@
|
|
* units: kg/h
|
|
* offset 28
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> mafMeasured = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_MAP@@
|
|
* units: kPa
|
|
* offset 30
|
|
*/
|
|
scaled_channel<uint16_t, 30, 1> MAPValue = (uint16_t)0;
|
|
/**
|
|
* units: kPa
|
|
* offset 32
|
|
*/
|
|
scaled_channel<uint16_t, 30, 1> baroPressure = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_LAMBDA@@
|
|
* offset 34
|
|
*/
|
|
scaled_channel<uint16_t, 10000, 1> lambdaValue = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_VBAT@@
|
|
* units: V
|
|
* offset 36
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> VBatt = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_OIL_PRESSURE@@
|
|
* units: kPa
|
|
* offset 38
|
|
*/
|
|
scaled_channel<uint16_t, 30, 1> oilPressure = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_VVT_B1I@@
|
|
* units: deg
|
|
* offset 40
|
|
*/
|
|
scaled_channel<int16_t, 50, 1> vvtPositionB1I = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_LAST_INJECTION@@
|
|
* Actual last injection time - including all compensation and injection mode
|
|
* units: ms
|
|
* offset 42
|
|
*/
|
|
scaled_channel<uint16_t, 300, 1> actualLastInjection = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_INJ_DUTY@@
|
|
* units: %
|
|
* offset 44
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> injectorDutyCycle = (uint8_t)0;
|
|
/**
|
|
* offset 45
|
|
*/
|
|
uint8_t tempLogging1 = (uint8_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_INJECTION_TIMING@@
|
|
* units: deg
|
|
* offset 46
|
|
*/
|
|
int16_t injectionOffset = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_ENGINE_CRC16@@
|
|
* units: crc16
|
|
* offset 48
|
|
*/
|
|
uint16_t engineMakeCodeNameCrc16 = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_WALL_AMOUNT@@
|
|
* units: mg
|
|
* offset 50
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> wallFuelAmount = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_WALL_CORRECTION@@
|
|
* units: mg
|
|
* offset 52
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> wallFuelCorrectionValue = (int16_t)0;
|
|
/**
|
|
* offset 54
|
|
*/
|
|
uint16_t revolutionCounterSinceStart = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_CAN_READ_OK@@
|
|
* offset 56
|
|
*/
|
|
uint16_t canReadCounter = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_TPS_EXTRA@@
|
|
* units: ms
|
|
* offset 58
|
|
*/
|
|
scaled_channel<int16_t, 300, 1> tpsAccelFuel = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_IGNITION_MODE@@
|
|
* offset 60
|
|
*/
|
|
uint8_t currentIgnitionMode = (uint8_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_INJECTION_MODE@@
|
|
* offset 61
|
|
*/
|
|
uint8_t currentInjectionMode = (uint8_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_DWELL_DUTY@@
|
|
* units: %
|
|
* offset 62
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> coilDutyCycle = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_ETB_DUTY@@
|
|
* units: %
|
|
* offset 64
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> etb1DutyCycle = (int16_t)0;
|
|
/**
|
|
* Fuel level
|
|
* units: %
|
|
* offset 66
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> fuelTankLevel = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_CONSUMPTION@@
|
|
* units: grams
|
|
* offset 68
|
|
*/
|
|
uint16_t totalFuelConsumption = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_FLOW@@
|
|
* units: gram/s
|
|
* offset 70
|
|
*/
|
|
scaled_channel<uint16_t, 200, 1> fuelFlowRate = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_TPS2@@
|
|
* units: %
|
|
* offset 72
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> TPS2Value = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_TUNE_CRC16@@
|
|
* units: crc16
|
|
* offset 74
|
|
*/
|
|
uint16_t tuneCrc16 = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_VE@@
|
|
* units: ratio
|
|
* offset 76
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> veValue = (uint16_t)0;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 78
|
|
*/
|
|
uint8_t alignmentFill_at_78[2] = {};
|
|
/**
|
|
* @@GAUGE_NAME_UPTIME@@
|
|
* units: sec
|
|
* offset 80
|
|
*/
|
|
uint32_t seconds = (uint32_t)0;
|
|
/**
|
|
* Engine Mode
|
|
* units: em
|
|
* offset 84
|
|
*/
|
|
uint32_t engineMode = (uint32_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_VERSION@@
|
|
* units: version_f
|
|
* offset 88
|
|
*/
|
|
uint32_t firmwareVersion = (uint32_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 92
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawIdlePositionSensor = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 94
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawWastegatePosition = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_ACCEL_LAT@@
|
|
* units: G
|
|
* offset 96
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> accelerationLat = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_ACCEL_LON@@
|
|
* units: G
|
|
* offset 98
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> accelerationLon = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_DETECTED_GEAR@@
|
|
* offset 100
|
|
*/
|
|
uint8_t detectedGear = (uint8_t)0;
|
|
/**
|
|
* offset 101
|
|
*/
|
|
uint8_t maxTriggerReentrant = (uint8_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 102
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawLowFuelPressure = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 104
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawHighFuelPressure = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_PRESSURE_LOW@@
|
|
* units: kpa
|
|
* offset 106
|
|
*/
|
|
scaled_channel<int16_t, 30, 1> lowFuelPressure = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_DESIRED_GEAR@@
|
|
* units: gear
|
|
* offset 108
|
|
*/
|
|
int8_t tcuDesiredGear = (int8_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FLEX@@
|
|
* units: %
|
|
* offset 109
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> flexPercent = (uint8_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_WG_POSITION@@
|
|
* units: %
|
|
* offset 110
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> wastegatePositionSensor = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_PRESSURE_HIGH@@
|
|
* units: bar
|
|
* offset 112
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> highFuelPressure = (int16_t)0;
|
|
/**
|
|
* offset 114
|
|
*/
|
|
uint8_t tempLogging3 = (uint8_t)0;
|
|
/**
|
|
* offset 115
|
|
*/
|
|
uint8_t tempLogging4 = (uint8_t)0;
|
|
/**
|
|
* offset 116
|
|
*/
|
|
float calibrationValue = (float)0;
|
|
/**
|
|
* offset 120
|
|
*/
|
|
uint8_t calibrationMode = (uint8_t)0;
|
|
/**
|
|
* Idle: Stepper target position
|
|
* offset 121
|
|
*/
|
|
uint8_t idleStepperTargetPosition = (uint8_t)0;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 122
|
|
*/
|
|
uint8_t alignmentFill_at_122[2] = {};
|
|
/**
|
|
* offset 124
|
|
*/
|
|
uint32_t tsConfigVersion = (uint32_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_TRG_ERR@@
|
|
* units: counter
|
|
* offset 128
|
|
*/
|
|
uint32_t totalTriggerErrorCounter = (uint32_t)0;
|
|
/**
|
|
* offset 132
|
|
*/
|
|
uint32_t orderingErrorCounter = (uint32_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_WARNING_COUNTER@@
|
|
* units: count
|
|
* offset 136
|
|
*/
|
|
uint16_t warningCounter = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_WARNING_LAST@@
|
|
* units: error
|
|
* offset 138
|
|
*/
|
|
uint16_t lastErrorCode = (uint16_t)0;
|
|
/**
|
|
* Warning code
|
|
* units: error
|
|
* offset 140
|
|
*/
|
|
uint16_t recentErrorCode[8] = {};
|
|
/**
|
|
* units: val
|
|
* offset 156
|
|
*/
|
|
float debugFloatField1 = (float)0;
|
|
/**
|
|
* units: val
|
|
* offset 160
|
|
*/
|
|
float debugFloatField2 = (float)0;
|
|
/**
|
|
* units: val
|
|
* offset 164
|
|
*/
|
|
float debugFloatField3 = (float)0;
|
|
/**
|
|
* units: val
|
|
* offset 168
|
|
*/
|
|
float debugFloatField4 = (float)0;
|
|
/**
|
|
* units: val
|
|
* offset 172
|
|
*/
|
|
float debugFloatField5 = (float)0;
|
|
/**
|
|
* units: val
|
|
* offset 176
|
|
*/
|
|
float debugFloatField6 = (float)0;
|
|
/**
|
|
* units: val
|
|
* offset 180
|
|
*/
|
|
float debugFloatField7 = (float)0;
|
|
/**
|
|
* units: val
|
|
* offset 184
|
|
*/
|
|
uint32_t debugIntField1 = (uint32_t)0;
|
|
/**
|
|
* units: val
|
|
* offset 188
|
|
*/
|
|
uint32_t debugIntField2 = (uint32_t)0;
|
|
/**
|
|
* units: val
|
|
* offset 192
|
|
*/
|
|
uint32_t debugIntField3 = (uint32_t)0;
|
|
/**
|
|
* units: val
|
|
* offset 196
|
|
*/
|
|
int16_t debugIntField4 = (int16_t)0;
|
|
/**
|
|
* units: val
|
|
* offset 198
|
|
*/
|
|
int16_t debugIntField5 = (int16_t)0;
|
|
/**
|
|
* EGT
|
|
* units: deg C
|
|
* offset 200
|
|
*/
|
|
scaled_channel<int16_t, 4, 1> egt[EGT_CHANNEL_COUNT] = {};
|
|
/**
|
|
* units: V
|
|
* offset 216
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawTps1Primary = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 218
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawClt = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 220
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawIat = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 222
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawOilPressure = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 224
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawAcPressure = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 226
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawFuelLevel = (int16_t)0;
|
|
/**
|
|
* offset 228
|
|
*/
|
|
uint8_t fuelClosedLoopBinIdx = (uint8_t)0;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 229
|
|
*/
|
|
uint8_t alignmentFill_at_229[3] = {};
|
|
/**
|
|
* units: V
|
|
* offset 232
|
|
*/
|
|
float rawPpsPrimary = (float)0;
|
|
/**
|
|
* units: V
|
|
* offset 236
|
|
*/
|
|
float rawPpsSecondary = (float)0;
|
|
/**
|
|
* units: V
|
|
* offset 240
|
|
*/
|
|
float rawRawPpsPrimary = (float)0;
|
|
/**
|
|
* units: V
|
|
* offset 244
|
|
*/
|
|
float rawRawPpsSecondary = (float)0;
|
|
/**
|
|
* @@GAUGE_NAME_IDLE_POSITION@@
|
|
* units: %
|
|
* offset 248
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> idlePositionSensor = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_AFR@@
|
|
* units: AFR
|
|
* offset 250
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> AFRValue = (uint16_t)0;
|
|
/**
|
|
* Vss Accel
|
|
* units: m/s2
|
|
* offset 252
|
|
*/
|
|
scaled_channel<uint16_t, 300, 1> VssAcceleration = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_LAMBDA2@@
|
|
* offset 254
|
|
*/
|
|
scaled_channel<uint16_t, 10000, 1> lambdaValue2 = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_AFR2@@
|
|
* units: AFR
|
|
* offset 256
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> AFRValue2 = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_VVT_B1E@@
|
|
* units: deg
|
|
* offset 258
|
|
*/
|
|
scaled_channel<int16_t, 50, 1> vvtPositionB1E = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_VVT_B2I@@
|
|
* units: deg
|
|
* offset 260
|
|
*/
|
|
scaled_channel<int16_t, 50, 1> vvtPositionB2I = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_VVT_B2E@@
|
|
* units: deg
|
|
* offset 262
|
|
*/
|
|
scaled_channel<int16_t, 50, 1> vvtPositionB2E = (int16_t)0;
|
|
/**
|
|
* Fuel: Trim bank
|
|
* units: %
|
|
* offset 264
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> fuelPidCorrection[STFT_BANK_COUNT] = {};
|
|
/**
|
|
* units: V
|
|
* offset 268
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawTps1Secondary = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 270
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawTps2Primary = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 272
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawTps2Secondary = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_ACCEL_VERT@@
|
|
* units: G
|
|
* offset 274
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> accelerationVert = (int16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_GYRO_YAW@@
|
|
* units: deg/sec
|
|
* offset 276
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> gyroYaw = (int16_t)0;
|
|
/**
|
|
* units: deg
|
|
* offset 278
|
|
*/
|
|
int8_t vvtTargets[4] = {};
|
|
/**
|
|
* @@GAUGE_NAME_TURBO_SPEED@@
|
|
* units: hz
|
|
* offset 282
|
|
*/
|
|
uint16_t turboSpeed = (uint16_t)0;
|
|
/**
|
|
* Ign: Timing Cyl
|
|
* units: deg
|
|
* offset 284
|
|
*/
|
|
scaled_channel<int16_t, 50, 1> ignitionAdvanceCyl[MAX_CYLINDER_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 308
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> tps1Split = (int16_t)0;
|
|
/**
|
|
* units: %
|
|
* offset 310
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> tps2Split = (int16_t)0;
|
|
/**
|
|
* units: %
|
|
* offset 312
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> tps12Split = (int16_t)0;
|
|
/**
|
|
* units: %
|
|
* offset 314
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> accPedalSplit = (int16_t)0;
|
|
/**
|
|
* Ign: Cut Code
|
|
* units: code
|
|
* offset 316
|
|
*/
|
|
int8_t sparkCutReason = (int8_t)0;
|
|
/**
|
|
* Fuel: Cut Code
|
|
* units: code
|
|
* offset 317
|
|
*/
|
|
int8_t fuelCutReason = (int8_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_AIR_FLOW_ESTIMATE@@
|
|
* units: kg/h
|
|
* offset 318
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> mafEstimate = (uint16_t)0;
|
|
/**
|
|
* sync: instant RPM
|
|
* units: rpm
|
|
* offset 320
|
|
*/
|
|
uint16_t instantRpm = (uint16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 322
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> rawMap = (uint16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 324
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> rawAfr = (uint16_t)0;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 326
|
|
*/
|
|
uint8_t alignmentFill_at_326[2] = {};
|
|
/**
|
|
* offset 328
|
|
*/
|
|
float calibrationValue2 = (float)0;
|
|
/**
|
|
* Lua: Tick counter
|
|
* units: count
|
|
* offset 332
|
|
*/
|
|
uint32_t luaInvocationCounter = (uint32_t)0;
|
|
/**
|
|
* Lua: Last tick duration
|
|
* units: nt
|
|
* offset 336
|
|
*/
|
|
uint32_t luaLastCycleDuration = (uint32_t)0;
|
|
/**
|
|
* offset 340
|
|
*/
|
|
uint32_t vssEdgeCounter = (uint32_t)0;
|
|
/**
|
|
* offset 344
|
|
*/
|
|
uint32_t issEdgeCounter = (uint32_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_AUX_LINEAR_1@@
|
|
* offset 348
|
|
*/
|
|
float auxLinear1 = (float)0;
|
|
/**
|
|
* @@GAUGE_NAME_AUX_LINEAR_2@@
|
|
* offset 352
|
|
*/
|
|
float auxLinear2 = (float)0;
|
|
/**
|
|
* @@GAUGE_NAME_AUX_LINEAR_3@@
|
|
* offset 356
|
|
*/
|
|
float auxLinear3 = (float)0;
|
|
/**
|
|
* @@GAUGE_NAME_AUX_LINEAR_4@@
|
|
* offset 360
|
|
*/
|
|
float auxLinear4 = (float)0;
|
|
/**
|
|
* units: kPa
|
|
* offset 364
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> fallbackMap = (uint16_t)0;
|
|
/**
|
|
* Instant MAP
|
|
* units: kPa
|
|
* offset 366
|
|
*/
|
|
scaled_channel<uint16_t, 30, 1> instantMAPValue = (uint16_t)0;
|
|
/**
|
|
* units: us
|
|
* offset 368
|
|
*/
|
|
uint16_t maxLockedDuration = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_CAN_WRITE_OK@@
|
|
* offset 370
|
|
*/
|
|
uint16_t canWriteOk = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_CAN_WRITE_ERR@@
|
|
* offset 372
|
|
*/
|
|
uint16_t canWriteNotOk = (uint16_t)0;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 374
|
|
*/
|
|
uint8_t alignmentFill_at_374[2] = {};
|
|
/**
|
|
* offset 376
|
|
*/
|
|
uint32_t triggerPrimaryFall = (uint32_t)0;
|
|
/**
|
|
* offset 380
|
|
*/
|
|
uint32_t triggerPrimaryRise = (uint32_t)0;
|
|
/**
|
|
* offset 384
|
|
*/
|
|
uint32_t triggerSecondaryFall = (uint32_t)0;
|
|
/**
|
|
* offset 388
|
|
*/
|
|
uint32_t triggerSecondaryRise = (uint32_t)0;
|
|
/**
|
|
* offset 392
|
|
*/
|
|
uint16_t triggerVvtFall = (uint16_t)0;
|
|
/**
|
|
* offset 394
|
|
*/
|
|
uint16_t triggerVvtRise = (uint16_t)0;
|
|
/**
|
|
* offset 396
|
|
*/
|
|
uint16_t triggerVvt2Fall = (uint16_t)0;
|
|
/**
|
|
* offset 398
|
|
*/
|
|
uint16_t triggerVvt2Rise = (uint16_t)0;
|
|
/**
|
|
* offset 400
|
|
*/
|
|
uint8_t starterState = (uint8_t)0;
|
|
/**
|
|
* offset 401
|
|
*/
|
|
uint8_t starterRelayDisable = (uint8_t)0;
|
|
/**
|
|
* Ign: Multispark count
|
|
* offset 402
|
|
*/
|
|
uint8_t multiSparkCounter = (uint8_t)0;
|
|
/**
|
|
* offset 403
|
|
*/
|
|
uint8_t extiOverflowCount = (uint8_t)0;
|
|
/**
|
|
* offset 404
|
|
*/
|
|
pid_status_s alternatorStatus;
|
|
/**
|
|
* offset 420
|
|
*/
|
|
pid_status_s idleStatus;
|
|
/**
|
|
* offset 436
|
|
*/
|
|
pid_status_s etbStatus;
|
|
/**
|
|
* offset 452
|
|
*/
|
|
pid_status_s boostStatus;
|
|
/**
|
|
* offset 468
|
|
*/
|
|
pid_status_s wastegateDcStatus;
|
|
/**
|
|
* offset 484
|
|
*/
|
|
pid_status_s vvtStatus[CAM_INPUTS_COUNT] = {};
|
|
/**
|
|
* Aux speed 1
|
|
* units: s
|
|
* offset 548
|
|
*/
|
|
uint16_t auxSpeed1 = (uint16_t)0;
|
|
/**
|
|
* Aux speed 2
|
|
* units: s
|
|
* offset 550
|
|
*/
|
|
uint16_t auxSpeed2 = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_ISS@@
|
|
* units: RPM
|
|
* offset 552
|
|
*/
|
|
uint16_t ISSValue = (uint16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 554
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawAnalogInput[LUA_ANALOG_INPUT_COUNT] = {};
|
|
/**
|
|
* GPPWM Output
|
|
* units: %
|
|
* offset 570
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> gppwmOutput[4] = {};
|
|
/**
|
|
* offset 574
|
|
*/
|
|
scaled_channel<int16_t, 1, 1> gppwmXAxis[4] = {};
|
|
/**
|
|
* offset 582
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> gppwmYAxis[4] = {};
|
|
/**
|
|
* units: V
|
|
* offset 590
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawBattery = (int16_t)0;
|
|
/**
|
|
* offset 592
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> ignBlendParameter[IGN_BLEND_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 600
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> ignBlendBias[IGN_BLEND_COUNT] = {};
|
|
/**
|
|
* units: deg
|
|
* offset 604
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> ignBlendOutput[IGN_BLEND_COUNT] = {};
|
|
/**
|
|
* offset 612
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> veBlendParameter[VE_BLEND_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 620
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> veBlendBias[VE_BLEND_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 624
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> veBlendOutput[VE_BLEND_COUNT] = {};
|
|
/**
|
|
* offset 632
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> boostOpenLoopBlendParameter[BOOST_BLEND_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 636
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> boostOpenLoopBlendBias[BOOST_BLEND_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 638
|
|
*/
|
|
scaled_channel<int8_t, 1, 1> boostOpenLoopBlendOutput[BOOST_BLEND_COUNT] = {};
|
|
/**
|
|
* offset 640
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> boostClosedLoopBlendParameter[BOOST_BLEND_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 644
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> boostClosedLoopBlendBias[BOOST_BLEND_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 646
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> boostClosedLoopBlendOutput[BOOST_BLEND_COUNT] = {};
|
|
/**
|
|
* offset 650
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> targetAfrBlendParameter[TARGET_AFR_BLEND_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 654
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> targetAfrBlendBias[TARGET_AFR_BLEND_COUNT] = {};
|
|
/**
|
|
* units: %
|
|
* offset 656
|
|
*/
|
|
scaled_channel<int16_t, 10, 1> targetAfrBlendOutput[TARGET_AFR_BLEND_COUNT] = {};
|
|
/**
|
|
* offset 660
|
|
*/
|
|
uint8_t coilState1 = (uint8_t)0;
|
|
/**
|
|
* offset 661
|
|
*/
|
|
uint8_t coilState2 = (uint8_t)0;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 662
|
|
*/
|
|
uint8_t alignmentFill_at_662[2] = {};
|
|
/**
|
|
offset 664 bit 0 */
|
|
bool coilState3 : 1 {};
|
|
/**
|
|
offset 664 bit 1 */
|
|
bool coilState4 : 1 {};
|
|
/**
|
|
offset 664 bit 2 */
|
|
bool coilState5 : 1 {};
|
|
/**
|
|
offset 664 bit 3 */
|
|
bool coilState6 : 1 {};
|
|
/**
|
|
offset 664 bit 4 */
|
|
bool coilState7 : 1 {};
|
|
/**
|
|
offset 664 bit 5 */
|
|
bool coilState8 : 1 {};
|
|
/**
|
|
offset 664 bit 6 */
|
|
bool coilState9 : 1 {};
|
|
/**
|
|
offset 664 bit 7 */
|
|
bool coilState10 : 1 {};
|
|
/**
|
|
offset 664 bit 8 */
|
|
bool coilState11 : 1 {};
|
|
/**
|
|
offset 664 bit 9 */
|
|
bool coilState12 : 1 {};
|
|
/**
|
|
offset 664 bit 10 */
|
|
bool unusedBit_223_10 : 1 {};
|
|
/**
|
|
offset 664 bit 11 */
|
|
bool unusedBit_223_11 : 1 {};
|
|
/**
|
|
offset 664 bit 12 */
|
|
bool unusedBit_223_12 : 1 {};
|
|
/**
|
|
offset 664 bit 13 */
|
|
bool unusedBit_223_13 : 1 {};
|
|
/**
|
|
offset 664 bit 14 */
|
|
bool unusedBit_223_14 : 1 {};
|
|
/**
|
|
offset 664 bit 15 */
|
|
bool unusedBit_223_15 : 1 {};
|
|
/**
|
|
offset 664 bit 16 */
|
|
bool unusedBit_223_16 : 1 {};
|
|
/**
|
|
offset 664 bit 17 */
|
|
bool unusedBit_223_17 : 1 {};
|
|
/**
|
|
offset 664 bit 18 */
|
|
bool unusedBit_223_18 : 1 {};
|
|
/**
|
|
offset 664 bit 19 */
|
|
bool unusedBit_223_19 : 1 {};
|
|
/**
|
|
offset 664 bit 20 */
|
|
bool unusedBit_223_20 : 1 {};
|
|
/**
|
|
offset 664 bit 21 */
|
|
bool unusedBit_223_21 : 1 {};
|
|
/**
|
|
offset 664 bit 22 */
|
|
bool unusedBit_223_22 : 1 {};
|
|
/**
|
|
offset 664 bit 23 */
|
|
bool unusedBit_223_23 : 1 {};
|
|
/**
|
|
offset 664 bit 24 */
|
|
bool unusedBit_223_24 : 1 {};
|
|
/**
|
|
offset 664 bit 25 */
|
|
bool unusedBit_223_25 : 1 {};
|
|
/**
|
|
offset 664 bit 26 */
|
|
bool unusedBit_223_26 : 1 {};
|
|
/**
|
|
offset 664 bit 27 */
|
|
bool unusedBit_223_27 : 1 {};
|
|
/**
|
|
offset 664 bit 28 */
|
|
bool unusedBit_223_28 : 1 {};
|
|
/**
|
|
offset 664 bit 29 */
|
|
bool unusedBit_223_29 : 1 {};
|
|
/**
|
|
offset 664 bit 30 */
|
|
bool unusedBit_223_30 : 1 {};
|
|
/**
|
|
offset 664 bit 31 */
|
|
bool unusedBit_223_31 : 1 {};
|
|
/**
|
|
* offset 668
|
|
*/
|
|
uint8_t injectorState1 = (uint8_t)0;
|
|
/**
|
|
* offset 669
|
|
*/
|
|
uint8_t injectorState2 = (uint8_t)0;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 670
|
|
*/
|
|
uint8_t alignmentFill_at_670[2] = {};
|
|
/**
|
|
offset 672 bit 0 */
|
|
bool injectorState3 : 1 {};
|
|
/**
|
|
offset 672 bit 1 */
|
|
bool injectorState4 : 1 {};
|
|
/**
|
|
offset 672 bit 2 */
|
|
bool injectorState5 : 1 {};
|
|
/**
|
|
offset 672 bit 3 */
|
|
bool injectorState6 : 1 {};
|
|
/**
|
|
offset 672 bit 4 */
|
|
bool injectorState7 : 1 {};
|
|
/**
|
|
offset 672 bit 5 */
|
|
bool injectorState8 : 1 {};
|
|
/**
|
|
offset 672 bit 6 */
|
|
bool injectorState9 : 1 {};
|
|
/**
|
|
offset 672 bit 7 */
|
|
bool injectorState10 : 1 {};
|
|
/**
|
|
offset 672 bit 8 */
|
|
bool injectorState11 : 1 {};
|
|
/**
|
|
offset 672 bit 9 */
|
|
bool injectorState12 : 1 {};
|
|
/**
|
|
offset 672 bit 10 */
|
|
bool triggerChannel1 : 1 {};
|
|
/**
|
|
offset 672 bit 11 */
|
|
bool triggerChannel2 : 1 {};
|
|
/**
|
|
* bank 1 intake cam input
|
|
offset 672 bit 12 */
|
|
bool vvtChannel1 : 1 {};
|
|
/**
|
|
* bank 1 exhaust cam input
|
|
offset 672 bit 13 */
|
|
bool vvtChannel2 : 1 {};
|
|
/**
|
|
* bank 2 intake cam input
|
|
offset 672 bit 14 */
|
|
bool vvtChannel3 : 1 {};
|
|
/**
|
|
* bank 2 exhaust cam input
|
|
offset 672 bit 15 */
|
|
bool vvtChannel4 : 1 {};
|
|
/**
|
|
offset 672 bit 16 */
|
|
bool unusedBit_264_16 : 1 {};
|
|
/**
|
|
offset 672 bit 17 */
|
|
bool unusedBit_264_17 : 1 {};
|
|
/**
|
|
offset 672 bit 18 */
|
|
bool unusedBit_264_18 : 1 {};
|
|
/**
|
|
offset 672 bit 19 */
|
|
bool unusedBit_264_19 : 1 {};
|
|
/**
|
|
offset 672 bit 20 */
|
|
bool unusedBit_264_20 : 1 {};
|
|
/**
|
|
offset 672 bit 21 */
|
|
bool unusedBit_264_21 : 1 {};
|
|
/**
|
|
offset 672 bit 22 */
|
|
bool unusedBit_264_22 : 1 {};
|
|
/**
|
|
offset 672 bit 23 */
|
|
bool unusedBit_264_23 : 1 {};
|
|
/**
|
|
offset 672 bit 24 */
|
|
bool unusedBit_264_24 : 1 {};
|
|
/**
|
|
offset 672 bit 25 */
|
|
bool unusedBit_264_25 : 1 {};
|
|
/**
|
|
offset 672 bit 26 */
|
|
bool unusedBit_264_26 : 1 {};
|
|
/**
|
|
offset 672 bit 27 */
|
|
bool unusedBit_264_27 : 1 {};
|
|
/**
|
|
offset 672 bit 28 */
|
|
bool unusedBit_264_28 : 1 {};
|
|
/**
|
|
offset 672 bit 29 */
|
|
bool unusedBit_264_29 : 1 {};
|
|
/**
|
|
offset 672 bit 30 */
|
|
bool unusedBit_264_30 : 1 {};
|
|
/**
|
|
offset 672 bit 31 */
|
|
bool unusedBit_264_31 : 1 {};
|
|
/**
|
|
* offset 676
|
|
*/
|
|
uint32_t outputRequestPeriod = (uint32_t)0;
|
|
/**
|
|
* offset 680
|
|
*/
|
|
float mapFast = (float)0;
|
|
/**
|
|
* Lua: Gauge
|
|
* units: value
|
|
* offset 684
|
|
*/
|
|
float luaGauges[LUA_GAUGE_COUNT] = {};
|
|
/**
|
|
* units: V
|
|
* offset 716
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> rawMaf2 = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_AIR_FLOW_MEASURED_2@@
|
|
* units: kg/h
|
|
* offset 718
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> mafMeasured2 = (uint16_t)0;
|
|
/**
|
|
* offset 720
|
|
*/
|
|
uint16_t schedulingUsedCount = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_VVS@@
|
|
* units: kph
|
|
* offset 722
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> vehicleSpeedKph = (uint16_t)0;
|
|
/**
|
|
* units: %
|
|
* offset 724
|
|
*/
|
|
scaled_channel<uint16_t, 100, 1> Gego = (uint16_t)0;
|
|
/**
|
|
* units: count
|
|
* offset 726
|
|
*/
|
|
uint16_t testBenchIter = (uint16_t)0;
|
|
/**
|
|
* units: deg C
|
|
* offset 728
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> oilTemp = (int16_t)0;
|
|
/**
|
|
* units: deg C
|
|
* offset 730
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> fuelTemp = (int16_t)0;
|
|
/**
|
|
* units: deg C
|
|
* offset 732
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> ambientTemp = (int16_t)0;
|
|
/**
|
|
* units: deg C
|
|
* offset 734
|
|
*/
|
|
scaled_channel<int16_t, 100, 1> compressorDischargeTemp = (int16_t)0;
|
|
/**
|
|
* units: kPa
|
|
* offset 736
|
|
*/
|
|
scaled_channel<uint16_t, 30, 1> compressorDischargePressure = (uint16_t)0;
|
|
/**
|
|
* units: kPa
|
|
* offset 738
|
|
*/
|
|
scaled_channel<uint16_t, 30, 1> throttleInletPressure = (uint16_t)0;
|
|
/**
|
|
* units: sec
|
|
* offset 740
|
|
*/
|
|
uint16_t ignitionOnTime = (uint16_t)0;
|
|
/**
|
|
* units: sec
|
|
* offset 742
|
|
*/
|
|
uint16_t engineRunTime = (uint16_t)0;
|
|
/**
|
|
* units: km
|
|
* offset 744
|
|
*/
|
|
scaled_channel<uint16_t, 10, 1> distanceTraveled = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_AFR_GAS_SCALE@@
|
|
* units: AFR
|
|
* offset 746
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> afrGasolineScale = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_AFR2_GAS_SCALE@@
|
|
* units: AFR
|
|
* offset 748
|
|
*/
|
|
scaled_channel<uint16_t, 1000, 1> afr2GasolineScale = (uint16_t)0;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 750
|
|
*/
|
|
uint8_t alignmentFill_at_750[2] = {};
|
|
/**
|
|
* offset 752
|
|
*/
|
|
float wheelSlipRatio = (float)0;
|
|
/**
|
|
* offset 756
|
|
*/
|
|
uint8_t ignitorDiagnostic[MAX_CYLINDER_COUNT] = {};
|
|
/**
|
|
* offset 768
|
|
*/
|
|
uint8_t injectorDiagnostic[MAX_CYLINDER_COUNT] = {};
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_LAST_INJECTION_STAGE_2@@
|
|
* units: ms
|
|
* offset 780
|
|
*/
|
|
scaled_channel<uint16_t, 300, 1> actualLastInjectionStage2 = (uint16_t)0;
|
|
/**
|
|
* @@GAUGE_NAME_FUEL_INJ_DUTY_STAGE_2@@
|
|
* units: %
|
|
* offset 782
|
|
*/
|
|
scaled_channel<uint8_t, 2, 1> injectorDutyCycleStage2 = (uint8_t)0;
|
|
/**
|
|
* offset 783
|
|
*/
|
|
uint8_t rawFlexFreq = (uint8_t)0;
|
|
/**
|
|
* offset 784
|
|
*/
|
|
uint8_t fastAdcErrorsCount = (uint8_t)0;
|
|
/**
|
|
* offset 785
|
|
*/
|
|
uint8_t deviceUid = (uint8_t)0;
|
|
/**
|
|
* offset 786
|
|
*/
|
|
uint16_t mc33810spiErrorCounter = (uint16_t)0;
|
|
/**
|
|
* offset 788
|
|
*/
|
|
uint8_t sadDwellRatioCounter = (uint8_t)0;
|
|
/**
|
|
* offset 789
|
|
*/
|
|
uint8_t injectionPrimingCounter = (uint8_t)0;
|
|
/**
|
|
* offset 790
|
|
*/
|
|
uint8_t tempLogging2 = (uint8_t)0;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 791
|
|
*/
|
|
uint8_t alignmentFill_at_791[1] = {};
|
|
/**
|
|
* @@GAUGE_NAME_AC_PRESSURE@@
|
|
* units: kPa
|
|
* offset 792
|
|
*/
|
|
float acPressure = (float)0;
|
|
/**
|
|
* units: V
|
|
* offset 796
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawAuxAnalog1 = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 798
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawAuxAnalog2 = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 800
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawAuxAnalog3 = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 802
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawAuxAnalog4 = (int16_t)0;
|
|
/**
|
|
* offset 804
|
|
*/
|
|
uint8_t fastAdcErrorCallbackCount = (uint8_t)0;
|
|
/**
|
|
* offset 805
|
|
*/
|
|
uint8_t slowAdcErrorsCount = (uint8_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 806
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawAuxTemp1 = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 808
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawAuxTemp2 = (int16_t)0;
|
|
/**
|
|
* units: V
|
|
* offset 810
|
|
*/
|
|
scaled_channel<int16_t, 1000, 1> rawAmbientTemp = (int16_t)0;
|
|
/**
|
|
* offset 812
|
|
*/
|
|
uint32_t rtcUnixEpochTime = (uint32_t)0;
|
|
/**
|
|
* offset 816
|
|
*/
|
|
int8_t sparkCutReasonBlinker = (int8_t)0;
|
|
/**
|
|
* offset 817
|
|
*/
|
|
int8_t fuelCutReasonBlinker = (int8_t)0;
|
|
/**
|
|
* offset 818
|
|
*/
|
|
uint8_t unusedAtTheEnd[52] = {};
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 870
|
|
*/
|
|
uint8_t alignmentFill_at_870[2] = {};
|
|
};
|
|
static_assert(sizeof(output_channels_s) == 872);
|
|
|
|
// end
|
|
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) console/binary/output_channels.txt
|