rusefi/firmware/console/binary/output_channels_generated.h

1387 lines
24 KiB
C
Raw Normal View History

2023-04-29 14:01:58 -07:00
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Sat Apr 29 21:01:06 UTC 2023
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
// 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-12-10 04:40:43 -08:00
bool triggerScopeReady : 1 {};
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 3 */
2022-12-16 17:29:31 -08:00
bool antilagTriggered : 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
/**
* @@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
/**
* 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;
/**
* @@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
*/
2023-04-22 13:22:57 -07:00
uint8_t unusedVehicleSpeedKph = (uint8_t)0;
2021-11-20 10:30:25 -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
/**
* @@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
/**
* @@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
/**
* @@GAUGE_NAME_TPS@@
%
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
/**
* @@GAUGE_NAME_THROTTLE_PEDAL@@
%
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
/**
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
/**
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
/**
* @@GAUGE_NAME_MAP@@
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
/**
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;
/**
* @@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
/**
2023-04-12 07:28:16 -07:00
%
2022-04-24 21:01:07 -07:00
* offset 36
2021-11-21 06:35:37 -08:00
*/
2023-04-12 07:28:16 -07:00
scaled_channel<uint8_t, 2, 1> idleCurrentPosition = (uint8_t)0;
2021-11-21 06:35:37 -08:00
/**
2023-04-12 07:28:16 -07:00
* need 4 byte alignment
units
2022-04-24 21:01:07 -07:00
* offset 37
2021-11-21 06:35:37 -08:00
*/
2023-04-12 07:28:16 -07:00
uint8_t alignmentFill_at_37[1];
2021-11-21 06:35:37 -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
/**
* @@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;
/**
* @@GAUGE_NAME_VVT_B1I@@
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
/**
* @@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;
/**
* 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
/**
* @@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-11-05 17:28:03 -07:00
* offset 48
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
/**
* @@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-11-05 17:28:03 -07:00
* offset 50
2021-11-26 15:16:06 -08:00
*/
scaled_channel<uint16_t, 100, 1> fuelRunning = (uint16_t)0;
/**
* @@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-11-05 17:28:03 -07:00
* offset 52
2021-11-26 15:16:06 -08:00
*/
scaled_channel<uint16_t, 300, 1> actualLastInjection = (uint16_t)0;
/**
* @@GAUGE_NAME_FUEL_INJ_DUTY@@
2021-11-27 09:28:59 -08:00
%
2022-11-05 17:28:03 -07:00
* offset 54
2021-11-26 15:16:06 -08:00
*/
scaled_channel<uint8_t, 2, 1> injectorDutyCycle = (uint8_t)0;
/**
* @@GAUGE_NAME_FUEL_VE@@
2021-11-27 09:28:59 -08:00
ratio
2022-11-05 17:28:03 -07:00
* offset 55
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-11-05 17:28:03 -07:00
* offset 56
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-11-05 17:28:03 -07:00
* offset 58
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
/**
* @@GAUGE_NAME_INJECTOR_LAG@@
2021-11-27 09:28:59 -08:00
ms
2022-11-05 17:28:03 -07:00
* offset 60
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-11-05 17:28:03 -07:00
* offset 62
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-11-05 17:28:03 -07:00
* offset 64
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-11-05 17:28:03 -07:00
* offset 66
2021-11-26 15:30:59 -08:00
*/
2022-11-02 19:21:44 -07:00
scaled_channel<int16_t, 100, 1> wallFuelCorrectionValue = (int16_t)0;
2021-11-26 15:30:59 -08:00
/**
2022-11-05 17:28:03 -07:00
* offset 68
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
/**
* @@GAUGE_NAME_FUEL_TPS_ROC@@
2021-11-27 09:28:59 -08:00
ratio
2022-11-05 17:28:03 -07:00
* offset 70
2021-11-26 15:30:59 -08:00
*/
2022-11-02 19:21:44 -07:00
scaled_channel<int16_t, 100, 1> deltaTpsValue = (int16_t)0;
2021-11-26 15:49:16 -08:00
/**
2022-11-05 17:28:03 -07:00
* offset 72
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
/**
* @@GAUGE_NAME_FUEL_TPS_EXTRA@@
2021-11-27 09:28:59 -08:00
ms
2022-11-05 17:28:03 -07:00
* offset 74
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;
2023-04-12 19:34:29 -07:00
/**
* @@GAUGE_NAME_WARNING_COUNTER@@
count
* offset 76
*/
uint16_t warningCounter = (uint16_t)0;
/**
* @@GAUGE_NAME_WARNING_LAST@@
error
* offset 78
*/
uint16_t lastErrorCode = (uint16_t)0;
2021-11-26 15:49:16 -08:00
/**
* @@GAUGE_NAME_DWELL_DUTY@@
2021-11-27 09:28:59 -08:00
%
2023-04-12 19:34:29 -07:00
* offset 80
2021-11-26 15:49:16 -08:00
*/
scaled_channel<uint16_t, 100, 1> coilDutyCycle = (uint16_t)0;
/**
* @@GAUGE_NAME_IAC@@
2021-11-27 09:28:59 -08:00
%
2023-04-12 19:34:29 -07:00
* offset 82
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
%
2023-04-12 19:34:29 -07:00
* offset 84
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
/**
* @@GAUGE_NAME_ETB_DUTY@@
2021-11-27 09:28:59 -08:00
%
2023-04-12 19:34:29 -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> etb1DutyCycle = (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
%
2023-04-12 19:34:29 -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> fuelTankLevel = (int16_t)0;
2021-11-26 15:49:16 -08:00
/**
* @@GAUGE_NAME_FUEL_CONSUMPTION@@
2021-11-27 09:28:59 -08:00
grams
2023-04-12 19:34:29 -07:00
* offset 90
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
/**
* @@GAUGE_NAME_FUEL_FLOW@@
2021-11-27 09:28:59 -08:00
gram/s
2023-04-12 19:34:29 -07:00
* offset 92
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
/**
2022-11-05 17:28:03 -07:00
* @@GAUGE_NAME_TPS2@@
2021-11-27 10:05:44 -08:00
%
2023-04-12 19:34:29 -07:00
* offset 94
2022-08-31 21:18:59 -07:00
*/
2022-11-05 17:28:03 -07:00
scaled_channel<int16_t, 100, 1> TPS2Value = (int16_t)0;
2022-09-03 14:43:03 -07:00
/**
2022-11-05 17:28:03 -07:00
* @@GAUGE_NAME_TUNE_CRC16@@
crc16
2023-04-12 19:34:29 -07:00
* offset 96
2022-09-03 14:43:03 -07:00
*/
2022-11-05 17:28:03 -07:00
uint16_t tuneCrc16 = (uint16_t)0;
2023-01-14 20:03:32 -08:00
/**
* need 4 byte alignment
units
2023-04-12 19:34:29 -07:00
* offset 98
2023-01-14 20:03:32 -08:00
*/
2023-04-12 19:34:29 -07:00
uint8_t alignmentFill_at_98[2];
2021-11-26 16:14:11 -08:00
/**
* @@GAUGE_NAME_KNOCK_LEVEL@@
2021-11-27 10:05:44 -08:00
Volts
2023-04-12 19:34:29 -07:00
* offset 100
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
/**
* @@GAUGE_NAME_UPTIME@@
2021-11-27 10:05:44 -08:00
sec
2023-04-12 19:34:29 -07:00
* offset 104
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
2023-04-12 19:34:29 -07:00
* offset 108
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
/**
* @@GAUGE_NAME_VERSION@@
2021-11-27 10:05:44 -08:00
version_f
2023-04-12 19:34:29 -07:00
* offset 112
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
2023-04-12 19:34:29 -07:00
* offset 116
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
2023-04-12 19:34:29 -07:00
* offset 118
2022-09-04 19:56:42 -07:00
*/
scaled_channel<int16_t, 1000, 1> rawWastegatePosition = (int16_t)0;
2022-11-05 17:28:03 -07:00
/**
* @@GAUGE_NAME_ACCEL_X@@
G
2023-04-12 19:34:29 -07:00
* offset 120
2022-11-05 17:28:03 -07:00
*/
scaled_channel<int16_t, 100, 1> accelerationX = (int16_t)0;
/**
* @@GAUGE_NAME_ACCEL_Y@@
G
2023-04-12 19:34:29 -07:00
* offset 122
2022-11-05 17:28:03 -07:00
*/
scaled_channel<int16_t, 100, 1> accelerationY = (int16_t)0;
2021-11-26 16:14:11 -08:00
/**
2023-04-12 19:34:29 -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
/**
2023-04-12 19:34:29 -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
/**
2023-04-12 19:34:29 -07:00
* offset 132
2022-09-04 19:56:42 -07:00
*/
2022-10-11 18:03:24 -07:00
uint8_t calibrationMode = (uint8_t)0;
2021-11-26 17:46:30 -08:00
/**
2023-04-12 19:34:29 -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-11-05 17:28:03 -07:00
* @@GAUGE_NAME_DETECTED_GEAR@@
2023-04-12 19:34:29 -07:00
* offset 134
2021-11-26 17:53:22 -08:00
*/
2022-11-05 17:28:03 -07:00
uint8_t detectedGear = (uint8_t)0;
/**
2023-04-12 19:34:29 -07:00
* offset 135
2022-11-05 17:28:03 -07:00
*/
uint8_t maxTriggerReentrant = (uint8_t)0;
2021-11-26 17:53:22 -08:00
/**
* @@GAUGE_NAME_TRG_ERR@@
2021-11-27 10:05:44 -08:00
counter
2023-04-12 14:33:27 -07:00
* offset 136
2021-11-26 17:53:22 -08:00
*/
2023-04-12 19:34:29 -07:00
uint32_t totalTriggerErrorCounter = (uint32_t)0;
2021-11-26 17:53:22 -08:00
/**
2023-04-12 14:33:27 -07:00
* offset 140
2021-11-26 17:53:22 -08:00
*/
2023-04-12 19:34:29 -07:00
uint32_t orderingErrorCounter = (uint32_t)0;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
error
2023-04-12 14:33:27 -07:00
* offset 144
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
2023-04-12 14:33:27 -07:00
* offset 160
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
2023-04-12 14:33:27 -07:00
* offset 164
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
2023-04-12 14:33:27 -07:00
* offset 168
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
2023-04-12 14:33:27 -07:00
* offset 172
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
2023-04-12 14:33:27 -07:00
* offset 176
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
2023-04-12 14:33:27 -07:00
* offset 180
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
2023-04-12 14:33:27 -07:00
* offset 184
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
2023-04-12 14:33:27 -07:00
* offset 188
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
2023-04-12 14:33:27 -07:00
* offset 192
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
2023-04-12 14:33:27 -07:00
* offset 196
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
2023-04-12 14:33:27 -07:00
* offset 200
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
2023-04-12 14:33:27 -07:00
* offset 202
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-27 10:05:44 -08:00
deg C
2023-04-12 14:33:27 -07:00
* offset 204
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-27 10:36:37 -08:00
V
2023-04-12 14:33:27 -07:00
* offset 220
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
2023-04-12 14:33:27 -07:00
* offset 222
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
2023-04-12 14:33:27 -07:00
* offset 224
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
2023-04-12 14:33:27 -07:00
* offset 226
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
2023-04-12 14:33:27 -07:00
* offset 228
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
/**
2023-04-12 14:33:27 -07:00
* offset 230
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
/**
* @@GAUGE_NAME_CURRENT_GEAR@@
2021-11-27 10:36:37 -08:00
gear
2023-04-12 14:33:27 -07:00
* offset 231
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
2023-04-12 14:33:27 -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> rawPpsSecondary = (int16_t)0;
2021-11-26 18:03:45 -08:00
/**
2022-03-24 06:05:35 -07:00
dBv
2023-04-12 14:33:27 -07:00
* offset 234
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
/**
* @@GAUGE_NAME_DESIRED_GEAR@@
2021-11-27 10:36:37 -08:00
gear
2023-04-12 14:33:27 -07:00
* offset 246
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
/**
* @@GAUGE_NAME_FLEX@@
2021-11-27 10:36:37 -08:00
%
2023-04-12 14:33:27 -07:00
* offset 247
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
/**
* @@GAUGE_NAME_WG_POSITION@@
2021-11-27 10:36:37 -08:00
%
2023-04-12 14:33:27 -07:00
* offset 248
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
/**
* @@GAUGE_NAME_IDLE_POSITION@@
2021-11-27 10:36:37 -08:00
%
2023-04-12 14:33:27 -07:00
* offset 250
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
2023-04-12 14:33:27 -07:00
* offset 252
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
2023-04-12 14:33:27 -07:00
* offset 254
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
/**
* @@GAUGE_NAME_FUEL_PRESSURE_LOW@@
2021-11-27 10:36:37 -08:00
kpa
2023-04-12 14:33:27 -07:00
* offset 256
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
/**
* @@GAUGE_NAME_FUEL_PRESSURE_HIGH@@
2021-11-27 10:36:37 -08:00
bar
2023-04-12 14:33:27 -07:00
* offset 258
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
/**
* @@GAUGE_NAME_AFR@@
2021-11-27 10:36:37 -08:00
AFR
2023-04-12 14:33:27 -07:00
* offset 260
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
2023-04-12 14:33:27 -07:00
* offset 262
2021-11-26 18:10:09 -08:00
*/
scaled_channel<uint16_t, 300, 1> VssAcceleration = (uint16_t)0;
/**
* @@GAUGE_NAME_LAMBDA2@@
2023-04-12 14:33:27 -07:00
* offset 264
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
/**
* @@GAUGE_NAME_AFR2@@
2021-11-27 10:36:37 -08:00
AFR
2023-04-12 14:33:27 -07:00
* offset 266
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
/**
* @@GAUGE_NAME_VVT_B1E@@
deg
2023-04-12 14:33:27 -07:00
* offset 268
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
/**
* @@GAUGE_NAME_VVT_B2I@@
deg
2023-04-12 14:33:27 -07:00
* offset 270
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
/**
* @@GAUGE_NAME_VVT_B2E@@
deg
2023-04-12 14:33:27 -07:00
* offset 272
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
%
2023-04-12 14:33:27 -07:00
* offset 274
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
2023-04-12 14:33:27 -07:00
* offset 278
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
2023-04-12 14:33:27 -07:00
* offset 280
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
2023-04-12 14:33:27 -07:00
* offset 282
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
/**
* @@GAUGE_NAME_ACCEL_Z@@
2021-11-27 10:05:44 -08:00
G
2023-04-12 14:33:27 -07:00
* offset 284
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
/**
* @@GAUGE_NAME_ACCEL_ROLL@@
2022-03-24 06:05:35 -07:00
G
2023-04-12 14:33:27 -07:00
* offset 286
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
/**
* @@GAUGE_NAME_ACCEL_YAW@@
2022-03-24 06:05:35 -07:00
G
2023-04-12 14:33:27 -07:00
* offset 288
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
2023-04-12 14:33:27 -07:00
* offset 290
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
/**
* @@GAUGE_NAME_TURBO_SPEED@@
2021-11-27 10:36:37 -08:00
hz
2023-04-12 14:33:27 -07:00
* offset 294
2021-11-26 18:21:46 -08:00
*/
uint16_t turboSpeed = (uint16_t)0;
2021-11-26 18:21:46 -08:00
/**
2021-12-21 15:15:00 -08:00
%
2023-04-12 14:33:27 -07:00
* offset 296
2021-12-21 15:15:00 -08:00
*/
scaled_channel<int16_t, 100, 1> tps1Split = (int16_t)0;
/**
%
2023-04-12 14:33:27 -07:00
* offset 298
2021-12-21 15:15:00 -08:00
*/
scaled_channel<int16_t, 100, 1> tps2Split = (int16_t)0;
/**
%
2023-04-12 14:33:27 -07:00
* offset 300
2021-12-21 15:15:00 -08:00
*/
scaled_channel<int16_t, 100, 1> tps12Split = (int16_t)0;
/**
%
2023-04-12 14:33:27 -07:00
* offset 302
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
2023-04-12 14:33:27 -07:00
* offset 304
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
2023-04-12 14:33:27 -07:00
* offset 305
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
2023-04-12 14:33:27 -07:00
* offset 306
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;
/**
2023-03-30 19:46:09 -07:00
* sync: instant RPM
2022-01-12 13:38:47 -08:00
rpm
2023-04-12 14:33:27 -07:00
* offset 308
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
2023-04-12 14:33:27 -07:00
* offset 310
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
2023-04-12 14:33:27 -07:00
* offset 312
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
2023-04-12 14:33:27 -07:00
* offset 314
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
%
2023-04-12 14:33:27 -07:00
* offset 316
2022-01-21 12:59:16 -08:00
*/
2022-01-27 05:02:18 -08:00
uint8_t tpsAccelFrom = (uint8_t)0;
/**
%
2023-04-12 14:33:27 -07:00
* offset 317
2022-01-27 05:02:18 -08:00
*/
uint8_t tpsAccelTo = (uint8_t)0;
2023-04-12 07:18:49 -07:00
/**
* need 4 byte alignment
units
2023-04-12 14:33:27 -07:00
* offset 318
2023-04-12 07:18:49 -07:00
*/
2023-04-12 14:33:27 -07:00
uint8_t alignmentFill_at_318[2];
2022-01-27 05:02:18 -08:00
/**
2023-04-12 14:33:27 -07:00
* offset 320
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
/**
2023-04-12 14:33:27 -07:00
offset 324 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
2023-04-12 14:33:27 -07:00
offset 324 bit 1 */
2022-02-04 13:47:48 -08:00
bool isUsbConnected : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 2 */
bool unusedBit_163_2 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 3 */
bool unusedBit_163_3 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 4 */
bool unusedBit_163_4 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 5 */
bool unusedBit_163_5 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 6 */
bool unusedBit_163_6 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 7 */
bool unusedBit_163_7 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 8 */
bool unusedBit_163_8 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 9 */
bool unusedBit_163_9 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 10 */
bool unusedBit_163_10 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 11 */
bool unusedBit_163_11 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 12 */
bool unusedBit_163_12 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 13 */
bool unusedBit_163_13 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 14 */
bool unusedBit_163_14 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 15 */
bool unusedBit_163_15 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 16 */
bool unusedBit_163_16 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 17 */
bool unusedBit_163_17 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 18 */
bool unusedBit_163_18 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 19 */
bool unusedBit_163_19 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 20 */
bool unusedBit_163_20 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 21 */
bool unusedBit_163_21 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 22 */
bool unusedBit_163_22 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 23 */
bool unusedBit_163_23 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 24 */
bool unusedBit_163_24 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 25 */
bool unusedBit_163_25 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 26 */
bool unusedBit_163_26 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 27 */
bool unusedBit_163_27 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 28 */
bool unusedBit_163_28 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 29 */
bool unusedBit_163_29 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 30 */
bool unusedBit_163_30 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 324 bit 31 */
bool unusedBit_163_31 : 1 {};
2022-02-01 18:45:00 -08:00
/**
2022-02-10 17:24:16 -08:00
count
2023-04-12 14:33:27 -07:00
* offset 328
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
2023-04-12 14:33:27 -07:00
* offset 332
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
2023-04-12 14:33:27 -07:00
* offset 336
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"
2023-04-12 14:33:27 -07:00
* offset 337
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
2023-04-12 14:33:27 -07:00
* offset 338
2022-04-23 04:41:19 -07:00
*/
scaled_channel<uint16_t, 100, 1> tcRatio = (uint16_t)0;
/**
2023-04-12 14:33:27 -07:00
* offset 340
2022-04-23 04:41:19 -07:00
*/
float lastShiftTime = (float)0;
/**
2023-04-12 14:33:27 -07:00
* offset 344
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
/**
2023-04-12 14:33:27 -07:00
* offset 348
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@@
2023-04-12 14:33:27 -07:00
* offset 352
2022-03-20 17:20:26 -07:00
*/
scaled_channel<int16_t, 100, 1> auxLinear1 = (int16_t)0;
/**
* @@GAUGE_NAME_AUX_LINEAR_2@@
2023-04-12 14:33:27 -07:00
* offset 354
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
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 0 */
bool dfcoActive : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 1 */
bool tpsAccelActive : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 2 */
bool unusedBit_205_2 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 3 */
bool unusedBit_205_3 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 4 */
bool unusedBit_205_4 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 5 */
bool unusedBit_205_5 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 6 */
bool unusedBit_205_6 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 7 */
bool unusedBit_205_7 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 8 */
bool unusedBit_205_8 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 9 */
bool unusedBit_205_9 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 10 */
bool unusedBit_205_10 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 11 */
bool unusedBit_205_11 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 12 */
bool unusedBit_205_12 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 13 */
bool unusedBit_205_13 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 14 */
bool unusedBit_205_14 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 15 */
bool unusedBit_205_15 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 16 */
bool unusedBit_205_16 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 17 */
bool unusedBit_205_17 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 18 */
bool unusedBit_205_18 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 19 */
bool unusedBit_205_19 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 20 */
bool unusedBit_205_20 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 21 */
bool unusedBit_205_21 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 22 */
bool unusedBit_205_22 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 23 */
bool unusedBit_205_23 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 24 */
bool unusedBit_205_24 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 25 */
bool unusedBit_205_25 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 26 */
bool unusedBit_205_26 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 27 */
bool unusedBit_205_27 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 28 */
bool unusedBit_205_28 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 29 */
bool unusedBit_205_29 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 30 */
bool unusedBit_205_30 : 1 {};
2021-12-16 11:53:45 -08:00
/**
2023-04-12 14:33:27 -07:00
offset 356 bit 31 */
bool unusedBit_205_31 : 1 {};
2021-12-02 14:42:07 -08:00
/**
2022-03-24 06:05:35 -07:00
kPa
2023-04-12 14:33:27 -07:00
* offset 360
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 08:49:40 -08:00
/**
2021-11-30 13:40:56 -08:00
* Instant MAP
2021-11-29 09:35:56 -08:00
kPa
2023-04-12 14:33:27 -07:00
* offset 362
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
2023-04-12 14:33:27 -07:00
* offset 364
2021-11-28 22:58:09 -08:00
*/
uint16_t maxLockedDuration = (uint16_t)0;
/**
2023-04-12 14:33:27 -07:00
* offset 366
2021-11-28 22:00:58 -08:00
*/
uint16_t canWriteOk = (uint16_t)0;
/**
2023-04-12 14:33:27 -07:00
* offset 368
2021-11-28 22:00:58 -08:00
*/
uint16_t canWriteNotOk = (uint16_t)0;
2023-01-16 17:57:05 -08:00
/**
* need 4 byte alignment
units
2023-04-12 14:33:27 -07:00
* offset 370
2023-01-16 17:57:05 -08:00
*/
2023-04-12 14:33:27 -07:00
uint8_t alignmentFill_at_370[2];
2021-11-28 22:00:58 -08:00
/**
2023-04-12 14:33:27 -07:00
* offset 372
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
/**
2023-04-12 14:33:27 -07:00
* offset 376
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
/**
2023-04-12 14:33:27 -07:00
* offset 380
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
/**
2023-04-12 14:33:27 -07:00
* offset 384
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
/**
2023-04-12 14:33:27 -07:00
* offset 388
2021-11-28 22:00:58 -08:00
*/
2023-03-28 17:35:11 -07:00
uint16_t triggerVvtFall = (uint16_t)0;
/**
2023-04-12 14:33:27 -07:00
* offset 390
2023-03-28 17:35:11 -07:00
*/
uint16_t triggerVvtRise = (uint16_t)0;
2021-11-28 22:00:58 -08:00
/**
2023-04-12 14:33:27 -07:00
* offset 392
2021-11-28 22:00:58 -08:00
*/
2023-03-28 17:35:11 -07:00
uint16_t triggerVvt2Fall = (uint16_t)0;
/**
2023-04-12 14:33:27 -07:00
* offset 394
2023-03-28 17:35:11 -07:00
*/
uint16_t triggerVvt2Rise = (uint16_t)0;
2021-11-28 22:00:58 -08:00
/**
2023-04-12 14:33:27 -07:00
* offset 396
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
/**
2023-04-12 14:33:27 -07:00
* offset 397
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
/**
2023-04-12 14:33:27 -07:00
* offset 398
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
/**
2023-04-12 14:33:27 -07:00
* offset 399
2021-11-28 22:00:58 -08:00
*/
2022-11-05 17:28:03 -07:00
uint8_t extiOverflowCount = (uint8_t)0;
2021-11-28 21:41:48 -08:00
/**
2023-04-12 14:33:27 -07:00
* offset 400
2021-11-28 21:41:48 -08:00
*/
2021-11-28 19:26:23 -08:00
pid_status_s alternatorStatus;
/**
2023-04-12 14:33:27 -07:00
* offset 416
2021-11-28 19:26:23 -08:00
*/
pid_status_s idleStatus;
/**
2023-04-12 14:33:27 -07:00
* offset 432
2021-11-28 19:26:23 -08:00
*/
pid_status_s etbStatus;
2022-03-24 06:05:35 -07:00
/**
2023-04-12 14:33:27 -07:00
* offset 448
2022-03-24 06:05:35 -07:00
*/
pid_status_s boostStatus;
2022-08-16 21:30:35 -07:00
/**
2023-04-12 14:33:27 -07:00
* offset 464
2022-08-16 21:30:35 -07:00
*/
2023-02-18 19:53:47 -08:00
pid_status_s wastegateDcStatus;
/**
2023-04-12 14:33:27 -07:00
* offset 480
2023-02-18 19:53:47 -08:00
*/
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
2023-04-12 14:33:27 -07:00
* offset 544
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
2023-04-12 14:33:27 -07:00
* offset 546
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
2023-04-12 14:33:27 -07:00
* offset 548
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
2023-04-12 14:33:27 -07:00
* offset 550
2022-04-21 06:14:29 -07:00
*/
2023-04-29 14:01:58 -07:00
scaled_channel<int16_t, 1000, 1> rawAnalogInput[LUA_ANALOG_INPUT_COUNT];
2022-07-15 03:29:23 -07:00
/**
2022-07-27 02:38:56 -07:00
* GPPWM Output
%
2023-04-12 14:33:27 -07:00
* offset 566
2022-07-15 03:29:23 -07:00
*/
2022-07-27 02:38:56 -07:00
scaled_channel<uint8_t, 2, 1> gppwmOutput[4];
/**
2023-04-12 14:33:27 -07:00
* offset 570
2022-07-27 02:38:56 -07:00
*/
2023-02-06 05:15:53 -08:00
scaled_channel<int16_t, 1, 1> gppwmXAxis[4];
/**
2023-04-12 14:33:27 -07:00
* offset 578
2023-02-06 05:15:53 -08:00
*/
scaled_channel<int16_t, 10, 1> gppwmYAxis[4];
/**
V
2023-04-12 14:33:27 -07:00
* offset 586
2023-02-06 05:15:53 -08:00
*/
2022-08-11 07:25:31 -07:00
scaled_channel<int16_t, 1000, 1> rawBattery = (int16_t)0;
2022-09-16 17:16:59 -07:00
/**
%
2023-04-12 14:33:27 -07:00
* offset 588
2022-09-16 17:16:59 -07:00
*/
scaled_channel<uint8_t, 2, 1> ignBlendBias[IGN_BLEND_COUNT];
/**
deg
2023-04-12 14:33:27 -07:00
* offset 592
2022-09-16 17:16:59 -07:00
*/
2022-10-19 03:47:20 -07:00
scaled_channel<int16_t, 100, 1> ignBlendOutput[IGN_BLEND_COUNT];
/**
%
2023-04-12 14:33:27 -07:00
* offset 600
2022-10-19 03:47:20 -07:00
*/
scaled_channel<uint8_t, 2, 1> veBlendBias[VE_BLEND_COUNT];
/**
%
2023-04-12 14:33:27 -07:00
* offset 604
2022-10-19 03:47:20 -07:00
*/
scaled_channel<int16_t, 100, 1> veBlendOutput[VE_BLEND_COUNT];
2022-09-16 17:16:59 -07:00
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 0 */
2022-09-04 22:33:14 -07:00
bool coilState1 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 1 */
2022-09-04 22:33:14 -07:00
bool coilState2 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 2 */
2022-09-04 22:33:14 -07:00
bool coilState3 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 3 */
2022-09-04 22:33:14 -07:00
bool coilState4 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 4 */
2022-09-04 22:33:14 -07:00
bool coilState5 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 5 */
2022-09-04 22:33:14 -07:00
bool coilState6 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 6 */
2022-09-04 22:33:14 -07:00
bool coilState7 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 7 */
2022-09-04 22:33:14 -07:00
bool coilState8 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 8 */
2022-09-04 22:33:14 -07:00
bool coilState9 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 9 */
2022-09-04 22:33:14 -07:00
bool coilState10 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 10 */
2022-09-04 22:33:14 -07:00
bool coilState11 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 11 */
2022-09-04 22:33:14 -07:00
bool coilState12 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 12 */
2022-09-04 22:33:14 -07:00
bool injectorState1 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 13 */
2022-09-04 22:33:14 -07:00
bool injectorState2 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 14 */
2022-09-04 22:33:14 -07:00
bool injectorState3 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 15 */
2022-09-04 22:33:14 -07:00
bool injectorState4 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 16 */
2022-09-04 22:33:14 -07:00
bool injectorState5 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 17 */
2022-09-04 22:33:14 -07:00
bool injectorState6 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 18 */
2022-09-04 22:33:14 -07:00
bool injectorState7 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 19 */
2022-09-04 22:33:14 -07:00
bool injectorState8 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 20 */
2022-09-04 22:33:14 -07:00
bool injectorState9 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 21 */
2022-09-04 22:33:14 -07:00
bool injectorState10 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 22 */
2022-09-04 22:33:14 -07:00
bool injectorState11 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 23 */
2022-09-04 22:33:14 -07:00
bool injectorState12 : 1 {};
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 24 */
2023-02-20 20:57:19 -08:00
bool triggerChannel1 : 1 {};
2022-09-04 22:33:14 -07:00
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 25 */
2023-02-20 20:57:19 -08:00
bool triggerChannel2 : 1 {};
2022-09-04 22:33:14 -07:00
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 26 */
2023-02-20 20:57:19 -08:00
bool vvtChannel1 : 1 {};
2022-09-04 22:33:14 -07:00
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 27 */
2023-04-22 05:34:18 -07:00
bool vvtChannel2 : 1 {};
2022-09-04 22:33:14 -07:00
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 28 */
2023-04-22 05:34:18 -07:00
bool vvtChannel3 : 1 {};
2022-09-04 22:33:14 -07:00
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 29 */
2023-04-22 05:34:18 -07:00
bool vvtChannel4 : 1 {};
2022-09-04 22:33:14 -07:00
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 30 */
2023-04-22 05:34:18 -07:00
bool unusedBit_301_30 : 1 {};
2022-09-04 22:33:14 -07:00
/**
2023-04-12 14:33:27 -07:00
offset 612 bit 31 */
2023-04-22 05:34:18 -07:00
bool unusedBit_301_31 : 1 {};
2022-09-04 22:33:14 -07:00
/**
2023-04-12 14:33:27 -07:00
* offset 616
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
/**
2023-04-12 14:33:27 -07:00
* offset 620
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
2023-04-12 14:33:27 -07:00
* offset 624
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
2023-04-12 14:33:27 -07:00
* offset 632
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
2023-04-12 14:33:27 -07:00
* offset 634
2022-10-24 09:46:53 -07:00
*/
scaled_channel<uint16_t, 10, 1> mafMeasured2 = (uint16_t)0;
/**
2023-04-12 14:33:27 -07:00
* offset 636
2022-10-24 09:46:53 -07:00
*/
2022-12-10 15:01:38 -08:00
uint16_t schedulingUsedCount = (uint16_t)0;
/**
2023-04-22 13:22:57 -07:00
* @@GAUGE_NAME_VVS@@
2023-04-22 12:46:28 -07:00
kph
2023-04-12 14:33:27 -07:00
* offset 638
2022-12-10 15:01:38 -08:00
*/
2023-04-22 17:32:38 -07:00
scaled_channel<uint16_t, 100, 1> vehicleSpeedKph = (uint16_t)0;
2022-09-04 22:33:14 -07:00
/**
2023-04-22 12:46:28 -07:00
* offset 640
2022-09-04 22:33:14 -07:00
*/
2023-04-22 12:46:28 -07:00
uint8_t unusedAtTheEnd[136];
2021-11-17 21:05:27 -08:00
};
2023-04-12 14:33:27 -07:00
static_assert(sizeof(output_channels_s) == 776);
2021-11-17 21:05:27 -08:00
// end
2023-04-29 14:01:58 -07:00
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Sat Apr 29 21:01:06 UTC 2023