2023-08-08 02:12:28 -07:00
// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) console/binary/output_channels.txt Tue Aug 08 09:10:41 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
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
/**
offset 0 bit 10 */
2022-09-19 19:05:56 -07:00
bool unusedBitLAtwfs : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
2023-05-04 19:22:07 -07:00
* Tooth Logger Ready
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
/**
2023-05-04 19:22:07 -07:00
* Error : TPS
2021-11-17 21:05:27 -08:00
offset 0 bit 12 */
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
2021-11-17 21:05:27 -08:00
offset 0 bit 13 */
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
2021-11-17 21:05:27 -08:00
offset 0 bit 14 */
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
2021-11-17 21:05:27 -08:00
offset 0 bit 15 */
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
2021-11-17 21:05:27 -08:00
offset 0 bit 16 */
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
2021-11-17 21:05:27 -08:00
offset 0 bit 17 */
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
2021-11-17 21:05:27 -08:00
offset 0 bit 18 */
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
2021-11-17 21:05:27 -08:00
offset 0 bit 19 */
2023-05-04 18:28:25 -07:00
bool isPedalError : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 20 */
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
2021-11-17 21:05:27 -08:00
offset 0 bit 21 */
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
2021-11-17 21:05:27 -08:00
offset 0 bit 22 */
2023-05-04 18:28:25 -07:00
bool isTps2Error : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
2023-05-04 19:54:48 -07:00
* Idle : Closed Loop
2021-11-17 21:05:27 -08:00
offset 0 bit 23 */
2023-05-04 18:28:25 -07:00
bool isIdleClosedLoop : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
2023-05-04 19:22:07 -07:00
* Injector Fault
2021-11-17 21:05:27 -08:00
offset 0 bit 24 */
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
2021-11-17 21:05:27 -08:00
offset 0 bit 25 */
2023-05-04 19:22:07 -07:00
bool ignitionFault : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 26 */
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
2021-11-17 21:05:27 -08:00
offset 0 bit 27 */
2023-08-08 02:12:28 -07:00
bool isUsbConnected : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 28 */
2023-08-08 02:12:28 -07:00
bool dfcoActive : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 29 */
2023-08-08 02:12:28 -07:00
bool unusedBit_29_29 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 30 */
2023-08-08 02:12:28 -07:00
bool unusedBit_29_30 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
offset 0 bit 31 */
2023-08-08 02:12:28 -07:00
bool unusedBit_29_31 : 1 { } ;
2021-11-17 21:05:27 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_RPM @ @
2021-11-26 18:54:31 -08:00
RPM
2021-11-17 21:05:27 -08:00
* offset 4
*/
2022-10-11 18:03:24 -07:00
uint16_t RPMValue = ( uint16_t ) 0 ;
2021-11-17 21:05:27 -08:00
/**
2021-11-28 11:10:13 -08:00
* dRPM
2023-05-04 18:28:25 -07:00
RPM acceleration
2021-11-17 21:05:27 -08:00
* offset 6
*/
2022-10-11 18:03:24 -07:00
uint16_t rpmAcceleration = ( uint16_t ) 0 ;
2021-11-20 10:30:25 -08:00
/**
2022-01-15 14:45:28 -08:00
* @ @ GAUGE_NAME_GEAR_RATIO @ @
2021-11-26 18:54:31 -08:00
value
2021-11-20 10:30:25 -08:00
* offset 8
*/
2021-11-20 11:27:21 -08:00
scaled_channel < uint16_t , 100 , 1 > speedToRpmRatio = ( uint16_t ) 0 ;
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_VVS @ @
2021-11-26 18:54:31 -08:00
kph
2022-04-24 21:01:07 -07:00
* offset 10
2021-11-20 11:27:21 -08:00
*/
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 @ @
2021-11-26 18:54:31 -08:00
deg C
2022-04-24 21:01:07 -07:00
* offset 11
2021-11-20 10:30:25 -08:00
*/
2022-10-11 18:03:24 -07:00
int8_t internalMcuTemperature = ( int8_t ) 0 ;
2021-11-20 10:30:25 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_CLT @ @
2021-11-26 18:54:31 -08:00
deg C
2022-04-24 21:01:07 -07:00
* offset 12
2021-11-20 10:30:25 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > coolant = ( int16_t ) 0 ;
2021-11-20 10:30:25 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_IAT @ @
2021-11-26 18:54:31 -08:00
deg C
2022-04-24 21:01:07 -07:00
* offset 14
2021-11-20 10:30:25 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > intake = ( int16_t ) 0 ;
2021-11-20 11:38:50 -08:00
/**
2021-11-26 18:54:31 -08:00
deg C
2022-04-24 21:01:07 -07:00
* offset 16
2021-11-20 11:38:50 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > auxTemp1 = ( int16_t ) 0 ;
2021-11-20 11:38:50 -08:00
/**
2021-11-26 18:54:31 -08:00
deg C
2022-04-24 21:01:07 -07:00
* offset 18
2021-11-20 11:38:50 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > auxTemp2 = ( int16_t ) 0 ;
2021-11-20 11:38:50 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_TPS @ @
2021-11-27 07:01:17 -08:00
%
2022-04-24 21:01:07 -07:00
* offset 20
2021-11-20 11:38:50 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > TPSValue = ( int16_t ) 0 ;
2021-11-20 11:38:50 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_THROTTLE_PEDAL @ @
2021-11-27 07:01:17 -08:00
%
2022-04-24 21:01:07 -07:00
* offset 22
2021-11-20 11:38:50 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > throttlePedalPosition = ( int16_t ) 0 ;
2021-11-20 11:38:50 -08:00
/**
2021-11-27 07:01:17 -08:00
ADC
2022-04-24 21:01:07 -07:00
* offset 24
2021-11-20 11:38:50 -08:00
*/
2022-10-11 18:03:24 -07:00
uint16_t tpsADC = ( uint16_t ) 0 ;
2021-11-20 11:38:50 -08:00
/**
2021-11-27 07:01:17 -08:00
V
2022-04-24 21:01:07 -07:00
* offset 26
2021-11-20 11:38:50 -08:00
*/
2022-01-12 13:38:47 -08:00
scaled_channel < uint16_t , 1000 , 1 > rawMaf = ( uint16_t ) 0 ;
2021-11-21 06:35:37 -08:00
/**
2022-01-12 13:38:47 -08:00
* @ @ GAUGE_NAME_AIR_FLOW_MEASURED @ @
kg / h
2022-04-24 21:01:07 -07:00
* offset 28
2021-11-21 06:35:37 -08:00
*/
2022-01-12 13:38:47 -08:00
scaled_channel < uint16_t , 10 , 1 > mafMeasured = ( uint16_t ) 0 ;
2021-11-21 06:35:37 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_MAP @ @
2021-11-27 07:01:17 -08:00
kPa
2022-04-24 21:01:07 -07:00
* offset 30
2021-11-21 06:35:37 -08:00
*/
2021-11-26 18:54:31 -08:00
scaled_channel < uint16_t , 30 , 1 > MAPValue = ( uint16_t ) 0 ;
2021-11-21 06:35:37 -08:00
/**
2021-11-27 07:01:17 -08:00
kPa
2022-04-24 21:01:07 -07:00
* offset 32
2021-11-21 06:35:37 -08:00
*/
scaled_channel < uint16_t , 30 , 1 > baroPressure = ( uint16_t ) 0 ;
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_LAMBDA @ @
2022-04-24 21:01:07 -07:00
* offset 34
2021-11-21 06:35:37 -08:00
*/
2021-11-26 18:54:31 -08:00
scaled_channel < uint16_t , 10000 , 1 > lambdaValue = ( uint16_t ) 0 ;
2021-11-21 06:35:37 -08:00
/**
2023-05-04 18:28:25 -07:00
* @ @ GAUGE_NAME_KNOCK_RETARD @ @
deg
2022-04-24 21:01:07 -07:00
* offset 36
2021-11-21 06:35:37 -08:00
*/
2023-05-04 18:28:25 -07:00
scaled_channel < uint8_t , 10 , 1 > knockRetard = ( 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
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_VBAT @ @
2021-11-27 09:28:59 -08:00
V
2022-04-24 21:01:07 -07:00
* offset 38
2021-11-21 06:35:37 -08:00
*/
2021-11-26 18:54:31 -08:00
scaled_channel < uint16_t , 1000 , 1 > VBatt = ( uint16_t ) 0 ;
2021-11-26 12:53:01 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_OIL_PRESSURE @ @
2021-11-27 09:28:59 -08:00
kPa
2022-04-24 21:01:07 -07:00
* offset 40
2021-11-26 12:53:01 -08:00
*/
scaled_channel < uint16_t , 30 , 1 > oilPressure = ( uint16_t ) 0 ;
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_VVT_B1I @ @
2021-11-27 07:01:17 -08:00
deg
2022-04-24 21:01:07 -07:00
* offset 42
2021-11-26 12:53:01 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 50 , 1 > vvtPositionB1I = ( int16_t ) 0 ;
2021-11-26 15:16:06 -08:00
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_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
2023-05-05 10:57:39 -07:00
* offset 44
2021-11-26 15:16:06 -08:00
*/
scaled_channel < uint16_t , 300 , 1 > actualLastInjection = ( uint16_t ) 0 ;
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_FUEL_INJ_DUTY @ @
2021-11-27 09:28:59 -08:00
%
2023-05-05 10:57:39 -07:00
* offset 46
2021-11-26 15:16:06 -08:00
*/
scaled_channel < uint8_t , 2 , 1 > injectorDutyCycle = ( uint8_t ) 0 ;
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_FUEL_VE @ @
2021-11-27 09:28:59 -08:00
ratio
2023-05-05 10:57:39 -07:00
* offset 47
2021-11-26 15:16:06 -08:00
*/
scaled_channel < uint8_t , 2 , 1 > veValue = ( uint8_t ) 0 ;
/**
2023-05-04 15:44:35 -07:00
* @ @ GAUGE_NAME_FUEL_INJECTION_TIMING @ @
2021-11-27 09:28:59 -08:00
deg
2023-05-05 10:57:39 -07:00
* offset 48
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 @ @
crc16
2023-07-03 09:39:36 -07:00
* offset 50
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
2023-07-03 09:39:36 -07:00
* offset 52
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
2023-07-03 09:39:36 -07:00
* offset 54
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-07-03 09:39:36 -07:00
* offset 56
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-07-03 09:39:36 -07:00
* offset 58
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 @ @
2021-11-27 09:28:59 -08:00
ms
2023-07-03 09:39:36 -07:00
* offset 60
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-07-03 09:39:36 -07:00
* offset 62
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-07-03 09:39:36 -07:00
* offset 63
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 @ @
2021-11-27 09:28:59 -08:00
%
2023-07-03 09:39:36 -07:00
* offset 64
2021-11-26 15:49:16 -08:00
*/
scaled_channel < uint16_t , 100 , 1 > coilDutyCycle = ( uint16_t ) 0 ;
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_IAC @ @
2021-11-27 09:28:59 -08:00
%
2023-07-03 09:39:36 -07:00
* offset 66
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-07-03 09:39:36 -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 > etbTarget = ( int16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_ETB_DUTY @ @
2021-11-27 09:28:59 -08:00
%
2023-07-03 09:39:36 -07:00
* offset 70
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-07-03 09:39:36 -07:00
* offset 72
2021-11-26 15:49:16 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > fuelTankLevel = ( int16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2021-11-28 14:04:46 -08:00
* @ @ GAUGE_NAME_FUEL_CONSUMPTION @ @
2021-11-27 09:28:59 -08:00
grams
2023-07-03 09:39:36 -07:00
* offset 74
2021-11-26 15:49:16 -08:00
*/
2022-10-11 18:03:24 -07:00
uint16_t totalFuelConsumption = ( uint16_t ) 0 ;
2021-11-26 15:49:16 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_FUEL_FLOW @ @
2021-11-27 09:28:59 -08:00
gram / s
2023-07-03 09:39:36 -07:00
* offset 76
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-07-03 09:39:36 -07:00
* offset 78
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-07-03 09:39:36 -07:00
* offset 80
2022-09-03 14:43:03 -07:00
*/
2022-11-05 17:28:03 -07:00
uint16_t tuneCrc16 = ( uint16_t ) 0 ;
2023-07-03 09:39:36 -07:00
/**
* need 4 byte alignment
units
* offset 82
*/
uint8_t alignmentFill_at_82 [ 2 ] ;
2021-11-26 16:14:11 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_KNOCK_LEVEL @ @
2021-11-27 10:05:44 -08:00
Volts
2023-05-05 14:07:41 -07:00
* offset 84
2021-11-26 16:14:11 -08:00
*/
2022-10-11 18:03:24 -07:00
float knockLevel = ( float ) 0 ;
2021-11-26 16:14:11 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_UPTIME @ @
2021-11-27 10:05:44 -08:00
sec
2023-05-05 14:07:41 -07:00
* offset 88
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-05-05 14:07:41 -07:00
* offset 92
2021-11-26 16:14:11 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t engineMode = ( uint32_t ) 0 ;
2021-11-26 16:14:11 -08:00
/**
2021-11-28 11:10:13 -08:00
* @ @ GAUGE_NAME_VERSION @ @
2021-11-27 10:05:44 -08:00
version_f
2023-05-05 14:07:41 -07:00
* offset 96
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-05-05 14:07:41 -07:00
* offset 100
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-05-05 14:07:41 -07:00
* offset 102
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-05-05 14:07:41 -07:00
* offset 104
2022-11-05 17:28:03 -07:00
*/
scaled_channel < int16_t , 100 , 1 > accelerationX = ( int16_t ) 0 ;
/**
* @ @ GAUGE_NAME_ACCEL_Y @ @
G
2023-05-05 14:07:41 -07:00
* offset 106
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-05-04 18:47:08 -07:00
* @ @ GAUGE_NAME_DETECTED_GEAR @ @
2023-05-05 14:07:41 -07:00
* offset 108
2021-11-26 16:14:11 -08:00
*/
2023-05-04 18:47:08 -07:00
uint8_t detectedGear = ( uint8_t ) 0 ;
/**
2023-05-05 14:07:41 -07:00
* offset 109
2023-05-04 18:47:08 -07:00
*/
uint8_t maxTriggerReentrant = ( uint8_t ) 0 ;
2023-05-05 10:57:39 -07:00
/**
V
2023-05-05 14:07:41 -07:00
* offset 110
2023-05-05 10:57:39 -07:00
*/
scaled_channel < int16_t , 1000 , 1 > rawLowFuelPressure = ( int16_t ) 0 ;
/**
V
2023-05-05 14:07:41 -07:00
* offset 112
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 @ @
kpa
2023-05-05 14:07:41 -07:00
* offset 114
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 @ @
gear
2023-05-05 14:07:41 -07:00
* offset 116
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 @ @
%
2023-05-05 14:07:41 -07:00
* offset 117
2023-05-05 11:01:50 -07:00
*/
scaled_channel < uint8_t , 2 , 1 > flexPercent = ( uint8_t ) 0 ;
/**
* @ @ GAUGE_NAME_WG_POSITION @ @
%
2023-05-05 14:07:41 -07:00
* offset 118
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 @ @
bar
2023-05-05 14:14:03 -07:00
* offset 120
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 ;
/**
* need 4 byte alignment
units
2023-05-05 14:14:03 -07:00
* offset 122
2023-05-04 18:47:08 -07:00
*/
2023-05-05 14:14:03 -07:00
uint8_t alignmentFill_at_122 [ 2 ] ;
/**
* offset 124
*/
uint32_t tsConfigVersion = ( uint32_t ) 0 ;
2023-05-04 16:47:44 -07:00
/**
2023-05-05 14:07:41 -07:00
* offset 128
2023-05-04 16:47:44 -07:00
*/
2023-05-04 18:47:08 -07:00
float calibrationValue = ( float ) 0 ;
/**
2023-05-05 14:07:41 -07:00
* offset 132
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-05-05 14:07:41 -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
/**
2023-05-04 18:47:08 -07:00
* need 4 byte alignment
units
2023-05-05 14:07:41 -07:00
* offset 134
2021-11-26 17:53:22 -08:00
*/
2023-05-05 14:07:41 -07:00
uint8_t alignmentFill_at_134 [ 2 ] ;
2021-11-26 17:53:22 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_TRG_ERR @ @
2021-11-27 10:05:44 -08:00
counter
2023-05-05 14:07:41 -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-05-05 14:07:41 -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 ;
2023-05-04 16:16:33 -07:00
/**
* @ @ GAUGE_NAME_WARNING_COUNTER @ @
count
2023-05-05 14:07:41 -07:00
* offset 144
2023-05-04 16:16:33 -07:00
*/
uint16_t warningCounter = ( uint16_t ) 0 ;
/**
* @ @ GAUGE_NAME_WARNING_LAST @ @
error
2023-05-05 14:07:41 -07:00
* offset 146
2023-05-04 16:16:33 -07:00
*/
uint16_t lastErrorCode = ( uint16_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
error
2023-05-05 14:07:41 -07:00
* offset 148
2021-11-26 17:53:22 -08:00
*/
2021-11-27 15:34:47 -08:00
uint16_t recentErrorCode [ 8 ] ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2023-05-05 14:07:41 -07:00
* offset 164
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField1 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2023-05-05 14:07:41 -07:00
* offset 168
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField2 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2023-05-05 14:07:41 -07:00
* offset 172
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField3 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2023-05-05 14:07:41 -07:00
* offset 176
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField4 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2023-05-05 14:07:41 -07:00
* offset 180
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField5 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2023-05-05 14:07:41 -07:00
* offset 184
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField6 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2023-05-05 14:07:41 -07:00
* offset 188
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
float debugFloatField7 = ( float ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2023-05-05 14:07:41 -07:00
* offset 192
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t debugIntField1 = ( uint32_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2023-05-05 14:07:41 -07:00
* offset 196
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t debugIntField2 = ( uint32_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2023-05-05 14:07:41 -07:00
* offset 200
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
uint32_t debugIntField3 = ( uint32_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2023-05-05 14:07:41 -07:00
* offset 204
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
int16_t debugIntField4 = ( int16_t ) 0 ;
2021-11-26 17:53:22 -08:00
/**
2021-11-27 10:05:44 -08:00
val
2023-05-05 14:07:41 -07:00
* offset 206
2021-11-26 17:53:22 -08:00
*/
2022-10-11 18:03:24 -07:00
int16_t debugIntField5 = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2023-05-04 18:47:08 -07:00
* EGT
2021-11-27 10:05:44 -08:00
deg C
2023-05-05 14:07:41 -07:00
* offset 208
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-05-05 14:07:41 -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 > rawTps1Primary = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2023-05-05 14:07:41 -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 > rawPpsPrimary = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2023-05-05 14:07:41 -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 > rawClt = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2023-05-05 14:07:41 -07:00
* offset 230
2021-11-26 18:03:45 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawIat = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-27 10:36:37 -08:00
V
2023-05-05 14:07:41 -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 > rawOilPressure = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2023-05-05 14:07:41 -07:00
* offset 234
2021-11-26 18:03:45 -08:00
*/
2022-10-11 18:03:24 -07:00
uint8_t fuelClosedLoopBinIdx = ( uint8_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2021-11-28 13:10:09 -08:00
* @ @ GAUGE_NAME_CURRENT_GEAR @ @
2021-11-27 10:36:37 -08:00
gear
2023-05-05 14:07:41 -07:00
* offset 235
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-05-05 14:07:41 -07:00
* offset 236
2021-11-26 18:03:45 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 1000 , 1 > rawPpsSecondary = ( int16_t ) 0 ;
2021-11-26 18:03:45 -08:00
/**
2023-05-04 15:44:35 -07:00
* Knock : Cyl
2022-03-24 06:05:35 -07:00
dBv
2023-05-05 14:07:41 -07:00
* offset 238
2021-11-26 18:03:45 -08:00
*/
2022-10-11 18:03:24 -07:00
int8_t knock [ 12 ] ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 14:04:46 -08:00
* @ @ GAUGE_NAME_IDLE_POSITION @ @
2021-11-27 10:36:37 -08:00
%
2023-05-05 14:07:41 -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-28 11:40:03 -08:00
* @ @ GAUGE_NAME_AFR @ @
2021-11-27 10:36:37 -08:00
AFR
2023-05-05 14:07:41 -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 > 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-05-05 14:07:41 -07:00
* offset 254
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 @ @
2023-05-05 14:07:41 -07:00
* offset 256
2021-11-26 18:10:09 -08:00
*/
2021-11-27 15:34:47 -08:00
scaled_channel < uint16_t , 10000 , 1 > lambdaValue2 = ( uint16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 11:40:03 -08:00
* @ @ GAUGE_NAME_AFR2 @ @
2021-11-27 10:36:37 -08:00
AFR
2023-05-05 14:07:41 -07:00
* offset 258
2021-11-26 18:10:09 -08:00
*/
2021-11-27 10:36:37 -08:00
scaled_channel < uint16_t , 1000 , 1 > AFRValue2 = ( uint16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_VVT_B1E @ @
2021-11-27 07:01:17 -08:00
deg
2023-05-05 14:07:41 -07:00
* offset 260
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 50 , 1 > vvtPositionB1E = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_VVT_B2I @ @
2021-11-27 07:01:17 -08:00
deg
2023-05-05 14:07:41 -07:00
* offset 262
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 50 , 1 > vvtPositionB2I = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_VVT_B2E @ @
2021-11-27 07:01:17 -08:00
deg
2023-05-05 14:07:41 -07:00
* offset 264
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
2021-11-27 10:36:37 -08:00
%
2023-05-05 14:07:41 -07:00
* offset 266
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-05-05 14:07:41 -07:00
* offset 270
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-05-05 14:07:41 -07:00
* offset 272
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-05-05 14:07:41 -07:00
* offset 274
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
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_ACCEL_Z @ @
2021-11-27 10:05:44 -08:00
G
2023-05-05 14:07:41 -07:00
* offset 276
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > accelerationZ = ( int16_t ) 0 ;
2021-11-26 18:10:09 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_ACCEL_ROLL @ @
2022-03-24 06:05:35 -07:00
G
2023-05-05 14:07:41 -07:00
* offset 278
2021-11-26 18:10:09 -08:00
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > accelerationRoll = ( int16_t ) 0 ;
2021-11-26 18:21:46 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_ACCEL_YAW @ @
2022-03-24 06:05:35 -07:00
G
2023-05-05 14:07:41 -07:00
* offset 280
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-05-05 14:07:41 -07:00
* offset 282
2021-11-26 18:21:46 -08:00
*/
2022-10-11 18:03:24 -07:00
int8_t vvtTargets [ 4 ] ;
2021-11-26 18:21:46 -08:00
/**
2021-11-28 13:36:30 -08:00
* @ @ GAUGE_NAME_TURBO_SPEED @ @
2021-11-27 10:36:37 -08:00
hz
2023-05-05 14:07:41 -07:00
* offset 286
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
deg
2023-05-05 14:07:41 -07:00
* offset 288
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 ] ;
/**
%
* offset 312
*/
2021-12-21 15:15:00 -08:00
scaled_channel < int16_t , 100 , 1 > tps1Split = ( int16_t ) 0 ;
/**
%
2023-05-31 14:17:53 -07:00
* offset 314
2021-12-21 15:15:00 -08:00
*/
scaled_channel < int16_t , 100 , 1 > tps2Split = ( int16_t ) 0 ;
/**
%
2023-05-31 14:17:53 -07:00
* offset 316
2021-12-21 15:15:00 -08:00
*/
scaled_channel < int16_t , 100 , 1 > tps12Split = ( int16_t ) 0 ;
/**
%
2023-05-31 14:17:53 -07:00
* offset 318
2021-12-21 15:15:00 -08:00
*/
scaled_channel < int16_t , 100 , 1 > accPedalSplit = ( int16_t ) 0 ;
2021-12-30 14:59:03 -08:00
/**
2023-05-05 14:46:03 -07:00
* Ign : Cut Code
2022-01-08 19:13:20 -08:00
code
2023-05-31 14:17:53 -07:00
* offset 320
2021-12-30 14:59:03 -08:00
*/
2022-10-11 18:03:24 -07:00
int8_t sparkCutReason = ( int8_t ) 0 ;
2022-01-08 19:13:20 -08:00
/**
2023-05-05 14:46:03 -07:00
* Fuel : Cut Code
2022-01-08 19:13:20 -08:00
code
2023-05-31 14:17:53 -07:00
* offset 321
2022-01-08 19:13:20 -08:00
*/
2022-10-11 18:03:24 -07:00
int8_t fuelCutReason = ( int8_t ) 0 ;
2022-01-01 14:17:56 -08:00
/**
2022-01-12 13:38:47 -08:00
* @ @ GAUGE_NAME_AIR_FLOW_ESTIMATE @ @
kg / h
2023-05-31 14:17:53 -07:00
* offset 322
2022-01-01 14:17:56 -08:00
*/
2022-01-12 13:38:47 -08:00
scaled_channel < uint16_t , 10 , 1 > mafEstimate = ( uint16_t ) 0 ;
/**
2023-03-30 19:46:09 -07:00
* sync : instant RPM
2022-01-12 13:38:47 -08:00
rpm
2023-05-31 14:17:53 -07:00
* offset 324
2022-01-12 13:38:47 -08:00
*/
uint16_t instantRpm = ( uint16_t ) 0 ;
2022-01-17 21:27:20 -08:00
/**
2022-01-21 12:59:16 -08:00
V
2023-05-31 14:17:53 -07:00
* offset 326
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-05-31 14:17:53 -07:00
* offset 328
2022-01-17 21:43:37 -08:00
*/
2022-01-21 12:59:16 -08:00
scaled_channel < uint16_t , 1000 , 1 > rawAfr = ( uint16_t ) 0 ;
/**
2023-05-05 14:07:41 -07:00
* need 4 byte alignment
units
2023-05-31 14:17:53 -07:00
* offset 330
2022-01-27 05:02:18 -08:00
*/
2023-05-31 14:17:53 -07:00
uint8_t alignmentFill_at_330 [ 2 ] ;
2023-04-12 07:18:49 -07:00
/**
2023-05-31 14:17:53 -07:00
* offset 332
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
2022-02-10 17:24:16 -08:00
count
2023-08-08 02:12:28 -07:00
* offset 336
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
2022-02-10 17:24:16 -08:00
nt
2023-08-08 02:12:28 -07:00
* offset 340
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-08-08 02:12:28 -07:00
* offset 344
2022-02-10 17:24:16 -08:00
*/
2022-03-08 17:32:57 -08:00
uint8_t testBenchIter = ( uint8_t ) 0 ;
/**
2023-05-05 14:46:03 -07:00
* " TCU: Current Range "
2023-08-08 02:12:28 -07:00
* offset 345
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-08-08 02:12:28 -07:00
* offset 346
2022-04-23 04:41:19 -07:00
*/
scaled_channel < uint16_t , 100 , 1 > tcRatio = ( uint16_t ) 0 ;
/**
2023-08-08 02:12:28 -07:00
* offset 348
2022-04-23 04:41:19 -07:00
*/
float lastShiftTime = ( float ) 0 ;
/**
2023-08-08 02:12:28 -07:00
* offset 352
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-08-08 02:12:28 -07:00
* offset 356
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-08-08 02:12:28 -07:00
* offset 360
2022-03-20 17:20:26 -07:00
*/
scaled_channel < int16_t , 100 , 1 > auxLinear1 = ( int16_t ) 0 ;
/**
* @ @ GAUGE_NAME_AUX_LINEAR_2 @ @
2023-08-08 02:12:28 -07:00
* offset 362
2022-03-20 17:20:26 -07:00
*/
scaled_channel < int16_t , 100 , 1 > auxLinear2 = ( int16_t ) 0 ;
2022-01-01 14:17:56 -08:00
/**
2022-03-24 06:05:35 -07:00
kPa
2023-08-08 02:12:28 -07:00
* offset 364
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-08-08 02:12:28 -07:00
* offset 366
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-08-08 02:12:28 -07:00
* offset 368
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 @ @
2023-08-08 02:12:28 -07:00
* offset 370
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 @ @
2023-08-08 02:12:28 -07:00
* offset 372
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-08-08 02:12:28 -07:00
* offset 374
2023-01-16 17:57:05 -08:00
*/
2023-08-08 02:12:28 -07:00
uint8_t alignmentFill_at_374 [ 2 ] ;
2021-11-28 22:00:58 -08:00
/**
2023-08-08 02:12:28 -07:00
* offset 376
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-08-08 02:12:28 -07:00
* offset 380
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-08-08 02:12:28 -07:00
* offset 384
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-08-08 02:12:28 -07:00
* offset 388
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-08-08 02:12:28 -07:00
* offset 392
2021-11-28 22:00:58 -08:00
*/
2023-03-28 17:35:11 -07:00
uint16_t triggerVvtFall = ( uint16_t ) 0 ;
/**
2023-08-08 02:12:28 -07:00
* offset 394
2023-03-28 17:35:11 -07:00
*/
uint16_t triggerVvtRise = ( uint16_t ) 0 ;
2021-11-28 22:00:58 -08:00
/**
2023-08-08 02:12:28 -07:00
* offset 396
2021-11-28 22:00:58 -08:00
*/
2023-03-28 17:35:11 -07:00
uint16_t triggerVvt2Fall = ( uint16_t ) 0 ;
/**
2023-08-08 02:12:28 -07:00
* offset 398
2023-03-28 17:35:11 -07:00
*/
uint16_t triggerVvt2Rise = ( uint16_t ) 0 ;
2021-11-28 22:00:58 -08:00
/**
2023-08-08 02:12:28 -07:00
* offset 400
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-08-08 02:12:28 -07:00
* offset 401
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
2023-08-08 02:12:28 -07:00
* offset 402
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-08-08 02:12:28 -07:00
* offset 403
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-08-08 02:12:28 -07:00
* offset 404
2021-11-28 21:41:48 -08:00
*/
2021-11-28 19:26:23 -08:00
pid_status_s alternatorStatus ;
/**
2023-08-08 02:12:28 -07:00
* offset 420
2021-11-28 19:26:23 -08:00
*/
pid_status_s idleStatus ;
/**
2023-08-08 02:12:28 -07:00
* offset 436
2021-11-28 19:26:23 -08:00
*/
pid_status_s etbStatus ;
2022-03-24 06:05:35 -07:00
/**
2023-08-08 02:12:28 -07:00
* offset 452
2022-03-24 06:05:35 -07:00
*/
pid_status_s boostStatus ;
2022-08-16 21:30:35 -07:00
/**
2023-08-08 02:12:28 -07:00
* offset 468
2022-08-16 21:30:35 -07:00
*/
2023-02-18 19:53:47 -08:00
pid_status_s wastegateDcStatus ;
/**
2023-08-08 02:12:28 -07:00
* offset 484
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
2022-03-28 23:42:16 -07:00
s
2023-08-08 02:12:28 -07:00
* offset 548
2022-03-24 06:05:35 -07:00
*/
2022-03-28 23:42:16 -07:00
uint16_t auxSpeed1 = ( uint16_t ) 0 ;
/**
2023-05-04 18:47:08 -07:00
* Aux speed 2
2022-03-28 23:42:16 -07:00
s
2023-08-08 02:12:28 -07:00
* offset 550
2022-03-28 23:42:16 -07:00
*/
uint16_t auxSpeed2 = ( uint16_t ) 0 ;
/**
2022-04-21 06:14:29 -07:00
* @ @ GAUGE_NAME_ISS @ @
RPM
2023-08-08 02:12:28 -07:00
* offset 552
2022-03-28 23:42:16 -07:00
*/
2022-10-11 18:03:24 -07:00
uint16_t ISSValue = ( uint16_t ) 0 ;
2022-04-21 06:14:29 -07:00
/**
2022-07-15 03:29:23 -07:00
V
2023-08-08 02:12:28 -07:00
* offset 554
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-08-08 02:12:28 -07:00
* offset 570
2022-07-15 03:29:23 -07:00
*/
2022-07-27 02:38:56 -07:00
scaled_channel < uint8_t , 2 , 1 > gppwmOutput [ 4 ] ;
/**
2023-08-08 02:12:28 -07:00
* offset 574
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-08-08 02:12:28 -07:00
* offset 582
2023-02-06 05:15:53 -08:00
*/
scaled_channel < int16_t , 10 , 1 > gppwmYAxis [ 4 ] ;
/**
V
2023-08-08 02:12:28 -07:00
* offset 590
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-08-08 02:12:28 -07:00
* offset 592
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 ] ;
/**
%
2023-08-08 02:12:28 -07:00
* offset 600
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 ] ;
/**
deg
2023-08-08 02:12:28 -07:00
* offset 604
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
/**
2023-08-08 02:12:28 -07:00
* offset 612
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
/**
%
2023-08-08 02:12:28 -07:00
* offset 620
2022-10-19 03:47:20 -07:00
*/
scaled_channel < uint8_t , 2 , 1 > veBlendBias [ VE_BLEND_COUNT ] ;
/**
%
2023-08-08 02:12:28 -07:00
* offset 624
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-08-08 02:12:28 -07:00
* offset 632
2023-05-03 13:02:16 -07:00
*/
scaled_channel < int16_t , 10 , 1 > boostOpenLoopBlendParameter [ BOOST_BLEND_COUNT ] ;
/**
%
2023-08-08 02:12:28 -07:00
* offset 636
2023-05-03 13:02:16 -07:00
*/
scaled_channel < uint8_t , 2 , 1 > boostOpenLoopBlendBias [ BOOST_BLEND_COUNT ] ;
/**
%
2023-08-08 02:12:28 -07:00
* offset 638
2023-05-03 13:02:16 -07:00
*/
scaled_channel < int8_t , 1 , 1 > boostOpenLoopBlendOutput [ BOOST_BLEND_COUNT ] ;
/**
2023-08-08 02:12:28 -07:00
* offset 640
2023-05-03 13:02:16 -07:00
*/
scaled_channel < int16_t , 10 , 1 > boostClosedLoopBlendParameter [ BOOST_BLEND_COUNT ] ;
/**
%
2023-08-08 02:12:28 -07:00
* offset 644
2023-05-03 13:02:16 -07:00
*/
scaled_channel < uint8_t , 2 , 1 > boostClosedLoopBlendBias [ BOOST_BLEND_COUNT ] ;
/**
%
2023-08-08 02:12:28 -07:00
* offset 646
2023-05-03 13:02:16 -07:00
*/
scaled_channel < int16_t , 10 , 1 > boostClosedLoopBlendOutput [ BOOST_BLEND_COUNT ] ;
/**
* need 4 byte alignment
units
2023-08-08 02:12:28 -07:00
* offset 650
2023-05-03 13:02:16 -07:00
*/
2023-08-08 02:12:28 -07:00
uint8_t alignmentFill_at_650 [ 2 ] ;
2023-05-03 13:02:16 -07:00
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 0 */
2022-09-04 22:33:14 -07:00
bool coilState1 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 1 */
2022-09-04 22:33:14 -07:00
bool coilState2 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 2 */
2022-09-04 22:33:14 -07:00
bool coilState3 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 3 */
2022-09-04 22:33:14 -07:00
bool coilState4 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 4 */
2022-09-04 22:33:14 -07:00
bool coilState5 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 5 */
2022-09-04 22:33:14 -07:00
bool coilState6 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 6 */
2022-09-04 22:33:14 -07:00
bool coilState7 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 7 */
2022-09-04 22:33:14 -07:00
bool coilState8 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 8 */
2022-09-04 22:33:14 -07:00
bool coilState9 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 9 */
2022-09-04 22:33:14 -07:00
bool coilState10 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 10 */
2022-09-04 22:33:14 -07:00
bool coilState11 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 11 */
2022-09-04 22:33:14 -07:00
bool coilState12 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 12 */
2022-09-04 22:33:14 -07:00
bool injectorState1 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 13 */
2022-09-04 22:33:14 -07:00
bool injectorState2 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 14 */
2022-09-04 22:33:14 -07:00
bool injectorState3 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 15 */
2022-09-04 22:33:14 -07:00
bool injectorState4 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 16 */
2022-09-04 22:33:14 -07:00
bool injectorState5 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 17 */
2022-09-04 22:33:14 -07:00
bool injectorState6 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 18 */
2022-09-04 22:33:14 -07:00
bool injectorState7 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 19 */
2022-09-04 22:33:14 -07:00
bool injectorState8 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 20 */
2022-09-04 22:33:14 -07:00
bool injectorState9 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 21 */
2022-09-04 22:33:14 -07:00
bool injectorState10 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 22 */
2022-09-04 22:33:14 -07:00
bool injectorState11 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 23 */
2022-09-04 22:33:14 -07:00
bool injectorState12 : 1 { } ;
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 24 */
2023-02-20 20:57:19 -08:00
bool triggerChannel1 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 25 */
2023-02-20 20:57:19 -08:00
bool triggerChannel2 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 26 */
2023-02-20 20:57:19 -08:00
bool vvtChannel1 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 27 */
2023-04-22 05:34:18 -07:00
bool vvtChannel2 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 28 */
2023-04-22 05:34:18 -07:00
bool vvtChannel3 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 29 */
2023-04-22 05:34:18 -07:00
bool vvtChannel4 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 30 */
bool unusedBit_241_30 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2023-08-08 02:12:28 -07:00
offset 652 bit 31 */
bool unusedBit_241_31 : 1 { } ;
2022-09-04 22:33:14 -07:00
/**
2023-08-08 02:12:28 -07:00
* offset 656
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-08-08 02:12:28 -07:00
* offset 660
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
2022-10-16 20:44:02 -07:00
value
2023-08-08 02:12:28 -07:00
* offset 664
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-08-08 02:12:28 -07:00
* offset 672
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-08-08 02:12:28 -07:00
* offset 674
2022-10-24 09:46:53 -07:00
*/
scaled_channel < uint16_t , 10 , 1 > mafMeasured2 = ( uint16_t ) 0 ;
2022-12-10 15:01:38 -08:00
/**
2023-04-22 13:22:57 -07:00
* @ @ GAUGE_NAME_VVS @ @
2023-04-22 12:46:28 -07:00
kph
2023-08-08 02:12:28 -07:00
* offset 676
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-05-05 14:49:32 -07:00
%
2023-08-08 02:12:28 -07:00
* offset 678
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 ;
/**
2023-08-08 02:12:28 -07:00
* offset 680
2023-05-05 14:49:32 -07:00
*/
uint8_t unusedAtTheEnd [ 134 ] ;
2023-05-25 07:12:10 -07:00
/**
* need 4 byte alignment
units
2023-08-08 02:12:28 -07:00
* offset 814
2023-05-25 07:12:10 -07:00
*/
2023-08-08 02:12:28 -07:00
uint8_t alignmentFill_at_814 [ 2 ] ;
2021-11-17 21:05:27 -08:00
} ;
2023-08-08 02:12:28 -07:00
static_assert ( sizeof ( output_channels_s ) = = 816 ) ;
2021-11-17 21:05:27 -08:00
// end
2023-08-08 02:12:28 -07:00
// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) console/binary/output_channels.txt Tue Aug 08 09:10:41 UTC 2023