enginePins.o2heater technical debt or confusion #5727

This commit is contained in:
rusefillc 2023-11-15 16:26:45 -05:00
parent e7453eadfc
commit 289b7611b7
3 changed files with 4 additions and 1 deletions

View File

@ -41,6 +41,8 @@ struct_no_prefix engine_state_s
bit startStopPhysicalState
bit acrStateDup
bit acrEngineMovedRecently
! same field is used for narrow band heater enable and wide band enable via CAN
bit heaterControlEnabled
uint32_t startStopStateToggleCounter
float egtValue1

View File

@ -1,4 +1,5 @@
struct_no_prefix wideband_state_s
! see also 'Fault' enum in wideband source code
uint8_t faultCode;WBO: Fault code
uint8_t heaterDuty;WBO: Heater duty;"%", 1, 0, 0, 100, 0

View File

@ -231,7 +231,7 @@ enable2ndByteCanID = false
debugFieldI4List = bits, U08, [0:7], "Alt: Period", "", "", "Idle: State", "Idle di4", "Cycle Cnt 1", "", "", "", "", "", "", "", "", "", "", "", "ETB di4", "executor", "", "di4", "di4", "22di4", "", "24:di4", "", "", "", "", "", "", "Init Count", "", "", "", "", "","" "", "", "", "", "", "", "", "", "", "Solenoid 4 State", "", "", "", ""
debugFieldI5List = bits, U08, [0:7], "", "", "", "", "Idle di5", "Cycle Cnt 2", "", "", "", "", "", "", "", "", "", "di5", "di5", "ETB di5", "max executor", "di5", "di5", "di5", "22di5", "di5", "di5", "di5", "di5", "di5", "", "di5", "di5", "di5", "", "di5", "di5", "di5", "","" "", "", "", "", "", "", "", "", "", "Solenoid 5 State", "", "", "", ""
wboFaultCodeList = bits, U08, [0:3], "OK", "silent", "Unk", "failed to heat", "overheat", "underheat", "no supply", "legacy"
wboFaultCodeList = bits, U08, [0:3], "OK", "silent", "cranking", "failed to heat", "overheat", "underheat", "no supply", "legacy"
injModeList = bits, U08, [0:3], "Simultaneous", "Sequential", "Batch", "Single Point"
ignModeList = bits, U08, [0:3], "Single Coil", "Sequential", "Wasted", "Two Coils"