rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Data Fields
engine_state_s Struct Reference

#include <engine_state_generated.h>

Inheritance diagram for engine_state_s:
Inheritance graph
[legend]
Collaboration diagram for engine_state_s:
Collaboration graph
[legend]

Data Fields

float injectionMass [MAX_CYLINDER_COUNT] = {}
 
LuaAdjustments lua
 
speed_density_s sd
 
cranking_fuel_s crankingFuel
 
float baroCorrection = (float)0
 
int16_t hellenBoardId = (int16_t)0
 
int8_t clutchUpState = (int8_t)0
 
int8_t brakePedalState = (int8_t)0
 
int8_t startStopState = (int8_t)0
 
int8_t smartChipState = (int8_t)0
 
int8_t smartChipRestartCounter = (int8_t)0
 
int8_t smartChipAliveCounter = (int8_t)0
 
bool startStopPhysicalState: 1 {}
 
bool acrActive: 1 {}
 
bool acrEngineMovedRecently: 1 {}
 
bool heaterControlEnabled: 1 {}
 
bool luaDigitalState0: 1 {}
 
bool luaDigitalState1: 1 {}
 
bool luaDigitalState2: 1 {}
 
bool luaDigitalState3: 1 {}
 
bool clutchDownState: 1 {}
 
bool unusedBit_21_9: 1 {}
 
bool unusedBit_21_10: 1 {}
 
bool unusedBit_21_11: 1 {}
 
bool unusedBit_21_12: 1 {}
 
bool unusedBit_21_13: 1 {}
 
bool unusedBit_21_14: 1 {}
 
bool unusedBit_21_15: 1 {}
 
bool unusedBit_21_16: 1 {}
 
bool unusedBit_21_17: 1 {}
 
bool unusedBit_21_18: 1 {}
 
bool unusedBit_21_19: 1 {}
 
bool unusedBit_21_20: 1 {}
 
bool unusedBit_21_21: 1 {}
 
bool unusedBit_21_22: 1 {}
 
bool unusedBit_21_23: 1 {}
 
bool unusedBit_21_24: 1 {}
 
bool unusedBit_21_25: 1 {}
 
bool unusedBit_21_26: 1 {}
 
bool unusedBit_21_27: 1 {}
 
bool unusedBit_21_28: 1 {}
 
bool unusedBit_21_29: 1 {}
 
bool unusedBit_21_30: 1 {}
 
bool unusedBit_21_31: 1 {}
 
uint32_t startStopStateToggleCounter = (uint32_t)0
 
float currentVe = (float)0
 
float luaSoftSparkSkip = (float)0
 
float luaHardSparkSkip = (float)0
 
float tractionControlSparkSkip = (float)0
 
uint32_t fuelInjectionCounter = (uint32_t)0
 
uint32_t globalSparkCounter = (uint32_t)0
 
float fuelingLoad = (float)0
 
float ignitionLoad = (float)0
 
scaled_channel< uint16_t, 100, 1 > veTableYAxis = (uint16_t)0
 
uint8_t overDwellCounter = (uint8_t)0
 
uint8_t overDwellNotScheduledCounter = (uint8_t)0
 
uint8_t sparkOutOfOrderCounter = (uint8_t)0
 
uint8_t alignmentFill_at_137 [3] = {}
 
float stftCorrection [FT_BANK_COUNT] = {}
 

Detailed Description

Definition at line 168 of file engine_state_generated.h.

Field Documentation

◆ acrActive

bool engine_state_s::acrActive

Harley ACR Active offset 92 bit 1

Definition at line 228 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and HarleyAcr::onSlowCallback().

◆ acrEngineMovedRecently

bool engine_state_s::acrEngineMovedRecently

offset 92 bit 2

Definition at line 231 of file engine_state_generated.h.

Referenced by getAcrState(), and getOutputValueByHash().

◆ alignmentFill_at_137

uint8_t engine_state_s::alignmentFill_at_137[3] = {}

need 4 byte alignment units: units offset 137

Definition at line 382 of file engine_state_generated.h.

382{};

◆ baroCorrection

float engine_state_s::baroCorrection = (float)0

@GAUGE_NAME_FUEL_BARO_CORR@ offset 80

Definition at line 189 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), getRunningFuel(), and EngineState::periodicFastCallback().

◆ brakePedalState

int8_t engine_state_s::brakePedalState = (int8_t)0

@INDICATOR_NAME_BRAKE_DOWN@ offset 87

Definition at line 205 of file engine_state_generated.h.

Referenced by canDashboardHaltech(), getOutputValueByHash(), and lua_getDigital().

◆ clutchDownState

bool engine_state_s::clutchDownState

@INDICATOR_NAME_CLUTCH_DOWN@ offset 92 bit 8

Definition at line 250 of file engine_state_generated.h.

Referenced by canDashboardHaltech(), getOutputValueByHash(), lua_getDigital(), and Engine::updateSwitchInputs().

◆ clutchUpState

int8_t engine_state_s::clutchUpState = (int8_t)0

@INDICATOR_NAME_CLUTCH_UP@ offset 86

Definition at line 200 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and lua_getDigital().

◆ crankingFuel

cranking_fuel_s engine_state_s::crankingFuel

offset 68

Definition at line 184 of file engine_state_generated.h.

Referenced by getCrankingFuel3(), and getOutputValueByHash().

◆ currentVe

float engine_state_s::currentVe = (float)0

offset 100

Definition at line 327 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), AirmassVeModelBase::getVe(), and updateFuelInfo().

◆ fuelingLoad

float engine_state_s::fuelingLoad = (float)0

@GAUGE_NAME_FUEL_LOAD@ offset 124

Definition at line 354 of file engine_state_generated.h.

Referenced by getBaseFuelMass(), getFuelingLoad(), getOutputValueByHash(), and AlternatorController::getSetpoint().

◆ fuelInjectionCounter

uint32_t engine_state_s::fuelInjectionCounter = (uint32_t)0

Fuel: Injection counter offset 116

Definition at line 344 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and InjectorOutputPin::open().

◆ globalSparkCounter

uint32_t engine_state_s::globalSparkCounter = (uint32_t)0

Ign: Spark counter offset 120

Definition at line 349 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), initDataStructures(), onTriggerEventSparkLogic(), and scheduleSparkEvent().

◆ heaterControlEnabled

bool engine_state_s::heaterControlEnabled

◆ hellenBoardId

int16_t engine_state_s::hellenBoardId = (int16_t)0

◆ ignitionLoad

float engine_state_s::ignitionLoad = (float)0

@GAUGE_NAME_IGNITION_LOAD@ offset 128

Definition at line 359 of file engine_state_generated.h.

Referenced by getBaseFuelMass(), getIgnitionLoad(), and getOutputValueByHash().

◆ injectionMass

float engine_state_s::injectionMass[MAX_CYLINDER_COUNT] = {}

◆ lua

LuaAdjustments engine_state_s::lua

◆ luaDigitalState0

bool engine_state_s::luaDigitalState0

offset 92 bit 4

Definition at line 237 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and runOneLua().

◆ luaDigitalState1

bool engine_state_s::luaDigitalState1

offset 92 bit 5

Definition at line 240 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and runOneLua().

◆ luaDigitalState2

bool engine_state_s::luaDigitalState2

offset 92 bit 6

Definition at line 243 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and runOneLua().

◆ luaDigitalState3

bool engine_state_s::luaDigitalState3

offset 92 bit 7

Definition at line 246 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and runOneLua().

◆ luaHardSparkSkip

float engine_state_s::luaHardSparkSkip = (float)0

◆ luaSoftSparkSkip

float engine_state_s::luaSoftSparkSkip = (float)0

◆ overDwellCounter

uint8_t engine_state_s::overDwellCounter = (uint8_t)0

offset 134

Definition at line 368 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and overFireSparkAndPrepareNextSchedule().

◆ overDwellNotScheduledCounter

uint8_t engine_state_s::overDwellNotScheduledCounter = (uint8_t)0

offset 135

Definition at line 372 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and scheduleSparkEvent().

◆ sd

speed_density_s engine_state_s::sd

◆ smartChipAliveCounter

int8_t engine_state_s::smartChipAliveCounter = (int8_t)0

offset 91

Definition at line 221 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and THD_FUNCTION().

◆ smartChipRestartCounter

int8_t engine_state_s::smartChipRestartCounter = (int8_t)0

offset 90

Definition at line 217 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and THD_FUNCTION().

◆ smartChipState

int8_t engine_state_s::smartChipState = (int8_t)0

offset 89

Definition at line 213 of file engine_state_generated.h.

Referenced by getOutputValueByHash().

◆ sparkOutOfOrderCounter

uint8_t engine_state_s::sparkOutOfOrderCounter = (uint8_t)0

offset 136

Definition at line 376 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and startDwellByTurningSparkPinHigh().

◆ startStopPhysicalState

bool engine_state_s::startStopPhysicalState

offset 92 bit 0

Definition at line 224 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and slowStartStopButtonCallback().

◆ startStopState

int8_t engine_state_s::startStopState = (int8_t)0

offset 88

Definition at line 209 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and slowStartStopButtonCallback().

◆ startStopStateToggleCounter

uint32_t engine_state_s::startStopStateToggleCounter = (uint32_t)0

offset 96

Definition at line 323 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and startStopButtonToggle().

◆ stftCorrection

float engine_state_s::stftCorrection[FT_BANK_COUNT] = {}

STFT: Bank units: % offset 140

Definition at line 388 of file engine_state_generated.h.

388{};

Referenced by handleGetDataRequest(), EngineState::periodicFastCallback(), populateFrame(), populateFrame(), and updateFuelCorrections().

◆ tractionControlSparkSkip

float engine_state_s::tractionControlSparkSkip = (float)0

offset 112

Definition at line 339 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), getRunningAdvance(), and EngineState::updateSparkSkip().

◆ unusedBit_21_10

bool engine_state_s::unusedBit_21_10

offset 92 bit 10

Definition at line 256 of file engine_state_generated.h.

◆ unusedBit_21_11

bool engine_state_s::unusedBit_21_11

offset 92 bit 11

Definition at line 259 of file engine_state_generated.h.

◆ unusedBit_21_12

bool engine_state_s::unusedBit_21_12

offset 92 bit 12

Definition at line 262 of file engine_state_generated.h.

◆ unusedBit_21_13

bool engine_state_s::unusedBit_21_13

offset 92 bit 13

Definition at line 265 of file engine_state_generated.h.

◆ unusedBit_21_14

bool engine_state_s::unusedBit_21_14

offset 92 bit 14

Definition at line 268 of file engine_state_generated.h.

◆ unusedBit_21_15

bool engine_state_s::unusedBit_21_15

offset 92 bit 15

Definition at line 271 of file engine_state_generated.h.

◆ unusedBit_21_16

bool engine_state_s::unusedBit_21_16

offset 92 bit 16

Definition at line 274 of file engine_state_generated.h.

◆ unusedBit_21_17

bool engine_state_s::unusedBit_21_17

offset 92 bit 17

Definition at line 277 of file engine_state_generated.h.

◆ unusedBit_21_18

bool engine_state_s::unusedBit_21_18

offset 92 bit 18

Definition at line 280 of file engine_state_generated.h.

◆ unusedBit_21_19

bool engine_state_s::unusedBit_21_19

offset 92 bit 19

Definition at line 283 of file engine_state_generated.h.

◆ unusedBit_21_20

bool engine_state_s::unusedBit_21_20

offset 92 bit 20

Definition at line 286 of file engine_state_generated.h.

◆ unusedBit_21_21

bool engine_state_s::unusedBit_21_21

offset 92 bit 21

Definition at line 289 of file engine_state_generated.h.

◆ unusedBit_21_22

bool engine_state_s::unusedBit_21_22

offset 92 bit 22

Definition at line 292 of file engine_state_generated.h.

◆ unusedBit_21_23

bool engine_state_s::unusedBit_21_23

offset 92 bit 23

Definition at line 295 of file engine_state_generated.h.

◆ unusedBit_21_24

bool engine_state_s::unusedBit_21_24

offset 92 bit 24

Definition at line 298 of file engine_state_generated.h.

◆ unusedBit_21_25

bool engine_state_s::unusedBit_21_25

offset 92 bit 25

Definition at line 301 of file engine_state_generated.h.

◆ unusedBit_21_26

bool engine_state_s::unusedBit_21_26

offset 92 bit 26

Definition at line 304 of file engine_state_generated.h.

◆ unusedBit_21_27

bool engine_state_s::unusedBit_21_27

offset 92 bit 27

Definition at line 307 of file engine_state_generated.h.

◆ unusedBit_21_28

bool engine_state_s::unusedBit_21_28

offset 92 bit 28

Definition at line 310 of file engine_state_generated.h.

◆ unusedBit_21_29

bool engine_state_s::unusedBit_21_29

offset 92 bit 29

Definition at line 313 of file engine_state_generated.h.

◆ unusedBit_21_30

bool engine_state_s::unusedBit_21_30

offset 92 bit 30

Definition at line 316 of file engine_state_generated.h.

◆ unusedBit_21_31

bool engine_state_s::unusedBit_21_31

offset 92 bit 31

Definition at line 319 of file engine_state_generated.h.

◆ unusedBit_21_9

bool engine_state_s::unusedBit_21_9

offset 92 bit 9

Definition at line 253 of file engine_state_generated.h.

◆ veTableYAxis

scaled_channel<uint16_t, 100, 1> engine_state_s::veTableYAxis = (uint16_t)0

units: % offset 132

Definition at line 364 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and AirmassVeModelBase::getVe().


The documentation for this struct was generated from the following file: