// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Sat Nov 27 13:01:48 EST 2021 // by class com.rusefi.output.CHeaderConsumer // begin #pragma once #include "rusefi_types.h" // start of ts_outputs_s struct ts_outputs_s { /** offset 0 bit 0 */ bool sd_present : 1 {}; /** offset 0 bit 1 */ bool isIgnitionEnabledIndicator : 1 {}; /** offset 0 bit 2 */ bool isInjectionEnabledIndicator : 1 {}; /** offset 0 bit 3 */ bool sd_logging_internal : 1 {}; /** offset 0 bit 4 */ bool isCylinderCleanupActivated : 1 {}; /** offset 0 bit 5 */ bool isFuelPumpOn : 1 {}; /** offset 0 bit 6 */ bool isFanOn : 1 {}; /** offset 0 bit 7 */ bool isO2HeaterOn : 1 {}; /** offset 0 bit 8 */ bool checkEngine : 1 {}; /** offset 0 bit 9 */ bool needBurn : 1 {}; /** offset 0 bit 10 */ bool sd_msd : 1 {}; /** offset 0 bit 11 */ bool clutchUpState : 1 {}; /** offset 0 bit 12 */ bool clutchDownState : 1 {}; /** offset 0 bit 13 */ bool isFan2On : 1 {}; /** offset 0 bit 14 */ bool unusedb14 : 1 {}; /** offset 0 bit 15 */ bool brakePedalState : 1 {}; /** offset 0 bit 16 */ bool toothLogReady : 1 {}; /** offset 0 bit 17 */ bool acSwitchState : 1 {}; /** offset 0 bit 18 */ bool isTpsError : 1 {}; /** offset 0 bit 19 */ bool isCltError : 1 {}; /** offset 0 bit 20 */ bool isMapError : 1 {}; /** offset 0 bit 21 */ bool isIatError : 1 {}; /** offset 0 bit 22 */ bool acState : 1 {}; /** offset 0 bit 23 */ bool isTriggerError : 1 {}; /** offset 0 bit 24 */ bool hasCriticalError : 1 {}; /** offset 0 bit 25 */ bool isWarnNow : 1 {}; /** offset 0 bit 26 */ bool isPedalError : 1 {}; /** offset 0 bit 27 */ bool isKnockChipOk : 1 {}; /** offset 0 bit 28 */ bool launchTriggered : 1 {}; /** offset 0 bit 29 */ bool isTps2Error : 1 {}; /** offset 0 bit 30 */ bool isIdleClosedLoop : 1 {}; /** offset 0 bit 31 */ bool isIdleCoasting : 1 {}; /** RPM * offset 4 */ scaled_channel RPMValue = (uint16_t)0; /** RPM/s * offset 6 */ uint16_t rpmAcceleration = (uint16_t)0; /** value * offset 8 */ scaled_channel speedToRpmRatio = (uint16_t)0; /** kph * offset 10 */ scaled_channel vehicleSpeedKph = (uint8_t)0; /** deg C * offset 11 */ scaled_channel internalMcuTemperature = (uint8_t)0; /** deg C * offset 12 */ scaled_channel coolant = (uint16_t)0; /** deg C * offset 14 */ scaled_channel intake = (uint16_t)0; /** deg C * offset 16 */ scaled_channel auxTemp1 = (uint16_t)0; /** deg C * offset 18 */ scaled_channel auxTemp2 = (uint16_t)0; /** % * offset 20 */ scaled_channel TPSValue = (uint16_t)0; /** % * offset 22 */ scaled_channel throttlePedalPosition = (uint16_t)0; /** ADC * offset 24 */ uint16_t tpsADC = (uint16_t)0; /** V * offset 26 */ scaled_channel MAFValue = (uint16_t)0; /** Kg/h * offset 28 */ scaled_channel massAirFlowValue = (uint16_t)0; /** kPa * offset 30 */ scaled_channel MAPValue = (uint16_t)0; /** kPa * offset 32 */ scaled_channel baroPressure = (uint16_t)0; /** * offset 34 */ scaled_channel lambdaValue = (uint16_t)0; /** deg * offset 36 */ scaled_channel knockRetard = (uint8_t)0; /** * offset 37 */ uint8_t unused37 = (uint8_t)0; /** V * offset 38 */ scaled_channel VBatt = (uint16_t)0; /** kPa * offset 40 */ scaled_channel oilPressure = (uint16_t)0; /** deg * offset 42 */ scaled_channel vvtPositionB1I = (uint16_t)0; /** g * offset 44 */ scaled_channel chargeAirMass = (uint16_t)0; /** * airmass in mg, 0-65 grams ms * offset 46 */ scaled_channel crankingFuelMass = (uint16_t)0; /** ratio * offset 48 */ scaled_channel currentTargetAfr = (uint16_t)0; /** * This is the raw value we take from the fuel map or base fuel algorithm, before the corrections mg * offset 50 */ scaled_channel fuelBase = (uint16_t)0; /** * Total fuel with CLT IAT and TPS acceleration without injector lag corrections per cycle, as pulse per cycle mg * offset 52 */ scaled_channel fuelRunning = (uint16_t)0; /** * Actual last injection time - including all compensation and injection mode ms * offset 54 */ scaled_channel actualLastInjection = (uint16_t)0; /** % * offset 56 */ scaled_channel injectorDutyCycle = (uint8_t)0; /** ratio * offset 57 */ scaled_channel veValue = (uint8_t)0; /** deg * offset 58 */ scaled_channel injectionOffset = (uint16_t)0; /** deg C * offset 60 */ scaled_channel tCharge = (uint16_t)0; /** ms * offset 62 */ scaled_channel injectorLagMs = (uint16_t)0; /** % * offset 64 */ scaled_channel iatCorrection = (uint16_t)0; /** % * offset 66 */ scaled_channel cltCorrection = (uint16_t)0; /** % * offset 68 */ scaled_channel baroCorrection = (uint16_t)0; /** deg * offset 70 */ scaled_channel currentEnginePhase = (uint16_t)0; /** mg * offset 72 */ scaled_channel wallFuelAmount = (uint16_t)0; /** mg * offset 74 */ scaled_channel wallFuelCorrection = (uint16_t)0; /** * offset 76 */ uint16_t unused76 = (uint16_t)0; /** * TPS acceleration enrichment ratio * offset 78 */ scaled_channel deltaTps = (uint16_t)0; /** * offset 80 */ uint16_t unused80 = (uint16_t)0; /** ms * offset 82 */ scaled_channel tpsAccelFuel = (uint16_t)0; /** deg * offset 84 */ scaled_channel ignitionAdvance = (uint16_t)0; /** ms * offset 86 */ scaled_channel sparkDwellValue = (uint16_t)0; /** % * offset 88 */ scaled_channel coilDutyCycle = (uint16_t)0; /** % * offset 90 */ scaled_channel idleAirValvePosition = (uint16_t)0; /** % * offset 92 */ scaled_channel etbTarget = (uint16_t)0; /** % * offset 94 */ scaled_channel etb1DutyCycle = (uint16_t)0; /** % * offset 96 */ scaled_channel etb1Error = (uint16_t)0; /** % * offset 98 */ scaled_channel fuelTankLevel = (uint16_t)0; /** grams * offset 100 */ scaled_channel totalFuelConsumption = (uint16_t)0; /** gram/s * offset 102 */ scaled_channel fuelFlowRate = (uint16_t)0; /** % * offset 104 */ scaled_channel veTableYAxis = (uint16_t)0; /** % * offset 106 */ scaled_channel afrTableYAxis = (uint16_t)0; /** Volts * offset 108 */ scaled_channel knockLevel = (float)0; /** sec * offset 112 */ scaled_channel seconds = (uint32_t)0; /** em * offset 116 */ scaled_channel engineMode = (uint32_t)0; /** version_f * offset 120 */ scaled_channel firmwareVersion = (uint32_t)0; /** * offset 124 */ scaled_channel tsConfigVersion = (uint32_t)0; /** * offset 128 */ scaled_channel calibrationValue = (float)0; /** * offset 132 */ scaled_channel calibrationMode = (uint8_t)0; /** * offset 133 */ scaled_channel padding = (uint8_t)0; /** % * offset 134 */ scaled_channel fuelingLoad = (uint16_t)0; /** % * offset 136 */ scaled_channel ignitionLoad = (uint16_t)0; /** crc16 * offset 138 */ scaled_channel engineMakeCodeNameCrc16 = (uint16_t)0; /** counter * offset 140 */ scaled_channel totalTriggerErrorCounter = (uint32_t)0; /** * offset 144 */ uint32_t orderingErrorCounter = (uint32_t)0; /** count * offset 148 */ scaled_channel warningCounter = (uint16_t)0; /** error * offset 150 */ scaled_channel lastErrorCode = (uint16_t)0; /** error * offset 152 */ uint16_t recentErrorCodes[8]; /** val * offset 168 */ scaled_channel debugFloatField1 = (float)0; /** val * offset 172 */ scaled_channel debugFloatField2 = (float)0; /** val * offset 176 */ scaled_channel debugFloatField3 = (float)0; /** val * offset 180 */ scaled_channel debugFloatField4 = (float)0; /** val * offset 184 */ scaled_channel debugFloatField5 = (float)0; /** val * offset 188 */ scaled_channel debugFloatField6 = (float)0; /** val * offset 192 */ scaled_channel debugFloatField7 = (float)0; /** val * offset 196 */ scaled_channel debugIntField1 = (uint32_t)0; /** val * offset 200 */ scaled_channel debugIntField2 = (uint32_t)0; /** val * offset 204 */ scaled_channel debugIntField3 = (uint32_t)0; /** val * offset 208 */ scaled_channel debugIntField4 = (uint16_t)0; /** val * offset 210 */ scaled_channel debugIntField5 = (uint16_t)0; /** G * offset 212 */ scaled_channel accelerationX = (uint16_t)0; /** G * offset 214 */ scaled_channel accelerationY = (uint16_t)0; /** deg C * offset 216 */ uint16_t egtValues[EGT_CHANNEL_COUNT]; /** % * offset 232 */ scaled_channel TPS2Value = (uint16_t)0; /** * offset 234 */ scaled_channel rawTps1Primary = (uint16_t)0; /** * offset 236 */ scaled_channel rawPpsPrimary = (uint16_t)0; /** * offset 238 */ scaled_channel rawClt = (uint16_t)0; /** * offset 240 */ scaled_channel rawIat = (uint16_t)0; /** * offset 242 */ scaled_channel rawOilPressure = (uint16_t)0; /** crc16 * offset 244 */ scaled_channel tuneCrc16 = (uint16_t)0; /** * offset 246 */ scaled_channel unusedAt246 = (uint8_t)0; /** * offset 247 */ scaled_channel tcuCurrentGear = (uint8_t)0; /** * offset 248 */ scaled_channel rawPpsSecondary = (uint16_t)0; /** * offset 250 */ scaled_channel knockLevels[12]; /** * offset 262 */ scaled_channel tcuDesiredGear = (uint8_t)0; /** * offset 263 */ scaled_channel flexPercent = (uint8_t)0; /** * offset 264 */ scaled_channel rawIdlePositionSensor = (uint16_t)0; /** * offset 266 */ scaled_channel rawWastegatePositionSensor = (uint16_t)0; /** * offset 268 */ scaled_channel wastegatePosition = (uint16_t)0; /** * offset 270 */ scaled_channel idlePositionSensor = (uint16_t)0; /** * offset 272 */ scaled_channel rawLowFuelPressure = (uint16_t)0; /** * offset 274 */ scaled_channel rawHighFuelPressure = (uint16_t)0; /** * offset 276 */ scaled_channel lowFuelPressure = (uint16_t)0; /** * offset 278 */ scaled_channel highFuelPressure = (uint16_t)0; /** * offset 280 */ scaled_channel targetLambda = (uint16_t)0; /** * offset 282 */ scaled_channel airFuelRatio = (uint16_t)0; /** * offset 284 */ scaled_channel VssAcceleration = (uint16_t)0; /** * offset 286 */ scaled_channel lambda2 = (uint16_t)0; /** * offset 288 */ scaled_channel airFuelRatio2 = (uint16_t)0; /** deg * offset 290 */ scaled_channel vvtPositionB1E = (uint16_t)0; /** deg * offset 292 */ scaled_channel vvtPositionB2I = (uint16_t)0; /** deg * offset 294 */ scaled_channel vvtPositionB2E = (uint16_t)0; /** * offset 296 */ scaled_channel fuelTrim[2]; /** * offset 300 */ scaled_channel rawTps1Secondary = (uint16_t)0; /** * offset 302 */ scaled_channel rawTps2Primary = (uint16_t)0; /** * offset 304 */ scaled_channel rawTps2Secondary = (uint16_t)0; /** * offset 306 */ uint16_t knockCount = (uint16_t)0; /** G * offset 308 */ scaled_channel accelerationZ = (uint16_t)0; /** * offset 310 */ scaled_channel accelerationRoll = (uint16_t)0; /** * offset 312 */ scaled_channel accelerationYaw = (uint16_t)0; /** * offset 314 */ scaled_channel vvtTargets[4]; /** * offset 318 */ uint16_t turboSpeed = (uint16_t)0; /** * offset 320 */ uint8_t unusedAtTheEnd[18]; /** * need 4 byte alignment units * offset 338 */ uint8_t alignmentFill_at_338[2]; /** total size 340*/ }; // end // this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Sat Nov 27 13:01:48 EST 2021