2021-10-30 18:45:37 -07:00
|
|
|
struct_no_prefix tps_accel_state_s
|
2021-10-30 19:03:19 -07:00
|
|
|
|
2022-06-19 06:52:23 -07:00
|
|
|
custom percent_t 4 scalar, F32, @OFFSET@, "", 1, 0, 0, 100, 2
|
2021-10-30 19:03:19 -07:00
|
|
|
|
2022-06-19 06:52:23 -07:00
|
|
|
percent_t tpsFrom
|
|
|
|
percent_t tpsTo
|
|
|
|
percent_t deltaTps
|
2021-10-30 18:45:37 -07:00
|
|
|
|
|
|
|
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;
|
2022-01-02 10:57:58 -08:00
|
|
|
bit tooShort;
|
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
|