fome-fw/firmware/rusefi_config.ini

93 lines
2.5 KiB
INI
Raw Normal View History

2015-01-12 13:03:38 -08:00
! this file defines the format of rusEfi persistent configuration structure
! this file is processed by ../java_tools/config_definition.jar tool
!
! comments start with '#'
!
! each field is declared as
! type;name;comment
2015-01-12 11:03:37 -08:00
2015-01-15 14:03:57 -08:00
struct cranking_parameters_s
2015-01-21 14:04:08 -08:00
float;baseCrankingFuel;
int16_t;crankingRpm;This value controls what RPM values we consider 'cranking' (any RPM below 'crankingRpm')\nAnything above 'crankingRpm' would be 'running'
end_struct
2015-01-15 14:03:57 -08:00
2015-01-21 14:04:08 -08:00
struct air_pressure_sensor_config_s
float;customValueAt0;kPa value at zero volts
float;customValueAt5;kPa value at 5 volts
air_pressure_sensor_type_e;sensorType;
adc_channel_e;hwChannel
2015-01-15 14:03:57 -08:00
end_struct
2015-01-21 14:04:08 -08:00
#define MAP_ANGLE_SIZE 8
#define MAP_WINDOW_SIZE 8
struct MAP_sensor_config_s
array float MAP_ANGLE_SIZE;samplingAngleBins
array float MAP_ANGLE_SIZE;samplingAngle;@brief MAP averaging sampling start angle, by RPM
end_struct
struct ThermistorConf @brief Thermistor curve parameters
float;tempC_1;these values are in Celcuus
float;tempC_2
float;tempC_3
float;resistance_1
float;resistance_2
float;resistance_3
float;bias_resistor;
float;s_h_a;
float;s_h_b;
float;s_h_c;
2015-01-15 14:03:57 -08:00
2015-01-21 14:04:08 -08:00
end_struct
struct engine_configuration_s
2015-01-15 14:03:57 -08:00
2015-01-12 11:03:37 -08:00
engine_type_e;engineType;http://rusefi.com/wiki/index.php?title=Manual:Engine_Type
2015-01-12 13:03:38 -08:00
int;headerMagicValue;this magic number is used to make sure that what we read from Flash is in fact some configuration
#define CLT_CURVE_SIZE 16
#define IAT_CURVE_SIZE 16
#define VBAT_INJECTOR_CURVE_SIZE 8
#define IGN_LOAD_COUNT 16
#define IGN_RPM_COUNT 16
array float VBAT_INJECTOR_CURVE_SIZE;battInjectorLagCorrBins;
array float VBAT_INJECTOR_CURVE_SIZE;battInjectorLagCorr;
array float CLT_CURVE_SIZE;cltFuelCorrBins;
array float CLT_CURVE_SIZE;cltFuelCorr;
array float IAT_CURVE_SIZE;iatFuelCorrBins;
array float IAT_CURVE_SIZE;iatFuelCorr;
int16_t;directSelfStimulation;Should the trigger emulator push data right into trigger input, eliminating the need for physical jumper wires?\nPS: Funny name, right? :)\ntodo: make this a bit on some bit field
int16_t;tpsMin;todo: extract these two fields into a structure\ntodo: we need two sets of TPS parameters - modern ETBs have to sensors
2015-01-15 14:03:57 -08:00
int16_t;tpsMax;tpsMax value as 10 bit ADC value. Not Voltage!
int16_t;analogChartMode;
2015-01-12 13:03:38 -08:00
2015-01-15 14:03:57 -08:00
int16_t;tpsErrorLowValue;todo: finish implementation. These values are used for TPS disconnect detection
2015-01-12 13:03:38 -08:00
int16_t;tpsErrorHighValue
2015-01-15 14:03:57 -08:00
float;primingSquirtDurationMs
2015-01-21 14:04:08 -08:00
int;engineCycle;360 for two-stroke\n720 for four-stroke
cranking_parameters_s;crankingSettings
MAP_sensor_config_s;map;@see hasMapSensor\n@see isMapAveragingEnabled
end_struct