2024-09-02 09:45:07 -07:00
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/engine_cycle/knock_controller.txt
2024-03-05 09:18:31 -08:00
// 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 ;
2024-09-02 09:45:07 -07:00
/**
* @ @ GAUGE_NAME_KNOCK_FREQ @ @
* units : Hz
* offset 32
*/
uint32_t m_knockFrequency = ( uint32_t ) 0 ;
2024-03-05 09:18:31 -08:00
} ;
2024-09-02 09:45:07 -07:00
static_assert ( sizeof ( knock_controller_s ) = = 36 ) ;
2024-03-05 09:18:31 -08:00
// end
2024-09-02 09:45:07 -07:00
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/engine_cycle/knock_controller.txt