rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
trigger_central_generated.h
Go to the documentation of this file.
1// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/trigger/trigger_central.txt
2// by class com.rusefi.output.CHeaderConsumer
3// begin
4#pragma once
5#include "rusefi_types.h"
6// start of trigger_central_s
8 /**
9 * Hardware events since boot
10 * offset 0
11 */
12 uint16_t hwEventCounters[HW_EVENT_TYPES] = {};
13 /**
14 * offset 8
15 */
16 uint16_t vvtEventRiseCounter[CAM_INPUTS_COUNT] = {};
17 /**
18 * offset 16
19 */
20 uint16_t vvtEventFallCounter[CAM_INPUTS_COUNT] = {};
21 /**
22 * Sync: total cams front counter
23 * offset 24
24 */
25 uint16_t vvtCamCounter = (uint16_t)0;
26 /**
27 * need 4 byte alignment
28 * units: units
29 * offset 26
30 */
31 uint8_t alignmentFill_at_26[2] = {};
32 /**
33 * InstantMAP at readout angle
34 * units: kPa
35 * offset 28
36 */
38 /**
39 * InstantMAP delta @ readout angles
40 * units: kPa
41 * offset 32
42 */
44 /**
45 * units: distance
46 * offset 36
47 */
48 int8_t mapVvt_MAP_AT_CYCLE_COUNT = (int8_t)0;
49 /**
50 * Instant MAP sync counter
51 * units: counter
52 * offset 37
53 */
54 uint8_t mapVvt_sync_counter = (uint8_t)0;
55 /**
56 * offset 38
57 */
58 uint8_t mapVvt_min_point_counter = (uint8_t)0;
59 /**
60 * need 4 byte alignment
61 * units: units
62 * offset 39
63 */
64 uint8_t alignmentFill_at_39[1] = {};
65 /**
66 * offset 40
67 */
68 uint32_t temp_mapVvt_index = (uint32_t)0;
69 /**
70 * offset 44
71 */
73 /**
74 * Sync: Engine Phase
75 * units: deg
76 * offset 48
77 */
79 /**
80 * Sync: trigger angle error
81 * units: deg
82 * offset 52
83 */
85 /**
86 * offset 56
87 */
88 uint8_t triggerIgnoredToothCount = (uint8_t)0;
89 /**
90 * need 4 byte alignment
91 * units: units
92 * offset 57
93 */
94 uint8_t alignmentFill_at_57[3] = {};
95 /**
96 * Sync: MAP: prev angle
97 * units: deg
98 * offset 60
99 */
101 /**
102 offset 64 bit 0 */
103 bool isDecodingMapCam : 1 {};
104 /**
105 offset 64 bit 1 */
106 bool unusedBit_19_1 : 1 {};
107 /**
108 offset 64 bit 2 */
109 bool unusedBit_19_2 : 1 {};
110 /**
111 offset 64 bit 3 */
112 bool unusedBit_19_3 : 1 {};
113 /**
114 offset 64 bit 4 */
115 bool unusedBit_19_4 : 1 {};
116 /**
117 offset 64 bit 5 */
118 bool unusedBit_19_5 : 1 {};
119 /**
120 offset 64 bit 6 */
121 bool unusedBit_19_6 : 1 {};
122 /**
123 offset 64 bit 7 */
124 bool unusedBit_19_7 : 1 {};
125 /**
126 offset 64 bit 8 */
127 bool unusedBit_19_8 : 1 {};
128 /**
129 offset 64 bit 9 */
130 bool unusedBit_19_9 : 1 {};
131 /**
132 offset 64 bit 10 */
133 bool unusedBit_19_10 : 1 {};
134 /**
135 offset 64 bit 11 */
136 bool unusedBit_19_11 : 1 {};
137 /**
138 offset 64 bit 12 */
139 bool unusedBit_19_12 : 1 {};
140 /**
141 offset 64 bit 13 */
142 bool unusedBit_19_13 : 1 {};
143 /**
144 offset 64 bit 14 */
145 bool unusedBit_19_14 : 1 {};
146 /**
147 offset 64 bit 15 */
148 bool unusedBit_19_15 : 1 {};
149 /**
150 offset 64 bit 16 */
151 bool unusedBit_19_16 : 1 {};
152 /**
153 offset 64 bit 17 */
154 bool unusedBit_19_17 : 1 {};
155 /**
156 offset 64 bit 18 */
157 bool unusedBit_19_18 : 1 {};
158 /**
159 offset 64 bit 19 */
160 bool unusedBit_19_19 : 1 {};
161 /**
162 offset 64 bit 20 */
163 bool unusedBit_19_20 : 1 {};
164 /**
165 offset 64 bit 21 */
166 bool unusedBit_19_21 : 1 {};
167 /**
168 offset 64 bit 22 */
169 bool unusedBit_19_22 : 1 {};
170 /**
171 offset 64 bit 23 */
172 bool unusedBit_19_23 : 1 {};
173 /**
174 offset 64 bit 24 */
175 bool unusedBit_19_24 : 1 {};
176 /**
177 offset 64 bit 25 */
178 bool unusedBit_19_25 : 1 {};
179 /**
180 offset 64 bit 26 */
181 bool unusedBit_19_26 : 1 {};
182 /**
183 offset 64 bit 27 */
184 bool unusedBit_19_27 : 1 {};
185 /**
186 offset 64 bit 28 */
187 bool unusedBit_19_28 : 1 {};
188 /**
189 offset 64 bit 29 */
190 bool unusedBit_19_29 : 1 {};
191 /**
192 offset 64 bit 30 */
193 bool unusedBit_19_30 : 1 {};
194 /**
195 offset 64 bit 31 */
196 bool unusedBit_19_31 : 1 {};
197 /**
198 * offset 68
199 */
200 uint32_t triggerElapsedUs = (uint32_t)0;
201};
202static_assert(sizeof(trigger_central_s) == 72);
203
204// end
205// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/trigger/trigger_central.txt
float angle_t
uint16_t vvtEventRiseCounter[CAM_INPUTS_COUNT]
uint16_t hwEventCounters[HW_EVENT_TYPES]
uint16_t vvtEventFallCounter[CAM_INPUTS_COUNT]