rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
tcu_controller_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/tcu/tcu_controller.txt
2// by class com.rusefi.output.CHeaderConsumer
3// begin
4#pragma once
5#include "rusefi_types.h"
6// start of tcu_controller_s
8 /**
9 * @@GAUGE_NAME_CURRENT_GEAR@@
10 * units: gear
11 * offset 0
12 */
13 int8_t tcuCurrentGear = (int8_t)0;
14 /**
15 * need 4 byte alignment
16 * units: units
17 * offset 1
18 */
19 uint8_t alignmentFill_at_1[1] = {};
20 /**
21 * @@GAUGE_NAME_TC_RATIO@@
22 * units: value
23 * offset 2
24 */
25 scaled_channel<uint16_t, 100, 1> tcRatio = (uint16_t)0;
26 /**
27 * offset 4
28 */
29 float lastShiftTime = (float)0;
30 /**
31 * "TCU: Current Range"
32 * offset 8
33 */
34 uint8_t tcu_currentRange = (uint8_t)0;
35 /**
36 * "TCU: EPC Duty"
37 * units: %
38 * offset 9
39 */
40 int8_t pressureControlDuty = (int8_t)0;
41 /**
42 * "TCU: TC Duty"
43 * units: %
44 * offset 10
45 */
46 int8_t torqueConverterDuty = (int8_t)0;
47 /**
48 * need 4 byte alignment
49 * units: units
50 * offset 11
51 */
52 uint8_t alignmentFill_at_11[1] = {};
53 /**
54 offset 12 bit 0 */
55 bool isShifting : 1 {};
56 /**
57 offset 12 bit 1 */
58 bool unusedBit_9_1 : 1 {};
59 /**
60 offset 12 bit 2 */
61 bool unusedBit_9_2 : 1 {};
62 /**
63 offset 12 bit 3 */
64 bool unusedBit_9_3 : 1 {};
65 /**
66 offset 12 bit 4 */
67 bool unusedBit_9_4 : 1 {};
68 /**
69 offset 12 bit 5 */
70 bool unusedBit_9_5 : 1 {};
71 /**
72 offset 12 bit 6 */
73 bool unusedBit_9_6 : 1 {};
74 /**
75 offset 12 bit 7 */
76 bool unusedBit_9_7 : 1 {};
77 /**
78 offset 12 bit 8 */
79 bool unusedBit_9_8 : 1 {};
80 /**
81 offset 12 bit 9 */
82 bool unusedBit_9_9 : 1 {};
83 /**
84 offset 12 bit 10 */
85 bool unusedBit_9_10 : 1 {};
86 /**
87 offset 12 bit 11 */
88 bool unusedBit_9_11 : 1 {};
89 /**
90 offset 12 bit 12 */
91 bool unusedBit_9_12 : 1 {};
92 /**
93 offset 12 bit 13 */
94 bool unusedBit_9_13 : 1 {};
95 /**
96 offset 12 bit 14 */
97 bool unusedBit_9_14 : 1 {};
98 /**
99 offset 12 bit 15 */
100 bool unusedBit_9_15 : 1 {};
101 /**
102 offset 12 bit 16 */
103 bool unusedBit_9_16 : 1 {};
104 /**
105 offset 12 bit 17 */
106 bool unusedBit_9_17 : 1 {};
107 /**
108 offset 12 bit 18 */
109 bool unusedBit_9_18 : 1 {};
110 /**
111 offset 12 bit 19 */
112 bool unusedBit_9_19 : 1 {};
113 /**
114 offset 12 bit 20 */
115 bool unusedBit_9_20 : 1 {};
116 /**
117 offset 12 bit 21 */
118 bool unusedBit_9_21 : 1 {};
119 /**
120 offset 12 bit 22 */
121 bool unusedBit_9_22 : 1 {};
122 /**
123 offset 12 bit 23 */
124 bool unusedBit_9_23 : 1 {};
125 /**
126 offset 12 bit 24 */
127 bool unusedBit_9_24 : 1 {};
128 /**
129 offset 12 bit 25 */
130 bool unusedBit_9_25 : 1 {};
131 /**
132 offset 12 bit 26 */
133 bool unusedBit_9_26 : 1 {};
134 /**
135 offset 12 bit 27 */
136 bool unusedBit_9_27 : 1 {};
137 /**
138 offset 12 bit 28 */
139 bool unusedBit_9_28 : 1 {};
140 /**
141 offset 12 bit 29 */
142 bool unusedBit_9_29 : 1 {};
143 /**
144 offset 12 bit 30 */
145 bool unusedBit_9_30 : 1 {};
146 /**
147 offset 12 bit 31 */
148 bool unusedBit_9_31 : 1 {};
149};
150static_assert(sizeof(tcu_controller_s) == 16);
151
152// end
153// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/tcu/tcu_controller.txt
scaled_channel< uint16_t, 100, 1 > tcRatio