2021-10-30 18:45:37 -07:00
|
|
|
struct_no_prefix tps_accel_state_s
|
2021-10-30 19:03:19 -07:00
|
|
|
|
|
|
|
custom percent_t 4 bits, F32, @OFFSET@, [0:2], "not important"
|
|
|
|
|
2021-10-30 18:45:37 -07:00
|
|
|
percent_t tpsFrom;
|
|
|
|
percent_t tpsTo;
|
|
|
|
percent_t deltaTps;
|
|
|
|
|
|
|
|
floatms_t extraFuel;
|
2021-10-30 19:03:19 -07:00
|
|
|
float valueFromTable;
|
2021-10-30 18:45:37 -07:00
|
|
|
|
|
|
|
bit isAboveAccelThreshold;
|
|
|
|
bit isBelowDecelThreshold;
|
2021-10-30 19:03:19 -07:00
|
|
|
bit isTimeToResetAccumulator
|
|
|
|
bit isFractionalEnrichment
|
2021-10-30 19:20:29 -07:00
|
|
|
bit belowEpsilon;
|
2021-10-30 18:45:37 -07:00
|
|
|
|
2021-10-30 19:03:19 -07:00
|
|
|
float fractionalInjFuel
|
2021-10-30 18:45:37 -07:00
|
|
|
|
|
|
|
! /**
|
|
|
|
! * Used for Fractional TPS enrichment.
|
|
|
|
! */
|
2021-10-30 19:03:19 -07:00
|
|
|
floatms_t accumulatedValue
|
|
|
|
floatms_t maxExtraPerCycle
|
|
|
|
floatms_t maxExtraPerPeriod
|
|
|
|
floatms_t maxInjectedPerPeriod
|
|
|
|
int cycleCnt
|
2021-10-30 18:45:37 -07:00
|
|
|
|
|
|
|
|
|
|
|
end_struct
|