GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 0.0% 0 / 0 / 989
Functions: 0.0% 0 / 0 / 63
Branches: 0.0% 0 / 0 / 463
Decisions: 0.0% 0 / - / 400

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