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

#include <idle_state_generated.h>

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

Data Fields

idle_state_e idleState = (idle_state_e)0
 
percent_t baseIdlePosition = (percent_t)0
 
percent_t iacByTpsTaper = (percent_t)0
 
bool mightResetPid: 1 {}
 
bool shouldResetPid: 1 {}
 
bool wasResetPid: 1 {}
 
bool isCranking: 1 {}
 
bool isIacTableForCoasting: 1 {}
 
bool needReset: 1 {}
 
bool isInDeadZone: 1 {}
 
bool isBlipping: 1 {}
 
bool badTps: 1 {}
 
bool looksLikeRunning: 1 {}
 
bool looksLikeCoasting: 1 {}
 
bool looksLikeCrankToIdle: 1 {}
 
bool isIdleCoasting: 1 {}
 
bool isIdleClosedLoop: 1 {}
 
bool isIdling: 1 {}
 
bool unusedBit_18_15: 1 {}
 
bool unusedBit_18_16: 1 {}
 
bool unusedBit_18_17: 1 {}
 
bool unusedBit_18_18: 1 {}
 
bool unusedBit_18_19: 1 {}
 
bool unusedBit_18_20: 1 {}
 
bool unusedBit_18_21: 1 {}
 
bool unusedBit_18_22: 1 {}
 
bool unusedBit_18_23: 1 {}
 
bool unusedBit_18_24: 1 {}
 
bool unusedBit_18_25: 1 {}
 
bool unusedBit_18_26: 1 {}
 
bool unusedBit_18_27: 1 {}
 
bool unusedBit_18_28: 1 {}
 
bool unusedBit_18_29: 1 {}
 
bool unusedBit_18_30: 1 {}
 
bool unusedBit_18_31: 1 {}
 
uint16_t idleTarget = (uint16_t)0
 
uint16_t idleEntryRpm = (uint16_t)0
 
uint16_t idleExitRpm = (uint16_t)0
 
uint8_t alignmentFill_at_22 [2] = {}
 
int targetRpmByClt = (int)0
 
int targetRpmAc = (int)0
 
percent_t iacByRpmTaper = (percent_t)0
 
percent_t luaAdd = (percent_t)0
 
int m_lastTargetRpm = (int)0
 
percent_t idleClosedLoop = (percent_t)0
 
percent_t currentIdlePosition = (percent_t)0
 
uint16_t idleTargetAirmass = (uint16_t)0
 
scaled_channel< uint16_t, 100, 1 > idleTargetFlow = (uint16_t)0
 

Detailed Description

Definition at line 7 of file idle_state_generated.h.

Field Documentation

◆ alignmentFill_at_22

uint8_t idle_state_s::alignmentFill_at_22[2] = {}

need 4 byte alignment units: units offset 22

Definition at line 154 of file idle_state_generated.h.

154{};

◆ badTps

bool idle_state_s::badTps

offset 12 bit 8

Definition at line 61 of file idle_state_generated.h.

Referenced by IdleController::determinePhase(), and getOutputValueByHash().

◆ baseIdlePosition

percent_t idle_state_s::baseIdlePosition = (percent_t)0

"idle: base value current position without adjustments (iacByTpsTaper, afterCrankingIACtaperDuration)" offset 4

Definition at line 17 of file idle_state_generated.h.

Referenced by IdleController::getIdlePosition(), getOutputValueByHash(), and startIdleThread().

◆ currentIdlePosition

percent_t idle_state_s::currentIdlePosition = (percent_t)0

@GAUGE_NAME_IAC@ units: % offset 48

Definition at line 189 of file idle_state_generated.h.

Referenced by getIdlePosition(), IdleController::getIdlePosition(), getOutputValueByHash(), and startIdleThread().

◆ iacByRpmTaper

percent_t idle_state_s::iacByRpmTaper = (percent_t)0

idle: iacByRpmTaper portion offset 32

Definition at line 169 of file idle_state_generated.h.

Referenced by getOutputValueByHash(), and IdleController::getRunningOpenLoop().

◆ iacByTpsTaper

percent_t idle_state_s::iacByTpsTaper = (percent_t)0

idle: iacByTpsTaper portion offset 8

Definition at line 22 of file idle_state_generated.h.

Referenced by getOutputValueByHash(), and IdleController::getRunningOpenLoop().

◆ idleClosedLoop

percent_t idle_state_s::idleClosedLoop = (percent_t)0

Closed loop offset 44

Definition at line 183 of file idle_state_generated.h.

Referenced by IdleController::getIdlePosition(), and getOutputValueByHash().

◆ idleEntryRpm

uint16_t idle_state_s::idleEntryRpm = (uint16_t)0

Idle: Entry threshold offset 18

Definition at line 143 of file idle_state_generated.h.

Referenced by getOutputValueByHash(), and IdleController::getTargetRpm().

◆ idleExitRpm

uint16_t idle_state_s::idleExitRpm = (uint16_t)0

Idle: Exit threshold offset 20

Definition at line 148 of file idle_state_generated.h.

Referenced by getOutputValueByHash(), and IdleController::getTargetRpm().

◆ idleState

idle_state_e idle_state_s::idleState = (idle_state_e)0

offset 0

Definition at line 11 of file idle_state_generated.h.

Referenced by IdleController::getClosedLoop(), getOutputValueByHash(), and startIdleThread().

◆ idleTarget

uint16_t idle_state_s::idleTarget = (uint16_t)0

Idle: Target RPM offset 16

Definition at line 138 of file idle_state_generated.h.

Referenced by getOutputValueByHash(), and IdleController::getTargetRpm().

◆ idleTargetAirmass

uint16_t idle_state_s::idleTargetAirmass = (uint16_t)0

Target airmass units: mg offset 52

Definition at line 195 of file idle_state_generated.h.

Referenced by IdleController::getIdlePosition(), and getOutputValueByHash().

◆ idleTargetFlow

scaled_channel<uint16_t, 100, 1> idle_state_s::idleTargetFlow = (uint16_t)0

Target airflow units: kg/h offset 54

Definition at line 201 of file idle_state_generated.h.

Referenced by IdleController::getIdlePosition(), and getOutputValueByHash().

◆ isBlipping

bool idle_state_s::isBlipping

offset 12 bit 7

Definition at line 58 of file idle_state_generated.h.

Referenced by getOutputValueByHash().

◆ isCranking

bool idle_state_s::isCranking

Idle: cranking offset 12 bit 3

Definition at line 44 of file idle_state_generated.h.

Referenced by IdleController::getOpenLoop(), and getOutputValueByHash().

◆ isIacTableForCoasting

bool idle_state_s::isIacTableForCoasting

offset 12 bit 4

Definition at line 47 of file idle_state_generated.h.

Referenced by IdleController::getOpenLoop(), and getOutputValueByHash().

◆ isIdleClosedLoop

bool idle_state_s::isIdleClosedLoop

Idle: Closed loop active offset 12 bit 13

Definition at line 78 of file idle_state_generated.h.

Referenced by IdleController::getClosedLoop(), IdleController::getIdlePosition(), and getOutputValueByHash().

◆ isIdleCoasting

bool idle_state_s::isIdleCoasting

Idle: coasting offset 12 bit 12

Definition at line 74 of file idle_state_generated.h.

Referenced by IdleController::getOpenLoop(), and getOutputValueByHash().

◆ isIdling

bool idle_state_s::isIdling

Idle: idling offset 12 bit 14

Definition at line 82 of file idle_state_generated.h.

Referenced by IdleController::getIdlePosition(), and getOutputValueByHash().

◆ isInDeadZone

bool idle_state_s::isInDeadZone

Idle: dead zone offset 12 bit 6

Definition at line 55 of file idle_state_generated.h.

Referenced by IdleController::getClosedLoop(), and getOutputValueByHash().

◆ looksLikeCoasting

bool idle_state_s::looksLikeCoasting

offset 12 bit 10

Definition at line 67 of file idle_state_generated.h.

Referenced by IdleController::determinePhase(), and getOutputValueByHash().

◆ looksLikeCrankToIdle

bool idle_state_s::looksLikeCrankToIdle

offset 12 bit 11

Definition at line 70 of file idle_state_generated.h.

Referenced by IdleController::determinePhase(), and getOutputValueByHash().

◆ looksLikeRunning

bool idle_state_s::looksLikeRunning

offset 12 bit 9

Definition at line 64 of file idle_state_generated.h.

Referenced by IdleController::determinePhase(), and getOutputValueByHash().

◆ luaAdd

percent_t idle_state_s::luaAdd = (percent_t)0

idle: Lua Adder offset 36

Definition at line 174 of file idle_state_generated.h.

Referenced by configureRusefiLuaHooks(), getOutputValueByHash(), and IdleController::getRunningOpenLoop().

◆ m_lastTargetRpm

int idle_state_s::m_lastTargetRpm = (int)0

◆ mightResetPid

bool idle_state_s::mightResetPid

idle: mightResetPid The idea of 'mightResetPid' is to reset PID only once - each time when TPS > idlePidDeactivationTpsThreshold. The throttle pedal can be pressed for a long time, making the PID data obsolete (thus the reset is required). We set 'mightResetPid' to true only if PID was actually used (i.e. idlePid.getOutput() was called) to save some CPU resources. See automaticIdleController(). offset 12 bit 0

Definition at line 30 of file idle_state_generated.h.

Referenced by IdleController::getClosedLoop(), getOutputValueByHash(), and IdleController::init().

◆ needReset

bool idle_state_s::needReset

Idle: reset offset 12 bit 5

Definition at line 51 of file idle_state_generated.h.

Referenced by IdleController::getClosedLoop(), and getOutputValueByHash().

◆ shouldResetPid

bool idle_state_s::shouldResetPid

Idle: shouldResetPid This is used when the PID configuration is changed, to guarantee the reset offset 12 bit 1

Definition at line 35 of file idle_state_generated.h.

Referenced by IdleController::getClosedLoop(), getOutputValueByHash(), IdleController::init(), and IdleController::onConfigurationChange().

◆ targetRpmAc

int idle_state_s::targetRpmAc = (int)0

Idle: Target A/C RPM offset 28

Definition at line 164 of file idle_state_generated.h.

Referenced by getOutputValueByHash(), and IdleController::getTargetRpm().

◆ targetRpmByClt

int idle_state_s::targetRpmByClt = (int)0

Idle: Target RPM base offset 24

Definition at line 159 of file idle_state_generated.h.

Referenced by getOutputValueByHash(), and IdleController::getTargetRpm().

◆ unusedBit_18_15

bool idle_state_s::unusedBit_18_15

offset 12 bit 15

Definition at line 85 of file idle_state_generated.h.

◆ unusedBit_18_16

bool idle_state_s::unusedBit_18_16

offset 12 bit 16

Definition at line 88 of file idle_state_generated.h.

◆ unusedBit_18_17

bool idle_state_s::unusedBit_18_17

offset 12 bit 17

Definition at line 91 of file idle_state_generated.h.

◆ unusedBit_18_18

bool idle_state_s::unusedBit_18_18

offset 12 bit 18

Definition at line 94 of file idle_state_generated.h.

◆ unusedBit_18_19

bool idle_state_s::unusedBit_18_19

offset 12 bit 19

Definition at line 97 of file idle_state_generated.h.

◆ unusedBit_18_20

bool idle_state_s::unusedBit_18_20

offset 12 bit 20

Definition at line 100 of file idle_state_generated.h.

◆ unusedBit_18_21

bool idle_state_s::unusedBit_18_21

offset 12 bit 21

Definition at line 103 of file idle_state_generated.h.

◆ unusedBit_18_22

bool idle_state_s::unusedBit_18_22

offset 12 bit 22

Definition at line 106 of file idle_state_generated.h.

◆ unusedBit_18_23

bool idle_state_s::unusedBit_18_23

offset 12 bit 23

Definition at line 109 of file idle_state_generated.h.

◆ unusedBit_18_24

bool idle_state_s::unusedBit_18_24

offset 12 bit 24

Definition at line 112 of file idle_state_generated.h.

◆ unusedBit_18_25

bool idle_state_s::unusedBit_18_25

offset 12 bit 25

Definition at line 115 of file idle_state_generated.h.

◆ unusedBit_18_26

bool idle_state_s::unusedBit_18_26

offset 12 bit 26

Definition at line 118 of file idle_state_generated.h.

◆ unusedBit_18_27

bool idle_state_s::unusedBit_18_27

offset 12 bit 27

Definition at line 121 of file idle_state_generated.h.

◆ unusedBit_18_28

bool idle_state_s::unusedBit_18_28

offset 12 bit 28

Definition at line 124 of file idle_state_generated.h.

◆ unusedBit_18_29

bool idle_state_s::unusedBit_18_29

offset 12 bit 29

Definition at line 127 of file idle_state_generated.h.

◆ unusedBit_18_30

bool idle_state_s::unusedBit_18_30

offset 12 bit 30

Definition at line 130 of file idle_state_generated.h.

◆ unusedBit_18_31

bool idle_state_s::unusedBit_18_31

offset 12 bit 31

Definition at line 133 of file idle_state_generated.h.

◆ wasResetPid

bool idle_state_s::wasResetPid

Idle: wasResetPid This is needed to slowly turn on the PID back after it was reset. offset 12 bit 2

Definition at line 40 of file idle_state_generated.h.

Referenced by IdleController::getClosedLoop(), getOutputValueByHash(), and IdleController::init().


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