2024-09-04 19:29:18 -07:00
|
|
|
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) console/binary/output_channels.txt
|
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
|
|
|
/**
|
2023-05-04 19:54:48 -07:00
|
|
|
* SD: Present
|
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
|
|
|
/**
|
2023-05-04 19:54:48 -07:00
|
|
|
* SD: Logging
|
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
|
|
|
/**
|
2023-05-04 19:22:07 -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
|
|
|
/**
|
2023-05-04 19:54:48 -07:00
|
|
|
* SD: MSD
|
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
|
|
|
/**
|
2023-05-04 19:54:48 -07:00
|
|
|
* Radiator Fan 2
|
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
|
|
|
/**
|
2023-05-04 19:22:07 -07:00
|
|
|
* Tooth Logger Ready
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 10 */
|
2022-09-19 19:05:56 -07:00
|
|
|
bool toothLogReady : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-05-04 19:22:07 -07:00
|
|
|
* Error: TPS
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 11 */
|
2023-05-04 18:28:25 -07:00
|
|
|
bool isTpsError : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-05-04 19:22:07 -07:00
|
|
|
* Error: CLT
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 12 */
|
2023-05-04 18:28:25 -07:00
|
|
|
bool isCltError : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-05-04 19:22:07 -07:00
|
|
|
* Error: MAP
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 13 */
|
2023-05-04 18:28:25 -07:00
|
|
|
bool isMapError : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-05-04 19:22:07 -07:00
|
|
|
* Error: IAT
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 14 */
|
2023-05-04 18:28:25 -07:00
|
|
|
bool isIatError : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-05-04 19:22:07 -07:00
|
|
|
* Error: Trigger
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 15 */
|
2023-05-04 18:28:25 -07:00
|
|
|
bool isTriggerError : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-05-05 10:57:39 -07:00
|
|
|
* Error: Active
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 16 */
|
2023-05-04 18:28:25 -07:00
|
|
|
bool hasCriticalError : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-05-05 09:37:43 -07:00
|
|
|
* Warning: Active
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 17 */
|
2023-05-04 18:28:25 -07:00
|
|
|
bool isWarnNow : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-05-04 19:22:07 -07:00
|
|
|
* Error: Pedal
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 18 */
|
2023-05-04 18:28:25 -07:00
|
|
|
bool isPedalError : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 19 */
|
2023-05-04 18:28:25 -07:00
|
|
|
bool isKnockChipOk : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-05-04 19:22:07 -07:00
|
|
|
* Launch Control Triggered
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 20 */
|
2023-05-04 18:28:25 -07:00
|
|
|
bool launchTriggered : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-05-04 19:22:07 -07:00
|
|
|
* Error: TPS2
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 21 */
|
2023-05-04 18:28:25 -07:00
|
|
|
bool isTps2Error : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-05-04 19:22:07 -07:00
|
|
|
* Injector Fault
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 22 */
|
2023-05-04 19:22:07 -07:00
|
|
|
bool injectorFault : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-05-04 19:22:07 -07:00
|
|
|
* Ignition Fault
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 23 */
|
2023-05-04 19:22:07 -07:00
|
|
|
bool ignitionFault : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 24 */
|
2023-08-08 02:12:28 -07:00
|
|
|
bool isMainRelayOn : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2023-08-08 02:12:28 -07:00
|
|
|
* isUsbConnected
|
|
|
|
* Original reason for this is to check if USB is connected from Lua
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 25 */
|
2023-08-08 02:12:28 -07:00
|
|
|
bool isUsbConnected : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 26 */
|
2023-08-08 02:12:28 -07:00
|
|
|
bool dfcoActive : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2024-07-13 03:01:57 -07:00
|
|
|
* SD card writing
|
2024-03-04 19:32:34 -08:00
|
|
|
offset 0 bit 27 */
|
2024-07-13 03:01:57 -07:00
|
|
|
bool sd_active_wr : 1 {};
|
2024-03-04 19:32:34 -08:00
|
|
|
/**
|
2024-07-13 03:01:57 -07:00
|
|
|
* SD card reading
|
2023-09-26 18:14:21 -07:00
|
|
|
offset 0 bit 28 */
|
2024-07-13 03:01:57 -07:00
|
|
|
bool sd_active_rd : 1 {};
|
2023-09-26 18:14:21 -07:00
|
|
|
/**
|
2024-11-02 21:10:15 -07:00
|
|
|
* MAP from sensor seems valid
|
2021-11-17 21:05:27 -08:00
|
|
|
offset 0 bit 29 */
|
2024-11-02 21:10:15 -07:00
|
|
|
bool isMapValid : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
|
|
|
offset 0 bit 30 */
|
2024-11-02 21:10:15 -07:00
|
|
|
bool unusedBit_30_30 : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
|
|
|
offset 0 bit 31 */
|
2024-11-02 21:10:15 -07:00
|
|
|
bool unusedBit_30_31 : 1 {};
|
2021-11-17 21:05:27 -08:00
|
|
|
/**
|
2021-11-28 11:10:13 -08:00
|
|
|
* @@GAUGE_NAME_RPM@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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
|
2024-09-20 08:04:16 -07:00
|
|
|
* units: RPM acceleration/Rate of Change/ROC
|
2021-11-17 21:05:27 -08:00
|
|
|
* offset 6
|
|
|
|
*/
|
2023-08-09 02:01:25 -07:00
|
|
|
int16_t rpmAcceleration = (int16_t)0;
|
2021-11-20 10:30:25 -08:00
|
|
|
/**
|
2022-01-15 14:45:28 -08:00
|
|
|
* @@GAUGE_NAME_GEAR_RATIO@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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
|
|
|
/**
|
2021-11-28 11:10:13 -08:00
|
|
|
* @@GAUGE_NAME_CPU_TEMP@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: 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
|
|
|
/**
|
2021-11-28 11:10:13 -08:00
|
|
|
* @@GAUGE_NAME_VBAT@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 36
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: kPa
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 38
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 40
|
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_FUEL_LAST_INJECTION@@
|
2021-11-26 15:16:06 -08:00
|
|
|
* Actual last injection time - including all compensation and injection mode
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: ms
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 42
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 44
|
2021-11-26 15:16:06 -08:00
|
|
|
*/
|
|
|
|
scaled_channel<uint8_t, 2, 1> injectorDutyCycle = (uint8_t)0;
|
|
|
|
/**
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 45
|
2021-11-26 15:16:06 -08:00
|
|
|
*/
|
2024-07-06 20:21:01 -07:00
|
|
|
uint8_t tempLogging1 = (uint8_t)0;
|
2021-11-26 15:16:06 -08:00
|
|
|
/**
|
2023-05-04 15:44:35 -07:00
|
|
|
* @@GAUGE_NAME_FUEL_INJECTION_TIMING@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 46
|
2021-11-26 15:16:06 -08:00
|
|
|
*/
|
2022-10-11 18:03:24 -07:00
|
|
|
int16_t injectionOffset = (int16_t)0;
|
2022-09-03 14:43:03 -07:00
|
|
|
/**
|
|
|
|
* @@GAUGE_NAME_ENGINE_CRC16@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: crc16
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 48
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: mg
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 50
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: mg
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 52
|
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
|
|
|
/**
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 54
|
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
|
|
|
/**
|
2023-05-09 17:33:35 -07:00
|
|
|
* @@GAUGE_NAME_CAN_READ_OK@@
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 56
|
2021-11-26 15:30:59 -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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: ms
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 58
|
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
|
|
|
/**
|
2023-05-04 16:56:52 -07:00
|
|
|
* @@GAUGE_NAME_IGNITION_MODE@@
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 60
|
2023-04-12 19:34:29 -07:00
|
|
|
*/
|
2023-05-04 16:16:33 -07:00
|
|
|
uint8_t currentIgnitionMode = (uint8_t)0;
|
2023-04-12 19:34:29 -07:00
|
|
|
/**
|
2023-05-04 16:56:52 -07:00
|
|
|
* @@GAUGE_NAME_INJECTION_MODE@@
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 61
|
2023-04-12 19:34:29 -07:00
|
|
|
*/
|
2023-05-04 16:16:33 -07:00
|
|
|
uint8_t currentInjectionMode = (uint8_t)0;
|
2021-11-26 15:49:16 -08:00
|
|
|
/**
|
2021-11-28 13:10:09 -08:00
|
|
|
* @@GAUGE_NAME_DWELL_DUTY@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 62
|
2021-11-26 15:49:16 -08:00
|
|
|
*/
|
|
|
|
scaled_channel<uint16_t, 100, 1> coilDutyCycle = (uint16_t)0;
|
|
|
|
/**
|
2022-06-26 19:39:05 -07:00
|
|
|
* ETB Target
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2023-09-26 10:15:12 -07:00
|
|
|
* offset 64
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2023-09-26 10:15:12 -07:00
|
|
|
* offset 66
|
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
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2023-09-26 10:15:12 -07:00
|
|
|
* offset 68
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: grams
|
2023-09-26 10:15:12 -07:00
|
|
|
* offset 70
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: gram/s
|
2023-09-26 10:15:12 -07:00
|
|
|
* offset 72
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2023-09-26 10:15:12 -07:00
|
|
|
* offset 74
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: crc16
|
2023-09-26 10:15:12 -07:00
|
|
|
* offset 76
|
2022-09-03 14:43:03 -07:00
|
|
|
*/
|
2022-11-05 17:28:03 -07:00
|
|
|
uint16_t tuneCrc16 = (uint16_t)0;
|
2023-09-26 10:15:12 -07:00
|
|
|
/**
|
2024-02-14 13:58:51 -08:00
|
|
|
* @@GAUGE_NAME_FUEL_VE@@
|
|
|
|
* units: ratio
|
2023-09-26 10:15:12 -07:00
|
|
|
* offset 78
|
|
|
|
*/
|
2024-02-14 13:58:51 -08:00
|
|
|
scaled_channel<uint16_t, 10, 1> veValue = (uint16_t)0;
|
2021-11-26 16:14:11 -08:00
|
|
|
/**
|
2021-11-28 11:10:13 -08:00
|
|
|
* @@GAUGE_NAME_UPTIME@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: sec
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 80
|
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
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: em
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 84
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: version_f
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 88
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 92
|
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;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 94
|
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
|
|
|
/**
|
2023-11-27 12:22:49 -08:00
|
|
|
* @@GAUGE_NAME_ACCEL_LAT@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: G
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 96
|
2022-11-05 17:28:03 -07:00
|
|
|
*/
|
2023-11-27 12:22:49 -08:00
|
|
|
scaled_channel<int16_t, 1000, 1> accelerationLat = (int16_t)0;
|
2022-11-05 17:28:03 -07:00
|
|
|
/**
|
2023-11-27 12:22:49 -08:00
|
|
|
* @@GAUGE_NAME_ACCEL_LON@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: G
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 98
|
2022-11-05 17:28:03 -07:00
|
|
|
*/
|
2023-11-27 12:22:49 -08:00
|
|
|
scaled_channel<int16_t, 1000, 1> accelerationLon = (int16_t)0;
|
2021-11-26 16:14:11 -08:00
|
|
|
/**
|
2023-05-04 18:47:08 -07:00
|
|
|
* @@GAUGE_NAME_DETECTED_GEAR@@
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 100
|
2021-11-26 16:14:11 -08:00
|
|
|
*/
|
2023-05-04 18:47:08 -07:00
|
|
|
uint8_t detectedGear = (uint8_t)0;
|
|
|
|
/**
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 101
|
2023-05-04 18:47:08 -07:00
|
|
|
*/
|
|
|
|
uint8_t maxTriggerReentrant = (uint8_t)0;
|
2023-05-05 10:57:39 -07:00
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 102
|
2023-05-05 10:57:39 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 1000, 1> rawLowFuelPressure = (int16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 104
|
2023-05-05 10:57:39 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 1000, 1> rawHighFuelPressure = (int16_t)0;
|
2023-05-04 18:47:08 -07:00
|
|
|
/**
|
|
|
|
* @@GAUGE_NAME_FUEL_PRESSURE_LOW@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: kpa
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 106
|
2023-05-04 18:47:08 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 30, 1> lowFuelPressure = (int16_t)0;
|
2021-11-26 17:46:30 -08:00
|
|
|
/**
|
2023-05-05 11:01:50 -07:00
|
|
|
* @@GAUGE_NAME_DESIRED_GEAR@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: gear
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 108
|
2021-11-26 17:46:30 -08:00
|
|
|
*/
|
2023-05-05 11:01:50 -07:00
|
|
|
int8_t tcuDesiredGear = (int8_t)0;
|
|
|
|
/**
|
|
|
|
* @@GAUGE_NAME_FLEX@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 109
|
2023-05-05 11:01:50 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<uint8_t, 2, 1> flexPercent = (uint8_t)0;
|
|
|
|
/**
|
|
|
|
* @@GAUGE_NAME_WG_POSITION@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 110
|
2023-05-05 11:01:50 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 100, 1> wastegatePositionSensor = (int16_t)0;
|
2022-09-04 19:56:42 -07:00
|
|
|
/**
|
2023-05-04 18:47:08 -07:00
|
|
|
* @@GAUGE_NAME_FUEL_PRESSURE_HIGH@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: bar
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 112
|
2022-09-04 19:56:42 -07:00
|
|
|
*/
|
2023-05-04 18:47:08 -07:00
|
|
|
scaled_channel<int16_t, 10, 1> highFuelPressure = (int16_t)0;
|
|
|
|
/**
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 114
|
2023-05-05 14:14:03 -07:00
|
|
|
*/
|
2024-07-06 20:21:01 -07:00
|
|
|
uint8_t tempLogging3 = (uint8_t)0;
|
|
|
|
/**
|
|
|
|
* offset 115
|
|
|
|
*/
|
|
|
|
uint8_t tempLogging4 = (uint8_t)0;
|
2023-05-04 16:47:44 -07:00
|
|
|
/**
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 116
|
2023-05-04 16:47:44 -07:00
|
|
|
*/
|
2023-05-04 18:47:08 -07:00
|
|
|
float calibrationValue = (float)0;
|
|
|
|
/**
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 120
|
2023-05-04 18:47:08 -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-05-04 16:56:52 -07:00
|
|
|
* Idle: Stepper target position
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 121
|
2021-11-26 17:46:30 -08:00
|
|
|
*/
|
2023-09-25 19:02:33 -07:00
|
|
|
uint8_t idleStepperTargetPosition = (uint8_t)0;
|
2021-11-26 17:46:30 -08:00
|
|
|
/**
|
2023-05-04 18:47:08 -07:00
|
|
|
* need 4 byte alignment
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: units
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 122
|
|
|
|
*/
|
|
|
|
uint8_t alignmentFill_at_122[2];
|
|
|
|
/**
|
|
|
|
* offset 124
|
2021-11-26 17:53:22 -08:00
|
|
|
*/
|
2023-09-25 18:23:22 -07:00
|
|
|
uint32_t tsConfigVersion = (uint32_t)0;
|
2021-11-26 17:53:22 -08:00
|
|
|
/**
|
2021-11-28 13:10:09 -08:00
|
|
|
* @@GAUGE_NAME_TRG_ERR@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: counter
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 128
|
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-09-25 18:23:22 -07:00
|
|
|
* offset 132
|
2021-11-26 17:53:22 -08:00
|
|
|
*/
|
2023-04-12 19:34:29 -07:00
|
|
|
uint32_t orderingErrorCounter = (uint32_t)0;
|
2023-05-04 16:16:33 -07:00
|
|
|
/**
|
|
|
|
* @@GAUGE_NAME_WARNING_COUNTER@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: count
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 136
|
2023-05-04 16:16:33 -07:00
|
|
|
*/
|
|
|
|
uint16_t warningCounter = (uint16_t)0;
|
|
|
|
/**
|
|
|
|
* @@GAUGE_NAME_WARNING_LAST@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: error
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 138
|
2023-05-04 16:16:33 -07:00
|
|
|
*/
|
|
|
|
uint16_t lastErrorCode = (uint16_t)0;
|
2021-11-26 17:53:22 -08:00
|
|
|
/**
|
2024-04-21 15:25:45 -07:00
|
|
|
* Warning code
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: error
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 140
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: val
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 156
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: val
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 160
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: val
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 164
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: val
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 168
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: val
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 172
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: val
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 176
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: val
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 180
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: val
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 184
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: val
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 188
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: val
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 192
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: val
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 196
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: val
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 198
|
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
|
|
|
/**
|
2023-05-04 18:47:08 -07:00
|
|
|
* EGT
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg C
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 200
|
2021-11-26 18:03:45 -08:00
|
|
|
*/
|
2024-03-10 09:58:34 -07:00
|
|
|
scaled_channel<int16_t, 4, 1> egt[EGT_CHANNEL_COUNT];
|
2021-11-26 18:03:45 -08:00
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 216
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 218
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2024-04-22 07:57:01 -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> rawIat = (int16_t)0;
|
2021-11-26 18:03:45 -08:00
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2024-04-22 07:57:01 -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> rawOilPressure = (int16_t)0;
|
2021-11-26 18:03:45 -08:00
|
|
|
/**
|
2024-06-23 14:46:02 -07:00
|
|
|
* units: V
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 224
|
2021-11-26 18:03:45 -08:00
|
|
|
*/
|
2024-06-23 14:46:02 -07:00
|
|
|
scaled_channel<int16_t, 1000, 1> rawAcPressure = (int16_t)0;
|
|
|
|
/**
|
|
|
|
* offset 226
|
|
|
|
*/
|
2022-10-11 18:03:24 -07:00
|
|
|
uint8_t fuelClosedLoopBinIdx = (uint8_t)0;
|
2021-11-26 18:03:45 -08:00
|
|
|
/**
|
2024-01-02 19:28:07 -08:00
|
|
|
* need 4 byte alignment
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: units
|
2024-06-23 14:46:02 -07:00
|
|
|
* offset 227
|
2021-11-26 18:03:45 -08:00
|
|
|
*/
|
2024-06-23 14:46:02 -07:00
|
|
|
uint8_t alignmentFill_at_227[1];
|
2021-11-26 18:03:45 -08:00
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2023-09-25 18:23:22 -07:00
|
|
|
* offset 228
|
2021-11-26 18:03:45 -08:00
|
|
|
*/
|
2024-04-22 07:57:01 -07:00
|
|
|
float rawPpsPrimary = (float)0;
|
2024-04-21 18:06:29 -07:00
|
|
|
/**
|
|
|
|
* units: V
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 232
|
2024-04-21 18:06:29 -07:00
|
|
|
*/
|
2024-04-22 07:57:01 -07:00
|
|
|
float rawPpsSecondary = (float)0;
|
2024-04-21 18:06:29 -07:00
|
|
|
/**
|
|
|
|
* units: V
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 236
|
2024-04-21 18:06:29 -07:00
|
|
|
*/
|
2024-04-22 07:57:01 -07:00
|
|
|
float rawRawPpsPrimary = (float)0;
|
|
|
|
/**
|
|
|
|
* units: V
|
|
|
|
* offset 240
|
|
|
|
*/
|
|
|
|
float rawRawPpsSecondary = (float)0;
|
2021-11-26 18:10:09 -08:00
|
|
|
/**
|
2021-11-28 14:04:46 -08:00
|
|
|
* @@GAUGE_NAME_IDLE_POSITION@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 244
|
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-28 11:40:03 -08:00
|
|
|
* @@GAUGE_NAME_AFR@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: AFR
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 246
|
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
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: m/s2
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 248
|
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@@
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 250
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: AFR
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 252
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 254
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 256
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 258
|
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
|
|
|
/**
|
2023-05-05 14:46:03 -07:00
|
|
|
* Fuel: Trim bank
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 260
|
2021-11-26 18:10:09 -08:00
|
|
|
*/
|
2024-06-05 11:57:50 -07:00
|
|
|
scaled_channel<int16_t, 100, 1> fuelPidCorrection[STFT_BANK_COUNT];
|
2021-11-26 18:10:09 -08:00
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2024-04-22 07:57:01 -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> rawTps1Secondary = (int16_t)0;
|
2021-11-26 18:10:09 -08:00
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2024-04-22 07:57:01 -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> rawTps2Primary = (int16_t)0;
|
2021-11-26 18:10:09 -08:00
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 268
|
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
|
|
|
/**
|
2023-11-27 12:22:49 -08:00
|
|
|
* @@GAUGE_NAME_ACCEL_VERT@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: G
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 270
|
2021-11-26 18:10:09 -08:00
|
|
|
*/
|
2023-11-27 12:22:49 -08:00
|
|
|
scaled_channel<int16_t, 1000, 1> accelerationVert = (int16_t)0;
|
2021-11-26 18:10:09 -08:00
|
|
|
/**
|
2023-11-27 12:22:49 -08:00
|
|
|
* @@GAUGE_NAME_GYRO_YAW@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg/sec
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 272
|
2021-11-26 18:10:09 -08:00
|
|
|
*/
|
2023-11-27 12:22:49 -08:00
|
|
|
scaled_channel<int16_t, 1000, 1> gyroYaw = (int16_t)0;
|
2021-11-26 18:21:46 -08:00
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 274
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: hz
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 278
|
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
|
|
|
/**
|
2023-05-31 14:17:53 -07:00
|
|
|
* Ign: Timing Cyl
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 280
|
2021-12-21 15:15:00 -08:00
|
|
|
*/
|
2023-05-31 14:17:53 -07:00
|
|
|
scaled_channel<int16_t, 50, 1> ignitionAdvanceCyl[MAX_CYLINDER_COUNT];
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 304
|
2023-05-31 14:17:53 -07:00
|
|
|
*/
|
2021-12-21 15:15:00 -08:00
|
|
|
scaled_channel<int16_t, 100, 1> tps1Split = (int16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 306
|
2021-12-21 15:15:00 -08:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 100, 1> tps2Split = (int16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 308
|
2021-12-21 15:15:00 -08:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 100, 1> tps12Split = (int16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 310
|
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
|
|
|
/**
|
2023-05-05 14:46:03 -07:00
|
|
|
* Ign: Cut Code
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: code
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 312
|
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
|
|
|
/**
|
2023-05-05 14:46:03 -07:00
|
|
|
* Fuel: Cut Code
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: code
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 313
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: kg/h
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 314
|
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
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: rpm
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 316
|
2022-01-12 13:38:47 -08:00
|
|
|
*/
|
|
|
|
uint16_t instantRpm = (uint16_t)0;
|
2022-01-17 21:27:20 -08:00
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 318
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 320
|
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;
|
|
|
|
/**
|
2024-04-22 07:57:01 -07:00
|
|
|
* need 4 byte alignment
|
|
|
|
* units: units
|
|
|
|
* offset 322
|
|
|
|
*/
|
|
|
|
uint8_t alignmentFill_at_322[2];
|
|
|
|
/**
|
|
|
|
* offset 324
|
2022-01-27 05:02:18 -08:00
|
|
|
*/
|
2022-10-11 18:03:24 -07:00
|
|
|
float calibrationValue2 = (float)0;
|
2022-02-01 18:45:00 -08:00
|
|
|
/**
|
2023-05-04 18:28:25 -07:00
|
|
|
* Lua: Tick counter
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: count
|
2024-04-22 07:57:01 -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
|
|
|
/**
|
2023-05-04 18:28:25 -07:00
|
|
|
* Lua: Last tick duration
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: nt
|
2024-04-22 07:57:01 -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
|
|
|
/**
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 336
|
2022-02-10 17:24:16 -08:00
|
|
|
*/
|
2022-10-12 17:07:37 -07:00
|
|
|
uint32_t vssEdgeCounter = (uint32_t)0;
|
2022-05-14 05:21:15 -07:00
|
|
|
/**
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 340
|
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@@
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 344
|
2022-03-20 17:20:26 -07:00
|
|
|
*/
|
2024-03-13 13:28:18 -07:00
|
|
|
float auxLinear1 = (float)0;
|
2022-03-20 17:20:26 -07:00
|
|
|
/**
|
|
|
|
* @@GAUGE_NAME_AUX_LINEAR_2@@
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 348
|
2022-03-20 17:20:26 -07:00
|
|
|
*/
|
2024-03-13 13:28:18 -07:00
|
|
|
float auxLinear2 = (float)0;
|
2022-01-01 14:17:56 -08:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* @@GAUGE_NAME_AUX_LINEAR_3@@
|
2024-04-22 07:57:01 -07:00
|
|
|
* offset 352
|
2021-11-29 09:54:58 -08:00
|
|
|
*/
|
2024-09-04 19:29:18 -07:00
|
|
|
float auxLinear3 = (float)0;
|
|
|
|
/**
|
|
|
|
* @@GAUGE_NAME_AUX_LINEAR_4@@
|
|
|
|
* offset 356
|
|
|
|
*/
|
|
|
|
float auxLinear4 = (float)0;
|
|
|
|
/**
|
|
|
|
* units: kPa
|
|
|
|
* offset 360
|
|
|
|
*/
|
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
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: kPa
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: us
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 364
|
2021-11-28 22:58:09 -08:00
|
|
|
*/
|
|
|
|
uint16_t maxLockedDuration = (uint16_t)0;
|
|
|
|
/**
|
2023-05-09 17:33:35 -07:00
|
|
|
* @@GAUGE_NAME_CAN_WRITE_OK@@
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 366
|
2021-11-28 22:00:58 -08:00
|
|
|
*/
|
|
|
|
uint16_t canWriteOk = (uint16_t)0;
|
|
|
|
/**
|
2023-05-09 17:33:35 -07:00
|
|
|
* @@GAUGE_NAME_CAN_WRITE_ERR@@
|
2024-09-04 19:29:18 -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
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: units
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 370
|
2023-01-16 17:57:05 -08:00
|
|
|
*/
|
2024-09-04 19:29:18 -07:00
|
|
|
uint8_t alignmentFill_at_370[2];
|
2021-11-28 22:00:58 -08:00
|
|
|
/**
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2024-09-04 19:29:18 -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;
|
|
|
|
/**
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2024-09-04 19:29:18 -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;
|
|
|
|
/**
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2024-09-04 19:29:18 -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-05-04 18:47:08 -07:00
|
|
|
* Ign: Multispark count
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 400
|
2021-11-28 21:41:48 -08:00
|
|
|
*/
|
2021-11-28 19:26:23 -08:00
|
|
|
pid_status_s alternatorStatus;
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 416
|
2021-11-28 19:26:23 -08:00
|
|
|
*/
|
|
|
|
pid_status_s idleStatus;
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 432
|
2021-11-28 19:26:23 -08:00
|
|
|
*/
|
|
|
|
pid_status_s etbStatus;
|
2022-03-24 06:05:35 -07:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 448
|
2022-03-24 06:05:35 -07:00
|
|
|
*/
|
|
|
|
pid_status_s boostStatus;
|
2022-08-16 21:30:35 -07:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 464
|
2022-08-16 21:30:35 -07:00
|
|
|
*/
|
2023-02-18 19:53:47 -08:00
|
|
|
pid_status_s wastegateDcStatus;
|
|
|
|
/**
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2023-05-04 18:47:08 -07:00
|
|
|
* Aux speed 1
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: s
|
2024-09-04 19:29:18 -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;
|
|
|
|
/**
|
2023-05-04 18:47:08 -07:00
|
|
|
* Aux speed 2
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: s
|
2024-09-04 19:29:18 -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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: RPM
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2024-09-04 19:29:18 -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
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-09-04 19:29:18 -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];
|
|
|
|
/**
|
2024-09-04 19:29:18 -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];
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 578
|
2023-02-06 05:15:53 -08:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 10, 1> gppwmYAxis[4];
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2024-09-04 19:29:18 -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
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 588
|
2022-09-16 17:16:59 -07:00
|
|
|
*/
|
2023-04-30 08:05:28 -07:00
|
|
|
scaled_channel<int16_t, 10, 1> ignBlendParameter[IGN_BLEND_COUNT];
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 596
|
2023-04-30 08:05:28 -07:00
|
|
|
*/
|
2022-09-16 17:16:59 -07:00
|
|
|
scaled_channel<uint8_t, 2, 1> ignBlendBias[IGN_BLEND_COUNT];
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 600
|
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-30 08:05:28 -07:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 608
|
2023-04-30 08:05:28 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 10, 1> veBlendParameter[VE_BLEND_COUNT];
|
2022-10-19 03:47:20 -07:00
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 616
|
2022-10-19 03:47:20 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<uint8_t, 2, 1> veBlendBias[VE_BLEND_COUNT];
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 620
|
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
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 628
|
2023-05-03 13:02:16 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 10, 1> boostOpenLoopBlendParameter[BOOST_BLEND_COUNT];
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 632
|
2023-05-03 13:02:16 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<uint8_t, 2, 1> boostOpenLoopBlendBias[BOOST_BLEND_COUNT];
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 634
|
2023-05-03 13:02:16 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int8_t, 1, 1> boostOpenLoopBlendOutput[BOOST_BLEND_COUNT];
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 636
|
2023-05-03 13:02:16 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 10, 1> boostClosedLoopBlendParameter[BOOST_BLEND_COUNT];
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 640
|
2023-05-03 13:02:16 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<uint8_t, 2, 1> boostClosedLoopBlendBias[BOOST_BLEND_COUNT];
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 642
|
2023-05-03 13:02:16 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 10, 1> boostClosedLoopBlendOutput[BOOST_BLEND_COUNT];
|
|
|
|
/**
|
|
|
|
* need 4 byte alignment
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: units
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 646
|
2023-05-03 13:02:16 -07:00
|
|
|
*/
|
2024-09-04 19:29:18 -07:00
|
|
|
uint8_t alignmentFill_at_646[2];
|
2023-05-03 13:02:16 -07:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 0 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool coilState1 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 1 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool coilState2 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 2 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool coilState3 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 3 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool coilState4 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 4 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool coilState5 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 5 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool coilState6 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 6 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool coilState7 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 7 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool coilState8 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 8 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool coilState9 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 9 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool coilState10 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 10 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool coilState11 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 11 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool coilState12 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 12 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool injectorState1 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 13 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool injectorState2 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 14 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool injectorState3 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 15 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool injectorState4 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 16 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool injectorState5 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 17 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool injectorState6 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 18 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool injectorState7 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 19 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool injectorState8 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 20 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool injectorState9 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 21 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool injectorState10 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 22 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool injectorState11 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 23 */
|
2022-09-04 22:33:14 -07:00
|
|
|
bool injectorState12 : 1 {};
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 24 */
|
2023-02-20 20:57:19 -08:00
|
|
|
bool triggerChannel1 : 1 {};
|
2022-09-04 22:33:14 -07:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 25 */
|
2023-02-20 20:57:19 -08:00
|
|
|
bool triggerChannel2 : 1 {};
|
2022-09-04 22:33:14 -07:00
|
|
|
/**
|
2023-10-07 08:08:09 -07:00
|
|
|
* bank 1 intake cam input
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 26 */
|
2023-02-20 20:57:19 -08:00
|
|
|
bool vvtChannel1 : 1 {};
|
2022-09-04 22:33:14 -07:00
|
|
|
/**
|
2023-10-07 08:08:09 -07:00
|
|
|
* bank 1 exhaust cam input
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 27 */
|
2023-04-22 05:34:18 -07:00
|
|
|
bool vvtChannel2 : 1 {};
|
2022-09-04 22:33:14 -07:00
|
|
|
/**
|
2023-10-07 08:08:09 -07:00
|
|
|
* bank 2 intake cam input
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 28 */
|
2023-04-22 05:34:18 -07:00
|
|
|
bool vvtChannel3 : 1 {};
|
2022-09-04 22:33:14 -07:00
|
|
|
/**
|
2023-10-07 08:08:09 -07:00
|
|
|
* bank 2 exhaust cam input
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 29 */
|
2023-04-22 05:34:18 -07:00
|
|
|
bool vvtChannel4 : 1 {};
|
2022-09-04 22:33:14 -07:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 30 */
|
|
|
|
bool unusedBit_237_30 : 1 {};
|
2022-09-04 22:33:14 -07:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
offset 648 bit 31 */
|
|
|
|
bool unusedBit_237_31 : 1 {};
|
2022-09-04 22:33:14 -07:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 652
|
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
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 656
|
2022-09-12 17:18:15 -07:00
|
|
|
*/
|
2022-09-15 12:00:51 -07:00
|
|
|
float mapFast = (float)0;
|
|
|
|
/**
|
2023-05-04 18:28:25 -07:00
|
|
|
* Lua: Gauge
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: value
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 660
|
2022-09-15 12:00:51 -07:00
|
|
|
*/
|
2022-10-16 20:44:02 -07:00
|
|
|
float luaGauges[LUA_GAUGE_COUNT];
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: V
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 692
|
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@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: kg/h
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 694
|
2022-10-24 09:46:53 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<uint16_t, 10, 1> mafMeasured2 = (uint16_t)0;
|
2024-01-07 11:55:51 -08:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 696
|
2024-01-07 11:55:51 -08:00
|
|
|
*/
|
|
|
|
uint16_t schedulingUsedCount = (uint16_t)0;
|
2022-12-10 15:01:38 -08:00
|
|
|
/**
|
2023-04-22 13:22:57 -07:00
|
|
|
* @@GAUGE_NAME_VVS@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: kph
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 698
|
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
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: %
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 700
|
2022-09-04 22:33:14 -07:00
|
|
|
*/
|
2023-05-05 14:49:32 -07:00
|
|
|
scaled_channel<uint16_t, 100, 1> Gego = (uint16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: count
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 702
|
2023-05-05 14:49:32 -07:00
|
|
|
*/
|
2023-09-18 05:58:40 -07:00
|
|
|
uint16_t testBenchIter = (uint16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg C
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 704
|
2023-09-18 05:58:40 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 100, 1> oilTemp = (int16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg C
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 706
|
2023-09-18 05:58:40 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 100, 1> fuelTemp = (int16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg C
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 708
|
2023-09-18 05:58:40 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 100, 1> ambientTemp = (int16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: deg C
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 710
|
2023-09-18 05:58:40 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 100, 1> compressorDischargeTemp = (int16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: kPa
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 712
|
2023-09-18 05:58:40 -07:00
|
|
|
*/
|
2023-10-05 06:42:39 -07:00
|
|
|
scaled_channel<uint16_t, 30, 1> compressorDischargePressure = (uint16_t)0;
|
2023-05-25 07:12:10 -07:00
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: kPa
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 714
|
2023-10-05 06:42:39 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<uint16_t, 30, 1> throttleInletPressure = (uint16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: sec
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 716
|
2023-10-05 06:42:39 -07:00
|
|
|
*/
|
|
|
|
uint16_t ignitionOnTime = (uint16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: sec
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 718
|
2023-10-05 06:42:39 -07:00
|
|
|
*/
|
|
|
|
uint16_t engineRunTime = (uint16_t)0;
|
|
|
|
/**
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: km
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 720
|
2023-10-05 06:42:39 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<uint16_t, 10, 1> distanceTraveled = (uint16_t)0;
|
|
|
|
/**
|
2023-10-06 18:03:09 -07:00
|
|
|
* @@GAUGE_NAME_AFR_GAS_SCALE@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: AFR
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 722
|
2023-05-25 07:12:10 -07:00
|
|
|
*/
|
2023-10-06 18:03:09 -07:00
|
|
|
scaled_channel<uint16_t, 1000, 1> afrGasolineScale = (uint16_t)0;
|
|
|
|
/**
|
|
|
|
* @@GAUGE_NAME_AFR2_GAS_SCALE@@
|
2024-01-03 12:32:11 -08:00
|
|
|
* units: AFR
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 724
|
2023-10-06 18:03:09 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<uint16_t, 1000, 1> afr2GasolineScale = (uint16_t)0;
|
|
|
|
/**
|
2024-01-07 11:55:51 -08:00
|
|
|
* need 4 byte alignment
|
|
|
|
* units: units
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 726
|
2023-10-06 18:03:09 -07:00
|
|
|
*/
|
2024-09-04 19:29:18 -07:00
|
|
|
uint8_t alignmentFill_at_726[2];
|
2023-12-30 20:29:17 -08:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 728
|
2023-12-30 20:29:17 -08:00
|
|
|
*/
|
2024-01-07 11:55:51 -08:00
|
|
|
float wheelSlipRatio = (float)0;
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 732
|
2024-01-07 11:55:51 -08:00
|
|
|
*/
|
2024-01-04 07:22:28 -08:00
|
|
|
uint8_t ignitorDiagnostic[MAX_CYLINDER_COUNT];
|
2024-01-04 06:35:55 -08:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 744
|
2024-01-04 06:35:55 -08:00
|
|
|
*/
|
2024-01-04 07:22:28 -08:00
|
|
|
uint8_t injectorDiagnostic[MAX_CYLINDER_COUNT];
|
2024-01-04 06:35:55 -08:00
|
|
|
/**
|
2024-01-07 19:07:40 -08:00
|
|
|
* @@GAUGE_NAME_FUEL_LAST_INJECTION_STAGE_2@@
|
|
|
|
* units: ms
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 756
|
2024-01-04 06:35:55 -08:00
|
|
|
*/
|
2024-01-07 19:07:40 -08:00
|
|
|
scaled_channel<uint16_t, 300, 1> actualLastInjectionStage2 = (uint16_t)0;
|
|
|
|
/**
|
|
|
|
* @@GAUGE_NAME_FUEL_INJ_DUTY_STAGE_2@@
|
|
|
|
* units: %
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 758
|
2024-01-07 19:07:40 -08:00
|
|
|
*/
|
|
|
|
scaled_channel<uint8_t, 2, 1> injectorDutyCycleStage2 = (uint8_t)0;
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 759
|
2024-01-07 19:07:40 -08:00
|
|
|
*/
|
2024-11-18 18:13:32 -08:00
|
|
|
uint8_t rawFlexFreq = (uint8_t)0;
|
2024-01-07 19:07:40 -08:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 760
|
2024-01-07 19:07:40 -08:00
|
|
|
*/
|
2024-04-22 10:36:11 -07:00
|
|
|
uint8_t fastAdcErrorsCount = (uint8_t)0;
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 761
|
2024-04-22 10:36:11 -07:00
|
|
|
*/
|
2024-04-23 05:22:33 -07:00
|
|
|
uint8_t deviceUid = (uint8_t)0;
|
2024-04-22 16:55:10 -07:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 762
|
2024-04-22 16:55:10 -07:00
|
|
|
*/
|
2024-07-19 10:48:48 -07:00
|
|
|
uint16_t mc33810spiErrorCounter = (uint16_t)0;
|
2024-04-22 21:14:09 -07:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 764
|
2024-04-22 21:14:09 -07:00
|
|
|
*/
|
2024-05-07 09:07:27 -07:00
|
|
|
uint8_t sadDwellRatioCounter = (uint8_t)0;
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 765
|
2024-05-07 09:07:27 -07:00
|
|
|
*/
|
2024-05-20 10:20:53 -07:00
|
|
|
uint8_t injectionPrimingCounter = (uint8_t)0;
|
2024-07-06 20:21:01 -07:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 766
|
2024-07-06 20:21:01 -07:00
|
|
|
*/
|
|
|
|
uint8_t tempLogging2 = (uint8_t)0;
|
2024-05-20 10:20:53 -07:00
|
|
|
/**
|
2024-06-22 10:17:39 -07:00
|
|
|
* need 4 byte alignment
|
|
|
|
* units: units
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 767
|
2024-05-20 10:20:53 -07:00
|
|
|
*/
|
2024-09-04 19:29:18 -07:00
|
|
|
uint8_t alignmentFill_at_767[1];
|
2024-05-08 07:38:20 -07:00
|
|
|
/**
|
2024-06-22 10:17:39 -07:00
|
|
|
* @@GAUGE_NAME_AC_PRESSURE@@
|
|
|
|
* units: kPa
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 768
|
2024-06-22 10:17:39 -07:00
|
|
|
*/
|
|
|
|
float acPressure = (float)0;
|
|
|
|
/**
|
2024-06-24 19:22:16 -07:00
|
|
|
* units: V
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 772
|
2024-05-07 09:07:27 -07:00
|
|
|
*/
|
2024-06-24 19:22:16 -07:00
|
|
|
scaled_channel<int16_t, 1000, 1> rawAuxAnalog1 = (int16_t)0;
|
|
|
|
/**
|
|
|
|
* units: V
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 774
|
2024-06-24 19:22:16 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 1000, 1> rawAuxAnalog2 = (int16_t)0;
|
|
|
|
/**
|
|
|
|
* units: V
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 776
|
2024-06-24 19:22:16 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 1000, 1> rawAuxAnalog3 = (int16_t)0;
|
|
|
|
/**
|
|
|
|
* units: V
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 778
|
2024-06-24 19:22:16 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 1000, 1> rawAuxAnalog4 = (int16_t)0;
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 780
|
2024-06-24 19:22:16 -07:00
|
|
|
*/
|
2024-07-11 06:40:03 -07:00
|
|
|
uint8_t fastAdcErrorCallbackCount = (uint8_t)0;
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 781
|
2024-07-11 06:40:03 -07:00
|
|
|
*/
|
|
|
|
uint8_t slowAdcErrorsCount = (uint8_t)0;
|
|
|
|
/**
|
2024-07-16 12:59:01 -07:00
|
|
|
* units: V
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 782
|
2024-07-11 06:40:03 -07:00
|
|
|
*/
|
2024-07-16 12:59:01 -07:00
|
|
|
scaled_channel<int16_t, 1000, 1> rawAuxTemp1 = (int16_t)0;
|
|
|
|
/**
|
|
|
|
* units: V
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 784
|
2024-07-16 12:59:01 -07:00
|
|
|
*/
|
|
|
|
scaled_channel<int16_t, 1000, 1> rawAuxTemp2 = (int16_t)0;
|
|
|
|
/**
|
2024-07-19 16:45:57 -07:00
|
|
|
* units: V
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 786
|
2024-07-16 12:59:01 -07:00
|
|
|
*/
|
2024-07-19 16:45:57 -07:00
|
|
|
scaled_channel<int16_t, 1000, 1> rawAmbientTemp = (int16_t)0;
|
2024-07-11 06:40:03 -07:00
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 788
|
2024-07-11 06:40:03 -07:00
|
|
|
*/
|
2024-08-28 18:24:26 -07:00
|
|
|
uint32_t rtcUnixEpochTime = (uint32_t)0;
|
|
|
|
/**
|
2024-09-04 19:29:18 -07:00
|
|
|
* offset 792
|
2024-08-28 18:24:26 -07:00
|
|
|
*/
|
2024-10-31 14:59:36 -07:00
|
|
|
int8_t sparkCutReasonBlinker = (int8_t)0;
|
|
|
|
/**
|
|
|
|
* offset 793
|
|
|
|
*/
|
|
|
|
int8_t fuelCutReasonBlinker = (int8_t)0;
|
|
|
|
/**
|
|
|
|
* offset 794
|
|
|
|
*/
|
|
|
|
uint8_t unusedAtTheEnd[52];
|
|
|
|
/**
|
|
|
|
* need 4 byte alignment
|
|
|
|
* units: units
|
|
|
|
* offset 846
|
|
|
|
*/
|
|
|
|
uint8_t alignmentFill_at_846[2];
|
2021-11-17 21:05:27 -08:00
|
|
|
};
|
2024-09-04 19:29:18 -07:00
|
|
|
static_assert(sizeof(output_channels_s) == 848);
|
2021-11-17 21:05:27 -08:00
|
|
|
|
|
|
|
// end
|
2024-09-04 19:29:18 -07:00
|
|
|
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) console/binary/output_channels.txt
|