rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
boost_control_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/actuators/boost_control.txt
2// by class com.rusefi.output.CHeaderConsumer
3// begin
4#pragma once
5#include "rusefi_types.h"
6// start of boost_control_s
8 /**
9 offset 0 bit 0 */
10 bool isTpsInvalid : 1 {};
11 /**
12 offset 0 bit 1 */
13 bool m_shouldResetPid : 1 {};
14 /**
15 offset 0 bit 2 */
17 /**
18 offset 0 bit 3 */
19 bool isNotClosedLoop : 1 {};
20 /**
21 offset 0 bit 4 */
22 bool isZeroRpm : 1 {};
23 /**
24 offset 0 bit 5 */
25 bool hasInitBoost : 1 {};
26 /**
27 offset 0 bit 6 */
28 bool rpmTooLow : 1 {};
29 /**
30 offset 0 bit 7 */
31 bool tpsTooLow : 1 {};
32 /**
33 offset 0 bit 8 */
34 bool mapTooLow : 1 {};
35 /**
36 offset 0 bit 9 */
37 bool isPlantValid : 1 {};
38 /**
39 offset 0 bit 10 */
40 bool isBoostControlled : 1 {};
41 /**
42 offset 0 bit 11 */
43 bool unusedBit_11_11 : 1 {};
44 /**
45 offset 0 bit 12 */
46 bool unusedBit_11_12 : 1 {};
47 /**
48 offset 0 bit 13 */
49 bool unusedBit_11_13 : 1 {};
50 /**
51 offset 0 bit 14 */
52 bool unusedBit_11_14 : 1 {};
53 /**
54 offset 0 bit 15 */
55 bool unusedBit_11_15 : 1 {};
56 /**
57 offset 0 bit 16 */
58 bool unusedBit_11_16 : 1 {};
59 /**
60 offset 0 bit 17 */
61 bool unusedBit_11_17 : 1 {};
62 /**
63 offset 0 bit 18 */
64 bool unusedBit_11_18 : 1 {};
65 /**
66 offset 0 bit 19 */
67 bool unusedBit_11_19 : 1 {};
68 /**
69 offset 0 bit 20 */
70 bool unusedBit_11_20 : 1 {};
71 /**
72 offset 0 bit 21 */
73 bool unusedBit_11_21 : 1 {};
74 /**
75 offset 0 bit 22 */
76 bool unusedBit_11_22 : 1 {};
77 /**
78 offset 0 bit 23 */
79 bool unusedBit_11_23 : 1 {};
80 /**
81 offset 0 bit 24 */
82 bool unusedBit_11_24 : 1 {};
83 /**
84 offset 0 bit 25 */
85 bool unusedBit_11_25 : 1 {};
86 /**
87 offset 0 bit 26 */
88 bool unusedBit_11_26 : 1 {};
89 /**
90 offset 0 bit 27 */
91 bool unusedBit_11_27 : 1 {};
92 /**
93 offset 0 bit 28 */
94 bool unusedBit_11_28 : 1 {};
95 /**
96 offset 0 bit 29 */
97 bool unusedBit_11_29 : 1 {};
98 /**
99 offset 0 bit 30 */
100 bool unusedBit_11_30 : 1 {};
101 /**
102 offset 0 bit 31 */
103 bool unusedBit_11_31 : 1 {};
104 /**
105 * "Boost: Lua target add"
106 * units: percent
107 * offset 4
108 */
109 scaled_channel<int16_t, 2, 1> luaTargetAdd = (int16_t)0;
110 /**
111 * need 4 byte alignment
112 * units: units
113 * offset 6
114 */
115 uint8_t alignmentFill_at_6[2] = {};
116 /**
117 * "Boost: Lua target mult"
118 * offset 8
119 */
121 /**
122 * @@GAUGE_NAME_BOOST_TARGET@@
123 * units: kPa
124 * offset 12
125 */
126 scaled_channel<int16_t, 30, 1> boostControlTarget = (int16_t)0;
127 /**
128 * need 4 byte alignment
129 * units: units
130 * offset 14
131 */
132 uint8_t alignmentFill_at_14[2] = {};
133 /**
134 * @@GAUGE_NAME_BOOST_OPEN_LOOP@@
135 * units: percent
136 * offset 16
137 */
138 float openLoopPart = (float)0;
139 /**
140 * "Boost: Lua open loop add"
141 * units: percent
142 * offset 20
143 */
145 /**
146 * @@GAUGE_NAME_BOOST_CLOSED_LOOP@@
147 * units: %
148 * offset 24
149 */
150 scaled_channel<int8_t, 2, 1> boostControllerClosedLoopPart = (int8_t)0;
151 /**
152 * need 4 byte alignment
153 * units: units
154 * offset 25
155 */
156 uint8_t alignmentFill_at_25[1] = {};
157 /**
158 * @@GAUGE_NAME_BOOST_OUTPUT@@
159 * units: percent
160 * offset 26
161 */
162 scaled_channel<int16_t, 100, 1> boostOutput = (int16_t)0;
163};
164static_assert(sizeof(boost_control_s) == 28);
165
166// end
167// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/boost_control.txt
scaled_channel< int16_t, 30, 1 > boostControlTarget
scaled_channel< int16_t, 100, 1 > boostOutput
scaled_channel< int8_t, 2, 1 > boostControllerClosedLoopPart
scaled_channel< int16_t, 2, 1 > luaTargetAdd