2023-01-16 12:12:24 -08:00
! "units",scale,offset, min,max, digits,category
2022-04-13 12:51:11 -07:00
struct_no_prefix ignition_state_s
2023-03-05 08:49:57 -08:00
float baseDwell;"Ignition: base dwell";"ms", 1,0, 0,30, 1,@@GAUGE_CATEGORY_TIMING@@
2023-01-16 12:16:35 -08:00
floatms_t sparkDwell;@@GAUGE_COIL_DWELL_TIME@@;"ms", 1,0, 0,30, 1,@@GAUGE_CATEGORY_TIMING@@
2023-01-16 12:12:24 -08:00
2024-02-28 16:34:02 -08:00
angle_t dwellDurationAngle;Ignition: dwell duration\nas crankshaft angle\nNAN if engine is stopped\nSee also sparkDwell;"deg", 1,0, 0,120, 1,@@GAUGE_CATEGORY_TIMING@@
2023-01-16 12:12:24 -08:00
2023-05-04 13:53:06 -07:00
int16_t autoscale cltTimingCorrection;Ign: CLT correction;"deg",{1/@@PACK_MULT_PERCENT@@},0, -20,20, 2,@@GAUGE_CATEGORY_TIMING@@
int16_t autoscale timingIatCorrection;Ign: IAT correction;"deg",{1/@@PACK_MULT_PERCENT@@},0, -20,20, 2,@@GAUGE_CATEGORY_TIMING@@
int16_t autoscale timingPidCorrection;Idle: Timing adjustment;"deg",{1/@@PACK_MULT_PERCENT@@},0, -20,20, 2,@@GAUGE_CATEGORY_TIMING@@
2023-01-15 05:26:08 -08:00
2023-04-12 12:24:23 -07:00
int16_t autoscale baseIgnitionAdvance;@@GAUGE_NAME_TIMING_ADVANCE@@;"deg",{1/@@PACK_MULT_ANGLE@@}, 0, 0, 0, 1
int16_t autoscale correctedIgnitionAdvance;@@GAUGE_NAME_ADJUSTED_TIMING@@;"deg",{1/@@PACK_MULT_ANGLE@@}, 0, 0, 0, 1
2024-02-03 13:25:57 -08:00
int16_t autoscale tractionAdvanceDrop;Traction: timing correction;"deg",{1/@@PACK_MULT_ANGLE@@}, 0, 0, 0, 1
2023-05-04 13:53:06 -07:00
float dwellVoltageCorrection;Ign: Dwell voltage correction
2023-01-15 05:26:08 -08:00
2023-05-04 13:33:00 -07:00
float luaTimingAdd;Ign: Lua timing add;"deg",1, 0, -20, 20, 2, @@GAUGE_CATEGORY_TIMING@@
float luaTimingMult;Ign: Lua timing mult;"deg",1, 0, -20, 20, 2, @@GAUGE_CATEGORY_TIMING@@
2023-05-25 10:15:30 -07:00
bit luaIgnitionSkip;Ign: Lua Spark Skip
2022-04-16 16:18:03 -07:00
2022-04-13 12:34:44 -07:00
end_struct