// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/algo/ignition_state.txt Wed May 31 21:17:03 UTC 2023 // by class com.rusefi.output.CHeaderConsumer // begin #pragma once #include "rusefi_types.h" // start of ignition_state_s struct ignition_state_s { /** * "Ignition: base dwell" ms * offset 0 */ float baseDwell = (float)0; /** * @@GAUGE_COIL_DWELL_TIME@@ ms * offset 4 */ floatms_t sparkDwell = (floatms_t)0; /** * Ignition: dwell duration * as crankshaft angle * NAN if engine is stopped * See also sparkDwell deg * offset 8 */ angle_t dwellAngle = (angle_t)0; /** * Ign: CLT correction deg * offset 12 */ scaled_channel cltTimingCorrection = (int16_t)0; /** * Ign: IAT correction deg * offset 14 */ scaled_channel timingIatCorrection = (int16_t)0; /** * Idle: Timing adjustment deg * offset 16 */ scaled_channel timingPidCorrection = (int16_t)0; /** * @@GAUGE_NAME_TIMING_ADVANCE@@ deg * offset 18 */ scaled_channel baseIgnitionAdvance = (int16_t)0; /** * @@GAUGE_NAME_ADJUSTED_TIMING@@ deg * offset 20 */ scaled_channel correctedIgnitionAdvance = (int16_t)0; /** * need 4 byte alignment units * offset 22 */ uint8_t alignmentFill_at_22[2]; /** * Ign: Dwell voltage correction * offset 24 */ float dwellVoltageCorrection = (float)0; /** * Ign: Lua timing add deg * offset 28 */ float luaTimingAdd = (float)0; /** * Ign: Lua timing mult deg * offset 32 */ float luaTimingMult = (float)0; /** * Ign: Lua Spark Skip offset 36 bit 0 */ bool luaIgnitionSkip : 1 {}; /** offset 36 bit 1 */ bool unusedBit_13_1 : 1 {}; /** offset 36 bit 2 */ bool unusedBit_13_2 : 1 {}; /** offset 36 bit 3 */ bool unusedBit_13_3 : 1 {}; /** offset 36 bit 4 */ bool unusedBit_13_4 : 1 {}; /** offset 36 bit 5 */ bool unusedBit_13_5 : 1 {}; /** offset 36 bit 6 */ bool unusedBit_13_6 : 1 {}; /** offset 36 bit 7 */ bool unusedBit_13_7 : 1 {}; /** offset 36 bit 8 */ bool unusedBit_13_8 : 1 {}; /** offset 36 bit 9 */ bool unusedBit_13_9 : 1 {}; /** offset 36 bit 10 */ bool unusedBit_13_10 : 1 {}; /** offset 36 bit 11 */ bool unusedBit_13_11 : 1 {}; /** offset 36 bit 12 */ bool unusedBit_13_12 : 1 {}; /** offset 36 bit 13 */ bool unusedBit_13_13 : 1 {}; /** offset 36 bit 14 */ bool unusedBit_13_14 : 1 {}; /** offset 36 bit 15 */ bool unusedBit_13_15 : 1 {}; /** offset 36 bit 16 */ bool unusedBit_13_16 : 1 {}; /** offset 36 bit 17 */ bool unusedBit_13_17 : 1 {}; /** offset 36 bit 18 */ bool unusedBit_13_18 : 1 {}; /** offset 36 bit 19 */ bool unusedBit_13_19 : 1 {}; /** offset 36 bit 20 */ bool unusedBit_13_20 : 1 {}; /** offset 36 bit 21 */ bool unusedBit_13_21 : 1 {}; /** offset 36 bit 22 */ bool unusedBit_13_22 : 1 {}; /** offset 36 bit 23 */ bool unusedBit_13_23 : 1 {}; /** offset 36 bit 24 */ bool unusedBit_13_24 : 1 {}; /** offset 36 bit 25 */ bool unusedBit_13_25 : 1 {}; /** offset 36 bit 26 */ bool unusedBit_13_26 : 1 {}; /** offset 36 bit 27 */ bool unusedBit_13_27 : 1 {}; /** offset 36 bit 28 */ bool unusedBit_13_28 : 1 {}; /** offset 36 bit 29 */ bool unusedBit_13_29 : 1 {}; /** offset 36 bit 30 */ bool unusedBit_13_30 : 1 {}; /** offset 36 bit 31 */ bool unusedBit_13_31 : 1 {}; }; static_assert(sizeof(ignition_state_s) == 40); // end // this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/algo/ignition_state.txt Wed May 31 21:17:03 UTC 2023