2024-04-28 06:44:09 -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 Sun Apr 28 13:42:38 UTC 2024
2022-04-29 09:04:30 -07:00
// by class com.rusefi.output.CHeaderConsumer
// begin
# pragma once
# include "rusefi_types.h"
// start of knock_controller_s
struct knock_controller_s {
/**
2023-09-25 18:23:22 -07:00
* @ @ GAUGE_NAME_KNOCK_LEVEL @ @
2024-01-03 12:32:11 -08:00
* units : Volts
2022-04-29 09:04:30 -07:00
* offset 0
*/
2023-09-25 18:23:22 -07:00
float m_knockLevel = ( float ) 0 ;
2023-09-25 19:23:45 -07:00
/**
* Knock : Cyl
2024-01-03 12:32:11 -08:00
* units : dBv
2023-09-25 19:23:45 -07:00
* offset 4
*/
int8_t m_knockCyl [ 12 ] ;
2022-04-29 12:23:22 -07:00
/**
2023-09-25 18:23:22 -07:00
* @ @ GAUGE_NAME_KNOCK_RETARD @ @
2024-01-03 12:32:11 -08:00
* units : deg
2023-09-25 19:23:45 -07:00
* offset 16
2022-04-29 12:23:22 -07:00
*/
2023-09-25 18:23:22 -07:00
angle_t m_knockRetard = ( angle_t ) 0 ;
2022-04-29 12:23:22 -07:00
/**
2023-09-25 18:23:22 -07:00
* Knock : Threshold
2023-09-25 19:23:45 -07:00
* offset 20
2022-04-29 12:23:22 -07:00
*/
2023-09-25 18:23:22 -07:00
float m_knockThreshold = ( float ) 0 ;
2022-08-29 23:02:26 -07:00
/**
2023-09-25 18:23:22 -07:00
* @ @ GAUGE_NAME_KNOCK_COUNTER @ @
2023-09-25 19:23:45 -07:00
* offset 24
2022-08-29 23:02:26 -07:00
*/
2023-09-25 18:23:22 -07:00
uint32_t m_knockCount = ( uint32_t ) 0 ;
/**
2023-09-25 19:23:45 -07:00
* Knock : Max retard
* offset 28
2023-09-25 18:23:22 -07:00
*/
2022-08-29 23:02:26 -07:00
float m_maximumRetard = ( float ) 0 ;
2024-04-28 06:44:09 -07:00
/**
* @ @ GAUGE_NAME_KNOCK_FREQ @ @
* units : Hz
* offset 32
*/
uint32_t m_knockFrequency = ( uint32_t ) 0 ;
2022-04-29 09:04:30 -07:00
} ;
2024-04-28 06:44:09 -07:00
static_assert ( sizeof ( knock_controller_s ) = = 36 ) ;
2022-04-29 09:04:30 -07:00
// end
2024-04-28 06:44:09 -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 Sun Apr 28 13:42:38 UTC 2024