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

34 lines
816 B
C

#pragma once
#include "rusefi_types.h"
#define HW_EVENT_TYPES 6
struct trigger_central_s {
// Hardware events since boot
// offset 0
uint32_t hwEventCounters[HW_EVENT_TYPES];
// offset 24
uint32_t vvtCamCounter = (uint32_t)0;
// offset 28
float mapVvt_MAP_AT_SPECIAL_POINT = (float)0;
// offset 32
float 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;
// offset 38
uint8_t alignmentFill_at_38[2];
// Engine Phase
// deg
// offset 40
float currentEngineDecodedPhase = (float)0;
// deg
// offset 44
float triggerToothAngleError = (float)0;
// offset 48
uint8_t triggerIgnoredToothCount = (uint8_t)0;
// offset 49
uint8_t alignmentFill_at_49[3];
};
static_assert(sizeof(trigger_central_s) == 52);