rusEFI
The most advanced open source ECU
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_state.txt Thu Feb 29 00:39:49 UTC 2024
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  * @@GAUGE_NAME_TIMING_ADVANCE@@
49  * units: deg
50  * offset 18
51  */
52  scaled_channel<int16_t, 50, 1> baseIgnitionAdvance = (int16_t)0;
53  /**
54  * @@GAUGE_NAME_ADJUSTED_TIMING@@
55  * units: deg
56  * offset 20
57  */
58  scaled_channel<int16_t, 50, 1> correctedIgnitionAdvance = (int16_t)0;
59  /**
60  * Traction: timing correction
61  * units: deg
62  * offset 22
63  */
64  scaled_channel<int16_t, 50, 1> tractionAdvanceDrop = (int16_t)0;
65  /**
66  * Ign: Dwell voltage correction
67  * offset 24
68  */
69  float dwellVoltageCorrection = (float)0;
70  /**
71  * Ign: Lua timing add
72  * units: deg
73  * offset 28
74  */
75  float luaTimingAdd = (float)0;
76  /**
77  * Ign: Lua timing mult
78  * units: deg
79  * offset 32
80  */
81  float luaTimingMult = (float)0;
82  /**
83  * Ign: Lua Spark Skip
84  offset 36 bit 0 */
85  bool luaIgnitionSkip : 1 {};
86  /**
87  offset 36 bit 1 */
88  bool unusedBit_13_1 : 1 {};
89  /**
90  offset 36 bit 2 */
91  bool unusedBit_13_2 : 1 {};
92  /**
93  offset 36 bit 3 */
94  bool unusedBit_13_3 : 1 {};
95  /**
96  offset 36 bit 4 */
97  bool unusedBit_13_4 : 1 {};
98  /**
99  offset 36 bit 5 */
100  bool unusedBit_13_5 : 1 {};
101  /**
102  offset 36 bit 6 */
103  bool unusedBit_13_6 : 1 {};
104  /**
105  offset 36 bit 7 */
106  bool unusedBit_13_7 : 1 {};
107  /**
108  offset 36 bit 8 */
109  bool unusedBit_13_8 : 1 {};
110  /**
111  offset 36 bit 9 */
112  bool unusedBit_13_9 : 1 {};
113  /**
114  offset 36 bit 10 */
115  bool unusedBit_13_10 : 1 {};
116  /**
117  offset 36 bit 11 */
118  bool unusedBit_13_11 : 1 {};
119  /**
120  offset 36 bit 12 */
121  bool unusedBit_13_12 : 1 {};
122  /**
123  offset 36 bit 13 */
124  bool unusedBit_13_13 : 1 {};
125  /**
126  offset 36 bit 14 */
127  bool unusedBit_13_14 : 1 {};
128  /**
129  offset 36 bit 15 */
130  bool unusedBit_13_15 : 1 {};
131  /**
132  offset 36 bit 16 */
133  bool unusedBit_13_16 : 1 {};
134  /**
135  offset 36 bit 17 */
136  bool unusedBit_13_17 : 1 {};
137  /**
138  offset 36 bit 18 */
139  bool unusedBit_13_18 : 1 {};
140  /**
141  offset 36 bit 19 */
142  bool unusedBit_13_19 : 1 {};
143  /**
144  offset 36 bit 20 */
145  bool unusedBit_13_20 : 1 {};
146  /**
147  offset 36 bit 21 */
148  bool unusedBit_13_21 : 1 {};
149  /**
150  offset 36 bit 22 */
151  bool unusedBit_13_22 : 1 {};
152  /**
153  offset 36 bit 23 */
154  bool unusedBit_13_23 : 1 {};
155  /**
156  offset 36 bit 24 */
157  bool unusedBit_13_24 : 1 {};
158  /**
159  offset 36 bit 25 */
160  bool unusedBit_13_25 : 1 {};
161  /**
162  offset 36 bit 26 */
163  bool unusedBit_13_26 : 1 {};
164  /**
165  offset 36 bit 27 */
166  bool unusedBit_13_27 : 1 {};
167  /**
168  offset 36 bit 28 */
169  bool unusedBit_13_28 : 1 {};
170  /**
171  offset 36 bit 29 */
172  bool unusedBit_13_29 : 1 {};
173  /**
174  offset 36 bit 30 */
175  bool unusedBit_13_30 : 1 {};
176  /**
177  offset 36 bit 31 */
178  bool unusedBit_13_31 : 1 {};
179 };
180 static_assert(sizeof(ignition_state_s) == 40);
181 
182 // end
183 // this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/algo/ignition_state.txt Thu Feb 29 00:39:49 UTC 2024
float floatms_t
Definition: rusefi_types.h:67
float angle_t
Definition: rusefi_types.h:58
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