// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/engine_cycle/knock_controller.txt // by class com.rusefi.output.CHeaderConsumer // begin #pragma once #include "rusefi_types.h" // start of knock_controller_s struct knock_controller_s { /** * @@GAUGE_NAME_KNOCK_LEVEL@@ * units: Volts * offset 0 */ float m_knockLevel = (float)0; /** * Knock: Cyl * units: dBv * offset 4 */ int8_t m_knockCyl[12] = {}; /** * @@GAUGE_NAME_KNOCK_RETARD@@ * units: deg * offset 16 */ angle_t m_knockRetard = (angle_t)0; /** * Knock: Threshold * offset 20 */ float m_knockThreshold = (float)0; /** * @@GAUGE_NAME_KNOCK_COUNTER@@ * offset 24 */ uint32_t m_knockCount = (uint32_t)0; /** * Knock: Max retard * offset 28 */ float m_maximumRetard = (float)0; /** * Knock: SpectrumData * units: compressed data * offset 32 */ uint32_t m_knockSpectrum[16] = {}; /** * Knock: ChannelAndCylNumber * units: compressed N + N * offset 96 */ uint16_t m_knockSpectrumChannelCyl = (uint16_t)0; /** * Knock: Start Freq * units: Hz * offset 98 */ uint16_t m_knockFrequencyStart = (uint16_t)0; /** * Knock: Step Freq * units: Hz * offset 100 */ float m_knockFrequencyStep = (float)0; /** * Knock: Fuel trim when knock * units: multiplier * offset 104 */ float m_knockFuelTrimMultiplier = (float)0; }; static_assert(sizeof(knock_controller_s) == 108); // end // this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/engine_cycle/knock_controller.txt