Auto-generated configs and docs
This commit is contained in:
parent
7acd36c198
commit
95639ccb77
|
@ -1,6 +1,6 @@
|
|||
#include "global.h"
|
||||
#include "rusefi_hw_enums.h"
|
||||
// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Mon Jul 12 21:09:56 EDT 2021
|
||||
// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:50 UTC 2022
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -64,25 +64,6 @@ case EFI_ADC_NONE:
|
|||
}
|
||||
return NULL;
|
||||
}
|
||||
const char *getBrain_pin_diag_e(brain_pin_diag_e value){
|
||||
switch(value) {
|
||||
case PIN_DRIVER_OVERTEMP:
|
||||
return "PIN_DRIVER_OVERTEMP";
|
||||
case PIN_INVALID:
|
||||
return "PIN_INVALID";
|
||||
case PIN_OK:
|
||||
return "PIN_OK";
|
||||
case PIN_OPEN:
|
||||
return "PIN_OPEN";
|
||||
case PIN_OVERLOAD:
|
||||
return "PIN_OVERLOAD";
|
||||
case PIN_SHORT_TO_BAT:
|
||||
return "PIN_SHORT_TO_BAT";
|
||||
case PIN_SHORT_TO_GND:
|
||||
return "PIN_SHORT_TO_GND";
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
const char *getBrain_pin_e(brain_pin_e value){
|
||||
switch(value) {
|
||||
case GPIOA_0:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Mon Jul 12 21:09:56 EDT 2021
|
||||
// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:50 UTC 2022
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -6,6 +6,5 @@
|
|||
#include "rusefi_hw_enums.h"
|
||||
#pragma once
|
||||
const char *getAdc_channel_e(adc_channel_e value);
|
||||
const char *getBrain_pin_diag_e(brain_pin_diag_e value);
|
||||
const char *getBrain_pin_e(brain_pin_e value);
|
||||
const char *getPin_mode_e(pin_mode_e value);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "global.h"
|
||||
#include "rusefi_enums.h"
|
||||
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Mon Dec 27 17:12:56 UTC 2021
|
||||
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:48 UTC 2022
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -116,6 +116,27 @@ case OPEN_LOOP:
|
|||
}
|
||||
return NULL;
|
||||
}
|
||||
const char *getBrain_pin_diag_e(brain_pin_diag_e value){
|
||||
switch(value) {
|
||||
case PIN_DRIVER_OFF:
|
||||
return "PIN_DRIVER_OFF";
|
||||
case PIN_DRIVER_OVERTEMP:
|
||||
return "PIN_DRIVER_OVERTEMP";
|
||||
case PIN_INVALID:
|
||||
return "PIN_INVALID";
|
||||
case PIN_OK:
|
||||
return "PIN_OK";
|
||||
case PIN_OPEN:
|
||||
return "PIN_OPEN";
|
||||
case PIN_OVERLOAD:
|
||||
return "PIN_OVERLOAD";
|
||||
case PIN_SHORT_TO_BAT:
|
||||
return "PIN_SHORT_TO_BAT";
|
||||
case PIN_SHORT_TO_GND:
|
||||
return "PIN_SHORT_TO_GND";
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
const char *getCan_baudrate_e(can_baudrate_e value){
|
||||
switch(value) {
|
||||
case B100KBPS:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Mon Dec 27 17:12:56 UTC 2021
|
||||
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:48 UTC 2022
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -12,6 +12,7 @@ const char *getAdc_channel_mode_e(adc_channel_mode_e value);
|
|||
const char *getAir_pressure_sensor_type_e(air_pressure_sensor_type_e value);
|
||||
const char *getAntiLagActivationMode_e(antiLagActivationMode_e value);
|
||||
const char *getBoostType_e(boostType_e value);
|
||||
const char *getBrain_pin_diag_e(brain_pin_diag_e value);
|
||||
const char *getCan_baudrate_e(can_baudrate_e value);
|
||||
const char *getCan_nbc_e(can_nbc_e value);
|
||||
const char *getCan_vss_nbc_e(can_vss_nbc_e value);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "global.h"
|
||||
#include "rusefi_hw_enums.h"
|
||||
// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Mon Jan 03 20:26:28 EST 2022
|
||||
// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:49 UTC 2022
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -48,27 +48,6 @@ case EFI_ADC_NONE:
|
|||
}
|
||||
return NULL;
|
||||
}
|
||||
const char *getBrain_pin_diag_e(brain_pin_diag_e value){
|
||||
switch(value) {
|
||||
case PIN_DRIVER_OFF:
|
||||
return "PIN_DRIVER_OFF";
|
||||
case PIN_DRIVER_OVERTEMP:
|
||||
return "PIN_DRIVER_OVERTEMP";
|
||||
case PIN_INVALID:
|
||||
return "PIN_INVALID";
|
||||
case PIN_OK:
|
||||
return "PIN_OK";
|
||||
case PIN_OPEN:
|
||||
return "PIN_OPEN";
|
||||
case PIN_OVERLOAD:
|
||||
return "PIN_OVERLOAD";
|
||||
case PIN_SHORT_TO_BAT:
|
||||
return "PIN_SHORT_TO_BAT";
|
||||
case PIN_SHORT_TO_GND:
|
||||
return "PIN_SHORT_TO_GND";
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
const char *getBrain_pin_e(brain_pin_e value){
|
||||
switch(value) {
|
||||
case GPIOA_0:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Mon Jul 12 21:09:56 EDT 2021
|
||||
// was generated automatically by rusEFI tool from rusefi_hw_enums.h // by enum2string.jar tool on Tue Jan 04 03:36:49 UTC 2022
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -6,6 +6,5 @@
|
|||
#include "rusefi_hw_enums.h"
|
||||
#pragma once
|
||||
const char *getAdc_channel_e(adc_channel_e value);
|
||||
const char *getBrain_pin_diag_e(brain_pin_diag_e value);
|
||||
const char *getBrain_pin_e(brain_pin_e value);
|
||||
const char *getPin_mode_e(pin_mode_e value);
|
||||
|
|
Loading…
Reference in New Issue