rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
ignition_state_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/algo/ignition/ignition_state.txt
2// by class com.rusefi.output.CHeaderConsumer
3// begin
4#pragma once
5#include "rusefi_types.h"
6// start of ignition_state_s
8 /**
9 * "Ignition: base dwell"
10 * units: ms
11 * offset 0
12 */
13 float baseDwell = (float)0;
14 /**
15 * @@GAUGE_COIL_DWELL_TIME@@
16 * units: ms
17 * offset 4
18 */
20 /**
21 * Ignition: dwell duration
22 * as crankshaft angle
23 * NAN if engine is stopped
24 * See also sparkDwell
25 * units: deg
26 * offset 8
27 */
29 /**
30 * Ign: CLT correction
31 * units: deg
32 * offset 12
33 */
34 scaled_channel<int16_t, 100, 1> cltTimingCorrection = (int16_t)0;
35 /**
36 * Ign: IAT correction
37 * units: deg
38 * offset 14
39 */
40 scaled_channel<int16_t, 100, 1> timingIatCorrection = (int16_t)0;
41 /**
42 * Idle: Timing adjustment
43 * units: deg
44 * offset 16
45 */
46 scaled_channel<int16_t, 100, 1> timingPidCorrection = (int16_t)0;
47 /**
48 * DFCO: Timing retard
49 * units: deg
50 * offset 18
51 */
52 scaled_channel<int16_t, 100, 1> dfcoTimingRetard = (int16_t)0;
53 /**
54 * @@GAUGE_NAME_TIMING_ADVANCE@@
55 * units: deg
56 * offset 20
57 */
58 scaled_channel<int16_t, 50, 1> baseIgnitionAdvance = (int16_t)0;
59 /**
60 * @@GAUGE_NAME_ADJUSTED_TIMING@@
61 * units: deg
62 * offset 22
63 */
64 scaled_channel<int16_t, 50, 1> correctedIgnitionAdvance = (int16_t)0;
65 /**
66 * Traction: timing correction
67 * units: deg
68 * offset 24
69 */
70 scaled_channel<int16_t, 50, 1> tractionAdvanceDrop = (int16_t)0;
71 /**
72 * need 4 byte alignment
73 * units: units
74 * offset 26
75 */
76 uint8_t alignmentFill_at_26[2] = {};
77 /**
78 * Ign: Dwell voltage correction
79 * offset 28
80 */
82 /**
83 * Ign: Lua timing add
84 * units: deg
85 * offset 32
86 */
87 float luaTimingAdd = (float)0;
88 /**
89 * Ign: Lua timing mult
90 * units: deg
91 * offset 36
92 */
93 float luaTimingMult = (float)0;
94 /**
95 * Ign: Lua Spark Skip
96 offset 40 bit 0 */
97 bool luaIgnitionSkip : 1 {};
98 /**
99 offset 40 bit 1 */
100 bool unusedBit_15_1 : 1 {};
101 /**
102 offset 40 bit 2 */
103 bool unusedBit_15_2 : 1 {};
104 /**
105 offset 40 bit 3 */
106 bool unusedBit_15_3 : 1 {};
107 /**
108 offset 40 bit 4 */
109 bool unusedBit_15_4 : 1 {};
110 /**
111 offset 40 bit 5 */
112 bool unusedBit_15_5 : 1 {};
113 /**
114 offset 40 bit 6 */
115 bool unusedBit_15_6 : 1 {};
116 /**
117 offset 40 bit 7 */
118 bool unusedBit_15_7 : 1 {};
119 /**
120 offset 40 bit 8 */
121 bool unusedBit_15_8 : 1 {};
122 /**
123 offset 40 bit 9 */
124 bool unusedBit_15_9 : 1 {};
125 /**
126 offset 40 bit 10 */
127 bool unusedBit_15_10 : 1 {};
128 /**
129 offset 40 bit 11 */
130 bool unusedBit_15_11 : 1 {};
131 /**
132 offset 40 bit 12 */
133 bool unusedBit_15_12 : 1 {};
134 /**
135 offset 40 bit 13 */
136 bool unusedBit_15_13 : 1 {};
137 /**
138 offset 40 bit 14 */
139 bool unusedBit_15_14 : 1 {};
140 /**
141 offset 40 bit 15 */
142 bool unusedBit_15_15 : 1 {};
143 /**
144 offset 40 bit 16 */
145 bool unusedBit_15_16 : 1 {};
146 /**
147 offset 40 bit 17 */
148 bool unusedBit_15_17 : 1 {};
149 /**
150 offset 40 bit 18 */
151 bool unusedBit_15_18 : 1 {};
152 /**
153 offset 40 bit 19 */
154 bool unusedBit_15_19 : 1 {};
155 /**
156 offset 40 bit 20 */
157 bool unusedBit_15_20 : 1 {};
158 /**
159 offset 40 bit 21 */
160 bool unusedBit_15_21 : 1 {};
161 /**
162 offset 40 bit 22 */
163 bool unusedBit_15_22 : 1 {};
164 /**
165 offset 40 bit 23 */
166 bool unusedBit_15_23 : 1 {};
167 /**
168 offset 40 bit 24 */
169 bool unusedBit_15_24 : 1 {};
170 /**
171 offset 40 bit 25 */
172 bool unusedBit_15_25 : 1 {};
173 /**
174 offset 40 bit 26 */
175 bool unusedBit_15_26 : 1 {};
176 /**
177 offset 40 bit 27 */
178 bool unusedBit_15_27 : 1 {};
179 /**
180 offset 40 bit 28 */
181 bool unusedBit_15_28 : 1 {};
182 /**
183 offset 40 bit 29 */
184 bool unusedBit_15_29 : 1 {};
185 /**
186 offset 40 bit 30 */
187 bool unusedBit_15_30 : 1 {};
188 /**
189 offset 40 bit 31 */
190 bool unusedBit_15_31 : 1 {};
191 /**
192 * Ign: Trailing spark deg
193 * units: deg
194 * offset 44
195 */
196 scaled_channel<int16_t, 100, 1> trailingSparkAngle = (int16_t)0;
197 /**
198 * offset 46
199 */
200 int16_t rpmForIgnitionTableDot = (int16_t)0;
201 /**
202 * offset 48
203 */
204 int16_t rpmForIgnitionIdleTableDot = (int16_t)0;
205 /**
206 * need 4 byte alignment
207 * units: units
208 * offset 50
209 */
210 uint8_t alignmentFill_at_50[2] = {};
211 /**
212 * offset 52
213 */
215};
216static_assert(sizeof(ignition_state_s) == 56);
217
218// end
219// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/ignition/ignition_state.txt
float floatms_t
float angle_t
scaled_channel< int16_t, 100, 1 > trailingSparkAngle
scaled_channel< int16_t, 100, 1 > dfcoTimingRetard
scaled_channel< int16_t, 100, 1 > timingPidCorrection
scaled_channel< int16_t, 50, 1 > baseIgnitionAdvance
scaled_channel< int16_t, 100, 1 > cltTimingCorrection
scaled_channel< int16_t, 50, 1 > correctedIgnitionAdvance
scaled_channel< int16_t, 50, 1 > tractionAdvanceDrop
scaled_channel< int16_t, 100, 1 > timingIatCorrection