2024-03-14 10:16:26 -07:00
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) console/binary/output_channels.txt Thu Mar 14 17:15:34 UTC 2024
2024-03-05 09:18:31 -08:00
// 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 { } ;
/**
offset 0 bit 27 */
bool unusedBit_27_27 : 1 { } ;
/**
offset 0 bit 28 */
bool unusedBit_27_28 : 1 { } ;
/**
offset 0 bit 29 */
bool unusedBit_27_29 : 1 { } ;
/**
offset 0 bit 30 */
bool unusedBit_27_30 : 1 { } ;
/**
offset 0 bit 31 */
bool unusedBit_27_31 : 1 { } ;
/**
* @ @ GAUGE_NAME_RPM @ @
* units : RPM
* offset 4
*/
uint16_t RPMValue = ( uint16_t ) 0 ;
/**
* dRPM
* units : RPM acceleration
* 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 ;
/**
* need 4 byte alignment
* units : units
* offset 45
*/
uint8_t alignmentFill_at_45 [ 1 ] ;
/**
* @ @ 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 ;
/**
* ETB Target
* units : %
* offset 64
*/
scaled_channel < int16_t , 100 , 1 > etbTarget = ( int16_t ) 0 ;
/**
* @ @ GAUGE_NAME_ETB_DUTY @ @
* units : %
* offset 66
*/
scaled_channel < int16_t , 100 , 1 > etb1DutyCycle = ( int16_t ) 0 ;
/**
* Fuel level
* units : %
* offset 68
*/
scaled_channel < int16_t , 100 , 1 > fuelTankLevel = ( int16_t ) 0 ;
/**
* @ @ GAUGE_NAME_FUEL_CONSUMPTION @ @
* units : grams
* offset 70
*/
uint16_t totalFuelConsumption = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_FUEL_FLOW @ @
* units : gram / s
* offset 72
*/
scaled_channel < uint16_t , 200 , 1 > fuelFlowRate = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_TPS2 @ @
* units : %
* offset 74
*/
scaled_channel < int16_t , 100 , 1 > TPS2Value = ( int16_t ) 0 ;
/**
* @ @ GAUGE_NAME_TUNE_CRC16 @ @
* units : crc16
* offset 76
*/
uint16_t tuneCrc16 = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_FUEL_VE @ @
* units : ratio
* offset 78
*/
scaled_channel < uint16_t , 10 , 1 > veValue = ( uint16_t ) 0 ;
/**
* @ @ 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 ;
/**
* need 4 byte alignment
* units : units
* offset 114
*/
uint8_t alignmentFill_at_114 [ 2 ] ;
/**
* 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 ;
/**
* 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
*/
2024-03-12 18:51:34 -07:00
scaled_channel < int16_t , 4 , 1 > egt [ EGT_CHANNEL_COUNT ] ;
2024-03-05 09:18:31 -08:00
/**
* units : V
* offset 216
*/
scaled_channel < int16_t , 1000 , 1 > rawTps1Primary = ( int16_t ) 0 ;
/**
* units : V
* offset 218
*/
scaled_channel < int16_t , 1000 , 1 > rawPpsPrimary = ( int16_t ) 0 ;
/**
* units : V
* offset 220
*/
scaled_channel < int16_t , 1000 , 1 > rawClt = ( int16_t ) 0 ;
/**
* units : V
* offset 222
*/
scaled_channel < int16_t , 1000 , 1 > rawIat = ( int16_t ) 0 ;
/**
* units : V
* offset 224
*/
scaled_channel < int16_t , 1000 , 1 > rawOilPressure = ( int16_t ) 0 ;
/**
* offset 226
*/
uint8_t fuelClosedLoopBinIdx = ( uint8_t ) 0 ;
/**
* need 4 byte alignment
* units : units
* offset 227
*/
uint8_t alignmentFill_at_227 [ 1 ] ;
/**
* units : V
* offset 228
*/
scaled_channel < int16_t , 1000 , 1 > rawPpsSecondary = ( int16_t ) 0 ;
/**
* @ @ GAUGE_NAME_IDLE_POSITION @ @
* units : %
* offset 230
*/
scaled_channel < int16_t , 100 , 1 > idlePositionSensor = ( int16_t ) 0 ;
/**
* @ @ GAUGE_NAME_AFR @ @
* units : AFR
* offset 232
*/
scaled_channel < uint16_t , 1000 , 1 > AFRValue = ( uint16_t ) 0 ;
/**
* Vss Accel
* units : m / s2
* offset 234
*/
scaled_channel < uint16_t , 300 , 1 > VssAcceleration = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_LAMBDA2 @ @
* offset 236
*/
scaled_channel < uint16_t , 10000 , 1 > lambdaValue2 = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_AFR2 @ @
* units : AFR
* offset 238
*/
scaled_channel < uint16_t , 1000 , 1 > AFRValue2 = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_VVT_B1E @ @
* units : deg
* offset 240
*/
scaled_channel < int16_t , 50 , 1 > vvtPositionB1E = ( int16_t ) 0 ;
/**
* @ @ GAUGE_NAME_VVT_B2I @ @
* units : deg
* offset 242
*/
scaled_channel < int16_t , 50 , 1 > vvtPositionB2I = ( int16_t ) 0 ;
/**
* @ @ GAUGE_NAME_VVT_B2E @ @
* units : deg
* offset 244
*/
scaled_channel < int16_t , 50 , 1 > vvtPositionB2E = ( int16_t ) 0 ;
/**
* Fuel : Trim bank
* units : %
* offset 246
*/
scaled_channel < int16_t , 100 , 1 > fuelPidCorrection [ 2 ] ;
/**
* units : V
* offset 250
*/
scaled_channel < int16_t , 1000 , 1 > rawTps1Secondary = ( int16_t ) 0 ;
/**
* units : V
* offset 252
*/
scaled_channel < int16_t , 1000 , 1 > rawTps2Primary = ( int16_t ) 0 ;
/**
* units : V
* offset 254
*/
scaled_channel < int16_t , 1000 , 1 > rawTps2Secondary = ( int16_t ) 0 ;
/**
* @ @ GAUGE_NAME_ACCEL_VERT @ @
* units : G
* offset 256
*/
scaled_channel < int16_t , 1000 , 1 > accelerationVert = ( int16_t ) 0 ;
/**
* @ @ GAUGE_NAME_GYRO_YAW @ @
* units : deg / sec
* offset 258
*/
scaled_channel < int16_t , 1000 , 1 > gyroYaw = ( int16_t ) 0 ;
/**
* units : deg
* offset 260
*/
int8_t vvtTargets [ 4 ] ;
/**
* @ @ GAUGE_NAME_TURBO_SPEED @ @
* units : hz
* offset 264
*/
uint16_t turboSpeed = ( uint16_t ) 0 ;
/**
* Ign : Timing Cyl
* units : deg
* offset 266
*/
scaled_channel < int16_t , 50 , 1 > ignitionAdvanceCyl [ MAX_CYLINDER_COUNT ] ;
/**
* units : %
* offset 290
*/
scaled_channel < int16_t , 100 , 1 > tps1Split = ( int16_t ) 0 ;
/**
* units : %
* offset 292
*/
scaled_channel < int16_t , 100 , 1 > tps2Split = ( int16_t ) 0 ;
/**
* units : %
* offset 294
*/
scaled_channel < int16_t , 100 , 1 > tps12Split = ( int16_t ) 0 ;
/**
* units : %
* offset 296
*/
scaled_channel < int16_t , 100 , 1 > accPedalSplit = ( int16_t ) 0 ;
/**
* Ign : Cut Code
* units : code
* offset 298
*/
int8_t sparkCutReason = ( int8_t ) 0 ;
/**
* Fuel : Cut Code
* units : code
* offset 299
*/
int8_t fuelCutReason = ( int8_t ) 0 ;
/**
* @ @ GAUGE_NAME_AIR_FLOW_ESTIMATE @ @
* units : kg / h
* offset 300
*/
scaled_channel < uint16_t , 10 , 1 > mafEstimate = ( uint16_t ) 0 ;
/**
* sync : instant RPM
* units : rpm
* offset 302
*/
uint16_t instantRpm = ( uint16_t ) 0 ;
/**
* units : V
* offset 304
*/
scaled_channel < uint16_t , 1000 , 1 > rawMap = ( uint16_t ) 0 ;
/**
* units : V
* offset 306
*/
scaled_channel < uint16_t , 1000 , 1 > rawAfr = ( uint16_t ) 0 ;
/**
* offset 308
*/
float calibrationValue2 = ( float ) 0 ;
/**
* Lua : Tick counter
* units : count
* offset 312
*/
uint32_t luaInvocationCounter = ( uint32_t ) 0 ;
/**
* Lua : Last tick duration
* units : nt
* offset 316
*/
uint32_t luaLastCycleDuration = ( uint32_t ) 0 ;
/**
* offset 320
*/
uint32_t vssEdgeCounter = ( uint32_t ) 0 ;
/**
* offset 324
*/
uint32_t issEdgeCounter = ( uint32_t ) 0 ;
/**
* @ @ GAUGE_NAME_AUX_LINEAR_1 @ @
* offset 328
*/
2024-03-14 10:16:26 -07:00
float auxLinear1 = ( float ) 0 ;
2024-03-05 09:18:31 -08:00
/**
* @ @ GAUGE_NAME_AUX_LINEAR_2 @ @
2024-03-14 10:16:26 -07:00
* offset 332
2024-03-05 09:18:31 -08:00
*/
2024-03-14 10:16:26 -07:00
float auxLinear2 = ( float ) 0 ;
2024-03-05 09:18:31 -08:00
/**
* units : kPa
2024-03-14 10:16:26 -07:00
* offset 336
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint16_t , 10 , 1 > fallbackMap = ( uint16_t ) 0 ;
/**
* Instant MAP
* units : kPa
2024-03-14 10:16:26 -07:00
* offset 338
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint16_t , 30 , 1 > instantMAPValue = ( uint16_t ) 0 ;
/**
* units : us
2024-03-14 10:16:26 -07:00
* offset 340
2024-03-05 09:18:31 -08:00
*/
uint16_t maxLockedDuration = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_CAN_WRITE_OK @ @
2024-03-14 10:16:26 -07:00
* offset 342
2024-03-05 09:18:31 -08:00
*/
uint16_t canWriteOk = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_CAN_WRITE_ERR @ @
2024-03-14 10:16:26 -07:00
* offset 344
2024-03-05 09:18:31 -08:00
*/
uint16_t canWriteNotOk = ( uint16_t ) 0 ;
/**
* need 4 byte alignment
* units : units
2024-03-14 10:16:26 -07:00
* offset 346
2024-03-05 09:18:31 -08:00
*/
2024-03-14 10:16:26 -07:00
uint8_t alignmentFill_at_346 [ 2 ] ;
2024-03-05 09:18:31 -08:00
/**
2024-03-14 10:16:26 -07:00
* offset 348
2024-03-05 09:18:31 -08:00
*/
uint32_t triggerPrimaryFall = ( uint32_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 352
2024-03-05 09:18:31 -08:00
*/
uint32_t triggerPrimaryRise = ( uint32_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 356
2024-03-05 09:18:31 -08:00
*/
uint32_t triggerSecondaryFall = ( uint32_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 360
2024-03-05 09:18:31 -08:00
*/
uint32_t triggerSecondaryRise = ( uint32_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 364
2024-03-05 09:18:31 -08:00
*/
uint16_t triggerVvtFall = ( uint16_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 366
2024-03-05 09:18:31 -08:00
*/
uint16_t triggerVvtRise = ( uint16_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 368
2024-03-05 09:18:31 -08:00
*/
uint16_t triggerVvt2Fall = ( uint16_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 370
2024-03-05 09:18:31 -08:00
*/
uint16_t triggerVvt2Rise = ( uint16_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 372
2024-03-05 09:18:31 -08:00
*/
uint8_t starterState = ( uint8_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 373
2024-03-05 09:18:31 -08:00
*/
uint8_t starterRelayDisable = ( uint8_t ) 0 ;
/**
* Ign : Multispark count
2024-03-14 10:16:26 -07:00
* offset 374
2024-03-05 09:18:31 -08:00
*/
uint8_t multiSparkCounter = ( uint8_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 375
2024-03-05 09:18:31 -08:00
*/
uint8_t extiOverflowCount = ( uint8_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 376
2024-03-05 09:18:31 -08:00
*/
pid_status_s alternatorStatus ;
/**
2024-03-14 10:16:26 -07:00
* offset 392
2024-03-05 09:18:31 -08:00
*/
pid_status_s idleStatus ;
/**
2024-03-14 10:16:26 -07:00
* offset 408
2024-03-05 09:18:31 -08:00
*/
pid_status_s etbStatus ;
/**
2024-03-14 10:16:26 -07:00
* offset 424
2024-03-05 09:18:31 -08:00
*/
pid_status_s boostStatus ;
/**
2024-03-14 10:16:26 -07:00
* offset 440
2024-03-05 09:18:31 -08:00
*/
pid_status_s wastegateDcStatus ;
/**
2024-03-14 10:16:26 -07:00
* offset 456
2024-03-05 09:18:31 -08:00
*/
pid_status_s vvtStatus [ CAM_INPUTS_COUNT ] ;
/**
* Aux speed 1
* units : s
2024-03-14 10:16:26 -07:00
* offset 520
2024-03-05 09:18:31 -08:00
*/
uint16_t auxSpeed1 = ( uint16_t ) 0 ;
/**
* Aux speed 2
* units : s
2024-03-14 10:16:26 -07:00
* offset 522
2024-03-05 09:18:31 -08:00
*/
uint16_t auxSpeed2 = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_ISS @ @
* units : RPM
2024-03-14 10:16:26 -07:00
* offset 524
2024-03-05 09:18:31 -08:00
*/
uint16_t ISSValue = ( uint16_t ) 0 ;
/**
* units : V
2024-03-14 10:16:26 -07:00
* offset 526
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 1000 , 1 > rawAnalogInput [ LUA_ANALOG_INPUT_COUNT ] ;
/**
* GPPWM Output
* units : %
2024-03-14 10:16:26 -07:00
* offset 542
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint8_t , 2 , 1 > gppwmOutput [ 4 ] ;
/**
2024-03-14 10:16:26 -07:00
* offset 546
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 1 , 1 > gppwmXAxis [ 4 ] ;
/**
2024-03-14 10:16:26 -07:00
* offset 554
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 10 , 1 > gppwmYAxis [ 4 ] ;
/**
* units : V
2024-03-14 10:16:26 -07:00
* offset 562
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 1000 , 1 > rawBattery = ( int16_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 564
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 10 , 1 > ignBlendParameter [ IGN_BLEND_COUNT ] ;
/**
* units : %
2024-03-14 10:16:26 -07:00
* offset 572
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint8_t , 2 , 1 > ignBlendBias [ IGN_BLEND_COUNT ] ;
/**
* units : deg
2024-03-14 10:16:26 -07:00
* offset 576
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 100 , 1 > ignBlendOutput [ IGN_BLEND_COUNT ] ;
/**
2024-03-14 10:16:26 -07:00
* offset 584
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 10 , 1 > veBlendParameter [ VE_BLEND_COUNT ] ;
/**
* units : %
2024-03-14 10:16:26 -07:00
* offset 592
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint8_t , 2 , 1 > veBlendBias [ VE_BLEND_COUNT ] ;
/**
* units : %
2024-03-14 10:16:26 -07:00
* offset 596
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 100 , 1 > veBlendOutput [ VE_BLEND_COUNT ] ;
/**
2024-03-14 10:16:26 -07:00
* offset 604
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 10 , 1 > boostOpenLoopBlendParameter [ BOOST_BLEND_COUNT ] ;
/**
* units : %
2024-03-14 10:16:26 -07:00
* offset 608
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint8_t , 2 , 1 > boostOpenLoopBlendBias [ BOOST_BLEND_COUNT ] ;
/**
* units : %
2024-03-14 10:16:26 -07:00
* offset 610
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int8_t , 1 , 1 > boostOpenLoopBlendOutput [ BOOST_BLEND_COUNT ] ;
/**
2024-03-14 10:16:26 -07:00
* offset 612
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 10 , 1 > boostClosedLoopBlendParameter [ BOOST_BLEND_COUNT ] ;
/**
* units : %
2024-03-14 10:16:26 -07:00
* offset 616
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint8_t , 2 , 1 > boostClosedLoopBlendBias [ BOOST_BLEND_COUNT ] ;
/**
* units : %
2024-03-14 10:16:26 -07:00
* offset 618
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 10 , 1 > boostClosedLoopBlendOutput [ BOOST_BLEND_COUNT ] ;
/**
* need 4 byte alignment
* units : units
2024-03-14 10:16:26 -07:00
* offset 622
2024-03-05 09:18:31 -08:00
*/
2024-03-14 10:16:26 -07:00
uint8_t alignmentFill_at_622 [ 2 ] ;
2024-03-05 09:18:31 -08:00
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 0 */
2024-03-05 09:18:31 -08:00
bool coilState1 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 1 */
2024-03-05 09:18:31 -08:00
bool coilState2 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 2 */
2024-03-05 09:18:31 -08:00
bool coilState3 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 3 */
2024-03-05 09:18:31 -08:00
bool coilState4 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 4 */
2024-03-05 09:18:31 -08:00
bool coilState5 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 5 */
2024-03-05 09:18:31 -08:00
bool coilState6 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 6 */
2024-03-05 09:18:31 -08:00
bool coilState7 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 7 */
2024-03-05 09:18:31 -08:00
bool coilState8 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 8 */
2024-03-05 09:18:31 -08:00
bool coilState9 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 9 */
2024-03-05 09:18:31 -08:00
bool coilState10 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 10 */
2024-03-05 09:18:31 -08:00
bool coilState11 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 11 */
2024-03-05 09:18:31 -08:00
bool coilState12 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 12 */
2024-03-05 09:18:31 -08:00
bool injectorState1 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 13 */
2024-03-05 09:18:31 -08:00
bool injectorState2 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 14 */
2024-03-05 09:18:31 -08:00
bool injectorState3 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 15 */
2024-03-05 09:18:31 -08:00
bool injectorState4 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 16 */
2024-03-05 09:18:31 -08:00
bool injectorState5 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 17 */
2024-03-05 09:18:31 -08:00
bool injectorState6 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 18 */
2024-03-05 09:18:31 -08:00
bool injectorState7 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 19 */
2024-03-05 09:18:31 -08:00
bool injectorState8 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 20 */
2024-03-05 09:18:31 -08:00
bool injectorState9 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 21 */
2024-03-05 09:18:31 -08:00
bool injectorState10 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 22 */
2024-03-05 09:18:31 -08:00
bool injectorState11 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 23 */
2024-03-05 09:18:31 -08:00
bool injectorState12 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 24 */
2024-03-05 09:18:31 -08:00
bool triggerChannel1 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 25 */
2024-03-05 09:18:31 -08:00
bool triggerChannel2 : 1 { } ;
/**
* bank 1 intake cam input
2024-03-14 10:16:26 -07:00
offset 624 bit 26 */
2024-03-05 09:18:31 -08:00
bool vvtChannel1 : 1 { } ;
/**
* bank 1 exhaust cam input
2024-03-14 10:16:26 -07:00
offset 624 bit 27 */
2024-03-05 09:18:31 -08:00
bool vvtChannel2 : 1 { } ;
/**
* bank 2 intake cam input
2024-03-14 10:16:26 -07:00
offset 624 bit 28 */
2024-03-05 09:18:31 -08:00
bool vvtChannel3 : 1 { } ;
/**
* bank 2 exhaust cam input
2024-03-14 10:16:26 -07:00
offset 624 bit 29 */
2024-03-05 09:18:31 -08:00
bool vvtChannel4 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 30 */
2024-03-05 09:18:31 -08:00
bool unusedBit_230_30 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
offset 624 bit 31 */
2024-03-05 09:18:31 -08:00
bool unusedBit_230_31 : 1 { } ;
/**
2024-03-14 10:16:26 -07:00
* offset 628
2024-03-05 09:18:31 -08:00
*/
uint32_t outputRequestPeriod = ( uint32_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 632
2024-03-05 09:18:31 -08:00
*/
float mapFast = ( float ) 0 ;
/**
* Lua : Gauge
* units : value
2024-03-14 10:16:26 -07:00
* offset 636
2024-03-05 09:18:31 -08:00
*/
float luaGauges [ LUA_GAUGE_COUNT ] ;
/**
* units : V
2024-03-14 10:16:26 -07:00
* offset 644
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint16_t , 1000 , 1 > rawMaf2 = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_AIR_FLOW_MEASURED_2 @ @
* units : kg / h
2024-03-14 10:16:26 -07:00
* offset 646
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint16_t , 10 , 1 > mafMeasured2 = ( uint16_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 648
2024-03-05 09:18:31 -08:00
*/
uint16_t schedulingUsedCount = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_VVS @ @
* units : kph
2024-03-14 10:16:26 -07:00
* offset 650
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint16_t , 100 , 1 > vehicleSpeedKph = ( uint16_t ) 0 ;
/**
* units : %
2024-03-14 10:16:26 -07:00
* offset 652
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint16_t , 100 , 1 > Gego = ( uint16_t ) 0 ;
/**
* units : count
2024-03-14 10:16:26 -07:00
* offset 654
2024-03-05 09:18:31 -08:00
*/
uint16_t testBenchIter = ( uint16_t ) 0 ;
/**
* units : deg C
2024-03-14 10:16:26 -07:00
* offset 656
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 100 , 1 > oilTemp = ( int16_t ) 0 ;
/**
* units : deg C
2024-03-14 10:16:26 -07:00
* offset 658
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 100 , 1 > fuelTemp = ( int16_t ) 0 ;
/**
* units : deg C
2024-03-14 10:16:26 -07:00
* offset 660
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 100 , 1 > ambientTemp = ( int16_t ) 0 ;
/**
* units : deg C
2024-03-14 10:16:26 -07:00
* offset 662
2024-03-05 09:18:31 -08:00
*/
scaled_channel < int16_t , 100 , 1 > compressorDischargeTemp = ( int16_t ) 0 ;
/**
* units : kPa
2024-03-14 10:16:26 -07:00
* offset 664
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint16_t , 30 , 1 > compressorDischargePressure = ( uint16_t ) 0 ;
/**
* units : kPa
2024-03-14 10:16:26 -07:00
* offset 666
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint16_t , 30 , 1 > throttleInletPressure = ( uint16_t ) 0 ;
/**
* units : sec
2024-03-14 10:16:26 -07:00
* offset 668
2024-03-05 09:18:31 -08:00
*/
uint16_t ignitionOnTime = ( uint16_t ) 0 ;
/**
* units : sec
2024-03-14 10:16:26 -07:00
* offset 670
2024-03-05 09:18:31 -08:00
*/
uint16_t engineRunTime = ( uint16_t ) 0 ;
/**
* units : km
2024-03-14 10:16:26 -07:00
* offset 672
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint16_t , 10 , 1 > distanceTraveled = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_AFR_GAS_SCALE @ @
* units : AFR
2024-03-14 10:16:26 -07:00
* offset 674
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint16_t , 1000 , 1 > afrGasolineScale = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_AFR2_GAS_SCALE @ @
* units : AFR
2024-03-14 10:16:26 -07:00
* offset 676
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint16_t , 1000 , 1 > afr2GasolineScale = ( uint16_t ) 0 ;
/**
* need 4 byte alignment
* units : units
2024-03-14 10:16:26 -07:00
* offset 678
2024-03-05 09:18:31 -08:00
*/
2024-03-14 10:16:26 -07:00
uint8_t alignmentFill_at_678 [ 2 ] ;
2024-03-05 09:18:31 -08:00
/**
2024-03-14 10:16:26 -07:00
* offset 680
2024-03-05 09:18:31 -08:00
*/
float wheelSlipRatio = ( float ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 684
2024-03-05 09:18:31 -08:00
*/
uint8_t ignitorDiagnostic [ MAX_CYLINDER_COUNT ] ;
/**
2024-03-14 10:16:26 -07:00
* offset 696
2024-03-05 09:18:31 -08:00
*/
uint8_t injectorDiagnostic [ MAX_CYLINDER_COUNT ] ;
/**
* @ @ GAUGE_NAME_FUEL_LAST_INJECTION_STAGE_2 @ @
* units : ms
2024-03-14 10:16:26 -07:00
* offset 708
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint16_t , 300 , 1 > actualLastInjectionStage2 = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_FUEL_INJ_DUTY_STAGE_2 @ @
* units : %
2024-03-14 10:16:26 -07:00
* offset 710
2024-03-05 09:18:31 -08:00
*/
scaled_channel < uint8_t , 2 , 1 > injectorDutyCycleStage2 = ( uint8_t ) 0 ;
/**
2024-03-14 10:16:26 -07:00
* offset 711
2024-03-05 09:18:31 -08:00
*/
uint8_t unusedAtTheEnd [ 88 ] ;
/**
* need 4 byte alignment
* units : units
2024-03-14 10:16:26 -07:00
* offset 799
2024-03-05 09:18:31 -08:00
*/
2024-03-14 10:16:26 -07:00
uint8_t alignmentFill_at_799 [ 1 ] ;
2024-03-05 09:18:31 -08:00
} ;
2024-03-14 10:16:26 -07:00
static_assert ( sizeof ( output_channels_s ) = = 800 ) ;
2024-03-05 09:18:31 -08:00
// end
2024-03-14 10:16:26 -07:00
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) console/binary/output_channels.txt Thu Mar 14 17:15:34 UTC 2024