GCC Code Coverage Report


Directory: ./
File: firmware/controllers/algo/auto_generated_commonenum.cpp
Date: 2025-11-16 14:52:24
Coverage Exec Excl Total
Lines: 0.0% 0 0 987
Functions: 0.0% 0 0 63
Branches: 0.0% 0 0 462
Decisions: 0.0% 0 - 399

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 Mon Oct 27 13:11:54 UTC 2025
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 B83KBPS:
328 return "B83KBPS";
329 }
330 return NULL;
331 }
332 const char *getCan_nbc_e(can_nbc_e value){
333 switch(value) {
334 case CAN_AIM_DASH:
335 return "CAN_AIM_DASH";
336 case CAN_BUS_BMW_E46:
337 return "CAN_BUS_BMW_E46";
338 case CAN_BUS_BMW_E90:
339 return "CAN_BUS_BMW_E90";
340 case CAN_BUS_GENESIS_COUPE:
341 return "CAN_BUS_GENESIS_COUPE";
342 case CAN_BUS_HONDA_K:
343 return "CAN_BUS_HONDA_K";
344 case CAN_BUS_Haltech:
345 return "CAN_BUS_Haltech";
346 case CAN_BUS_MAZDA_RX8:
347 return "CAN_BUS_MAZDA_RX8";
348 case CAN_BUS_MQB:
349 return "CAN_BUS_MQB";
350 case CAN_BUS_MS_SIMPLE_BROADCAST:
351 return "CAN_BUS_MS_SIMPLE_BROADCAST";
352 case CAN_BUS_NBC_FIAT:
353 return "CAN_BUS_NBC_FIAT";
354 case CAN_BUS_NBC_NONE:
355 return "CAN_BUS_NBC_NONE";
356 case CAN_BUS_NBC_VAG:
357 return "CAN_BUS_NBC_VAG";
358 case CAN_BUS_NISSAN_VQ:
359 return "CAN_BUS_NISSAN_VQ";
360 case CAN_BUS_W202_C180:
361 return "CAN_BUS_W202_C180";
362 }
363 return NULL;
364 }
365 const char *getCan_vss_nbc_e(can_vss_nbc_e value){
366 switch(value) {
367 case BMW_e46:
368 return "BMW_e46";
369 case BMW_e90:
370 return "BMW_e90";
371 case HONDA_CIVIC9:
372 return "HONDA_CIVIC9";
373 case HYUNDAI_PB:
374 return "HYUNDAI_PB";
375 case NISSAN_350:
376 return "NISSAN_350";
377 case W202:
378 return "W202";
379 }
380 return NULL;
381 }
382 const char *getCan_wbo_aem_id_e(can_wbo_aem_id_e value){
383 switch(value) {
384 case WBO_AEM_ID1:
385 return "WBO_AEM_ID1";
386 case WBO_AEM_ID10:
387 return "WBO_AEM_ID10";
388 case WBO_AEM_ID11:
389 return "WBO_AEM_ID11";
390 case WBO_AEM_ID12:
391 return "WBO_AEM_ID12";
392 case WBO_AEM_ID13:
393 return "WBO_AEM_ID13";
394 case WBO_AEM_ID14:
395 return "WBO_AEM_ID14";
396 case WBO_AEM_ID15:
397 return "WBO_AEM_ID15";
398 case WBO_AEM_ID16:
399 return "WBO_AEM_ID16";
400 case WBO_AEM_ID2:
401 return "WBO_AEM_ID2";
402 case WBO_AEM_ID3:
403 return "WBO_AEM_ID3";
404 case WBO_AEM_ID4:
405 return "WBO_AEM_ID4";
406 case WBO_AEM_ID5:
407 return "WBO_AEM_ID5";
408 case WBO_AEM_ID6:
409 return "WBO_AEM_ID6";
410 case WBO_AEM_ID7:
411 return "WBO_AEM_ID7";
412 case WBO_AEM_ID8:
413 return "WBO_AEM_ID8";
414 case WBO_AEM_ID9:
415 return "WBO_AEM_ID9";
416 }
417 return NULL;
418 }
419 const char *getCan_wbo_re_hwidx_e(can_wbo_re_hwidx_e value){
420 switch(value) {
421 case WBO_RE_HWIDX0:
422 return "WBO_RE_HWIDX0";
423 case WBO_RE_HWIDX1:
424 return "WBO_RE_HWIDX1";
425 case WBO_RE_HWIDX2:
426 return "WBO_RE_HWIDX2";
427 case WBO_RE_HWIDX3:
428 return "WBO_RE_HWIDX3";
429 case WBO_RE_HWIDX4:
430 return "WBO_RE_HWIDX4";
431 case WBO_RE_HWIDX5:
432 return "WBO_RE_HWIDX5";
433 case WBO_RE_HWIDX6:
434 return "WBO_RE_HWIDX6";
435 case WBO_RE_HWIDX7:
436 return "WBO_RE_HWIDX7";
437 }
438 return NULL;
439 }
440 const char *getCan_wbo_re_id_e(can_wbo_re_id_e value){
441 switch(value) {
442 case WBO_RE_ID1:
443 return "WBO_RE_ID1";
444 case WBO_RE_ID10:
445 return "WBO_RE_ID10";
446 case WBO_RE_ID11:
447 return "WBO_RE_ID11";
448 case WBO_RE_ID12:
449 return "WBO_RE_ID12";
450 case WBO_RE_ID13:
451 return "WBO_RE_ID13";
452 case WBO_RE_ID14:
453 return "WBO_RE_ID14";
454 case WBO_RE_ID15:
455 return "WBO_RE_ID15";
456 case WBO_RE_ID16:
457 return "WBO_RE_ID16";
458 case WBO_RE_ID2:
459 return "WBO_RE_ID2";
460 case WBO_RE_ID3:
461 return "WBO_RE_ID3";
462 case WBO_RE_ID4:
463 return "WBO_RE_ID4";
464 case WBO_RE_ID5:
465 return "WBO_RE_ID5";
466 case WBO_RE_ID6:
467 return "WBO_RE_ID6";
468 case WBO_RE_ID7:
469 return "WBO_RE_ID7";
470 case WBO_RE_ID8:
471 return "WBO_RE_ID8";
472 case WBO_RE_ID9:
473 return "WBO_RE_ID9";
474 }
475 return NULL;
476 }
477 const char *getCan_wbo_re_status_e(can_wbo_re_status_e value){
478 switch(value) {
479 case WBO_RE_BUSY:
480 return "WBO_RE_BUSY";
481 case WBO_RE_DONE:
482 return "WBO_RE_DONE";
483 case WBO_RE_FAILED:
484 return "WBO_RE_FAILED";
485 case WBO_RE_IDLE:
486 return "WBO_RE_IDLE";
487 }
488 return NULL;
489 }
490 const char *getCan_wbo_type_e(can_wbo_type_e value){
491 switch(value) {
492 case AEM:
493 return "AEM";
494 case DISABLED:
495 return "DISABLED";
496 case RUSEFI:
497 return "RUSEFI";
498 }
499 return NULL;
500 }
501 const char *getCranking_condition_e(cranking_condition_e value){
502 switch(value) {
503 case CCNONE:
504 return "CCNONE";
505 case CC_BRAKE:
506 return "CC_BRAKE";
507 case CC_CLUTCH:
508 return "CC_CLUTCH";
509 }
510 return NULL;
511 }
512 const char *getDc_function_e(dc_function_e value){
513 switch(value) {
514 case DC_IdleValve:
515 return "DC_IdleValve";
516 case DC_None:
517 return "DC_None";
518 case DC_Throttle1:
519 return "DC_Throttle1";
520 case DC_Throttle2:
521 return "DC_Throttle2";
522 case DC_Wastegate:
523 return "DC_Wastegate";
524 }
525 return NULL;
526 }
527 const char *getDisplay_mode_e(display_mode_e value){
528 switch(value) {
529 case DM_HD44780:
530 return "DM_HD44780";
531 case DM_HD44780_OVER_PCF8574:
532 return "DM_HD44780_OVER_PCF8574";
533 case DM_NONE:
534 return "DM_NONE";
535 }
536 return NULL;
537 }
538 const char *getEgo_sensor_e(ego_sensor_e value){
539 switch(value) {
540 case ES_14Point7_Free:
541 return "ES_14Point7_Free";
542 case ES_AEM:
543 return "ES_AEM";
544 case ES_BPSX_D1:
545 return "ES_BPSX_D1";
546 case ES_Custom:
547 return "ES_Custom";
548 case ES_Innovate_MTX_L:
549 return "ES_Innovate_MTX_L";
550 case ES_PLX:
551 return "ES_PLX";
552 }
553 return NULL;
554 }
555 const char *getFt_region_e(ft_region_e value){
556 switch(value) {
557 case ftRegionCruise:
558 return "ftRegionCruise";
559 case ftRegionIdle:
560 return "ftRegionIdle";
561 case ftRegionOverrun:
562 return "ftRegionOverrun";
563 case ftRegionPower:
564 return "ftRegionPower";
565 }
566 return NULL;
567 }
568 const char *getFuel_pressure_sensor_mode_e(fuel_pressure_sensor_mode_e value){
569 switch(value) {
570 case FPM_Absolute:
571 return "FPM_Absolute";
572 case FPM_Differential:
573 return "FPM_Differential";
574 case FPM_Gauge:
575 return "FPM_Gauge";
576 }
577 return NULL;
578 }
579 const char *getGear_e(gear_e value){
580 switch(value) {
581 case GEAR_1:
582 return "GEAR_1";
583 case GEAR_2:
584 return "GEAR_2";
585 case GEAR_3:
586 return "GEAR_3";
587 case GEAR_4:
588 return "GEAR_4";
589 case NEUTRAL:
590 return "NEUTRAL";
591 case REVERSE:
592 return "REVERSE";
593 }
594 return NULL;
595 }
596 const char *getGppwm_channel_e(gppwm_channel_e value){
597 switch(value) {
598 case GPPWM_AccelPedal:
599 return "GPPWM_AccelPedal";
600 case GPPWM_AuxLinear1:
601 return "GPPWM_AuxLinear1";
602 case GPPWM_AuxLinear2:
603 return "GPPWM_AuxLinear2";
604 case GPPWM_AuxLinear3:
605 return "GPPWM_AuxLinear3";
606 case GPPWM_AuxLinear4:
607 return "GPPWM_AuxLinear4";
608 case GPPWM_AuxTemp1:
609 return "GPPWM_AuxTemp1";
610 case GPPWM_AuxTemp2:
611 return "GPPWM_AuxTemp2";
612 case GPPWM_BaroPressure:
613 return "GPPWM_BaroPressure";
614 case GPPWM_Clt:
615 return "GPPWM_Clt";
616 case GPPWM_DetectedGear:
617 return "GPPWM_DetectedGear";
618 case GPPWM_Egt1:
619 return "GPPWM_Egt1";
620 case GPPWM_Egt2:
621 return "GPPWM_Egt2";
622 case GPPWM_EthanolPercent:
623 return "GPPWM_EthanolPercent";
624 case GPPWM_FuelLoad:
625 return "GPPWM_FuelLoad";
626 case GPPWM_FuelPressure:
627 return "GPPWM_FuelPressure";
628 case GPPWM_GppwmOutput1:
629 return "GPPWM_GppwmOutput1";
630 case GPPWM_GppwmOutput2:
631 return "GPPWM_GppwmOutput2";
632 case GPPWM_GppwmOutput3:
633 return "GPPWM_GppwmOutput3";
634 case GPPWM_GppwmOutput4:
635 return "GPPWM_GppwmOutput4";
636 case GPPWM_Iat:
637 return "GPPWM_Iat";
638 case GPPWM_IgnLoad:
639 return "GPPWM_IgnLoad";
640 case GPPWM_LuaGauge1:
641 return "GPPWM_LuaGauge1";
642 case GPPWM_LuaGauge2:
643 return "GPPWM_LuaGauge2";
644 case GPPWM_Map:
645 return "GPPWM_Map";
646 case GPPWM_OilPressure:
647 return "GPPWM_OilPressure";
648 case GPPWM_OilTemp:
649 return "GPPWM_OilTemp";
650 case GPPWM_Rpm:
651 return "GPPWM_Rpm";
652 case GPPWM_ThrottleRatio:
653 return "GPPWM_ThrottleRatio";
654 case GPPWM_Tps:
655 return "GPPWM_Tps";
656 case GPPWM_VVT_1E:
657 return "GPPWM_VVT_1E";
658 case GPPWM_VVT_1I:
659 return "GPPWM_VVT_1I";
660 case GPPWM_VVT_2E:
661 return "GPPWM_VVT_2E";
662 case GPPWM_VVT_2I:
663 return "GPPWM_VVT_2I";
664 case GPPWM_Vbatt:
665 return "GPPWM_Vbatt";
666 case GPPWM_VehicleSpeed:
667 return "GPPWM_VehicleSpeed";
668 case GPPWM_Zero:
669 return "GPPWM_Zero";
670 }
671 return NULL;
672 }
673 const char *getGppwm_compare_mode_e(gppwm_compare_mode_e value){
674 switch(value) {
675 case GPPWM_GreaterThan:
676 return "GPPWM_GreaterThan";
677 case GPPWM_LessThan:
678 return "GPPWM_LessThan";
679 }
680 return NULL;
681 }
682 const char *getHpfp_cam_e(hpfp_cam_e value){
683 switch(value) {
684 case HPFP_CAM_EX1:
685 return "HPFP_CAM_EX1";
686 case HPFP_CAM_EX2:
687 return "HPFP_CAM_EX2";
688 case HPFP_CAM_IN1:
689 return "HPFP_CAM_IN1";
690 case HPFP_CAM_IN2:
691 return "HPFP_CAM_IN2";
692 case HPFP_CAM_NONE:
693 return "HPFP_CAM_NONE";
694 }
695 return NULL;
696 }
697 const char *getIdle_mode_e(idle_mode_e value){
698 switch(value) {
699 case idle_mode_e::IM_AUTO:
700 return "IM_AUTO";
701 case idle_mode_e::IM_MANUAL:
702 return "IM_MANUAL";
703 }
704 return NULL;
705 }
706 const char *getIdle_state_e(idle_state_e value){
707 switch(value) {
708 case BLIP:
709 return "BLIP";
710 case INIT:
711 return "INIT";
712 case PID_UPPER:
713 return "PID_UPPER";
714 case PID_VALUE:
715 return "PID_VALUE";
716 case RPM_DEAD_ZONE:
717 return "RPM_DEAD_ZONE";
718 case TPS_THRESHOLD:
719 return "TPS_THRESHOLD";
720 }
721 return NULL;
722 }
723 const char *getIgnition_mode_e(ignition_mode_e value){
724 switch(value) {
725 case IM_INDIVIDUAL_COILS:
726 return "IM_INDIVIDUAL_COILS";
727 case IM_ONE_COIL:
728 return "IM_ONE_COIL";
729 case IM_TWO_COILS:
730 return "IM_TWO_COILS";
731 case IM_WASTED_SPARK:
732 return "IM_WASTED_SPARK";
733 }
734 return NULL;
735 }
736 const char *getImu_type_e(imu_type_e value){
737 switch(value) {
738 case IMU_MM5_10:
739 return "IMU_MM5_10";
740 case IMU_NONE:
741 return "IMU_NONE";
742 case IMU_TYPE_3:
743 return "IMU_TYPE_3";
744 case IMU_TYPE_4:
745 return "IMU_TYPE_4";
746 case IMU_TYPE_MB_A0065422618:
747 return "IMU_TYPE_MB_A0065422618";
748 case IMU_VAG:
749 return "IMU_VAG";
750 }
751 return NULL;
752 }
753 const char *getInjection_mode_e(injection_mode_e value){
754 switch(value) {
755 case IM_BATCH:
756 return "IM_BATCH";
757 case IM_SEQUENTIAL:
758 return "IM_SEQUENTIAL";
759 case IM_SIMULTANEOUS:
760 return "IM_SIMULTANEOUS";
761 case IM_SINGLE_POINT:
762 return "IM_SINGLE_POINT";
763 }
764 return NULL;
765 }
766 const char *getInjector_compensation_mode_e(injector_compensation_mode_e value){
767 switch(value) {
768 case ICM_FixedRailPressure:
769 return "ICM_FixedRailPressure";
770 case ICM_HPFP_Manual_Compensation:
771 return "ICM_HPFP_Manual_Compensation";
772 case ICM_None:
773 return "ICM_None";
774 case ICM_SensedRailPressure:
775 return "ICM_SensedRailPressure";
776 }
777 return NULL;
778 }
779 const char *getInjector_pressure_type_e(injector_pressure_type_e value){
780 switch(value) {
781 case IPT_High:
782 return "IPT_High";
783 case IPT_Low:
784 return "IPT_Low";
785 }
786 return NULL;
787 }
788 const char *getLaunchActivationMode_e(launchActivationMode_e value){
789 switch(value) {
790 case ALWAYS_ACTIVE_LAUNCH:
791 return "ALWAYS_ACTIVE_LAUNCH";
792 case CLUTCH_INPUT_LAUNCH:
793 return "CLUTCH_INPUT_LAUNCH";
794 case LUA_LAUNCH:
795 return "LUA_LAUNCH";
796 case STOP_INPUT_LAUNCH:
797 return "STOP_INPUT_LAUNCH";
798 case SWITCH_INPUT_LAUNCH:
799 return "SWITCH_INPUT_LAUNCH";
800 }
801 return NULL;
802 }
803 const char *getLoad_override_e(load_override_e value){
804 switch(value) {
805 case AFR_AccPedal:
806 return "AFR_AccPedal";
807 case AFR_CylFilling:
808 return "AFR_CylFilling";
809 case AFR_MAP:
810 return "AFR_MAP";
811 case AFR_None:
812 return "AFR_None";
813 case AFR_Tps:
814 return "AFR_Tps";
815 }
816 return NULL;
817 }
818 const char *getLua_gauge_e(lua_gauge_e value){
819 switch(value) {
820 case LUA_GAUGE_1:
821 return "LUA_GAUGE_1";
822 case LUA_GAUGE_2:
823 return "LUA_GAUGE_2";
824 case LUA_GAUGE_3:
825 return "LUA_GAUGE_3";
826 case LUA_GAUGE_4:
827 return "LUA_GAUGE_4";
828 case LUA_GAUGE_5:
829 return "LUA_GAUGE_5";
830 case LUA_GAUGE_6:
831 return "LUA_GAUGE_6";
832 case LUA_GAUGE_7:
833 return "LUA_GAUGE_7";
834 case LUA_GAUGE_8:
835 return "LUA_GAUGE_8";
836 }
837 return NULL;
838 }
839 const char *getLua_gauge_meaning_e(lua_gauge_meaning_e value){
840 switch(value) {
841 case LUA_GAUGE_LOWER_BOUND:
842 return "LUA_GAUGE_LOWER_BOUND";
843 case LUA_GAUGE_UPPER_BOUND:
844 return "LUA_GAUGE_UPPER_BOUND";
845 }
846 return NULL;
847 }
848 const char *getMc33810maxDwellTimer_e(mc33810maxDwellTimer_e value){
849 switch(value) {
850 case DWELL_16MS:
851 return "DWELL_16MS";
852 case DWELL_2MS:
853 return "DWELL_2MS";
854 case DWELL_32MS:
855 return "DWELL_32MS";
856 case DWELL_4MS:
857 return "DWELL_4MS";
858 case DWELL_64MS:
859 return "DWELL_64MS";
860 case DWELL_8MS:
861 return "DWELL_8MS";
862 }
863 return NULL;
864 }
865 const char *getNitrous_arming_method_e(nitrous_arming_method_e value){
866 switch(value) {
867 case DIGITAL_SWITCH_INPUT:
868 return "DIGITAL_SWITCH_INPUT";
869 case LUA_GAUGE:
870 return "LUA_GAUGE";
871 }
872 return NULL;
873 }
874 const char *getOperation_mode_e(operation_mode_e value){
875 switch(value) {
876 case FOUR_STROKE_CAM_SENSOR:
877 return "FOUR_STROKE_CAM_SENSOR";
878 case FOUR_STROKE_CRANK_SENSOR:
879 return "FOUR_STROKE_CRANK_SENSOR";
880 case FOUR_STROKE_SIX_TIMES_CRANK_SENSOR:
881 return "FOUR_STROKE_SIX_TIMES_CRANK_SENSOR";
882 case FOUR_STROKE_SYMMETRICAL_CRANK_SENSOR:
883 return "FOUR_STROKE_SYMMETRICAL_CRANK_SENSOR";
884 case FOUR_STROKE_THREE_TIMES_CRANK_SENSOR:
885 return "FOUR_STROKE_THREE_TIMES_CRANK_SENSOR";
886 case FOUR_STROKE_TWELVE_TIMES_CRANK_SENSOR:
887 return "FOUR_STROKE_TWELVE_TIMES_CRANK_SENSOR";
888 case OM_NONE:
889 return "OM_NONE";
890 case TWO_STROKE:
891 return "TWO_STROKE";
892 }
893 return NULL;
894 }
895 const char *getPin_input_mode_e(pin_input_mode_e value){
896 switch(value) {
897 case PI_DEFAULT:
898 return "PI_DEFAULT";
899 case PI_INVERTED_DEFAULT:
900 return "PI_INVERTED_DEFAULT";
901 case PI_INVERTED_PULLDOWN:
902 return "PI_INVERTED_PULLDOWN";
903 case PI_INVERTED_PULLUP:
904 return "PI_INVERTED_PULLUP";
905 case PI_PULLDOWN:
906 return "PI_PULLDOWN";
907 case PI_PULLUP:
908 return "PI_PULLUP";
909 }
910 return NULL;
911 }
912 const char *getPin_output_mode_e(pin_output_mode_e value){
913 switch(value) {
914 case OM_DEFAULT:
915 return "OM_DEFAULT";
916 case OM_INVERTED:
917 return "OM_INVERTED";
918 case OM_OPENDRAIN:
919 return "OM_OPENDRAIN";
920 case OM_OPENDRAIN_INVERTED:
921 return "OM_OPENDRAIN_INVERTED";
922 }
923 return NULL;
924 }
925 const char *getSpi_device_e(spi_device_e value){
926 switch(value) {
927 case SPI_DEVICE_1:
928 return "SPI_DEVICE_1";
929 case SPI_DEVICE_2:
930 return "SPI_DEVICE_2";
931 case SPI_DEVICE_3:
932 return "SPI_DEVICE_3";
933 case SPI_DEVICE_4:
934 return "SPI_DEVICE_4";
935 case SPI_DEVICE_5:
936 return "SPI_DEVICE_5";
937 case SPI_DEVICE_6:
938 return "SPI_DEVICE_6";
939 case SPI_NONE:
940 return "SPI_NONE";
941 }
942 return NULL;
943 }
944 const char *getStepper_num_micro_steps_e(stepper_num_micro_steps_e value){
945 switch(value) {
946 case STEPPER_EIGHTH:
947 return "STEPPER_EIGHTH";
948 case STEPPER_FOURTH:
949 return "STEPPER_FOURTH";
950 case STEPPER_FULL:
951 return "STEPPER_FULL";
952 case STEPPER_HALF:
953 return "STEPPER_HALF";
954 }
955 return NULL;
956 }
957 const char *getStft_state_e(stft_state_e value){
958 switch(value) {
959 case stftDisabledAfrOurOfRange:
960 return "stftDisabledAfrOurOfRange";
961 case stftDisabledClt:
962 return "stftDisabledClt";
963 case stftDisabledCrankingDelay:
964 return "stftDisabledCrankingDelay";
965 case stftDisabledDFCO:
966 return "stftDisabledDFCO";
967 case stftDisabledFuelCut:
968 return "stftDisabledFuelCut";
969 case stftDisabledRPM:
970 return "stftDisabledRPM";
971 case stftDisabledSettings:
972 return "stftDisabledSettings";
973 case stftDisabledTpsAccel:
974 return "stftDisabledTpsAccel";
975 case stftDisabledTuning:
976 return "stftDisabledTuning";
977 case stftEnabled:
978 return "stftEnabled";
979 }
980 return NULL;
981 }
982 const char *getTChargeMode_e(tChargeMode_e value){
983 switch(value) {
984 case TCHARGE_MODE_AIR_INTERP:
985 return "TCHARGE_MODE_AIR_INTERP";
986 case TCHARGE_MODE_AIR_INTERP_TABLE:
987 return "TCHARGE_MODE_AIR_INTERP_TABLE";
988 case TCHARGE_MODE_RPM_TPS:
989 return "TCHARGE_MODE_RPM_TPS";
990 }
991 return NULL;
992 }
993 const char *getTiming_mode_e(timing_mode_e value){
994 switch(value) {
995 case TM_DYNAMIC:
996 return "TM_DYNAMIC";
997 case TM_FIXED:
998 return "TM_FIXED";
999 }
1000 return NULL;
1001 }
1002 const char *getTle8888_mode_e(tle8888_mode_e value){
1003 switch(value) {
1004 case TL_AUTO:
1005 return "TL_AUTO";
1006 case TL_HALL:
1007 return "TL_HALL";
1008 case TL_MANUAL:
1009 return "TL_MANUAL";
1010 case TL_SEMI_AUTO:
1011 return "TL_SEMI_AUTO";
1012 }
1013 return NULL;
1014 }
1015 const char *getTorqueReductionActivationMode_e(torqueReductionActivationMode_e value){
1016 switch(value) {
1017 case LAUNCH_BUTTON:
1018 return "LAUNCH_BUTTON";
1019 case TORQUE_REDUCTION_BUTTON:
1020 return "TORQUE_REDUCTION_BUTTON";
1021 case TORQUE_REDUCTION_CLUTCH_DOWN_SWITCH:
1022 return "TORQUE_REDUCTION_CLUTCH_DOWN_SWITCH";
1023 case TORQUE_REDUCTION_CLUTCH_UP_SWITCH:
1024 return "TORQUE_REDUCTION_CLUTCH_UP_SWITCH";
1025 }
1026 return NULL;
1027 }
1028 const char *getUart_device_e(uart_device_e value){
1029 switch(value) {
1030 case UART_DEVICE_1:
1031 return "UART_DEVICE_1";
1032 case UART_DEVICE_2:
1033 return "UART_DEVICE_2";
1034 case UART_DEVICE_3:
1035 return "UART_DEVICE_3";
1036 case UART_DEVICE_4:
1037 return "UART_DEVICE_4";
1038 case UART_NONE:
1039 return "UART_NONE";
1040 }
1041 return NULL;
1042 }
1043 const char *getVe_override_e(ve_override_e value){
1044 switch(value) {
1045 case VE_MAP:
1046 return "VE_MAP";
1047 case VE_None:
1048 return "VE_None";
1049 case VE_TPS:
1050 return "VE_TPS";
1051 }
1052 return NULL;
1053 }
1054 const char *getVvt_mode_e(vvt_mode_e value){
1055 switch(value) {
1056 case VVT_BARRA_3_PLUS_1:
1057 return "VVT_BARRA_3_PLUS_1";
1058 case VVT_BOSCH_QUICK_START:
1059 return "VVT_BOSCH_QUICK_START";
1060 case VVT_CHRYSLER_PHASER:
1061 return "VVT_CHRYSLER_PHASER";
1062 case VVT_CUSTOM_1:
1063 return "VVT_CUSTOM_1";
1064 case VVT_CUSTOM_2:
1065 return "VVT_CUSTOM_2";
1066 case VVT_CUSTOM_25:
1067 return "VVT_CUSTOM_25";
1068 case VVT_CUSTOM_26:
1069 return "VVT_CUSTOM_26";
1070 case VVT_DEV:
1071 return "VVT_DEV";
1072 case VVT_FORD_COYOTE:
1073 return "VVT_FORD_COYOTE";
1074 case VVT_FORD_ST170:
1075 return "VVT_FORD_ST170";
1076 case VVT_HONDA_CBR_600:
1077 return "VVT_HONDA_CBR_600";
1078 case VVT_HONDA_K_EXHAUST:
1079 return "VVT_HONDA_K_EXHAUST";
1080 case VVT_HONDA_K_INTAKE:
1081 return "VVT_HONDA_K_INTAKE";
1082 case VVT_HR12DDR_IN:
1083 return "VVT_HR12DDR_IN";
1084 case VVT_INACTIVE:
1085 return "VVT_INACTIVE";
1086 case VVT_MAP_V_TWIN:
1087 return "VVT_MAP_V_TWIN";
1088 case VVT_MAZDA_L:
1089 return "VVT_MAZDA_L";
1090 case VVT_MAZDA_SKYACTIV:
1091 return "VVT_MAZDA_SKYACTIV";
1092 case VVT_MIATA_NB:
1093 return "VVT_MIATA_NB";
1094 case VVT_MITSUBISHI_3A92:
1095 return "VVT_MITSUBISHI_3A92";
1096 case VVT_MITSUBISHI_4G63:
1097 return "VVT_MITSUBISHI_4G63";
1098 case VVT_MITSUBISHI_4G69:
1099 return "VVT_MITSUBISHI_4G69";
1100 case VVT_MITSUBISHI_6G72:
1101 return "VVT_MITSUBISHI_6G72";
1102 case VVT_NISSAN_MR:
1103 return "VVT_NISSAN_MR";
1104 case VVT_NISSAN_VQ:
1105 return "VVT_NISSAN_VQ";
1106 case VVT_SINGLE_TOOTH:
1107 return "VVT_SINGLE_TOOTH";
1108 case VVT_SUBARU_7TOOTH:
1109 return "VVT_SUBARU_7TOOTH";
1110 case VVT_TOYOTA_3TOOTH_UZ:
1111 return "VVT_TOYOTA_3TOOTH_UZ";
1112 case VVT_TOYOTA_3_TOOTH:
1113 return "VVT_TOYOTA_3_TOOTH";
1114 case VVT_TOYOTA_4_1:
1115 return "VVT_TOYOTA_4_1";
1116 case VVT_UNUSED_17:
1117 return "VVT_UNUSED_17";
1118 }
1119 return NULL;
1120 }
1121