Auto-generated configs and docs
This commit is contained in:
parent
c7ea8c6e03
commit
7b131dc5c7
|
@ -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
|
||||
|
||||
|
||||
|
@ -80,25 +80,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 DRV8860_PIN_1:
|
||||
|
|
|
@ -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_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:49 UTC 2022
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -48,25 +48,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: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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -224,6 +224,7 @@
|
|||
#define boostType_e_OPEN_LOOP 0
|
||||
#define boostType_offset 932
|
||||
#define brain_input_pin_e_enum "NONE","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","B11 - Speed Din","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","A08 - Crank 2 VR+","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","A08 - Crank 1 VR+","INVALID","A07 - Cam VR+"
|
||||
#define brain_pin_diag_e_PIN_DRIVER_OFF 0x20
|
||||
#define brain_pin_diag_e_PIN_DRIVER_OVERTEMP 0x10
|
||||
#define brain_pin_diag_e_PIN_INVALID 0x80
|
||||
#define brain_pin_diag_e_PIN_OK 0
|
||||
|
|
|
@ -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