GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 0.0% 0 / 0 / 998
Functions: 0.0% 0 / 0 / 64
Branches: 0.0% 0 / 0 / 467
Decisions: 0.0% 0 / - / 403

firmware/controllers/algo/auto_generated_commonenum.cpp
Line Branch Decision Exec Source
1 #include "global.h"
2 #include "rusefi_enums.h"
3 // was generated automatically by rusEFI tool from rusefi_enums.h // by enum_to_string.jar tool on Sat Jan 24 04:28:30 UTC 2026
4 // see also gen_config_and_enums.bat
5
6
7
8 const char *getCanGpioType(CanGpioType value){
9 switch(value) {
10 case CanGpioType::DRT:
11 return "DRT";
12 case CanGpioType::MS:
13 return "MS";
14 case CanGpioType::NONE:
15 return "NONE";
16 }
17 return NULL;
18 }
19 const char *getGearControllerMode(GearControllerMode value){
20 switch(value) {
21 case GearControllerMode::Automatic:
22 return "Automatic";
23 case GearControllerMode::ButtonShift:
24 return "ButtonShift";
25 case GearControllerMode::Generic:
26 return "Generic";
27 case GearControllerMode::None:
28 return "None";
29 }
30 return NULL;
31 }
32 const char *getInjectionTimingMode(InjectionTimingMode value){
33 switch(value) {
34 case InjectionTimingMode::Center:
35 return "Center";
36 case InjectionTimingMode::End:
37 return "End";
38 case InjectionTimingMode::Start:
39 return "Start";
40 }
41 return NULL;
42 }
43 const char *getInjectorNonlinearMode(InjectorNonlinearMode value){
44 switch(value) {
45 case INJ_FordModel:
46 return "INJ_FordModel";
47 case INJ_None:
48 return "INJ_None";
49 case INJ_PolynomialAdder:
50 return "INJ_PolynomialAdder";
51 }
52 return NULL;
53 }
54 const char *getMsIoBoxId(MsIoBoxId value){
55 switch(value) {
56 case MsIoBoxId::ID200:
57 return "ID200";
58 case MsIoBoxId::ID220:
59 return "ID220";
60 case MsIoBoxId::ID240:
61 return "ID240";
62 case MsIoBoxId::OFF:
63 return "OFF";
64 }
65 return NULL;
66 }
67 const char *getMsIoBoxVss(MsIoBoxVss value){
68 switch(value) {
69 case MsIoBoxVss::ALL1234:
70 return "ALL1234";
71 case MsIoBoxVss::HALL34:
72 return "HALL34";
73 case MsIoBoxVss::OFF:
74 return "OFF";
75 case MsIoBoxVss::VR12:
76 return "VR12";
77 }
78 return NULL;
79 }
80 const char *getRotationalCutMode(RotationalCutMode value){
81 switch(value) {
82 case RotationalCutMode::Both:
83 return "Both";
84 case RotationalCutMode::Fuel:
85 return "Fuel";
86 case RotationalCutMode::Spark:
87 return "Spark";
88 }
89 return NULL;
90 }
91 const char *getSelectedGear(SelectedGear value){
92 switch(value) {
93 case SelectedGear::Drive:
94 return "Drive";
95 case SelectedGear::Invalid:
96 return "Invalid";
97 case SelectedGear::Low:
98 return "Low";
99 case SelectedGear::Manual:
100 return "Manual";
101 case SelectedGear::Manual1:
102 return "Manual1";
103 case SelectedGear::Manual2:
104 return "Manual2";
105 case SelectedGear::Manual3:
106 return "Manual3";
107 case SelectedGear::ManualMinus:
108 return "ManualMinus";
109 case SelectedGear::ManualPlus:
110 return "ManualPlus";
111 case SelectedGear::Neutral:
112 return "Neutral";
113 case SelectedGear::Park:
114 return "Park";
115 case SelectedGear::Reverse:
116 return "Reverse";
117 }
118 return NULL;
119 }
120 const char *getSentEtbType(SentEtbType value){
121 switch(value) {
122 case SentEtbType::CUSTOM:
123 return "CUSTOM";
124 case SentEtbType::FORD_TYPE_1:
125 return "FORD_TYPE_1";
126 case SentEtbType::GM_TYPE_1:
127 return "GM_TYPE_1";
128 case SentEtbType::NONE:
129 return "NONE";
130 }
131 return NULL;
132 }
133 const char *getSentFuelHighPressureType(SentFuelHighPressureType value){
134 switch(value) {
135 case SentFuelHighPressureType::GM_TYPE:
136 return "GM_TYPE";
137 case SentFuelHighPressureType::NONE:
138 return "NONE";
139 }
140 return NULL;
141 }
142 const char *getSentInput(SentInput value){
143 switch(value) {
144 case SentInput::INPUT1:
145 return "INPUT1";
146 case SentInput::INPUT2:
147 return "INPUT2";
148 case SentInput::INPUT3:
149 return "INPUT3";
150 case SentInput::INPUT4:
151 return "INPUT4";
152 case SentInput::INPUT5:
153 return "INPUT5";
154 case SentInput::INPUT6:
155 return "INPUT6";
156 case SentInput::INPUT7:
157 return "INPUT7";
158 case SentInput::NONE:
159 return "NONE";
160 }
161 return NULL;
162 }
163 const char *getTransmissionControllerMode(TransmissionControllerMode value){
164 switch(value) {
165 case TransmissionControllerMode::Generic4:
166 return "Generic4";
167 case TransmissionControllerMode::Gm4l6x:
168 return "Gm4l6x";
169 case TransmissionControllerMode::None:
170 return "None";
171 case TransmissionControllerMode::SimpleTransmissionController:
172 return "SimpleTransmissionController";
173 }
174 return NULL;
175 }
176 const char *getTriggerWheel(TriggerWheel value){
177 switch(value) {
178 case TriggerWheel::T_PRIMARY:
179 return "T_PRIMARY";
180 case TriggerWheel::T_SECONDARY:
181 return "T_SECONDARY";
182 }
183 return NULL;
184 }
185 const char *getTsCalMode(TsCalMode value){
186 switch(value) {
187 case TsCalMode::EtbKd:
188 return "EtbKd";
189 case TsCalMode::EtbKi:
190 return "EtbKi";
191 case TsCalMode::EtbKp:
192 return "EtbKp";
193 case TsCalMode::EwgPosMax:
194 return "EwgPosMax";
195 case TsCalMode::EwgPosMin:
196 return "EwgPosMin";
197 case TsCalMode::None:
198 return "None";
199 case TsCalMode::PedalMax:
200 return "PedalMax";
201 case TsCalMode::PedalMin:
202 return "PedalMin";
203 case TsCalMode::Tps1Max:
204 return "Tps1Max";
205 case TsCalMode::Tps1Min:
206 return "Tps1Min";
207 case TsCalMode::Tps1SecondaryMax:
208 return "Tps1SecondaryMax";
209 case TsCalMode::Tps1SecondaryMin:
210 return "Tps1SecondaryMin";
211 case TsCalMode::Tps2Max:
212 return "Tps2Max";
213 case TsCalMode::Tps2Min:
214 return "Tps2Min";
215 case TsCalMode::Tps2SecondaryMax:
216 return "Tps2SecondaryMax";
217 case TsCalMode::Tps2SecondaryMin:
218 return "Tps2SecondaryMin";
219 }
220 return NULL;
221 }
222 const char *getUiMode(UiMode value){
223 switch(value) {
224 case UiMode::FULL:
225 return "FULL";
226 case UiMode::INSTALLATION:
227 return "INSTALLATION";
228 case UiMode::TUNING:
229 return "TUNING";
230 }
231 return NULL;
232 }
233 const char *getAccel_enrichment_mode_e(accel_enrichment_mode_e value){
234 switch(value) {
235 case AE_MODE_MS_ADDER:
236 return "AE_MODE_MS_ADDER";
237 case AE_MODE_PERCENT_ADDER:
238 return "AE_MODE_PERCENT_ADDER";
239 case AE_MODE_PREDICTIVE_MAP:
240 return "AE_MODE_PREDICTIVE_MAP";
241 }
242 return NULL;
243 }
244 const char *getAir_pressure_sensor_type_e(air_pressure_sensor_type_e value){
245 switch(value) {
246 case MT_BOSCH_2_5:
247 return "MT_BOSCH_2_5";
248 case MT_CUSTOM:
249 return "MT_CUSTOM";
250 case MT_DENSO183:
251 return "MT_DENSO183";
252 case MT_DODGE_NEON_2003:
253 return "MT_DODGE_NEON_2003";
254 case MT_GM_1_BAR:
255 return "MT_GM_1_BAR";
256 case MT_GM_2_BAR:
257 return "MT_GM_2_BAR";
258 case MT_GM_3_BAR:
259 return "MT_GM_3_BAR";
260 case MT_HONDA3BAR:
261 return "MT_HONDA3BAR";
262 case MT_MAZDA_1_BAR:
263 return "MT_MAZDA_1_BAR";
264 case MT_MPX4100:
265 return "MT_MPX4100";
266 case MT_MPX4250:
267 return "MT_MPX4250";
268 case MT_MPX4250A:
269 return "MT_MPX4250A";
270 case MT_MPXH6300:
271 return "MT_MPXH6300";
272 case MT_MPXH6400:
273 return "MT_MPXH6400";
274 case MT_SUBY_DENSO:
275 return "MT_SUBY_DENSO";
276 case MT_TOYOTA_89420_02010:
277 return "MT_TOYOTA_89420_02010";
278 }
279 return NULL;
280 }
281 const char *getAntiLagActivationMode_e(antiLagActivationMode_e value){
282 switch(value) {
283 case ALWAYS_ON_ANTILAG:
284 return "ALWAYS_ON_ANTILAG";
285 case LUA_ANTILAG:
286 return "LUA_ANTILAG";
287 case SWITCH_INPUT_ANTILAG:
288 return "SWITCH_INPUT_ANTILAG";
289 }
290 return NULL;
291 }
292 const char *getBoostType_e(boostType_e value){
293 switch(value) {
294 case CLOSED_LOOP:
295 return "CLOSED_LOOP";
296 case OPEN_LOOP:
297 return "OPEN_LOOP";
298 }
299 return NULL;
300 }
301 const char *getBrain_pin_diag_e(brain_pin_diag_e value){
302 switch(value) {
303 case PIN_DRIVER_OFF:
304 return "PIN_DRIVER_OFF";
305 case PIN_DRIVER_OVERTEMP:
306 return "PIN_DRIVER_OVERTEMP";
307 case PIN_OK:
308 return "PIN_OK";
309 case PIN_OPEN:
310 return "PIN_OPEN";
311 case PIN_OVERLOAD:
312 return "PIN_OVERLOAD";
313 case PIN_SHORT_TO_BAT:
314 return "PIN_SHORT_TO_BAT";
315 case PIN_SHORT_TO_GND:
316 return "PIN_SHORT_TO_GND";
317 case PIN_UNKNOWN:
318 return "PIN_UNKNOWN";
319 }
320 return NULL;
321 }
322 const char *getCan_baudrate_e(can_baudrate_e value){
323 switch(value) {
324 case B100KBPS:
325 return "B100KBPS";
326 case B125KBPS:
327 return "B125KBPS";
328 case B1MBPS:
329 return "B1MBPS";
330 case B250KBPS:
331 return "B250KBPS";
332 case B33KBPS:
333 return "B33KBPS";
334 case B500KBPS:
335 return "B500KBPS";
336 case B50KBPS:
337 return "B50KBPS";
338 case B666KBPS:
339 return "B666KBPS";
340 case B83KBPS:
341 return "B83KBPS";
342 }
343 return NULL;
344 }
345 const char *getCan_nbc_e(can_nbc_e value){
346 switch(value) {
347 case CAN_AIM_DASH:
348 return "CAN_AIM_DASH";
349 case CAN_BUS_BMW_E46:
350 return "CAN_BUS_BMW_E46";
351 case CAN_BUS_BMW_E90:
352 return "CAN_BUS_BMW_E90";
353 case CAN_BUS_GENESIS_COUPE:
354 return "CAN_BUS_GENESIS_COUPE";
355 case CAN_BUS_HONDA_K:
356 return "CAN_BUS_HONDA_K";
357 case CAN_BUS_Haltech:
358 return "CAN_BUS_Haltech";
359 case CAN_BUS_MAZDA_RX8:
360 return "CAN_BUS_MAZDA_RX8";
361 case CAN_BUS_MQB:
362 return "CAN_BUS_MQB";
363 case CAN_BUS_MS_SIMPLE_BROADCAST:
364 return "CAN_BUS_MS_SIMPLE_BROADCAST";
365 case CAN_BUS_NBC_FIAT:
366 return "CAN_BUS_NBC_FIAT";
367 case CAN_BUS_NBC_NONE:
368 return "CAN_BUS_NBC_NONE";
369 case CAN_BUS_NBC_VAG:
370 return "CAN_BUS_NBC_VAG";
371 case CAN_BUS_NISSAN_VQ:
372 return "CAN_BUS_NISSAN_VQ";
373 case CAN_BUS_W202_C180:
374 return "CAN_BUS_W202_C180";
375 }
376 return NULL;
377 }
378 const char *getCan_vss_nbc_e(can_vss_nbc_e value){
379 switch(value) {
380 case BMW_e46:
381 return "BMW_e46";
382 case BMW_e90:
383 return "BMW_e90";
384 case HONDA_CIVIC9:
385 return "HONDA_CIVIC9";
386 case HYUNDAI_PB:
387 return "HYUNDAI_PB";
388 case NISSAN_350:
389 return "NISSAN_350";
390 case W202:
391 return "W202";
392 }
393 return NULL;
394 }
395 const char *getCan_wbo_aem_id_e(can_wbo_aem_id_e value){
396 switch(value) {
397 case WBO_AEM_ID1:
398 return "WBO_AEM_ID1";
399 case WBO_AEM_ID10:
400 return "WBO_AEM_ID10";
401 case WBO_AEM_ID11:
402 return "WBO_AEM_ID11";
403 case WBO_AEM_ID12:
404 return "WBO_AEM_ID12";
405 case WBO_AEM_ID13:
406 return "WBO_AEM_ID13";
407 case WBO_AEM_ID14:
408 return "WBO_AEM_ID14";
409 case WBO_AEM_ID15:
410 return "WBO_AEM_ID15";
411 case WBO_AEM_ID16:
412 return "WBO_AEM_ID16";
413 case WBO_AEM_ID2:
414 return "WBO_AEM_ID2";
415 case WBO_AEM_ID3:
416 return "WBO_AEM_ID3";
417 case WBO_AEM_ID4:
418 return "WBO_AEM_ID4";
419 case WBO_AEM_ID5:
420 return "WBO_AEM_ID5";
421 case WBO_AEM_ID6:
422 return "WBO_AEM_ID6";
423 case WBO_AEM_ID7:
424 return "WBO_AEM_ID7";
425 case WBO_AEM_ID8:
426 return "WBO_AEM_ID8";
427 case WBO_AEM_ID9:
428 return "WBO_AEM_ID9";
429 }
430 return NULL;
431 }
432 const char *getCan_wbo_re_hwidx_e(can_wbo_re_hwidx_e value){
433 switch(value) {
434 case WBO_RE_HWIDX0:
435 return "WBO_RE_HWIDX0";
436 case WBO_RE_HWIDX1:
437 return "WBO_RE_HWIDX1";
438 case WBO_RE_HWIDX2:
439 return "WBO_RE_HWIDX2";
440 case WBO_RE_HWIDX3:
441 return "WBO_RE_HWIDX3";
442 case WBO_RE_HWIDX4:
443 return "WBO_RE_HWIDX4";
444 case WBO_RE_HWIDX5:
445 return "WBO_RE_HWIDX5";
446 case WBO_RE_HWIDX6:
447 return "WBO_RE_HWIDX6";
448 case WBO_RE_HWIDX7:
449 return "WBO_RE_HWIDX7";
450 }
451 return NULL;
452 }
453 const char *getCan_wbo_re_id_e(can_wbo_re_id_e value){
454 switch(value) {
455 case WBO_RE_ID1:
456 return "WBO_RE_ID1";
457 case WBO_RE_ID10:
458 return "WBO_RE_ID10";
459 case WBO_RE_ID11:
460 return "WBO_RE_ID11";
461 case WBO_RE_ID12:
462 return "WBO_RE_ID12";
463 case WBO_RE_ID13:
464 return "WBO_RE_ID13";
465 case WBO_RE_ID14:
466 return "WBO_RE_ID14";
467 case WBO_RE_ID15:
468 return "WBO_RE_ID15";
469 case WBO_RE_ID16:
470 return "WBO_RE_ID16";
471 case WBO_RE_ID2:
472 return "WBO_RE_ID2";
473 case WBO_RE_ID3:
474 return "WBO_RE_ID3";
475 case WBO_RE_ID4:
476 return "WBO_RE_ID4";
477 case WBO_RE_ID5:
478 return "WBO_RE_ID5";
479 case WBO_RE_ID6:
480 return "WBO_RE_ID6";
481 case WBO_RE_ID7:
482 return "WBO_RE_ID7";
483 case WBO_RE_ID8:
484 return "WBO_RE_ID8";
485 case WBO_RE_ID9:
486 return "WBO_RE_ID9";
487 }
488 return NULL;
489 }
490 const char *getCan_wbo_re_status_e(can_wbo_re_status_e value){
491 switch(value) {
492 case WBO_RE_BUSY:
493 return "WBO_RE_BUSY";
494 case WBO_RE_DONE:
495 return "WBO_RE_DONE";
496 case WBO_RE_FAILED:
497 return "WBO_RE_FAILED";
498 case WBO_RE_IDLE:
499 return "WBO_RE_IDLE";
500 }
501 return NULL;
502 }
503 const char *getCan_wbo_type_e(can_wbo_type_e value){
504 switch(value) {
505 case AEM:
506 return "AEM";
507 case DISABLED:
508 return "DISABLED";
509 case RUSEFI:
510 return "RUSEFI";
511 }
512 return NULL;
513 }
514 const char *getCranking_condition_e(cranking_condition_e value){
515 switch(value) {
516 case CCNONE:
517 return "CCNONE";
518 case CC_BRAKE:
519 return "CC_BRAKE";
520 case CC_CLUTCH:
521 return "CC_CLUTCH";
522 }
523 return NULL;
524 }
525 const char *getDc_function_e(dc_function_e value){
526 switch(value) {
527 case DC_IdleValve:
528 return "DC_IdleValve";
529 case DC_None:
530 return "DC_None";
531 case DC_Throttle1:
532 return "DC_Throttle1";
533 case DC_Throttle2:
534 return "DC_Throttle2";
535 case DC_Wastegate:
536 return "DC_Wastegate";
537 }
538 return NULL;
539 }
540 const char *getDisplay_mode_e(display_mode_e value){
541 switch(value) {
542 case DM_HD44780:
543 return "DM_HD44780";
544 case DM_HD44780_OVER_PCF8574:
545 return "DM_HD44780_OVER_PCF8574";
546 case DM_NONE:
547 return "DM_NONE";
548 }
549 return NULL;
550 }
551 const char *getEgo_sensor_e(ego_sensor_e value){
552 switch(value) {
553 case ES_14Point7_Free:
554 return "ES_14Point7_Free";
555 case ES_AEM:
556 return "ES_AEM";
557 case ES_BPSX_D1:
558 return "ES_BPSX_D1";
559 case ES_Custom:
560 return "ES_Custom";
561 case ES_Innovate_MTX_L:
562 return "ES_Innovate_MTX_L";
563 case ES_PLX:
564 return "ES_PLX";
565 }
566 return NULL;
567 }
568 const char *getFt_region_e(ft_region_e value){
569 switch(value) {
570 case ftRegionCruise:
571 return "ftRegionCruise";
572 case ftRegionIdle:
573 return "ftRegionIdle";
574 case ftRegionOverrun:
575 return "ftRegionOverrun";
576 case ftRegionPower:
577 return "ftRegionPower";
578 }
579 return NULL;
580 }
581 const char *getFuel_pressure_sensor_mode_e(fuel_pressure_sensor_mode_e value){
582 switch(value) {
583 case FPM_Absolute:
584 return "FPM_Absolute";
585 case FPM_Differential:
586 return "FPM_Differential";
587 case FPM_Gauge:
588 return "FPM_Gauge";
589 }
590 return NULL;
591 }
592 const char *getGear_e(gear_e value){
593 switch(value) {
594 case GEAR_1:
595 return "GEAR_1";
596 case GEAR_2:
597 return "GEAR_2";
598 case GEAR_3:
599 return "GEAR_3";
600 case GEAR_4:
601 return "GEAR_4";
602 case NEUTRAL:
603 return "NEUTRAL";
604 case REVERSE:
605 return "REVERSE";
606 }
607 return NULL;
608 }
609 const char *getGppwm_channel_e(gppwm_channel_e value){
610 switch(value) {
611 case GPPWM_AccelPedal:
612 return "GPPWM_AccelPedal";
613 case GPPWM_AuxLinear1:
614 return "GPPWM_AuxLinear1";
615 case GPPWM_AuxLinear2:
616 return "GPPWM_AuxLinear2";
617 case GPPWM_AuxLinear3:
618 return "GPPWM_AuxLinear3";
619 case GPPWM_AuxLinear4:
620 return "GPPWM_AuxLinear4";
621 case GPPWM_AuxTemp1:
622 return "GPPWM_AuxTemp1";
623 case GPPWM_AuxTemp2:
624 return "GPPWM_AuxTemp2";
625 case GPPWM_BaroPressure:
626 return "GPPWM_BaroPressure";
627 case GPPWM_Clt:
628 return "GPPWM_Clt";
629 case GPPWM_DetectedGear:
630 return "GPPWM_DetectedGear";
631 case GPPWM_Egt1:
632 return "GPPWM_Egt1";
633 case GPPWM_Egt2:
634 return "GPPWM_Egt2";
635 case GPPWM_EthanolPercent:
636 return "GPPWM_EthanolPercent";
637 case GPPWM_FuelLoad:
638 return "GPPWM_FuelLoad";
639 case GPPWM_FuelPressure:
640 return "GPPWM_FuelPressure";
641 case GPPWM_GppwmOutput1:
642 return "GPPWM_GppwmOutput1";
643 case GPPWM_GppwmOutput2:
644 return "GPPWM_GppwmOutput2";
645 case GPPWM_GppwmOutput3:
646 return "GPPWM_GppwmOutput3";
647 case GPPWM_GppwmOutput4:
648 return "GPPWM_GppwmOutput4";
649 case GPPWM_Iat:
650 return "GPPWM_Iat";
651 case GPPWM_IgnLoad:
652 return "GPPWM_IgnLoad";
653 case GPPWM_LuaGauge1:
654 return "GPPWM_LuaGauge1";
655 case GPPWM_LuaGauge2:
656 return "GPPWM_LuaGauge2";
657 case GPPWM_Map:
658 return "GPPWM_Map";
659 case GPPWM_OilPressure:
660 return "GPPWM_OilPressure";
661 case GPPWM_OilTemp:
662 return "GPPWM_OilTemp";
663 case GPPWM_Rpm:
664 return "GPPWM_Rpm";
665 case GPPWM_ThrottleRatio:
666 return "GPPWM_ThrottleRatio";
667 case GPPWM_Tps:
668 return "GPPWM_Tps";
669 case GPPWM_VVT_1E:
670 return "GPPWM_VVT_1E";
671 case GPPWM_VVT_1I:
672 return "GPPWM_VVT_1I";
673 case GPPWM_VVT_2E:
674 return "GPPWM_VVT_2E";
675 case GPPWM_VVT_2I:
676 return "GPPWM_VVT_2I";
677 case GPPWM_Vbatt:
678 return "GPPWM_Vbatt";
679 case GPPWM_VehicleSpeed:
680 return "GPPWM_VehicleSpeed";
681 case GPPWM_Zero:
682 return "GPPWM_Zero";
683 }
684 return NULL;
685 }
686 const char *getGppwm_compare_mode_e(gppwm_compare_mode_e value){
687 switch(value) {
688 case GPPWM_GreaterThan:
689 return "GPPWM_GreaterThan";
690 case GPPWM_LessThan:
691 return "GPPWM_LessThan";
692 }
693 return NULL;
694 }
695 const char *getHpfp_cam_e(hpfp_cam_e value){
696 switch(value) {
697 case HPFP_CAM_EX1:
698 return "HPFP_CAM_EX1";
699 case HPFP_CAM_EX2:
700 return "HPFP_CAM_EX2";
701 case HPFP_CAM_IN1:
702 return "HPFP_CAM_IN1";
703 case HPFP_CAM_IN2:
704 return "HPFP_CAM_IN2";
705 case HPFP_CAM_NONE:
706 return "HPFP_CAM_NONE";
707 }
708 return NULL;
709 }
710 const char *getIdle_mode_e(idle_mode_e value){
711 switch(value) {
712 case idle_mode_e::IM_AUTO:
713 return "IM_AUTO";
714 case idle_mode_e::IM_MANUAL:
715 return "IM_MANUAL";
716 }
717 return NULL;
718 }
719 const char *getIdle_state_e(idle_state_e value){
720 switch(value) {
721 case BLIP:
722 return "BLIP";
723 case INIT:
724 return "INIT";
725 case PID_UPPER:
726 return "PID_UPPER";
727 case PID_VALUE:
728 return "PID_VALUE";
729 case RPM_DEAD_ZONE:
730 return "RPM_DEAD_ZONE";
731 case TPS_THRESHOLD:
732 return "TPS_THRESHOLD";
733 }
734 return NULL;
735 }
736 const char *getIgnition_mode_e(ignition_mode_e value){
737 switch(value) {
738 case IM_INDIVIDUAL_COILS:
739 return "IM_INDIVIDUAL_COILS";
740 case IM_ONE_COIL:
741 return "IM_ONE_COIL";
742 case IM_TWO_COILS:
743 return "IM_TWO_COILS";
744 case IM_WASTED_SPARK:
745 return "IM_WASTED_SPARK";
746 }
747 return NULL;
748 }
749 const char *getImu_type_e(imu_type_e value){
750 switch(value) {
751 case IMU_MM5_10:
752 return "IMU_MM5_10";
753 case IMU_NONE:
754 return "IMU_NONE";
755 case IMU_TYPE_3:
756 return "IMU_TYPE_3";
757 case IMU_TYPE_4:
758 return "IMU_TYPE_4";
759 case IMU_TYPE_MB_A0065422618:
760 return "IMU_TYPE_MB_A0065422618";
761 case IMU_VAG:
762 return "IMU_VAG";
763 }
764 return NULL;
765 }
766 const char *getInjection_mode_e(injection_mode_e value){
767 switch(value) {
768 case IM_BATCH:
769 return "IM_BATCH";
770 case IM_SEQUENTIAL:
771 return "IM_SEQUENTIAL";
772 case IM_SIMULTANEOUS:
773 return "IM_SIMULTANEOUS";
774 case IM_SINGLE_POINT:
775 return "IM_SINGLE_POINT";
776 }
777 return NULL;
778 }
779 const char *getInjector_compensation_mode_e(injector_compensation_mode_e value){
780 switch(value) {
781 case ICM_FixedRailPressure:
782 return "ICM_FixedRailPressure";
783 case ICM_HPFP_Manual_Compensation:
784 return "ICM_HPFP_Manual_Compensation";
785 case ICM_None:
786 return "ICM_None";
787 case ICM_SensedRailPressure:
788 return "ICM_SensedRailPressure";
789 }
790 return NULL;
791 }
792 const char *getInjector_pressure_type_e(injector_pressure_type_e value){
793 switch(value) {
794 case IPT_High:
795 return "IPT_High";
796 case IPT_Low:
797 return "IPT_Low";
798 }
799 return NULL;
800 }
801 const char *getLaunchActivationMode_e(launchActivationMode_e value){
802 switch(value) {
803 case ALWAYS_ACTIVE_LAUNCH:
804 return "ALWAYS_ACTIVE_LAUNCH";
805 case CLUTCH_INPUT_LAUNCH:
806 return "CLUTCH_INPUT_LAUNCH";
807 case LUA_LAUNCH:
808 return "LUA_LAUNCH";
809 case STOP_INPUT_LAUNCH:
810 return "STOP_INPUT_LAUNCH";
811 case SWITCH_INPUT_LAUNCH:
812 return "SWITCH_INPUT_LAUNCH";
813 }
814 return NULL;
815 }
816 const char *getLoad_override_e(load_override_e value){
817 switch(value) {
818 case AFR_AccPedal:
819 return "AFR_AccPedal";
820 case AFR_CylFilling:
821 return "AFR_CylFilling";
822 case AFR_MAP:
823 return "AFR_MAP";
824 case AFR_None:
825 return "AFR_None";
826 case AFR_Tps:
827 return "AFR_Tps";
828 }
829 return NULL;
830 }
831 const char *getLua_gauge_e(lua_gauge_e value){
832 switch(value) {
833 case LUA_GAUGE_1:
834 return "LUA_GAUGE_1";
835 case LUA_GAUGE_2:
836 return "LUA_GAUGE_2";
837 case LUA_GAUGE_3:
838 return "LUA_GAUGE_3";
839 case LUA_GAUGE_4:
840 return "LUA_GAUGE_4";
841 case LUA_GAUGE_5:
842 return "LUA_GAUGE_5";
843 case LUA_GAUGE_6:
844 return "LUA_GAUGE_6";
845 case LUA_GAUGE_7:
846 return "LUA_GAUGE_7";
847 case LUA_GAUGE_8:
848 return "LUA_GAUGE_8";
849 }
850 return NULL;
851 }
852 const char *getLua_gauge_meaning_e(lua_gauge_meaning_e value){
853 switch(value) {
854 case LUA_GAUGE_LOWER_BOUND:
855 return "LUA_GAUGE_LOWER_BOUND";
856 case LUA_GAUGE_UPPER_BOUND:
857 return "LUA_GAUGE_UPPER_BOUND";
858 }
859 return NULL;
860 }
861 const char *getMc33810maxDwellTimer_e(mc33810maxDwellTimer_e value){
862 switch(value) {
863 case DWELL_16MS:
864 return "DWELL_16MS";
865 case DWELL_2MS:
866 return "DWELL_2MS";
867 case DWELL_32MS:
868 return "DWELL_32MS";
869 case DWELL_4MS:
870 return "DWELL_4MS";
871 case DWELL_64MS:
872 return "DWELL_64MS";
873 case DWELL_8MS:
874 return "DWELL_8MS";
875 }
876 return NULL;
877 }
878 const char *getNitrous_arming_method_e(nitrous_arming_method_e value){
879 switch(value) {
880 case DIGITAL_SWITCH_INPUT:
881 return "DIGITAL_SWITCH_INPUT";
882 case LUA_GAUGE:
883 return "LUA_GAUGE";
884 }
885 return NULL;
886 }
887 const char *getOperation_mode_e(operation_mode_e value){
888 switch(value) {
889 case FOUR_STROKE_CAM_SENSOR:
890 return "FOUR_STROKE_CAM_SENSOR";
891 case FOUR_STROKE_CRANK_SENSOR:
892 return "FOUR_STROKE_CRANK_SENSOR";
893 case FOUR_STROKE_SIX_TIMES_CRANK_SENSOR:
894 return "FOUR_STROKE_SIX_TIMES_CRANK_SENSOR";
895 case FOUR_STROKE_SYMMETRICAL_CRANK_SENSOR:
896 return "FOUR_STROKE_SYMMETRICAL_CRANK_SENSOR";
897 case FOUR_STROKE_THREE_TIMES_CRANK_SENSOR:
898 return "FOUR_STROKE_THREE_TIMES_CRANK_SENSOR";
899 case FOUR_STROKE_TWELVE_TIMES_CRANK_SENSOR:
900 return "FOUR_STROKE_TWELVE_TIMES_CRANK_SENSOR";
901 case OM_NONE:
902 return "OM_NONE";
903 case TWO_STROKE:
904 return "TWO_STROKE";
905 }
906 return NULL;
907 }
908 const char *getPin_input_mode_e(pin_input_mode_e value){
909 switch(value) {
910 case PI_DEFAULT:
911 return "PI_DEFAULT";
912 case PI_INVERTED_DEFAULT:
913 return "PI_INVERTED_DEFAULT";
914 case PI_INVERTED_PULLDOWN:
915 return "PI_INVERTED_PULLDOWN";
916 case PI_INVERTED_PULLUP:
917 return "PI_INVERTED_PULLUP";
918 case PI_PULLDOWN:
919 return "PI_PULLDOWN";
920 case PI_PULLUP:
921 return "PI_PULLUP";
922 }
923 return NULL;
924 }
925 const char *getPin_output_mode_e(pin_output_mode_e value){
926 switch(value) {
927 case OM_DEFAULT:
928 return "OM_DEFAULT";
929 case OM_INVERTED:
930 return "OM_INVERTED";
931 case OM_OPENDRAIN:
932 return "OM_OPENDRAIN";
933 case OM_OPENDRAIN_INVERTED:
934 return "OM_OPENDRAIN_INVERTED";
935 }
936 return NULL;
937 }
938 const char *getSpi_device_e(spi_device_e value){
939 switch(value) {
940 case SPI_DEVICE_1:
941 return "SPI_DEVICE_1";
942 case SPI_DEVICE_2:
943 return "SPI_DEVICE_2";
944 case SPI_DEVICE_3:
945 return "SPI_DEVICE_3";
946 case SPI_DEVICE_4:
947 return "SPI_DEVICE_4";
948 case SPI_DEVICE_5:
949 return "SPI_DEVICE_5";
950 case SPI_DEVICE_6:
951 return "SPI_DEVICE_6";
952 case SPI_NONE:
953 return "SPI_NONE";
954 }
955 return NULL;
956 }
957 const char *getStepper_num_micro_steps_e(stepper_num_micro_steps_e value){
958 switch(value) {
959 case STEPPER_EIGHTH:
960 return "STEPPER_EIGHTH";
961 case STEPPER_FOURTH:
962 return "STEPPER_FOURTH";
963 case STEPPER_FULL:
964 return "STEPPER_FULL";
965 case STEPPER_HALF:
966 return "STEPPER_HALF";
967 }
968 return NULL;
969 }
970 const char *getStft_state_e(stft_state_e value){
971 switch(value) {
972 case stftDisabledAfrOurOfRange:
973 return "stftDisabledAfrOurOfRange";
974 case stftDisabledClt:
975 return "stftDisabledClt";
976 case stftDisabledCrankingDelay:
977 return "stftDisabledCrankingDelay";
978 case stftDisabledDFCO:
979 return "stftDisabledDFCO";
980 case stftDisabledFuelCut:
981 return "stftDisabledFuelCut";
982 case stftDisabledRPM:
983 return "stftDisabledRPM";
984 case stftDisabledSettings:
985 return "stftDisabledSettings";
986 case stftDisabledTpsAccel:
987 return "stftDisabledTpsAccel";
988 case stftDisabledTuning:
989 return "stftDisabledTuning";
990 case stftEnabled:
991 return "stftEnabled";
992 }
993 return NULL;
994 }
995 const char *getTChargeMode_e(tChargeMode_e value){
996 switch(value) {
997 case TCHARGE_MODE_AIR_INTERP:
998 return "TCHARGE_MODE_AIR_INTERP";
999 case TCHARGE_MODE_AIR_INTERP_TABLE:
1000 return "TCHARGE_MODE_AIR_INTERP_TABLE";
1001 case TCHARGE_MODE_RPM_TPS:
1002 return "TCHARGE_MODE_RPM_TPS";
1003 }
1004 return NULL;
1005 }
1006 const char *getTiming_mode_e(timing_mode_e value){
1007 switch(value) {
1008 case TM_DYNAMIC:
1009 return "TM_DYNAMIC";
1010 case TM_FIXED:
1011 return "TM_FIXED";
1012 }
1013 return NULL;
1014 }
1015 const char *getTle8888_mode_e(tle8888_mode_e value){
1016 switch(value) {
1017 case TL_AUTO:
1018 return "TL_AUTO";
1019 case TL_HALL:
1020 return "TL_HALL";
1021 case TL_MANUAL:
1022 return "TL_MANUAL";
1023 case TL_SEMI_AUTO:
1024 return "TL_SEMI_AUTO";
1025 }
1026 return NULL;
1027 }
1028 const char *getTorqueReductionActivationMode_e(torqueReductionActivationMode_e value){
1029 switch(value) {
1030 case LAUNCH_BUTTON:
1031 return "LAUNCH_BUTTON";
1032 case TORQUE_REDUCTION_BUTTON:
1033 return "TORQUE_REDUCTION_BUTTON";
1034 case TORQUE_REDUCTION_CLUTCH_DOWN_SWITCH:
1035 return "TORQUE_REDUCTION_CLUTCH_DOWN_SWITCH";
1036 case TORQUE_REDUCTION_CLUTCH_UP_SWITCH:
1037 return "TORQUE_REDUCTION_CLUTCH_UP_SWITCH";
1038 }
1039 return NULL;
1040 }
1041 const char *getUart_device_e(uart_device_e value){
1042 switch(value) {
1043 case UART_DEVICE_1:
1044 return "UART_DEVICE_1";
1045 case UART_DEVICE_2:
1046 return "UART_DEVICE_2";
1047 case UART_DEVICE_3:
1048 return "UART_DEVICE_3";
1049 case UART_DEVICE_4:
1050 return "UART_DEVICE_4";
1051 case UART_NONE:
1052 return "UART_NONE";
1053 }
1054 return NULL;
1055 }
1056 const char *getVe_override_e(ve_override_e value){
1057 switch(value) {
1058 case VE_MAP:
1059 return "VE_MAP";
1060 case VE_None:
1061 return "VE_None";
1062 case VE_TPS:
1063 return "VE_TPS";
1064 }
1065 return NULL;
1066 }
1067 const char *getVvt_mode_e(vvt_mode_e value){
1068 switch(value) {
1069 case VVT_BARRA_3_PLUS_1:
1070 return "VVT_BARRA_3_PLUS_1";
1071 case VVT_BMW_N63TU:
1072 return "VVT_BMW_N63TU";
1073 case VVT_BOSCH_QUICK_START:
1074 return "VVT_BOSCH_QUICK_START";
1075 case VVT_CHRYSLER_PHASER:
1076 return "VVT_CHRYSLER_PHASER";
1077 case VVT_CUSTOM_1:
1078 return "VVT_CUSTOM_1";
1079 case VVT_CUSTOM_2:
1080 return "VVT_CUSTOM_2";
1081 case VVT_CUSTOM_25:
1082 return "VVT_CUSTOM_25";
1083 case VVT_CUSTOM_26:
1084 return "VVT_CUSTOM_26";
1085 case VVT_DEV:
1086 return "VVT_DEV";
1087 case VVT_FORD_COYOTE:
1088 return "VVT_FORD_COYOTE";
1089 case VVT_FORD_ST170:
1090 return "VVT_FORD_ST170";
1091 case VVT_HONDA_CBR_600:
1092 return "VVT_HONDA_CBR_600";
1093 case VVT_HONDA_K_EXHAUST:
1094 return "VVT_HONDA_K_EXHAUST";
1095 case VVT_HONDA_K_INTAKE:
1096 return "VVT_HONDA_K_INTAKE";
1097 case VVT_HR12DDR_IN:
1098 return "VVT_HR12DDR_IN";
1099 case VVT_INACTIVE:
1100 return "VVT_INACTIVE";
1101 case VVT_MAP_V_TWIN:
1102 return "VVT_MAP_V_TWIN";
1103 case VVT_MAZDA_L:
1104 return "VVT_MAZDA_L";
1105 case VVT_MAZDA_SKYACTIV:
1106 return "VVT_MAZDA_SKYACTIV";
1107 case VVT_MIATA_NB:
1108 return "VVT_MIATA_NB";
1109 case VVT_MITSUBISHI_3A92:
1110 return "VVT_MITSUBISHI_3A92";
1111 case VVT_MITSUBISHI_4G63:
1112 return "VVT_MITSUBISHI_4G63";
1113 case VVT_MITSUBISHI_4G69:
1114 return "VVT_MITSUBISHI_4G69";
1115 case VVT_MITSUBISHI_6G72:
1116 return "VVT_MITSUBISHI_6G72";
1117 case VVT_NISSAN_MR:
1118 return "VVT_NISSAN_MR";
1119 case VVT_NISSAN_VQ:
1120 return "VVT_NISSAN_VQ";
1121 case VVT_SINGLE_TOOTH:
1122 return "VVT_SINGLE_TOOTH";
1123 case VVT_SUBARU_7TOOTH:
1124 return "VVT_SUBARU_7TOOTH";
1125 case VVT_TOYOTA_3TOOTH_UZ:
1126 return "VVT_TOYOTA_3TOOTH_UZ";
1127 case VVT_TOYOTA_3_TOOTH:
1128 return "VVT_TOYOTA_3_TOOTH";
1129 case VVT_TOYOTA_4_1:
1130 return "VVT_TOYOTA_4_1";
1131 }
1132 return NULL;
1133 }
1134