2022-11-01 14:35:56 -07:00
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Tue Nov 01 21:35:07 UTC 2022
2021-11-17 21:05:27 -08:00
// by class com.rusefi.output.CHeaderConsumer
// begin
# pragma once
# include "rusefi_types.h"
2021-11-28 19:26:23 -08:00
// start of pid_status_s
struct pid_status_s {
/**
* offset 0
*/
2022-10-11 18:03:24 -07:00
float pTerm = ( float ) 0 ;
2022-07-08 06:43:05 -07:00
/**
* offset 4
*/
2022-03-24 06:05:35 -07:00
scaled_channel < int16_t , 100 , 1 > iTerm = ( int16_t ) 0 ;
2021-11-28 19:26:23 -08:00
/**
2022-07-08 06:43:05 -07:00
* offset 6
2021-11-28 19:26:23 -08:00
*/
2022-03-24 06:05:35 -07:00
scaled_channel < int16_t , 100 , 1 > dTerm = ( int16_t ) 0 ;
2021-11-28 19:26:23 -08:00
/**
2022-07-08 06:43:05 -07:00
* offset 8
2021-11-28 19:26:23 -08:00
*/
2022-03-24 06:05:35 -07:00
scaled_channel < int16_t , 100 , 1 > output = ( int16_t ) 0 ;
2021-11-28 19:26:23 -08:00
/**
2022-07-08 06:43:05 -07:00
* offset 10
2021-11-28 19:26:23 -08:00
*/
2022-03-24 06:05:35 -07:00
scaled_channel < int16_t , 100 , 1 > error = ( int16_t ) 0 ;
2021-11-28 19:26:23 -08:00
/**
2022-07-08 06:43:05 -07:00
* offset 12
2021-11-28 19:26:23 -08:00
*/
2022-03-24 06:05:35 -07:00
uint32_t resetCounter = ( uint32_t ) 0 ;
2021-11-28 19:26:23 -08:00
} ;
2022-07-08 06:43:05 -07:00
static_assert ( sizeof ( pid_status_s ) = = 16 ) ;
2021-11-28 19:26:23 -08:00
2022-04-14 17:42:31 -07:00
// start of output_channels_s
struct output_channels_s {
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 0 */
2021-11-20 10:30:25 -08:00
bool sd_present : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 1 */
2022-09-19 19:05:56 -07:00
bool sd_logging_internal : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 2 */
2022-09-19 19:05:56 -07:00
bool unusedb4 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 3 */
2022-09-19 19:05:56 -07:00
bool unusedb5 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
2022-09-19 19:05:56 -07:00
* radiator fan
2021-11-17 21:05:27 -08:00
offset 0 bit 4 */
2022-09-19 19:05:56 -07:00
bool isFanOn : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 5 */
2022-09-19 19:05:56 -07:00
bool isO2HeaterOn : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 6 */
2022-09-19 19:05:56 -07:00
bool checkEngine : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 7 */
2022-09-19 19:05:56 -07:00
bool needBurn : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 8 */
2022-09-19 19:05:56 -07:00
bool sd_msd : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 9 */
2022-09-19 19:05:56 -07:00
bool isFan2On : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 10 */
2022-09-19 19:05:56 -07:00
bool unusedBitLAtwfs : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 11 */
2022-09-19 19:05:56 -07:00
bool toothLogReady : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 12 */
2022-09-19 19:05:56 -07:00
bool unused3123 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 13 */
2022-09-19 19:05:56 -07:00
bool isTpsError : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 14 */
2022-09-19 19:05:56 -07:00
bool isCltError : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 15 */
2022-09-19 19:05:56 -07:00
bool isMapError : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 16 */
2022-09-19 19:05:56 -07:00
bool isIatError : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 17 */
2022-09-19 19:05:56 -07:00
bool unused131313 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 18 */
2022-09-19 19:05:56 -07:00
bool isTriggerError : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 19 */
2022-09-19 19:05:56 -07:00
bool hasCriticalError : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 20 */
2022-09-19 19:05:56 -07:00
bool isWarnNow : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 21 */
2022-09-19 19:05:56 -07:00
bool isPedalError : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 22 */
2022-09-19 19:05:56 -07:00
bool isKnockChipOk : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 23 */
2022-09-19 19:05:56 -07:00
bool launchTriggered : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 24 */
2022-09-19 19:05:56 -07:00
bool isTps2Error : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 25 */
2022-09-19 19:05:56 -07:00
bool isIdleClosedLoop : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 26 */
2022-09-19 19:05:56 -07:00
bool unusedBit_26_26 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 27 */
2022-09-19 19:05:56 -07:00
bool unusedBit_26_27 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 28 */
2022-09-19 19:05:56 -07:00
bool unusedBit_26_28 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 29 */
2022-09-19 19:05:56 -07:00
bool unusedBit_26_29 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 30 */
2022-09-19 19:05:56 -07:00
bool unusedBit_26_30 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 31 */
2022-09-19 19:05:56 -07:00
bool unusedBit_26_31 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_RPM @ @
2021-11-26 18:54:31 -08:00
RPM
2021-11-17 21:05:27 -08:00
* offset 4
*/
2022-10-11 18:03:24 -07:00
uint16_t RPMValue = ( uint16_t ) 0 ;
2021-11-17 21:05:27 -08:00
/**
2021-11-28 11:10:13 -08:00
* dRPM
2021-11-26 18:54:31 -08:00
RPM / s
2021-11-17 21:05:27 -08:00
* offset 6
*/
2022-10-11 18:03:24 -07:00
uint16_t rpmAcceleration = ( uint16_t ) 0 ;
2021-11-20 10:30:25 -08:00
/**
2022-01-15 14:45:28 -08:00
* @ @ GAUGE_NAME_GEAR_RATIO @ @
2021-11-26 18:54:31 -08:00
value
2021-11-20 10:30:25 -08:00
* offset 8
*/
2021-11-20 11:27:21 -08:00
scaled_channel < uint16_t , 100 , 1 > speedToRpmRatio = ( uint16_t ) 0 ;
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_VVS @ @
2021-11-26 18:54:31 -08:00
kph
2022-04-24 21:01:07 -07:00
* offset 10
2021-11-20 11:27:21 -08:00
*/
2022-10-11 18:03:24 -07:00
uint8_t vehicleSpeedKph = ( uint8_t ) 0 ;
2021-11-20 10:30:25 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_CPU_TEMP @ @
2021-11-26 18:54:31 -08:00
deg C
2022-04-24 21:01:07 -07:00
* offset 11
2021-11-20 10:30:25 -08:00
*/
2022-10-11 18:03:24 -07:00
int8_t internalMcuTemperature = ( int8_t ) 0 ;
2021-11-20 10:30:25 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_CLT @ @
2021-11-26 18:54:31 -08:00
deg C
2022-04-24 21:01:07 -07:00
* offset 12
2021-11-20 10:30:25 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > coolant = ( int16_t ) 0 ;
2021-11-20 10:30:25 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_IAT @ @
2021-11-26 18:54:31 -08:00
deg C
2022-04-24 21:01:07 -07:00
* offset 14
2021-11-20 10:30:25 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > intake = ( int16_t ) 0 ;
2021-11-20 11:38:50 -08:00
/**
2021-11-26 18:54:31 -08:00
deg C
2022-04-24 21:01:07 -07:00
* offset 16
2021-11-20 11:38:50 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > auxTemp1 = ( int16_t ) 0 ;
2021-11-20 11:38:50 -08:00
/**
2021-11-26 18:54:31 -08:00
deg C
2022-04-24 21:01:07 -07:00
* offset 18
2021-11-20 11:38:50 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > auxTemp2 = ( int16_t ) 0 ;
2021-11-20 11:38:50 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_TPS @ @
2021-11-27 07:01:17 -08:00
%
2022-04-24 21:01:07 -07:00
* offset 20
2021-11-20 11:38:50 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > TPSValue = ( int16_t ) 0 ;
2021-11-20 11:38:50 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_THROTTLE_PEDAL @ @
2021-11-27 07:01:17 -08:00
%
2022-04-24 21:01:07 -07:00
* offset 22
2021-11-20 11:38:50 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > throttlePedalPosition = ( int16_t ) 0 ;
2021-11-20 11:38:50 -08:00
/**
2021-11-27 07:01:17 -08:00
ADC
2022-04-24 21:01:07 -07:00
* offset 24
2021-11-20 11:38:50 -08:00
*/
2022-10-11 18:03:24 -07:00
uint16_t tpsADC = ( uint16_t ) 0 ;
2021-11-20 11:38:50 -08:00
/**
2021-11-27 07:01:17 -08:00
V
2022-04-24 21:01:07 -07:00
* offset 26
2021-11-20 11:38:50 -08:00
*/
2022-01-12 13:38:47 -08:00
scaled_channel < uint16_t , 1000 , 1 > rawMaf = ( uint16_t ) 0 ;
2021-11-21 06:35:37 -08:00
/**
2022-01-12 13:38:47 -08:00
* @ @ GAUGE_NAME_AIR_FLOW_MEASURED @ @
kg / h
2022-04-24 21:01:07 -07:00
* offset 28
2021-11-21 06:35:37 -08:00
*/
2022-01-12 13:38:47 -08:00
scaled_channel < uint16_t , 10 , 1 > mafMeasured = ( uint16_t ) 0 ;
2021-11-21 06:35:37 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_MAP @ @
2021-11-27 07:01:17 -08:00
kPa
2022-04-24 21:01:07 -07:00
* offset 30
2021-11-21 06:35:37 -08:00
*/
2021-11-26 18:54:31 -08:00
scaled_channel < uint16_t , 30 , 1 > MAPValue = ( uint16_t ) 0 ;
2021-11-21 06:35:37 -08:00
/**
2021-11-27 07:01:17 -08:00
kPa
2022-04-24 21:01:07 -07:00
* offset 32
2021-11-21 06:35:37 -08:00
*/
scaled_channel < uint16_t , 30 , 1 > baroPressure = ( uint16_t ) 0 ;
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_LAMBDA @ @
2022-04-24 21:01:07 -07:00
* offset 34
2021-11-21 06:35:37 -08:00
*/
2021-11-26 18:54:31 -08:00
scaled_channel < uint16_t , 10000 , 1 > lambdaValue = ( uint16_t ) 0 ;
2021-11-21 06:35:37 -08:00
/**
2022-05-04 21:59:48 -07:00
* @ @ GAUGE_NAME_KNOCK_RETARD @ @
2021-11-27 10:05:44 -08:00
deg
2022-04-24 21:01:07 -07:00
* offset 36
2021-11-21 06:35:37 -08:00
*/
scaled_channel < uint8_t , 10 , 1 > knockRetard = ( uint8_t ) 0 ;
/**
2022-03-24 06:05:35 -07:00
%
2022-04-24 21:01:07 -07:00
* offset 37
2021-11-21 06:35:37 -08:00
*/
2022-03-24 06:05:35 -07:00
scaled_channel < uint8_t , 2 , 1 > idleCurrentPosition = ( uint8_t ) 0 ;
2021-11-21 06:35:37 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_VBAT @ @
2021-11-27 09:28:59 -08:00
V
2022-04-24 21:01:07 -07:00
* offset 38
2021-11-21 06:35:37 -08:00
*/
2021-11-26 18:54:31 -08:00
scaled_channel < uint16_t , 1000 , 1 > VBatt = ( uint16_t ) 0 ;
2021-11-26 12:53:01 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_OIL_PRESSURE @ @
2021-11-27 09:28:59 -08:00
kPa
2022-04-24 21:01:07 -07:00
* offset 40
2021-11-26 12:53:01 -08:00
*/
scaled_channel < uint16_t , 30 , 1 > oilPressure = ( uint16_t ) 0 ;
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_VVT_B1I @ @
2021-11-27 07:01:17 -08:00
deg
2022-04-24 21:01:07 -07:00
* offset 42
2021-11-26 12:53:01 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 50 , 1 > vvtPositionB1I = ( int16_t ) 0 ;
2021-11-26 15:16:06 -08:00
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_AIR_MASS @ @
2021-11-27 09:28:59 -08:00
g
2022-04-24 21:01:07 -07:00
* offset 44
2021-11-26 15:16:06 -08:00
*/
scaled_channel < uint16_t , 1000 , 1 > chargeAirMass = ( uint16_t ) 0 ;
/**
2021-11-28 11:40:03 -08:00
* crankingFuelMs
2021-11-26 15:16:06 -08:00
* airmass in mg , 0 - 65 grams
2021-11-27 09:28:59 -08:00
ms
2022-04-24 21:01:07 -07:00
* offset 46
2021-11-26 15:16:06 -08:00
*/
2021-11-27 10:36:37 -08:00
scaled_channel < uint16_t , 100 , 1 > crankingFuelMs = ( uint16_t ) 0 ;
2021-11-26 15:16:06 -08:00
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_TARGET_AFR @ @
2021-11-27 09:28:59 -08:00
ratio
2022-04-24 21:01:07 -07:00
* offset 48
2021-11-26 15:16:06 -08:00
*/
scaled_channel < uint16_t , 1000 , 1 > currentTargetAfr = ( uint16_t ) 0 ;
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_FUEL_BASE @ @
2021-11-26 15:16:06 -08:00
* This is the raw value we take from the fuel map or base fuel algorithm , before the corrections
2021-11-27 09:28:59 -08:00
mg
2022-04-24 21:01:07 -07:00
* offset 50
2021-11-26 15:16:06 -08:00
*/
2021-11-27 10:36:37 -08:00
scaled_channel < uint16_t , 100 , 1 > baseFuel = ( uint16_t ) 0 ;
2021-11-26 15:16:06 -08:00
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_FUEL_RUNNING @ @
2021-11-26 15:16:06 -08:00
* Total fuel with CLT IAT and TPS acceleration without injector lag corrections per cycle , as pulse per cycle
2021-11-27 09:28:59 -08:00
mg
2022-04-24 21:01:07 -07:00
* offset 52
2021-11-26 15:16:06 -08:00
*/
scaled_channel < uint16_t , 100 , 1 > fuelRunning = ( uint16_t ) 0 ;
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_FUEL_LAST_INJECTION @ @
2021-11-26 15:16:06 -08:00
* Actual last injection time - including all compensation and injection mode
2021-11-27 09:28:59 -08:00
ms
2022-04-24 21:01:07 -07:00
* offset 54
2021-11-26 15:16:06 -08:00
*/
scaled_channel < uint16_t , 300 , 1 > actualLastInjection = ( uint16_t ) 0 ;
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_FUEL_INJ_DUTY @ @
2021-11-27 09:28:59 -08:00
%
2022-04-24 21:01:07 -07:00
* offset 56
2021-11-26 15:16:06 -08:00
*/
scaled_channel < uint8_t , 2 , 1 > injectorDutyCycle = ( uint8_t ) 0 ;
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_FUEL_VE @ @
2021-11-27 09:28:59 -08:00
ratio
2022-04-24 21:01:07 -07:00
* offset 57
2021-11-26 15:16:06 -08:00
*/
scaled_channel < uint8_t , 2 , 1 > veValue = ( uint8_t ) 0 ;
/**
2021-11-27 09:28:59 -08:00
deg
2022-04-24 21:01:07 -07:00
* offset 58
2021-11-26 15:16:06 -08:00
*/
2022-10-11 18:03:24 -07:00
int16_t injectionOffset = ( int16_t ) 0 ;
2021-11-26 15:30:59 -08:00
/**
2021-11-27 09:28:59 -08:00
deg C
2022-04-24 21:01:07 -07:00
* offset 60
2021-11-26 15:30:59 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > tCharge = ( int16_t ) 0 ;
2021-11-26 15:30:59 -08:00
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_INJECTOR_LAG @ @
2021-11-27 09:28:59 -08:00
ms
2022-04-24 21:01:07 -07:00
* offset 62
2021-11-26 15:30:59 -08:00
*/
scaled_channel < uint16_t , 300 , 1 > injectorLagMs = ( uint16_t ) 0 ;
2022-09-03 14:43:03 -07:00
/**
* @ @ GAUGE_NAME_ENGINE_CRC16 @ @
crc16
2022-09-04 19:44:56 -07:00
* offset 64
2022-09-03 14:43:03 -07:00
*/
2022-10-11 18:03:24 -07:00
uint16_t engineMakeCodeNameCrc16 = ( uint16_t ) 0 ;
2021-11-26 15:30:59 -08:00
/**
2022-01-21 15:15:14 -08:00
* @ @ GAUGE_NAME_FUEL_WALL_AMOUNT @ @
2021-11-27 09:28:59 -08:00
mg
2022-09-04 19:44:56 -07:00
* offset 66
2021-11-26 15:30:59 -08:00
*/
scaled_channel < uint16_t , 100 , 1 > wallFuelAmount = ( uint16_t ) 0 ;
/**
2022-01-21 15:15:14 -08:00
* @ @ GAUGE_NAME_FUEL_WALL_CORRECTION @ @
2021-11-27 09:28:59 -08:00
mg
2022-09-04 19:44:56 -07:00
* offset 68
2021-11-26 15:30:59 -08:00
*/
2021-11-28 12:36:36 -08:00
scaled_channel < int16_t , 100 , 1 > wallFuelCorrection = ( int16_t ) 0 ;
2021-11-26 15:30:59 -08:00
/**
2022-09-04 19:44:56 -07:00
* offset 70
2021-11-26 15:30:59 -08:00
*/
2022-10-11 18:03:24 -07:00
uint16_t revolutionCounterSinceStart = ( uint16_t ) 0 ;
2021-11-26 15:30:59 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_FUEL_TPS_ROC @ @
2021-11-27 09:28:59 -08:00
ratio
2022-09-04 19:44:56 -07:00
* offset 72
2021-11-26 15:30:59 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > deltaTps = ( int16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2022-09-04 19:44:56 -07:00
* offset 74
2021-11-26 15:49:16 -08:00
*/
2022-10-11 18:03:24 -07:00
uint16_t canReadCounter = ( uint16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_FUEL_TPS_EXTRA @ @
2021-11-27 09:28:59 -08:00
ms
2022-09-04 19:44:56 -07:00
* offset 76
2021-11-26 15:49:16 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 300 , 1 > tpsAccelFuel = ( int16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_TIMING_ADVANCE @ @
2021-11-27 09:28:59 -08:00
deg
2022-09-04 19:44:56 -07:00
* offset 78
2021-11-26 15:49:16 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 50 , 1 > ignitionAdvance = ( int16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_COIL_DWELL_TIME @ @
2021-11-27 09:28:59 -08:00
ms
2022-09-04 19:44:56 -07:00
* offset 80
2021-11-26 15:49:16 -08:00
*/
2021-11-27 09:28:59 -08:00
scaled_channel < uint16_t , 300 , 1 > sparkDwellValue = ( uint16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_DWELL_DUTY @ @
2021-11-27 09:28:59 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 82
2021-11-26 15:49:16 -08:00
*/
scaled_channel < uint16_t , 100 , 1 > coilDutyCycle = ( uint16_t ) 0 ;
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_IAC @ @
2021-11-27 09:28:59 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 84
2021-11-26 15:49:16 -08:00
*/
2021-11-27 09:28:59 -08:00
scaled_channel < uint16_t , 100 , 1 > idleAirValvePosition = ( uint16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2022-06-26 19:39:05 -07:00
* ETB Target
2021-11-27 09:28:59 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 86
2021-11-26 15:49:16 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > etbTarget = ( int16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_ETB_DUTY @ @
2021-11-27 09:28:59 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 88
2021-11-26 15:49:16 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > etb1DutyCycle = ( int16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2022-06-26 19:39:05 -07:00
* ETB Error
2021-11-27 09:28:59 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 90
2021-11-26 15:49:16 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > etb1Error = ( int16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2022-06-26 19:39:05 -07:00
* Fuel level
2021-11-27 09:28:59 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 92
2021-11-26 15:49:16 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > fuelTankLevel = ( int16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2021-11-28 14:04:46 -08:00
* @ @ GAUGE_NAME_FUEL_CONSUMPTION @ @
2021-11-27 09:28:59 -08:00
grams
2022-09-04 19:44:56 -07:00
* offset 94
2021-11-26 15:49:16 -08:00
*/
2022-10-11 18:03:24 -07:00
uint16_t totalFuelConsumption = ( uint16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_FUEL_FLOW @ @
2021-11-27 09:28:59 -08:00
gram / s
2022-09-04 19:44:56 -07:00
* offset 96
2021-11-26 15:49:16 -08:00
*/
scaled_channel < uint16_t , 200 , 1 > fuelFlowRate = ( uint16_t ) 0 ;
2021-11-26 16:14:11 -08:00
/**
2021-11-27 10:05:44 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 98
2021-11-26 16:14:11 -08:00
*/
scaled_channel < uint16_t , 100 , 1 > veTableYAxis = ( uint16_t ) 0 ;
/**
2021-11-27 10:05:44 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 100
2022-08-31 21:18:59 -07:00
*/
2022-08-31 21:53:05 -07:00
scaled_channel < uint16_t , 100 , 1 > afrTableYAxis = ( uint16_t ) 0 ;
2022-09-03 14:43:03 -07:00
/**
* need 4 byte alignment
units
2022-09-04 19:44:56 -07:00
* offset 102
2022-09-03 14:43:03 -07:00
*/
2022-09-04 19:44:56 -07:00
uint8_t alignmentFill_at_102 [ 2 ] ;
2021-11-26 16:14:11 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_KNOCK_LEVEL @ @
2021-11-27 10:05:44 -08:00
Volts
2022-09-04 19:44:56 -07:00
* offset 104
2021-11-26 16:14:11 -08:00
*/
2022-10-11 18:03:24 -07:00
float knockLevel = ( float ) 0 ;
2021-11-26 16:14:11 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_UPTIME @ @
2021-11-27 10:05:44 -08:00
sec
2022-09-04 19:44:56 -07:00
* offset 108
2021-11-26 16:14:11 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t seconds = ( uint32_t ) 0 ;
2021-11-26 16:14:11 -08:00
/**
2022-06-26 19:39:05 -07:00
* Engine Mode
2021-11-27 10:05:44 -08:00
em
2022-09-04 19:44:56 -07:00
* offset 112
2021-11-26 16:14:11 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t engineMode = ( uint32_t ) 0 ;
2021-11-26 16:14:11 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_VERSION @ @
2021-11-27 10:05:44 -08:00
version_f
2022-09-04 19:44:56 -07:00
* offset 116
2021-11-26 16:14:11 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t firmwareVersion = ( uint32_t ) 0 ;
2021-11-26 16:14:11 -08:00
/**
2022-09-04 19:56:42 -07:00
V
2022-09-04 19:44:56 -07:00
* offset 120
2021-11-26 16:14:11 -08:00
*/
2022-09-04 19:56:42 -07:00
scaled_channel < int16_t , 1000 , 1 > rawIdlePositionSensor = ( int16_t ) 0 ;
/**
V
* offset 122
*/
scaled_channel < int16_t , 1000 , 1 > rawWastegatePosition = ( int16_t ) 0 ;
2021-11-26 16:14:11 -08:00
/**
2022-09-04 19:44:56 -07:00
* offset 124
2021-11-26 16:14:11 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t tsConfigVersion = ( uint32_t ) 0 ;
2021-11-26 17:46:30 -08:00
/**
2022-09-04 19:44:56 -07:00
* offset 128
2021-11-26 17:46:30 -08:00
*/
2022-10-11 18:03:24 -07:00
float calibrationValue = ( float ) 0 ;
2022-09-04 19:56:42 -07:00
/**
* offset 132
*/
2022-10-11 18:03:24 -07:00
uint8_t calibrationMode = ( uint8_t ) 0 ;
2021-11-26 17:46:30 -08:00
/**
2022-09-04 19:56:42 -07:00
* offset 133
2021-11-26 17:46:30 -08:00
*/
2022-10-11 18:03:24 -07:00
uint8_t idleTargetPosition = ( uint8_t ) 0 ;
2021-11-26 17:46:30 -08:00
/**
2022-09-03 14:43:03 -07:00
* need 4 byte alignment
units
2022-09-04 19:56:42 -07:00
* offset 134
2021-11-26 17:53:22 -08:00
*/
2022-09-04 19:56:42 -07:00
uint8_t alignmentFill_at_134 [ 2 ] ;
2021-11-26 17:53:22 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_TRG_ERR @ @
2021-11-27 10:05:44 -08:00
counter
2022-09-04 19:56:42 -07:00
* offset 136
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t totalTriggerErrorCounter = ( uint32_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2022-09-04 19:56:42 -07:00
* offset 140
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t orderingErrorCounter = ( uint32_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_WARNING_COUNTER @ @
2021-11-27 10:05:44 -08:00
count
2022-09-04 19:56:42 -07:00
* offset 144
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
uint16_t warningCounter = ( uint16_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_WARNING_LAST @ @
2021-11-27 10:05:44 -08:00
error
2022-09-04 19:56:42 -07:00
* offset 146
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
uint16_t lastErrorCode = ( uint16_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
error
2022-09-04 19:56:42 -07:00
* offset 148
2021-11-26 17:53:22 -08:00
*/
2021-11-27 15:34:47 -08:00
uint16_t recentErrorCode [ 8 ] ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2022-09-04 19:56:42 -07:00
* offset 164
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField1 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2022-09-04 19:56:42 -07:00
* offset 168
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField2 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2022-09-04 19:56:42 -07:00
* offset 172
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField3 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2022-09-04 19:56:42 -07:00
* offset 176
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField4 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2022-09-04 19:56:42 -07:00
* offset 180
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField5 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2022-09-04 19:56:42 -07:00
* offset 184
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField6 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2022-09-04 19:56:42 -07:00
* offset 188
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField7 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2022-09-04 19:56:42 -07:00
* offset 192
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t debugIntField1 = ( uint32_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2022-09-04 19:56:42 -07:00
* offset 196
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t debugIntField2 = ( uint32_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2022-09-04 19:56:42 -07:00
* offset 200
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t debugIntField3 = ( uint32_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2022-09-04 19:56:42 -07:00
* offset 204
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
int16_t debugIntField4 = ( int16_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2022-09-04 19:56:42 -07:00
* offset 206
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
int16_t debugIntField5 = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_ACCEL_X @ @
2021-11-27 10:05:44 -08:00
G
2022-09-04 19:56:42 -07:00
* offset 208
2021-11-26 18:03:45 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > accelerationX = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_ACCEL_Y @ @
2021-11-27 10:05:44 -08:00
G
2022-09-04 19:56:42 -07:00
* offset 210
2021-11-26 18:03:45 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > accelerationY = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-27 10:05:44 -08:00
deg C
2022-09-04 19:56:42 -07:00
* offset 212
2021-11-26 18:03:45 -08:00
*/
2021-11-27 10:36:37 -08:00
uint16_t egt [ EGT_CHANNEL_COUNT ] ;
2021-11-26 18:03:45 -08:00
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_TPS2 @ @
2021-11-27 10:05:44 -08:00
%
2022-09-04 19:56:42 -07:00
* offset 228
2021-11-26 18:03:45 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > TPS2Value = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2022-09-04 19:56:42 -07:00
* offset 230
2021-11-26 18:03:45 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawTps1Primary = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2022-09-04 19:56:42 -07:00
* offset 232
2021-11-26 18:03:45 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawPpsPrimary = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2022-09-04 19:56:42 -07:00
* offset 234
2021-11-26 18:03:45 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawClt = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2022-09-04 19:56:42 -07:00
* offset 236
2021-11-26 18:03:45 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawIat = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2022-09-04 19:56:42 -07:00
* offset 238
2021-11-26 18:03:45 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawOilPressure = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_TUNE_CRC16 @ @
2021-11-27 10:05:44 -08:00
crc16
2022-09-04 19:56:42 -07:00
* offset 240
2021-11-26 18:03:45 -08:00
*/
2022-10-11 18:03:24 -07:00
uint16_t tuneCrc16 = ( uint16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2022-09-04 19:56:42 -07:00
* offset 242
2021-11-26 18:03:45 -08:00
*/
2022-10-11 18:03:24 -07:00
uint8_t fuelClosedLoopBinIdx = ( uint8_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_CURRENT_GEAR @ @
2021-11-27 10:36:37 -08:00
gear
2022-09-04 19:56:42 -07:00
* offset 243
2021-11-26 18:03:45 -08:00
*/
2022-10-11 18:03:24 -07:00
int8_t tcuCurrentGear = ( int8_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2022-09-04 19:56:42 -07:00
* offset 244
2021-11-26 18:03:45 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawPpsSecondary = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2022-03-24 06:05:35 -07:00
dBv
2022-09-04 19:56:42 -07:00
* offset 246
2021-11-26 18:03:45 -08:00
*/
2022-10-11 18:03:24 -07:00
int8_t knock [ 12 ] ;
2021-11-26 18:03:45 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_DESIRED_GEAR @ @
2021-11-27 10:36:37 -08:00
gear
2022-09-04 19:56:42 -07:00
* offset 258
2021-11-26 18:03:45 -08:00
*/
2022-10-11 18:03:24 -07:00
int8_t tcuDesiredGear = ( int8_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_FLEX @ @
2021-11-27 10:36:37 -08:00
%
2022-09-04 19:56:42 -07:00
* offset 259
2021-11-26 18:03:45 -08:00
*/
scaled_channel < uint8_t , 2 , 1 > flexPercent = ( uint8_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_WG_POSITION @ @
2021-11-27 10:36:37 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 260
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > wastegatePositionSensor = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 14:04:46 -08:00
* @ @ GAUGE_NAME_IDLE_POSITION @ @
2021-11-27 10:36:37 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 262
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > idlePositionSensor = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2022-09-04 19:44:56 -07:00
* offset 264
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawLowFuelPressure = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2022-09-04 19:44:56 -07:00
* offset 266
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawHighFuelPressure = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_FUEL_PRESSURE_LOW @ @
2021-11-27 10:36:37 -08:00
kpa
2022-09-04 19:44:56 -07:00
* offset 268
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 30 , 1 > lowFuelPressure = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_FUEL_PRESSURE_HIGH @ @
2021-11-27 10:36:37 -08:00
bar
2022-09-04 19:44:56 -07:00
* offset 270
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 10 , 1 > highFuelPressure = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_TARGET_LAMBDA @ @
2022-09-04 19:44:56 -07:00
* offset 272
2021-11-26 18:10:09 -08:00
*/
scaled_channel < uint16_t , 10000 , 1 > targetLambda = ( uint16_t ) 0 ;
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_AFR @ @
2021-11-27 10:36:37 -08:00
AFR
2022-09-04 19:44:56 -07:00
* offset 274
2021-11-26 18:10:09 -08:00
*/
2021-11-27 10:36:37 -08:00
scaled_channel < uint16_t , 1000 , 1 > AFRValue = ( uint16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2022-06-26 19:39:05 -07:00
* Vss Accel
2021-11-27 10:36:37 -08:00
m / s2
2022-09-04 19:44:56 -07:00
* offset 276
2021-11-26 18:10:09 -08:00
*/
scaled_channel < uint16_t , 300 , 1 > VssAcceleration = ( uint16_t ) 0 ;
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_LAMBDA2 @ @
2022-09-04 19:44:56 -07:00
* offset 278
2021-11-26 18:10:09 -08:00
*/
2021-11-27 15:34:47 -08:00
scaled_channel < uint16_t , 10000 , 1 > lambdaValue2 = ( uint16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_AFR2 @ @
2021-11-27 10:36:37 -08:00
AFR
2022-09-04 19:44:56 -07:00
* offset 280
2021-11-26 18:10:09 -08:00
*/
2021-11-27 10:36:37 -08:00
scaled_channel < uint16_t , 1000 , 1 > AFRValue2 = ( uint16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_VVT_B1E @ @
2021-11-27 07:01:17 -08:00
deg
2022-09-04 19:44:56 -07:00
* offset 282
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 50 , 1 > vvtPositionB1E = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_VVT_B2I @ @
2021-11-27 07:01:17 -08:00
deg
2022-09-04 19:44:56 -07:00
* offset 284
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 50 , 1 > vvtPositionB2I = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_VVT_B2E @ @
2021-11-27 07:01:17 -08:00
deg
2022-09-04 19:44:56 -07:00
* offset 286
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 50 , 1 > vvtPositionB2E = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-27 10:36:37 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 288
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > fuelPidCorrection [ 2 ] ;
2021-11-26 18:10:09 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2022-09-04 19:44:56 -07:00
* offset 292
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawTps1Secondary = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2022-09-04 19:44:56 -07:00
* offset 294
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawTps2Primary = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2022-09-04 19:44:56 -07:00
* offset 296
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawTps2Secondary = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2022-05-04 21:59:48 -07:00
* @ @ GAUGE_NAME_KNOCK_COUNTER @ @
2022-09-04 19:44:56 -07:00
* offset 298
2021-11-26 18:10:09 -08:00
*/
2022-10-11 18:03:24 -07:00
uint16_t knockCount = ( uint16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_ACCEL_Z @ @
2021-11-27 10:05:44 -08:00
G
2022-09-04 19:44:56 -07:00
* offset 300
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > accelerationZ = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_ACCEL_ROLL @ @
2022-03-24 06:05:35 -07:00
G
2022-09-04 19:44:56 -07:00
* offset 302
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > accelerationRoll = ( int16_t ) 0 ;
2021-11-26 18:21:46 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_ACCEL_YAW @ @
2022-03-24 06:05:35 -07:00
G
2022-09-04 19:44:56 -07:00
* offset 304
2021-11-26 18:21:46 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > accelerationYaw = ( int16_t ) 0 ;
2021-11-26 18:21:46 -08:00
/**
2021-11-27 10:36:37 -08:00
deg
2022-09-04 19:44:56 -07:00
* offset 306
2021-11-26 18:21:46 -08:00
*/
2022-10-11 18:03:24 -07:00
int8_t vvtTargets [ 4 ] ;
2021-11-26 18:21:46 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_TURBO_SPEED @ @
2021-11-27 10:36:37 -08:00
hz
2022-09-04 19:44:56 -07:00
* offset 310
2021-11-26 18:21:46 -08:00
*/
2021-11-27 07:01:17 -08:00
uint16_t turboSpeed = ( uint16_t ) 0 ;
2021-11-26 18:21:46 -08:00
/**
2021-12-21 15:15:00 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 312
2021-12-21 15:15:00 -08:00
*/
scaled_channel < int16_t , 100 , 1 > tps1Split = ( int16_t ) 0 ;
/**
%
2022-09-04 19:44:56 -07:00
* offset 314
2021-12-21 15:15:00 -08:00
*/
scaled_channel < int16_t , 100 , 1 > tps2Split = ( int16_t ) 0 ;
/**
%
2022-09-04 19:44:56 -07:00
* offset 316
2021-12-21 15:15:00 -08:00
*/
scaled_channel < int16_t , 100 , 1 > tps12Split = ( int16_t ) 0 ;
/**
%
2022-09-04 19:44:56 -07:00
* offset 318
2021-12-21 15:15:00 -08:00
*/
scaled_channel < int16_t , 100 , 1 > accPedalSplit = ( int16_t ) 0 ;
2021-12-30 14:59:03 -08:00
/**
2022-06-26 19:39:05 -07:00
* Spark Cut Code
2022-01-08 19:13:20 -08:00
code
2022-09-04 19:44:56 -07:00
* offset 320
2021-12-30 14:59:03 -08:00
*/
2022-10-11 18:03:24 -07:00
int8_t sparkCutReason = ( int8_t ) 0 ;
2022-01-08 19:13:20 -08:00
/**
2022-06-26 19:39:05 -07:00
* Fuel Cut Code
2022-01-08 19:13:20 -08:00
code
2022-09-04 19:44:56 -07:00
* offset 321
2022-01-08 19:13:20 -08:00
*/
2022-10-11 18:03:24 -07:00
int8_t fuelCutReason = ( int8_t ) 0 ;
2022-01-01 14:17:56 -08:00
/**
2022-01-12 13:38:47 -08:00
* @ @ GAUGE_NAME_AIR_FLOW_ESTIMATE @ @
kg / h
2022-09-04 19:44:56 -07:00
* offset 322
2022-01-01 14:17:56 -08:00
*/
2022-01-12 13:38:47 -08:00
scaled_channel < uint16_t , 10 , 1 > mafEstimate = ( uint16_t ) 0 ;
/**
rpm
2022-09-04 19:44:56 -07:00
* offset 324
2022-01-12 13:38:47 -08:00
*/
uint16_t instantRpm = ( uint16_t ) 0 ;
2022-01-17 21:27:20 -08:00
/**
2022-01-17 21:43:37 -08:00
counter
2022-09-04 19:44:56 -07:00
* offset 326
2022-01-17 21:27:20 -08:00
*/
2022-01-17 21:43:37 -08:00
uint16_t systemEventReuse = ( uint16_t ) 0 ;
/**
2022-01-21 12:59:16 -08:00
V
2022-09-04 19:44:56 -07:00
* offset 328
2022-01-17 21:43:37 -08:00
*/
2022-01-21 12:59:16 -08:00
scaled_channel < uint16_t , 1000 , 1 > rawMap = ( uint16_t ) 0 ;
2022-01-17 21:43:37 -08:00
/**
2022-01-21 12:59:16 -08:00
V
2022-09-04 19:44:56 -07:00
* offset 330
2022-01-17 21:43:37 -08:00
*/
2022-01-21 12:59:16 -08:00
scaled_channel < uint16_t , 1000 , 1 > rawAfr = ( uint16_t ) 0 ;
/**
2022-01-27 05:02:18 -08:00
%
2022-09-04 19:44:56 -07:00
* offset 332
2022-01-21 12:59:16 -08:00
*/
2022-01-27 05:02:18 -08:00
uint8_t tpsAccelFrom = ( uint8_t ) 0 ;
/**
%
2022-09-04 19:44:56 -07:00
* offset 333
2022-01-27 05:02:18 -08:00
*/
uint8_t tpsAccelTo = ( uint8_t ) 0 ;
/**
2022-06-29 00:21:53 -07:00
* need 4 byte alignment
units
2022-09-04 19:44:56 -07:00
* offset 334
2022-06-29 00:21:53 -07:00
*/
2022-09-04 19:44:56 -07:00
uint8_t alignmentFill_at_334 [ 2 ] ;
2022-06-29 00:21:53 -07:00
/**
2022-09-04 19:44:56 -07:00
* offset 336
2022-01-27 05:02:18 -08:00
*/
2022-10-11 18:03:24 -07:00
float calibrationValue2 = ( float ) 0 ;
2022-01-27 17:16:52 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 0 */
2022-02-01 18:45:00 -08:00
bool isMainRelayOn : 1 { } ;
/**
2022-11-01 14:35:56 -07:00
* isUsbConnected
2022-02-04 13:47:48 -08:00
* Original reason for this is to check if USB is connected from Lua
2022-09-04 19:44:56 -07:00
offset 340 bit 1 */
2022-02-04 13:47:48 -08:00
bool isUsbConnected : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 2 */
bool unusedBit_170_2 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 3 */
bool unusedBit_170_3 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 4 */
bool unusedBit_170_4 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 5 */
bool unusedBit_170_5 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 6 */
bool unusedBit_170_6 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 7 */
bool unusedBit_170_7 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 8 */
bool unusedBit_170_8 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 9 */
bool unusedBit_170_9 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 10 */
bool unusedBit_170_10 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 11 */
bool unusedBit_170_11 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 12 */
bool unusedBit_170_12 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 13 */
bool unusedBit_170_13 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 14 */
bool unusedBit_170_14 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 15 */
bool unusedBit_170_15 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 16 */
bool unusedBit_170_16 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 17 */
bool unusedBit_170_17 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 18 */
bool unusedBit_170_18 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 19 */
bool unusedBit_170_19 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 20 */
bool unusedBit_170_20 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 21 */
bool unusedBit_170_21 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 22 */
bool unusedBit_170_22 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 23 */
bool unusedBit_170_23 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 24 */
bool unusedBit_170_24 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 25 */
bool unusedBit_170_25 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 26 */
bool unusedBit_170_26 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 27 */
bool unusedBit_170_27 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 28 */
bool unusedBit_170_28 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 29 */
bool unusedBit_170_29 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 30 */
bool unusedBit_170_30 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 340 bit 31 */
bool unusedBit_170_31 : 1 { } ;
2022-02-01 18:45:00 -08:00
/**
2022-02-10 17:24:16 -08:00
count
2022-09-04 19:44:56 -07:00
* offset 344
2022-01-27 17:16:52 -08:00
*/
2022-10-12 17:07:37 -07:00
uint32_t luaInvocationCounter = ( uint32_t ) 0 ;
2022-02-10 17:24:16 -08:00
/**
nt
2022-09-04 19:44:56 -07:00
* offset 348
2022-02-10 17:24:16 -08:00
*/
2022-10-12 17:07:37 -07:00
uint32_t luaLastCycleDuration = ( uint32_t ) 0 ;
2022-02-10 17:24:16 -08:00
/**
2022-03-08 17:32:57 -08:00
count
2022-09-04 19:44:56 -07:00
* offset 352
2022-02-10 17:24:16 -08:00
*/
2022-03-08 17:32:57 -08:00
uint8_t testBenchIter = ( uint8_t ) 0 ;
/**
2022-06-26 17:12:14 -07:00
* " Current Range "
2022-09-04 19:44:56 -07:00
* offset 353
2022-03-08 17:32:57 -08:00
*/
2022-06-26 17:12:14 -07:00
uint8_t tcu_currentRange = ( uint8_t ) 0 ;
2022-04-23 04:41:19 -07:00
/**
* @ @ GAUGE_NAME_TC_RATIO @ @
value
2022-09-04 19:44:56 -07:00
* offset 354
2022-04-23 04:41:19 -07:00
*/
scaled_channel < uint16_t , 100 , 1 > tcRatio = ( uint16_t ) 0 ;
/**
2022-09-04 19:44:56 -07:00
* offset 356
2022-04-23 04:41:19 -07:00
*/
float lastShiftTime = ( float ) 0 ;
/**
2022-09-04 19:44:56 -07:00
* offset 360
2022-04-23 04:41:19 -07:00
*/
2022-10-12 17:07:37 -07:00
uint32_t vssEdgeCounter = ( uint32_t ) 0 ;
2022-05-14 05:21:15 -07:00
/**
2022-09-04 19:44:56 -07:00
* offset 364
2022-05-14 05:21:15 -07:00
*/
2022-10-12 17:07:37 -07:00
uint32_t issEdgeCounter = ( uint32_t ) 0 ;
2022-03-20 17:20:26 -07:00
/**
* @ @ GAUGE_NAME_AUX_LINEAR_1 @ @
2022-09-04 19:44:56 -07:00
* offset 368
2022-03-20 17:20:26 -07:00
*/
scaled_channel < int16_t , 100 , 1 > auxLinear1 = ( int16_t ) 0 ;
/**
* @ @ GAUGE_NAME_AUX_LINEAR_2 @ @
2022-09-04 19:44:56 -07:00
* offset 370
2022-03-20 17:20:26 -07:00
*/
scaled_channel < int16_t , 100 , 1 > auxLinear2 = ( int16_t ) 0 ;
2022-01-01 14:17:56 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 0 */
2022-06-29 00:21:53 -07:00
bool dfcoActive : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 1 */
2022-06-29 00:21:53 -07:00
bool tpsAccelActive : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 2 */
bool unusedBit_212_2 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 3 */
bool unusedBit_212_3 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 4 */
bool unusedBit_212_4 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 5 */
bool unusedBit_212_5 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 6 */
bool unusedBit_212_6 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 7 */
bool unusedBit_212_7 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 8 */
bool unusedBit_212_8 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 9 */
bool unusedBit_212_9 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 10 */
bool unusedBit_212_10 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 11 */
bool unusedBit_212_11 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 12 */
bool unusedBit_212_12 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 13 */
bool unusedBit_212_13 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 14 */
bool unusedBit_212_14 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 15 */
bool unusedBit_212_15 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 16 */
bool unusedBit_212_16 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 17 */
bool unusedBit_212_17 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 18 */
bool unusedBit_212_18 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 19 */
bool unusedBit_212_19 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 20 */
bool unusedBit_212_20 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 21 */
bool unusedBit_212_21 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 22 */
bool unusedBit_212_22 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 23 */
bool unusedBit_212_23 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 24 */
bool unusedBit_212_24 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 25 */
bool unusedBit_212_25 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 26 */
bool unusedBit_212_26 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 27 */
bool unusedBit_212_27 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 28 */
bool unusedBit_212_28 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 29 */
bool unusedBit_212_29 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 30 */
bool unusedBit_212_30 : 1 { } ;
2021-12-16 11:53:45 -08:00
/**
2022-09-04 19:44:56 -07:00
offset 372 bit 31 */
bool unusedBit_212_31 : 1 { } ;
2022-01-01 14:17:56 -08:00
/**
2022-03-24 06:05:35 -07:00
* @ @ GAUGE_NAME_BOOST_OUTPUT @ @
%
2022-09-04 19:44:56 -07:00
* offset 376
2022-01-01 14:17:56 -08:00
*/
2022-03-24 06:05:35 -07:00
scaled_channel < uint8_t , 2 , 1 > boostControllerOutput = ( uint8_t ) 0 ;
2022-01-01 22:17:22 -08:00
/**
2022-03-24 06:05:35 -07:00
* @ @ GAUGE_NAME_BOOST_OPEN_LOOP @ @
%
2022-09-04 19:44:56 -07:00
* offset 377
2022-01-01 22:17:22 -08:00
*/
2022-03-24 06:05:35 -07:00
scaled_channel < uint8_t , 2 , 1 > boostControllerOpenLoopPart = ( uint8_t ) 0 ;
2021-12-02 14:42:07 -08:00
/**
2022-03-24 06:05:35 -07:00
kPa
2022-09-04 19:44:56 -07:00
* offset 378
2021-11-29 09:54:58 -08:00
*/
2022-03-24 06:05:35 -07:00
scaled_channel < uint16_t , 10 , 1 > fallbackMap = ( uint16_t ) 0 ;
2021-11-29 09:54:58 -08:00
/**
2022-04-07 06:29:42 -07:00
* @ @ GAUGE_NAME_DETECTED_GEAR @ @
2022-09-04 19:44:56 -07:00
* offset 380
2021-11-29 09:54:58 -08:00
*/
2022-04-07 06:29:42 -07:00
uint8_t detectedGear = ( uint8_t ) 0 ;
2021-11-29 08:49:40 -08:00
/**
2022-06-29 00:21:53 -07:00
* need 4 byte alignment
units
2022-09-04 19:44:56 -07:00
* offset 381
2021-11-29 08:49:40 -08:00
*/
2022-09-04 19:44:56 -07:00
uint8_t alignmentFill_at_381 [ 1 ] ;
2021-11-29 08:49:40 -08:00
/**
2021-11-30 13:40:56 -08:00
* Instant MAP
2021-11-29 09:35:56 -08:00
kPa
2022-09-04 19:44:56 -07:00
* offset 382
2021-11-29 08:49:40 -08:00
*/
2021-11-29 09:35:56 -08:00
scaled_channel < uint16_t , 30 , 1 > instantMAPValue = ( uint16_t ) 0 ;
2021-11-28 22:58:09 -08:00
/**
2022-09-13 11:12:48 -07:00
us
2022-09-13 21:39:50 -07:00
* offset 384
2021-11-28 22:58:09 -08:00
*/
uint16_t maxLockedDuration = ( uint16_t ) 0 ;
/**
2022-09-13 21:39:50 -07:00
* offset 386
2021-11-28 22:58:09 -08:00
*/
2022-09-13 11:12:48 -07:00
uint8_t maxTriggerReentrant = ( uint8_t ) 0 ;
/**
* need 4 byte alignment
units
2022-09-13 21:39:50 -07:00
* offset 387
2022-09-13 11:12:48 -07:00
*/
2022-09-13 21:39:50 -07:00
uint8_t alignmentFill_at_387 [ 1 ] ;
2021-11-28 22:00:58 -08:00
/**
2022-09-13 21:39:50 -07:00
* offset 388
2021-11-28 22:00:58 -08:00
*/
uint16_t canWriteOk = ( uint16_t ) 0 ;
/**
2022-09-13 21:39:50 -07:00
* offset 390
2021-11-28 22:00:58 -08:00
*/
uint16_t canWriteNotOk = ( uint16_t ) 0 ;
/**
2022-09-13 21:39:50 -07:00
* offset 392
2021-11-28 22:00:58 -08:00
*/
2022-10-12 17:07:37 -07:00
uint32_t triggerPrimaryFall = ( uint32_t ) 0 ;
2021-11-28 22:00:58 -08:00
/**
2022-09-13 21:39:50 -07:00
* offset 396
2021-11-28 22:00:58 -08:00
*/
2022-10-12 17:07:37 -07:00
uint32_t triggerPrimaryRise = ( uint32_t ) 0 ;
2021-11-28 22:00:58 -08:00
/**
2022-09-13 21:39:50 -07:00
* offset 400
2021-11-28 22:00:58 -08:00
*/
2022-10-12 17:07:37 -07:00
uint32_t triggerSecondaryFall = ( uint32_t ) 0 ;
2021-11-28 22:00:58 -08:00
/**
2022-09-13 21:39:50 -07:00
* offset 404
2021-11-28 22:00:58 -08:00
*/
2022-10-12 17:07:37 -07:00
uint32_t triggerSecondaryRise = ( uint32_t ) 0 ;
2021-11-28 22:00:58 -08:00
/**
2022-09-13 21:39:50 -07:00
* offset 408
2021-11-28 22:00:58 -08:00
*/
2022-10-12 17:07:37 -07:00
uint32_t triggerVvtFall = ( uint32_t ) 0 ;
2021-11-28 22:00:58 -08:00
/**
2022-09-13 21:39:50 -07:00
* offset 412
2021-11-28 22:00:58 -08:00
*/
2022-10-12 17:07:37 -07:00
uint32_t triggerVvtRise = ( uint32_t ) 0 ;
2021-11-28 22:00:58 -08:00
/**
2022-09-13 21:39:50 -07:00
* offset 416
2021-11-28 22:00:58 -08:00
*/
2022-10-06 16:00:58 -07:00
uint8_t starterState = ( uint8_t ) 0 ;
2021-11-28 22:00:58 -08:00
/**
2022-09-13 21:39:50 -07:00
* offset 417
2021-11-28 22:00:58 -08:00
*/
2022-10-06 16:00:58 -07:00
uint8_t starterRelayDisable = ( uint8_t ) 0 ;
2021-11-28 22:00:58 -08:00
/**
2022-09-13 21:39:50 -07:00
* offset 418
2021-11-28 22:00:58 -08:00
*/
2022-10-06 16:00:58 -07:00
uint8_t multiSparkCounter = ( uint8_t ) 0 ;
2021-11-28 22:00:58 -08:00
/**
2022-10-06 16:00:58 -07:00
* need 4 byte alignment
units
2022-09-13 21:39:50 -07:00
* offset 419
2021-11-28 22:00:58 -08:00
*/
2022-10-06 16:00:58 -07:00
uint8_t alignmentFill_at_419 [ 1 ] ;
2021-11-28 21:41:48 -08:00
/**
2022-09-13 21:39:50 -07:00
* offset 420
2021-11-28 21:41:48 -08:00
*/
2021-11-28 19:26:23 -08:00
pid_status_s alternatorStatus ;
/**
2022-09-13 21:39:50 -07:00
* offset 436
2021-11-28 19:26:23 -08:00
*/
pid_status_s idleStatus ;
/**
2022-09-13 21:39:50 -07:00
* offset 452
2021-11-28 19:26:23 -08:00
*/
pid_status_s etbStatus ;
2022-03-24 06:05:35 -07:00
/**
2022-09-13 21:39:50 -07:00
* offset 468
2022-03-24 06:05:35 -07:00
*/
pid_status_s boostStatus ;
2022-08-16 21:30:35 -07:00
/**
2022-09-13 21:39:50 -07:00
* offset 484
2022-08-16 21:30:35 -07:00
*/
pid_status_s vvtStatus [ CAM_INPUTS_COUNT ] ;
2022-03-24 06:05:35 -07:00
/**
2022-06-26 19:39:05 -07:00
* aux speed 1
2022-03-28 23:42:16 -07:00
s
2022-09-13 21:39:50 -07:00
* offset 548
2022-03-24 06:05:35 -07:00
*/
2022-03-28 23:42:16 -07:00
uint16_t auxSpeed1 = ( uint16_t ) 0 ;
/**
2022-06-26 19:39:05 -07:00
* aux speed 2
2022-03-28 23:42:16 -07:00
s
2022-09-13 21:39:50 -07:00
* offset 550
2022-03-28 23:42:16 -07:00
*/
uint16_t auxSpeed2 = ( uint16_t ) 0 ;
/**
2022-04-21 06:14:29 -07:00
* @ @ GAUGE_NAME_ISS @ @
RPM
2022-09-13 21:39:50 -07:00
* offset 552
2022-03-28 23:42:16 -07:00
*/
2022-10-11 18:03:24 -07:00
uint16_t ISSValue = ( uint16_t ) 0 ;
2022-04-21 06:14:29 -07:00
/**
2022-07-15 03:29:23 -07:00
V
2022-09-13 21:39:50 -07:00
* offset 554
2022-04-21 06:14:29 -07:00
*/
2022-07-15 03:29:23 -07:00
scaled_channel < int16_t , 1000 , 1 > rawAnalogInput [ AUX_ANALOG_INPUT_COUNT ] ;
/**
2022-07-27 02:38:56 -07:00
* GPPWM Output
%
2022-09-13 21:39:50 -07:00
* offset 570
2022-07-15 03:29:23 -07:00
*/
2022-07-27 02:38:56 -07:00
scaled_channel < uint8_t , 2 , 1 > gppwmOutput [ 4 ] ;
/**
2022-08-11 07:25:31 -07:00
V
2022-09-13 21:39:50 -07:00
* offset 574
2022-07-27 02:38:56 -07:00
*/
2022-08-11 07:25:31 -07:00
scaled_channel < int16_t , 1000 , 1 > rawBattery = ( int16_t ) 0 ;
/**
2022-09-13 21:39:50 -07:00
* offset 576
2022-08-11 07:25:31 -07:00
*/
2022-08-23 16:50:32 -07:00
uint8_t extiOverflowCount = ( uint8_t ) 0 ;
2022-09-16 17:16:59 -07:00
/**
%
* offset 577
*/
scaled_channel < uint8_t , 2 , 1 > ignBlendBias [ IGN_BLEND_COUNT ] ;
2022-08-23 16:50:32 -07:00
/**
2022-09-04 22:33:14 -07:00
* need 4 byte alignment
units
2022-09-16 17:16:59 -07:00
* offset 581
*/
uint8_t alignmentFill_at_581 [ 1 ] ;
/**
deg
* offset 582
*/
2022-10-19 03:47:20 -07:00
scaled_channel < int16_t , 100 , 1 > ignBlendOutput [ IGN_BLEND_COUNT ] ;
/**
%
* offset 590
*/
scaled_channel < uint8_t , 2 , 1 > veBlendBias [ VE_BLEND_COUNT ] ;
/**
%
* offset 594
*/
scaled_channel < int16_t , 100 , 1 > veBlendOutput [ VE_BLEND_COUNT ] ;
2022-09-16 17:16:59 -07:00
/**
* need 4 byte alignment
units
2022-10-19 03:47:20 -07:00
* offset 602
2022-08-23 16:50:32 -07:00
*/
2022-10-19 03:47:20 -07:00
uint8_t alignmentFill_at_602 [ 2 ] ;
2022-09-04 22:33:14 -07:00
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 0 */
2022-09-04 22:33:14 -07:00
bool coilState1 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 1 */
2022-09-04 22:33:14 -07:00
bool coilState2 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 2 */
2022-09-04 22:33:14 -07:00
bool coilState3 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 3 */
2022-09-04 22:33:14 -07:00
bool coilState4 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 4 */
2022-09-04 22:33:14 -07:00
bool coilState5 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 5 */
2022-09-04 22:33:14 -07:00
bool coilState6 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 6 */
2022-09-04 22:33:14 -07:00
bool coilState7 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 7 */
2022-09-04 22:33:14 -07:00
bool coilState8 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 8 */
2022-09-04 22:33:14 -07:00
bool coilState9 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 9 */
2022-09-04 22:33:14 -07:00
bool coilState10 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 10 */
2022-09-04 22:33:14 -07:00
bool coilState11 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 11 */
2022-09-04 22:33:14 -07:00
bool coilState12 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 12 */
2022-09-04 22:33:14 -07:00
bool injectorState1 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 13 */
2022-09-04 22:33:14 -07:00
bool injectorState2 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 14 */
2022-09-04 22:33:14 -07:00
bool injectorState3 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 15 */
2022-09-04 22:33:14 -07:00
bool injectorState4 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 16 */
2022-09-04 22:33:14 -07:00
bool injectorState5 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 17 */
2022-09-04 22:33:14 -07:00
bool injectorState6 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 18 */
2022-09-04 22:33:14 -07:00
bool injectorState7 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 19 */
2022-09-04 22:33:14 -07:00
bool injectorState8 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 20 */
2022-09-04 22:33:14 -07:00
bool injectorState9 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 21 */
2022-09-04 22:33:14 -07:00
bool injectorState10 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 22 */
2022-09-04 22:33:14 -07:00
bool injectorState11 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 23 */
2022-09-04 22:33:14 -07:00
bool injectorState12 : 1 { } ;
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 24 */
bool unusedBit_305_24 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 25 */
bool unusedBit_305_25 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 26 */
bool unusedBit_305_26 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 27 */
bool unusedBit_305_27 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 28 */
bool unusedBit_305_28 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 29 */
bool unusedBit_305_29 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 30 */
bool unusedBit_305_30 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2022-10-19 03:47:20 -07:00
offset 604 bit 31 */
bool unusedBit_305_31 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2022-10-19 03:47:20 -07:00
* offset 608
2022-09-04 22:33:14 -07:00
*/
2022-10-12 17:07:37 -07:00
uint32_t outputRequestPeriod = ( uint32_t ) 0 ;
2022-09-12 17:18:15 -07:00
/**
2022-10-19 03:47:20 -07:00
* offset 612
2022-09-12 17:18:15 -07:00
*/
2022-09-15 12:00:51 -07:00
float mapFast = ( float ) 0 ;
/**
2022-10-16 20:44:02 -07:00
value
2022-10-19 03:47:20 -07:00
* offset 616
2022-09-15 12:00:51 -07:00
*/
2022-10-16 20:44:02 -07:00
float luaGauges [ LUA_GAUGE_COUNT ] ;
/**
2022-10-24 09:46:53 -07:00
V
2022-10-19 03:47:20 -07:00
* offset 624
2022-10-16 20:44:02 -07:00
*/
2022-10-24 09:46:53 -07:00
scaled_channel < uint16_t , 1000 , 1 > rawMaf2 = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_AIR_FLOW_MEASURED_2 @ @
kg / h
* offset 626
*/
scaled_channel < uint16_t , 10 , 1 > mafMeasured2 = ( uint16_t ) 0 ;
/**
* offset 628
*/
uint8_t unusedAtTheEnd [ 138 ] ;
2022-09-04 22:33:14 -07:00
/**
* need 4 byte alignment
units
2022-10-19 03:47:20 -07:00
* offset 766
2022-09-04 22:33:14 -07:00
*/
2022-10-19 03:47:20 -07:00
uint8_t alignmentFill_at_766 [ 2 ] ;
2021-11-17 21:05:27 -08:00
} ;
2022-10-19 03:47:20 -07:00
static_assert ( sizeof ( output_channels_s ) = = 768 ) ;
2021-11-17 21:05:27 -08:00
// end
2022-11-01 14:35:56 -07:00
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Tue Nov 01 21:35:07 UTC 2022