rusEFI
The most advanced open source ECU
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 clutchDownState = (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
 
uint8_t alignmentFill_at_49 [3]
 
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 unusedBit_21_8: 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 luaSoftSparkSkip = (float)0
 
float luaHardSparkSkip = (float)0
 
float tractionControlSparkSkip = (float)0
 
int16_t desiredRpmLimit = (int16_t)0
 
uint8_t alignmentFill_at_74 [2]
 
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_97 [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 52 bit 1

Definition at line 240 of file engine_state_generated.h.

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

◆ acrEngineMovedRecently

bool engine_state_s::acrEngineMovedRecently

offset 52 bit 2

Definition at line 243 of file engine_state_generated.h.

Referenced by getAcrState(), and getOutputValueByName().

◆ alignmentFill_at_49

uint8_t engine_state_s::alignmentFill_at_49[3]

need 4 byte alignment units: units offset 49

Definition at line 233 of file engine_state_generated.h.

◆ alignmentFill_at_74

uint8_t engine_state_s::alignmentFill_at_74[2]

need 4 byte alignment units: units offset 74

Definition at line 358 of file engine_state_generated.h.

◆ alignmentFill_at_97

uint8_t engine_state_s::alignmentFill_at_97[3]

need 4 byte alignment units: units offset 97

Definition at line 401 of file engine_state_generated.h.

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

Definition at line 211 of file engine_state_generated.h.

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

◆ clutchDownState

int8_t engine_state_s::clutchDownState = (int8_t)0

◆ 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(), lua_getDigital(), and printConfiguration().

◆ 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().

◆ desiredRpmLimit

int16_t engine_state_s::desiredRpmLimit = (int16_t)0

User-defined RPM hard limit units: rpm offset 72

Definition at line 352 of file engine_state_generated.h.

Referenced by getOutputValueByName().

◆ fuelingLoad

float engine_state_s::fuelingLoad = (float)0

@GAUGE_NAME_FUEL_LOAD@ offset 84

Definition at line 373 of file engine_state_generated.h.

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

◆ fuelInjectionCounter

uint32_t engine_state_s::fuelInjectionCounter = (uint32_t)0

Fuel: Injection counter offset 76

Definition at line 363 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 80

Definition at line 368 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 88

Definition at line 378 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 52 bit 4

Definition at line 249 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and runOneLua().

◆ luaDigitalState1

bool engine_state_s::luaDigitalState1

offset 52 bit 5

Definition at line 252 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and runOneLua().

◆ luaDigitalState2

bool engine_state_s::luaDigitalState2

offset 52 bit 6

Definition at line 255 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and runOneLua().

◆ luaDigitalState3

bool engine_state_s::luaDigitalState3

offset 52 bit 7

Definition at line 258 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 94

Definition at line 387 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and overFireSparkAndPrepareNextSchedule().

◆ overDwellNotScheduledCounter

uint8_t engine_state_s::overDwellNotScheduledCounter = (uint8_t)0

offset 95

Definition at line 391 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 48

Definition at line 227 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and THD_FUNCTION().

◆ smartChipRestartCounter

int8_t engine_state_s::smartChipRestartCounter = (int8_t)0

offset 47

Definition at line 223 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and THD_FUNCTION().

◆ smartChipState

int8_t engine_state_s::smartChipState = (int8_t)0

offset 46

Definition at line 219 of file engine_state_generated.h.

Referenced by getOutputValueByName().

◆ sparkOutOfOrderCounter

uint8_t engine_state_s::sparkOutOfOrderCounter = (uint8_t)0

offset 96

Definition at line 395 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and startDwellByTurningSparkPinHigh().

◆ startStopPhysicalState

bool engine_state_s::startStopPhysicalState

offset 52 bit 0

Definition at line 236 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and slowStartStopButtonCallback().

◆ startStopState

int8_t engine_state_s::startStopState = (int8_t)0

offset 45

Definition at line 215 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and slowStartStopButtonCallback().

◆ startStopStateToggleCounter

uint32_t engine_state_s::startStopStateToggleCounter = (uint32_t)0

offset 56

Definition at line 334 of file engine_state_generated.h.

Referenced by getOutputValueByName(), and onStartStopButtonToggle().

◆ tractionControlSparkSkip

float engine_state_s::tractionControlSparkSkip = (float)0

◆ unusedBit_21_10

bool engine_state_s::unusedBit_21_10

offset 52 bit 10

Definition at line 267 of file engine_state_generated.h.

◆ unusedBit_21_11

bool engine_state_s::unusedBit_21_11

offset 52 bit 11

Definition at line 270 of file engine_state_generated.h.

◆ unusedBit_21_12

bool engine_state_s::unusedBit_21_12

offset 52 bit 12

Definition at line 273 of file engine_state_generated.h.

◆ unusedBit_21_13

bool engine_state_s::unusedBit_21_13

offset 52 bit 13

Definition at line 276 of file engine_state_generated.h.

◆ unusedBit_21_14

bool engine_state_s::unusedBit_21_14

offset 52 bit 14

Definition at line 279 of file engine_state_generated.h.

◆ unusedBit_21_15

bool engine_state_s::unusedBit_21_15

offset 52 bit 15

Definition at line 282 of file engine_state_generated.h.

◆ unusedBit_21_16

bool engine_state_s::unusedBit_21_16

offset 52 bit 16

Definition at line 285 of file engine_state_generated.h.

◆ unusedBit_21_17

bool engine_state_s::unusedBit_21_17

offset 52 bit 17

Definition at line 288 of file engine_state_generated.h.

◆ unusedBit_21_18

bool engine_state_s::unusedBit_21_18

offset 52 bit 18

Definition at line 291 of file engine_state_generated.h.

◆ unusedBit_21_19

bool engine_state_s::unusedBit_21_19

offset 52 bit 19

Definition at line 294 of file engine_state_generated.h.

◆ unusedBit_21_20

bool engine_state_s::unusedBit_21_20

offset 52 bit 20

Definition at line 297 of file engine_state_generated.h.

◆ unusedBit_21_21

bool engine_state_s::unusedBit_21_21

offset 52 bit 21

Definition at line 300 of file engine_state_generated.h.

◆ unusedBit_21_22

bool engine_state_s::unusedBit_21_22

offset 52 bit 22

Definition at line 303 of file engine_state_generated.h.

◆ unusedBit_21_23

bool engine_state_s::unusedBit_21_23

offset 52 bit 23

Definition at line 306 of file engine_state_generated.h.

◆ unusedBit_21_24

bool engine_state_s::unusedBit_21_24

offset 52 bit 24

Definition at line 309 of file engine_state_generated.h.

◆ unusedBit_21_25

bool engine_state_s::unusedBit_21_25

offset 52 bit 25

Definition at line 312 of file engine_state_generated.h.

◆ unusedBit_21_26

bool engine_state_s::unusedBit_21_26

offset 52 bit 26

Definition at line 315 of file engine_state_generated.h.

◆ unusedBit_21_27

bool engine_state_s::unusedBit_21_27

offset 52 bit 27

Definition at line 318 of file engine_state_generated.h.

◆ unusedBit_21_28

bool engine_state_s::unusedBit_21_28

offset 52 bit 28

Definition at line 321 of file engine_state_generated.h.

◆ unusedBit_21_29

bool engine_state_s::unusedBit_21_29

offset 52 bit 29

Definition at line 324 of file engine_state_generated.h.

◆ unusedBit_21_30

bool engine_state_s::unusedBit_21_30

offset 52 bit 30

Definition at line 327 of file engine_state_generated.h.

◆ unusedBit_21_31

bool engine_state_s::unusedBit_21_31

offset 52 bit 31

Definition at line 330 of file engine_state_generated.h.

◆ unusedBit_21_8

bool engine_state_s::unusedBit_21_8

offset 52 bit 8

Definition at line 261 of file engine_state_generated.h.

◆ unusedBit_21_9

bool engine_state_s::unusedBit_21_9

offset 52 bit 9

Definition at line 264 of file engine_state_generated.h.

◆ veTableYAxis

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

units: % offset 92

Definition at line 383 of file engine_state_generated.h.

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


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