fw-custom-mega100/generated/live_data_generated/trigger_state_generated.h

48 lines
1.1 KiB
C
Raw Permalink Normal View History

2024-09-05 17:26:28 -07:00
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/trigger/trigger_state.txt
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of trigger_state_s
struct trigger_state_s {
/**
2024-12-28 16:20:17 -08:00
* sync: wheel sync counter
2024-09-05 17:26:28 -07:00
* offset 0
*/
2024-12-11 16:20:01 -08:00
uint32_t synchronizationCounter = (uint32_t)0;
2024-09-05 17:26:28 -07:00
/**
* units: us
2024-12-04 16:20:13 -08:00
* offset 4
2024-09-05 17:26:28 -07:00
*/
uint32_t vvtToothDurations0 = (uint32_t)0;
/**
2024-12-28 16:20:17 -08:00
* "sync: Primary Position"
2024-12-04 16:20:13 -08:00
* offset 8
2024-09-05 17:26:28 -07:00
*/
float vvtCurrentPosition = (float)0;
/**
2024-12-28 16:20:17 -08:00
* "sync: Cam Position"
2024-12-04 16:20:13 -08:00
* offset 12
2024-09-05 17:26:28 -07:00
*/
2025-01-01 16:18:59 -08:00
float vvtToothPosition[4] = {};
2024-09-05 17:26:28 -07:00
/**
* @@GAUGE_NAME_TRG_GAP@@
2024-12-04 16:20:13 -08:00
* offset 28
2024-09-05 17:26:28 -07:00
*/
float triggerSyncGapRatio = (float)0;
/**
2024-12-04 16:20:13 -08:00
* offset 32
2024-09-05 17:26:28 -07:00
*/
uint8_t triggerStateIndex = (uint8_t)0;
/**
* need 4 byte alignment
* units: units
2024-12-11 16:20:01 -08:00
* offset 33
2024-09-05 17:26:28 -07:00
*/
2025-01-01 16:18:59 -08:00
uint8_t alignmentFill_at_33[3] = {};
2024-09-05 17:26:28 -07:00
};
2024-12-04 16:20:13 -08:00
static_assert(sizeof(trigger_state_s) == 36);
2024-09-05 17:26:28 -07:00
// end
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/trigger/trigger_state.txt