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
 
scaled_channel< int16_t, 10, 1 > veTableIdleYAxis = (int16_t)0
 
uint8_t overDwellCanceledCounter = (uint8_t)0
 
uint8_t overDwellNotScheduledCounter = (uint8_t)0
 
uint8_t sparkOutOfOrderCounter = (uint8_t)0
 
uint8_t dwellUnderChargeCounter = (uint8_t)0
 
uint8_t dwellOverChargeCounter = (uint8_t)0
 
uint8_t alignmentFill_at_145 [3] = {}
 
float dwellActualRatio = (float)0
 
float stftCorrection [FT_BANK_COUNT] = {}
 

Detailed Description

Definition at line 173 of file engine_state_generated.h.

Field Documentation

◆ acrActive

bool engine_state_s::acrActive

Harley ACR Active offset 96 bit 1

Definition at line 233 of file engine_state_generated.h.

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

◆ acrEngineMovedRecently

bool engine_state_s::acrEngineMovedRecently

offset 96 bit 2

Definition at line 236 of file engine_state_generated.h.

Referenced by getAcrState(), and getOutputValueByHash().

◆ alignmentFill_at_145

uint8_t engine_state_s::alignmentFill_at_145[3] = {}

need 4 byte alignment units: units offset 145

Definition at line 404 of file engine_state_generated.h.

404{};

◆ baroCorrection

float engine_state_s::baroCorrection = (float)0

@GAUGE_NAME_FUEL_BARO_CORR@ offset 84

Definition at line 194 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 91

Definition at line 210 of file engine_state_generated.h.

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

◆ clutchDownState

bool engine_state_s::clutchDownState

@INDICATOR_NAME_CLUTCH_DOWN@ offset 96 bit 8

Definition at line 255 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 90

Definition at line 205 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and lua_getDigital().

◆ crankingFuel

cranking_fuel_s engine_state_s::crankingFuel

offset 72

Definition at line 189 of file engine_state_generated.h.

Referenced by getCrankingFuel3(), and getOutputValueByHash().

◆ currentVe

float engine_state_s::currentVe = (float)0

offset 104

Definition at line 332 of file engine_state_generated.h.

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

◆ dwellActualRatio

float engine_state_s::dwellActualRatio = (float)0

"Ignition: Dwell deviation" units: % offset 148

Definition at line 410 of file engine_state_generated.h.

Referenced by fireSparkAndPrepareNextSchedule(), and getOutputValueByHash().

◆ dwellOverChargeCounter

uint8_t engine_state_s::dwellOverChargeCounter = (uint8_t)0

"Ignition: overcharge warnings" offset 144

Definition at line 398 of file engine_state_generated.h.

Referenced by fireSparkAndPrepareNextSchedule(), and getOutputValueByHash().

◆ dwellUnderChargeCounter

uint8_t engine_state_s::dwellUnderChargeCounter = (uint8_t)0

"Ignition: undecharge warnings" offset 143

Definition at line 393 of file engine_state_generated.h.

Referenced by fireSparkAndPrepareNextSchedule(), and getOutputValueByHash().

◆ fuelingLoad

float engine_state_s::fuelingLoad = (float)0

@GAUGE_NAME_FUEL_LOAD@ offset 128

Definition at line 359 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 120

Definition at line 349 of file engine_state_generated.h.

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

◆ globalSparkCounter

uint32_t engine_state_s::globalSparkCounter = (uint32_t)0

◆ 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 132

Definition at line 364 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 96 bit 4

Definition at line 242 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and runOneLua().

◆ luaDigitalState1

bool engine_state_s::luaDigitalState1

offset 96 bit 5

Definition at line 245 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and runOneLua().

◆ luaDigitalState2

bool engine_state_s::luaDigitalState2

offset 96 bit 6

Definition at line 248 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and runOneLua().

◆ luaDigitalState3

bool engine_state_s::luaDigitalState3

offset 96 bit 7

Definition at line 251 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

◆ overDwellCanceledCounter

uint8_t engine_state_s::overDwellCanceledCounter = (uint8_t)0

"Ignition: overcharge canceled" offset 140

Definition at line 378 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and overFireSparkAndPrepareNextSchedule().

◆ overDwellNotScheduledCounter

uint8_t engine_state_s::overDwellNotScheduledCounter = (uint8_t)0

"Ignition: overDwellNotScheduled" offset 141

Definition at line 383 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 95

Definition at line 226 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and THD_FUNCTION().

◆ smartChipRestartCounter

int8_t engine_state_s::smartChipRestartCounter = (int8_t)0

offset 94

Definition at line 222 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and THD_FUNCTION().

◆ smartChipState

int8_t engine_state_s::smartChipState = (int8_t)0

offset 93

Definition at line 218 of file engine_state_generated.h.

Referenced by getOutputValueByHash().

◆ sparkOutOfOrderCounter

uint8_t engine_state_s::sparkOutOfOrderCounter = (uint8_t)0

"Ignition: sparkOutOfOrder" offset 142

Definition at line 388 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and startDwellByTurningSparkPinHigh().

◆ startStopPhysicalState

bool engine_state_s::startStopPhysicalState

offset 96 bit 0

Definition at line 229 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and slowStartStopButtonCallback().

◆ startStopState

int8_t engine_state_s::startStopState = (int8_t)0

offset 92

Definition at line 214 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and slowStartStopButtonCallback().

◆ startStopStateToggleCounter

uint32_t engine_state_s::startStopStateToggleCounter = (uint32_t)0

offset 100

Definition at line 328 of file engine_state_generated.h.

Referenced by getOutputValueByHash(), and startStopButtonToggle().

◆ stftCorrection

float engine_state_s::stftCorrection[FT_BANK_COUNT] = {}

STFT: Bank units: % offset 152

Definition at line 416 of file engine_state_generated.h.

416{};

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

◆ tractionControlSparkSkip

float engine_state_s::tractionControlSparkSkip = (float)0

offset 116

Definition at line 344 of file engine_state_generated.h.

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

◆ unusedBit_21_10

bool engine_state_s::unusedBit_21_10

offset 96 bit 10

Definition at line 261 of file engine_state_generated.h.

◆ unusedBit_21_11

bool engine_state_s::unusedBit_21_11

offset 96 bit 11

Definition at line 264 of file engine_state_generated.h.

◆ unusedBit_21_12

bool engine_state_s::unusedBit_21_12

offset 96 bit 12

Definition at line 267 of file engine_state_generated.h.

◆ unusedBit_21_13

bool engine_state_s::unusedBit_21_13

offset 96 bit 13

Definition at line 270 of file engine_state_generated.h.

◆ unusedBit_21_14

bool engine_state_s::unusedBit_21_14

offset 96 bit 14

Definition at line 273 of file engine_state_generated.h.

◆ unusedBit_21_15

bool engine_state_s::unusedBit_21_15

offset 96 bit 15

Definition at line 276 of file engine_state_generated.h.

◆ unusedBit_21_16

bool engine_state_s::unusedBit_21_16

offset 96 bit 16

Definition at line 279 of file engine_state_generated.h.

◆ unusedBit_21_17

bool engine_state_s::unusedBit_21_17

offset 96 bit 17

Definition at line 282 of file engine_state_generated.h.

◆ unusedBit_21_18

bool engine_state_s::unusedBit_21_18

offset 96 bit 18

Definition at line 285 of file engine_state_generated.h.

◆ unusedBit_21_19

bool engine_state_s::unusedBit_21_19

offset 96 bit 19

Definition at line 288 of file engine_state_generated.h.

◆ unusedBit_21_20

bool engine_state_s::unusedBit_21_20

offset 96 bit 20

Definition at line 291 of file engine_state_generated.h.

◆ unusedBit_21_21

bool engine_state_s::unusedBit_21_21

offset 96 bit 21

Definition at line 294 of file engine_state_generated.h.

◆ unusedBit_21_22

bool engine_state_s::unusedBit_21_22

offset 96 bit 22

Definition at line 297 of file engine_state_generated.h.

◆ unusedBit_21_23

bool engine_state_s::unusedBit_21_23

offset 96 bit 23

Definition at line 300 of file engine_state_generated.h.

◆ unusedBit_21_24

bool engine_state_s::unusedBit_21_24

offset 96 bit 24

Definition at line 303 of file engine_state_generated.h.

◆ unusedBit_21_25

bool engine_state_s::unusedBit_21_25

offset 96 bit 25

Definition at line 306 of file engine_state_generated.h.

◆ unusedBit_21_26

bool engine_state_s::unusedBit_21_26

offset 96 bit 26

Definition at line 309 of file engine_state_generated.h.

◆ unusedBit_21_27

bool engine_state_s::unusedBit_21_27

offset 96 bit 27

Definition at line 312 of file engine_state_generated.h.

◆ unusedBit_21_28

bool engine_state_s::unusedBit_21_28

offset 96 bit 28

Definition at line 315 of file engine_state_generated.h.

◆ unusedBit_21_29

bool engine_state_s::unusedBit_21_29

offset 96 bit 29

Definition at line 318 of file engine_state_generated.h.

◆ unusedBit_21_30

bool engine_state_s::unusedBit_21_30

offset 96 bit 30

Definition at line 321 of file engine_state_generated.h.

◆ unusedBit_21_31

bool engine_state_s::unusedBit_21_31

offset 96 bit 31

Definition at line 324 of file engine_state_generated.h.

◆ unusedBit_21_9

bool engine_state_s::unusedBit_21_9

offset 96 bit 9

Definition at line 258 of file engine_state_generated.h.

◆ veTableIdleYAxis

scaled_channel<int16_t, 10, 1> engine_state_s::veTableIdleYAxis = (int16_t)0

offset 138

Definition at line 373 of file engine_state_generated.h.

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

◆ veTableYAxis

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

units: % offset 136

Definition at line 369 of file engine_state_generated.h.

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


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