rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
wideband_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/sensors//wideband_state.txt
2// by class com.rusefi.output.CHeaderConsumer
3// begin
4#pragma once
5#include "rusefi_types.h"
6// start of wideband_state_s
8 /**
9 * WBO: Fault code
10 * offset 0
11 */
12 uint8_t faultCode = (uint8_t)0;
13 /**
14 * WBO: Heater duty
15 * units: %
16 * offset 1
17 */
18 uint8_t heaterDuty = (uint8_t)0;
19 /**
20 * WBO: Pump duty
21 * units: %
22 * offset 2
23 */
24 uint8_t pumpDuty = (uint8_t)0;
25 /**
26 * need 4 byte alignment
27 * units: units
28 * offset 3
29 */
30 uint8_t alignmentFill_at_3[1] = {};
31 /**
32 offset 4 bit 0 */
33 bool isValid : 1 {};
34 /**
35 offset 4 bit 1 */
36 bool fwUnsupported : 1 {};
37 /**
38 offset 4 bit 2 */
39 bool fwOutdated : 1 {};
40 /**
41 offset 4 bit 3 */
42 bool unusedBit_7_3 : 1 {};
43 /**
44 offset 4 bit 4 */
45 bool unusedBit_7_4 : 1 {};
46 /**
47 offset 4 bit 5 */
48 bool unusedBit_7_5 : 1 {};
49 /**
50 offset 4 bit 6 */
51 bool unusedBit_7_6 : 1 {};
52 /**
53 offset 4 bit 7 */
54 bool unusedBit_7_7 : 1 {};
55 /**
56 offset 4 bit 8 */
57 bool unusedBit_7_8 : 1 {};
58 /**
59 offset 4 bit 9 */
60 bool unusedBit_7_9 : 1 {};
61 /**
62 offset 4 bit 10 */
63 bool unusedBit_7_10 : 1 {};
64 /**
65 offset 4 bit 11 */
66 bool unusedBit_7_11 : 1 {};
67 /**
68 offset 4 bit 12 */
69 bool unusedBit_7_12 : 1 {};
70 /**
71 offset 4 bit 13 */
72 bool unusedBit_7_13 : 1 {};
73 /**
74 offset 4 bit 14 */
75 bool unusedBit_7_14 : 1 {};
76 /**
77 offset 4 bit 15 */
78 bool unusedBit_7_15 : 1 {};
79 /**
80 offset 4 bit 16 */
81 bool unusedBit_7_16 : 1 {};
82 /**
83 offset 4 bit 17 */
84 bool unusedBit_7_17 : 1 {};
85 /**
86 offset 4 bit 18 */
87 bool unusedBit_7_18 : 1 {};
88 /**
89 offset 4 bit 19 */
90 bool unusedBit_7_19 : 1 {};
91 /**
92 offset 4 bit 20 */
93 bool unusedBit_7_20 : 1 {};
94 /**
95 offset 4 bit 21 */
96 bool unusedBit_7_21 : 1 {};
97 /**
98 offset 4 bit 22 */
99 bool unusedBit_7_22 : 1 {};
100 /**
101 offset 4 bit 23 */
102 bool unusedBit_7_23 : 1 {};
103 /**
104 offset 4 bit 24 */
105 bool unusedBit_7_24 : 1 {};
106 /**
107 offset 4 bit 25 */
108 bool unusedBit_7_25 : 1 {};
109 /**
110 offset 4 bit 26 */
111 bool unusedBit_7_26 : 1 {};
112 /**
113 offset 4 bit 27 */
114 bool unusedBit_7_27 : 1 {};
115 /**
116 offset 4 bit 28 */
117 bool unusedBit_7_28 : 1 {};
118 /**
119 offset 4 bit 29 */
120 bool unusedBit_7_29 : 1 {};
121 /**
122 offset 4 bit 30 */
123 bool unusedBit_7_30 : 1 {};
124 /**
125 offset 4 bit 31 */
126 bool unusedBit_7_31 : 1 {};
127 /**
128 * WBO: Temperature
129 * units: C
130 * offset 8
131 */
132 uint16_t tempC = (uint16_t)0;
133 /**
134 * WBO: Nernst Voltage
135 * units: V
136 * offset 10
137 */
138 scaled_channel<uint16_t, 1000, 1> nernstVoltage = (uint16_t)0;
139 /**
140 * WBO: ESR
141 * units: ohm
142 * offset 12
143 */
144 uint16_t esr = (uint16_t)0;
145 /**
146 * need 4 byte alignment
147 * units: units
148 * offset 14
149 */
150 uint8_t alignmentFill_at_14[2] = {};
151};
152static_assert(sizeof(wideband_state_s) == 16);
153
154// end
155// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/sensors//wideband_state.txt
scaled_channel< uint16_t, 1000, 1 > nernstVoltage