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 mustResetPid: 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_19_16: 1 {}
 
bool unusedBit_19_17: 1 {}
 
bool unusedBit_19_18: 1 {}
 
bool unusedBit_19_19: 1 {}
 
bool unusedBit_19_20: 1 {}
 
bool unusedBit_19_21: 1 {}
 
bool unusedBit_19_22: 1 {}
 
bool unusedBit_19_23: 1 {}
 
bool unusedBit_19_24: 1 {}
 
bool unusedBit_19_25: 1 {}
 
bool unusedBit_19_26: 1 {}
 
bool unusedBit_19_27: 1 {}
 
bool unusedBit_19_28: 1 {}
 
bool unusedBit_19_29: 1 {}
 
bool unusedBit_19_30: 1 {}
 
bool unusedBit_19_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 155 of file idle_state_generated.h.

155{};

◆ badTps

bool idle_state_s::badTps

offset 12 bit 9

Definition at line 65 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 190 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 170 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 184 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 144 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 149 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 139 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 196 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 202 of file idle_state_generated.h.

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

◆ isBlipping

bool idle_state_s::isBlipping

offset 12 bit 8

Definition at line 62 of file idle_state_generated.h.

Referenced by getOutputValueByHash().

◆ isCranking

bool idle_state_s::isCranking

Idle: cranking offset 12 bit 4

Definition at line 48 of file idle_state_generated.h.

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

◆ isIacTableForCoasting

bool idle_state_s::isIacTableForCoasting

offset 12 bit 5

Definition at line 51 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 14

Definition at line 82 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 13

Definition at line 78 of file idle_state_generated.h.

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

◆ isIdling

bool idle_state_s::isIdling

Idle: idling offset 12 bit 15

Definition at line 86 of file idle_state_generated.h.

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

◆ isInDeadZone

bool idle_state_s::isInDeadZone

Idle: dead zone offset 12 bit 7

Definition at line 59 of file idle_state_generated.h.

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

◆ looksLikeCoasting

bool idle_state_s::looksLikeCoasting

offset 12 bit 11

Definition at line 71 of file idle_state_generated.h.

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

◆ looksLikeCrankToIdle

bool idle_state_s::looksLikeCrankToIdle

offset 12 bit 12

Definition at line 74 of file idle_state_generated.h.

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

◆ looksLikeRunning

bool idle_state_s::looksLikeRunning

offset 12 bit 10

Definition at line 68 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 175 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().

◆ mustResetPid

bool idle_state_s::mustResetPid

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

Definition at line 44 of file idle_state_generated.h.

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

◆ needReset

bool idle_state_s::needReset

Idle: reset offset 12 bit 6

Definition at line 55 of file idle_state_generated.h.

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

◆ shouldResetPid

bool idle_state_s::shouldResetPid

Idle: shouldResetPid offset 12 bit 1

Definition at line 34 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 165 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 160 of file idle_state_generated.h.

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

◆ unusedBit_19_16

bool idle_state_s::unusedBit_19_16

offset 12 bit 16

Definition at line 89 of file idle_state_generated.h.

◆ unusedBit_19_17

bool idle_state_s::unusedBit_19_17

offset 12 bit 17

Definition at line 92 of file idle_state_generated.h.

◆ unusedBit_19_18

bool idle_state_s::unusedBit_19_18

offset 12 bit 18

Definition at line 95 of file idle_state_generated.h.

◆ unusedBit_19_19

bool idle_state_s::unusedBit_19_19

offset 12 bit 19

Definition at line 98 of file idle_state_generated.h.

◆ unusedBit_19_20

bool idle_state_s::unusedBit_19_20

offset 12 bit 20

Definition at line 101 of file idle_state_generated.h.

◆ unusedBit_19_21

bool idle_state_s::unusedBit_19_21

offset 12 bit 21

Definition at line 104 of file idle_state_generated.h.

◆ unusedBit_19_22

bool idle_state_s::unusedBit_19_22

offset 12 bit 22

Definition at line 107 of file idle_state_generated.h.

◆ unusedBit_19_23

bool idle_state_s::unusedBit_19_23

offset 12 bit 23

Definition at line 110 of file idle_state_generated.h.

◆ unusedBit_19_24

bool idle_state_s::unusedBit_19_24

offset 12 bit 24

Definition at line 113 of file idle_state_generated.h.

◆ unusedBit_19_25

bool idle_state_s::unusedBit_19_25

offset 12 bit 25

Definition at line 116 of file idle_state_generated.h.

◆ unusedBit_19_26

bool idle_state_s::unusedBit_19_26

offset 12 bit 26

Definition at line 119 of file idle_state_generated.h.

◆ unusedBit_19_27

bool idle_state_s::unusedBit_19_27

offset 12 bit 27

Definition at line 122 of file idle_state_generated.h.

◆ unusedBit_19_28

bool idle_state_s::unusedBit_19_28

offset 12 bit 28

Definition at line 125 of file idle_state_generated.h.

◆ unusedBit_19_29

bool idle_state_s::unusedBit_19_29

offset 12 bit 29

Definition at line 128 of file idle_state_generated.h.

◆ unusedBit_19_30

bool idle_state_s::unusedBit_19_30

offset 12 bit 30

Definition at line 131 of file idle_state_generated.h.

◆ unusedBit_19_31

bool idle_state_s::unusedBit_19_31

offset 12 bit 31

Definition at line 134 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 39 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: