fome-fw/firmware/controllers/trigger/trigger_central_generated.h

51 lines
1.2 KiB
C
Raw Normal View History

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
// by class com.rusefi.output.CHeaderConsumer
// begin
2020-07-05 23:07:22 -07:00
#pragma once
#include "rusefi_types.h"
#define HW_EVENT_TYPES 6
// start of trigger_central_s
struct trigger_central_s {
/**
2022-04-19 12:11:17 -07:00
* Hardware events since boot
* 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;
};
2022-08-31 22:33:56 -07:00
static_assert(sizeof(trigger_central_s) == 44);
// 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