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

56 lines
1.2 KiB
C
Raw Normal View History

2022-10-28 06:11:34 -07:00
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/trigger/trigger_central.txt Fri Oct 28 13:10:32 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
*/
2022-10-28 06:11:34 -07:00
uint32_t vvtCamCounter = (uint32_t)0;
2022-04-23 15:02:47 -07:00
/**
* offset 28
*/
2022-10-08 19:22:51 -07:00
float mapVvt_MAP_AT_SPECIAL_POINT = (float)0;
2022-04-23 15:02:47 -07:00
/**
* offset 32
*/
2022-10-08 19:22:51 -07:00
float mapVvt_MAP_AT_DIFF = (float)0;
2022-04-23 15:02:47 -07:00
/**
* 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-10-08 19:22:51 -07:00
float currentEngineDecodedPhase = (float)0;
2022-09-23 21:29:39 -07:00
/**
deg
* offset 44
*/
float triggerToothAngleError = (float)0;
};
2022-09-23 21:29:39 -07:00
static_assert(sizeof(trigger_central_s) == 48);
// end
2022-10-28 06:11:34 -07:00
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/trigger/trigger_central.txt Fri Oct 28 13:10:32 UTC 2022