rusefi/firmware/controllers/trigger/trigger_central_generated.h

170 lines
3.3 KiB
C
Raw Normal View History

2023-08-09 02:41:01 -07:00
// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/trigger/trigger_central.txt Wed Aug 09 09:38:59 UTC 2023
// 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
*/
2022-10-28 07:09:22 -07:00
uint32_t hwEventCounters[HW_EVENT_TYPES];
2019-09-02 11:47:05 -07:00
/**
2023-03-28 17:35:11 -07:00
* Sync: total cams front counter
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
/**
2023-03-07 16:52:41 -08:00
* Sync: 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
/**
2023-03-28 17:35:11 -07:00
* Sync: trigger angle error
2022-09-23 21:29:39 -07:00
deg
* offset 44
*/
float triggerToothAngleError = (float)0;
2023-01-10 13:35:32 -08:00
/**
* offset 48
*/
uint8_t triggerIgnoredToothCount = (uint8_t)0;
/**
* need 4 byte alignment
units
* offset 49
*/
uint8_t alignmentFill_at_49[3];
2023-08-09 02:41:01 -07:00
/**
* Sync: MAP: prev angle
deg
* offset 52
*/
angle_t mapCamPrevToothAngle = (angle_t)0;
/**
offset 56 bit 0 */
bool isDecodingMapCam : 1 {};
/**
offset 56 bit 1 */
bool unusedBit_13_1 : 1 {};
/**
offset 56 bit 2 */
bool unusedBit_13_2 : 1 {};
/**
offset 56 bit 3 */
bool unusedBit_13_3 : 1 {};
/**
offset 56 bit 4 */
bool unusedBit_13_4 : 1 {};
/**
offset 56 bit 5 */
bool unusedBit_13_5 : 1 {};
/**
offset 56 bit 6 */
bool unusedBit_13_6 : 1 {};
/**
offset 56 bit 7 */
bool unusedBit_13_7 : 1 {};
/**
offset 56 bit 8 */
bool unusedBit_13_8 : 1 {};
/**
offset 56 bit 9 */
bool unusedBit_13_9 : 1 {};
/**
offset 56 bit 10 */
bool unusedBit_13_10 : 1 {};
/**
offset 56 bit 11 */
bool unusedBit_13_11 : 1 {};
/**
offset 56 bit 12 */
bool unusedBit_13_12 : 1 {};
/**
offset 56 bit 13 */
bool unusedBit_13_13 : 1 {};
/**
offset 56 bit 14 */
bool unusedBit_13_14 : 1 {};
/**
offset 56 bit 15 */
bool unusedBit_13_15 : 1 {};
/**
offset 56 bit 16 */
bool unusedBit_13_16 : 1 {};
/**
offset 56 bit 17 */
bool unusedBit_13_17 : 1 {};
/**
offset 56 bit 18 */
bool unusedBit_13_18 : 1 {};
/**
offset 56 bit 19 */
bool unusedBit_13_19 : 1 {};
/**
offset 56 bit 20 */
bool unusedBit_13_20 : 1 {};
/**
offset 56 bit 21 */
bool unusedBit_13_21 : 1 {};
/**
offset 56 bit 22 */
bool unusedBit_13_22 : 1 {};
/**
offset 56 bit 23 */
bool unusedBit_13_23 : 1 {};
/**
offset 56 bit 24 */
bool unusedBit_13_24 : 1 {};
/**
offset 56 bit 25 */
bool unusedBit_13_25 : 1 {};
/**
offset 56 bit 26 */
bool unusedBit_13_26 : 1 {};
/**
offset 56 bit 27 */
bool unusedBit_13_27 : 1 {};
/**
offset 56 bit 28 */
bool unusedBit_13_28 : 1 {};
/**
offset 56 bit 29 */
bool unusedBit_13_29 : 1 {};
/**
offset 56 bit 30 */
bool unusedBit_13_30 : 1 {};
/**
offset 56 bit 31 */
bool unusedBit_13_31 : 1 {};
};
2023-08-09 02:41:01 -07:00
static_assert(sizeof(trigger_central_s) == 60);
// end
2023-08-09 02:41:01 -07:00
// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/trigger/trigger_central.txt Wed Aug 09 09:38:59 UTC 2023