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

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_20_9: 1 {}
 
bool unusedBit_20_10: 1 {}
 
bool unusedBit_20_11: 1 {}
 
bool unusedBit_20_12: 1 {}
 
bool unusedBit_20_13: 1 {}
 
bool unusedBit_20_14: 1 {}
 
bool unusedBit_20_15: 1 {}
 
bool unusedBit_20_16: 1 {}
 
bool unusedBit_20_17: 1 {}
 
bool unusedBit_20_18: 1 {}
 
bool unusedBit_20_19: 1 {}
 
bool unusedBit_20_20: 1 {}
 
bool unusedBit_20_21: 1 {}
 
bool unusedBit_20_22: 1 {}
 
bool unusedBit_20_23: 1 {}
 
bool unusedBit_20_24: 1 {}
 
bool unusedBit_20_25: 1 {}
 
bool unusedBit_20_26: 1 {}
 
bool unusedBit_20_27: 1 {}
 
bool unusedBit_20_28: 1 {}
 
bool unusedBit_20_29: 1 {}
 
bool unusedBit_20_30: 1 {}
 
bool unusedBit_20_31: 1 {}
 
uint32_t startStopStateToggleCounter = (uint32_t)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_89 [3] = {}
 

Detailed Description

Definition at line 173 of file engine_state_generated.h.

Field Documentation

◆ acrActive

bool engine_state_s::acrActive

Harley ACR Active offset 48 bit 1

Definition at line 229 of file engine_state_generated.h.

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

◆ acrEngineMovedRecently

bool engine_state_s::acrEngineMovedRecently

offset 48 bit 2

Definition at line 232 of file engine_state_generated.h.

Referenced by getAcrState(), and getOutputValueByName().

◆ alignmentFill_at_89

uint8_t engine_state_s::alignmentFill_at_89[3] = {}

need 4 byte alignment units: units offset 89

Definition at line 379 of file engine_state_generated.h.

379{};

◆ baroCorrection

float engine_state_s::baroCorrection = (float)0

@GAUGE_NAME_FUEL_BARO_CORR@ offset 36

Definition at line 190 of file engine_state_generated.h.

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

◆ brakePedalState

int8_t engine_state_s::brakePedalState = (int8_t)0

@INDICATOR_NAME_BRAKE_DOWN@ offset 43

Definition at line 206 of file engine_state_generated.h.

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

◆ clutchDownState

bool engine_state_s::clutchDownState

@INDICATOR_NAME_CLUTCH_DOWN@ offset 48 bit 8

Definition at line 251 of file engine_state_generated.h.

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

◆ clutchUpState

int8_t engine_state_s::clutchUpState = (int8_t)0

@INDICATOR_NAME_CLUTCH_UP@ offset 42

Definition at line 201 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and lua_getDigital().

◆ crankingFuel

cranking_fuel_s engine_state_s::crankingFuel

offset 20

Definition at line 185 of file engine_state_generated.h.

Referenced by getCrankingFuel3(), and getOutputValueByName().

◆ fuelingLoad

float engine_state_s::fuelingLoad = (float)0

@GAUGE_NAME_FUEL_LOAD@ offset 76

Definition at line 351 of file engine_state_generated.h.

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

◆ fuelInjectionCounter

uint32_t engine_state_s::fuelInjectionCounter = (uint32_t)0

Fuel: Injection counter offset 68

Definition at line 341 of file engine_state_generated.h.

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

◆ globalSparkCounter

uint32_t engine_state_s::globalSparkCounter = (uint32_t)0

Ign: Spark counter offset 72

Definition at line 346 of file engine_state_generated.h.

Referenced by getOutputValueByName(), 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 80

Definition at line 356 of file engine_state_generated.h.

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

◆ lua

LuaAdjustments engine_state_s::lua

◆ luaDigitalState0

bool engine_state_s::luaDigitalState0

offset 48 bit 4

Definition at line 238 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and runOneLua().

◆ luaDigitalState1

bool engine_state_s::luaDigitalState1

offset 48 bit 5

Definition at line 241 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and runOneLua().

◆ luaDigitalState2

bool engine_state_s::luaDigitalState2

offset 48 bit 6

Definition at line 244 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and runOneLua().

◆ luaDigitalState3

bool engine_state_s::luaDigitalState3

offset 48 bit 7

Definition at line 247 of file engine_state_generated.h.

Referenced by getOutputValueByName(), 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 86

Definition at line 365 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and overFireSparkAndPrepareNextSchedule().

◆ overDwellNotScheduledCounter

uint8_t engine_state_s::overDwellNotScheduledCounter = (uint8_t)0

offset 87

Definition at line 369 of file engine_state_generated.h.

Referenced by getOutputValueByName().

◆ sd

speed_density_s engine_state_s::sd

◆ smartChipAliveCounter

int8_t engine_state_s::smartChipAliveCounter = (int8_t)0

offset 47

Definition at line 222 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and THD_FUNCTION().

◆ smartChipRestartCounter

int8_t engine_state_s::smartChipRestartCounter = (int8_t)0

offset 46

Definition at line 218 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and THD_FUNCTION().

◆ smartChipState

int8_t engine_state_s::smartChipState = (int8_t)0

offset 45

Definition at line 214 of file engine_state_generated.h.

Referenced by getOutputValueByName().

◆ sparkOutOfOrderCounter

uint8_t engine_state_s::sparkOutOfOrderCounter = (uint8_t)0

offset 88

Definition at line 373 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and startDwellByTurningSparkPinHigh().

◆ startStopPhysicalState

bool engine_state_s::startStopPhysicalState

offset 48 bit 0

Definition at line 225 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and slowStartStopButtonCallback().

◆ startStopState

int8_t engine_state_s::startStopState = (int8_t)0

offset 44

Definition at line 210 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and slowStartStopButtonCallback().

◆ startStopStateToggleCounter

uint32_t engine_state_s::startStopStateToggleCounter = (uint32_t)0

offset 52

Definition at line 324 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and onStartStopButtonToggle().

◆ tractionControlSparkSkip

float engine_state_s::tractionControlSparkSkip = (float)0

◆ unusedBit_20_10

bool engine_state_s::unusedBit_20_10

offset 48 bit 10

Definition at line 257 of file engine_state_generated.h.

◆ unusedBit_20_11

bool engine_state_s::unusedBit_20_11

offset 48 bit 11

Definition at line 260 of file engine_state_generated.h.

◆ unusedBit_20_12

bool engine_state_s::unusedBit_20_12

offset 48 bit 12

Definition at line 263 of file engine_state_generated.h.

◆ unusedBit_20_13

bool engine_state_s::unusedBit_20_13

offset 48 bit 13

Definition at line 266 of file engine_state_generated.h.

◆ unusedBit_20_14

bool engine_state_s::unusedBit_20_14

offset 48 bit 14

Definition at line 269 of file engine_state_generated.h.

◆ unusedBit_20_15

bool engine_state_s::unusedBit_20_15

offset 48 bit 15

Definition at line 272 of file engine_state_generated.h.

◆ unusedBit_20_16

bool engine_state_s::unusedBit_20_16

offset 48 bit 16

Definition at line 275 of file engine_state_generated.h.

◆ unusedBit_20_17

bool engine_state_s::unusedBit_20_17

offset 48 bit 17

Definition at line 278 of file engine_state_generated.h.

◆ unusedBit_20_18

bool engine_state_s::unusedBit_20_18

offset 48 bit 18

Definition at line 281 of file engine_state_generated.h.

◆ unusedBit_20_19

bool engine_state_s::unusedBit_20_19

offset 48 bit 19

Definition at line 284 of file engine_state_generated.h.

◆ unusedBit_20_20

bool engine_state_s::unusedBit_20_20

offset 48 bit 20

Definition at line 287 of file engine_state_generated.h.

◆ unusedBit_20_21

bool engine_state_s::unusedBit_20_21

offset 48 bit 21

Definition at line 290 of file engine_state_generated.h.

◆ unusedBit_20_22

bool engine_state_s::unusedBit_20_22

offset 48 bit 22

Definition at line 293 of file engine_state_generated.h.

◆ unusedBit_20_23

bool engine_state_s::unusedBit_20_23

offset 48 bit 23

Definition at line 296 of file engine_state_generated.h.

◆ unusedBit_20_24

bool engine_state_s::unusedBit_20_24

offset 48 bit 24

Definition at line 299 of file engine_state_generated.h.

◆ unusedBit_20_25

bool engine_state_s::unusedBit_20_25

offset 48 bit 25

Definition at line 302 of file engine_state_generated.h.

◆ unusedBit_20_26

bool engine_state_s::unusedBit_20_26

offset 48 bit 26

Definition at line 305 of file engine_state_generated.h.

◆ unusedBit_20_27

bool engine_state_s::unusedBit_20_27

offset 48 bit 27

Definition at line 308 of file engine_state_generated.h.

◆ unusedBit_20_28

bool engine_state_s::unusedBit_20_28

offset 48 bit 28

Definition at line 311 of file engine_state_generated.h.

◆ unusedBit_20_29

bool engine_state_s::unusedBit_20_29

offset 48 bit 29

Definition at line 314 of file engine_state_generated.h.

◆ unusedBit_20_30

bool engine_state_s::unusedBit_20_30

offset 48 bit 30

Definition at line 317 of file engine_state_generated.h.

◆ unusedBit_20_31

bool engine_state_s::unusedBit_20_31

offset 48 bit 31

Definition at line 320 of file engine_state_generated.h.

◆ unusedBit_20_9

bool engine_state_s::unusedBit_20_9

offset 48 bit 9

Definition at line 254 of file engine_state_generated.h.

◆ veTableYAxis

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

units: % offset 84

Definition at line 361 of file engine_state_generated.h.

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


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