2022-09-01 07:11:17 -07:00
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/trigger/trigger_central.txt Thu Sep 01 14:10:15 UTC 2022
2019-07-20 11:56:56 -07:00
// by class com.rusefi.output.CHeaderConsumer
2019-06-30 06:38:51 -07:00
// begin
2020-07-05 23:07:22 -07:00
# pragma once
2019-06-30 06:38:51 -07:00
# include "rusefi_types.h"
2022-04-14 17:42:31 -07:00
# define HW_EVENT_TYPES 6
2019-06-30 06:38:51 -07:00
// start of trigger_central_s
struct trigger_central_s {
/**
2022-04-19 12:11:17 -07:00
* Hardware events since boot
2019-06-30 06:38:51 -07:00
* offset 0
*/
int hwEventCounters [ HW_EVENT_TYPES ] ;
2019-09-02 11:47:05 -07:00
/**
* offset 24
*/
int vvtCamCounter = ( int ) 0 ;
2022-04-23 15:02:47 -07:00
/**
* offset 28
*/
scaled_channel < float , 1 , 1 > mapVvt_MAP_AT_SPECIAL_POINT = ( float ) 0 ;
/**
* offset 32
*/
scaled_channel < float , 1 , 1 > mapVvt_MAP_AT_DIFF = ( float ) 0 ;
/**
* offset 36
*/
uint8_t mapVvt_MAP_AT_CYCLE_COUNT = ( uint8_t ) 0 ;
/**
* offset 37
*/
uint8_t mapVvt_map_peak = ( uint8_t ) 0 ;
2022-08-31 22:33:56 -07:00
/**
* need 4 byte alignment
units
* offset 38
*/
uint8_t alignmentFill_at_38 [ 2 ] ;
2022-04-23 15:02:47 -07:00
/**
2022-09-01 07:11:17 -07:00
* Engine Phase
2022-08-31 20:56:47 -07:00
deg
2022-08-31 22:33:56 -07:00
* offset 40
2022-04-23 15:02:47 -07:00
*/
2022-08-31 22:33:56 -07:00
scaled_channel < float , 1 , 1 > currentEngineDecodedPhase = ( float ) 0 ;
2019-06-30 06:38:51 -07:00
} ;
2022-08-31 22:33:56 -07:00
static_assert ( sizeof ( trigger_central_s ) = = 44 ) ;
2019-06-30 06:38:51 -07:00
// end
2022-09-01 07:11:17 -07:00
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/trigger/trigger_central.txt Thu Sep 01 14:10:15 UTC 2022