// this section was generated by config_definition.jar on Sun Apr 05 16:35:24 EDT 2015
// begin
#include "rusefi_types.h"
typedef struct {
	/**
	 * offset 0
	 */
	float baseFuel;
	/**
	 * This value controls what RPM values we consider 'cranking' (any RPM below 'crankingRpm')
	 * Anything above 'crankingRpm' would be 'running'
	 * offset 4
	 */
	int16_t rpm;
	/**
	 * need 4 byte alignment
	 * offset 6
	 */
	uint8_t alignmentFill[2];
	/** total size 8*/
} cranking_parameters_s;

typedef struct {
	/**
	 * kPa value at zero volts
	 * offset 0
	 */
	float valueAt0;
	/**
	 * kPa value at 5 volts
	 * offset 4
	 */
	float valueAt5;
	/**
	 * offset 8
	 */
	air_pressure_sensor_type_e type;
	/**
	 * offset 12
	 */
	adc_channel_e hwChannel;
	/** total size 16*/
} air_pressure_sensor_config_s;

/**
 * @brief MAP averaging configuration

*/
typedef struct {
	/**
	 * offset 0
	 */
	float samplingAngleBins[MAP_ANGLE_SIZE];
	/**
	 * @brief MAP averaging sampling start angle, by RPM
	 * offset 32
	 */
	float samplingAngle[MAP_ANGLE_SIZE];
	/**
	 * offset 64
	 */
	float samplingWindowBins[MAP_WINDOW_SIZE];
	/**
	 * @brief MAP averaging angle duration, by RPM
	 * offset 96
	 */
	float samplingWindow[MAP_WINDOW_SIZE];
	/**
	 * offset 128
	 */
	air_pressure_sensor_config_s sensor;
	/** total size 144*/
} MAP_sensor_config_s;

/**
 * @brief Thermistor curve parameters

*/
typedef struct {
	/**
	 * these values are in Celcuus
	 * offset 0
	 */
	float tempC_1;
	/**
	 * offset 4
	 */
	float tempC_2;
	/**
	 * offset 8
	 */
	float tempC_3;
	/**
	 * offset 12
	 */
	float resistance_1;
	/**
	 * offset 16
	 */
	float resistance_2;
	/**
	 * offset 20
	 */
	float resistance_3;
	/**
	 * offset 24
	 */
	float bias_resistor;
	/**
	 * offset 28
	 */
	float s_h_a;
	/**
	 * offset 32
	 */
	float s_h_b;
	/**
	 * offset 36
	 */
	float s_h_c;
	/** total size 40*/
} ThermistorConf;

typedef struct {
	/**
	 * cc/min, cubic centimeter per minute
	 * By the way, g/s = 0.125997881 * (lb/hr)
	 * g/s = 0.125997881 * (cc/min)/10.5
	 * g/s = 0.0119997981 * cc/min
	 * offset 0
	 */
	float flow;
	/**
	 * offset 4
	 */
	float lag;
	/**
	 * offset 8
	 */
	float battLagCorrBins[VBAT_INJECTOR_CURVE_SIZE];
	/**
	 * offset 40
	 */
	float battLagCorr[VBAT_INJECTOR_CURVE_SIZE];
	/** total size 72*/
} injector_s;

typedef struct {
	/**
	 * Engine displacement, in liters
	 * see also cylindersCount
	 * offset 0
	 */
	float displacement;
	/**
	 * offset 4
	 */
	cylinders_count_t cylindersCount;
	/**
	 * offset 8
	 */
	firing_order_e firingOrder;
	/** total size 12*/
} specs_s;

/**
 * @brief Trigger wheel(s) configuration

*/
typedef struct {
	/**
	 * offset 0
	 */
	trigger_type_e type;
	/**
	offset 4 bit 0 */
	bool_t customIsSynchronizationNeeded : 1;
	/**
	offset 4 bit 1 */
	bool_t customNeedSecondTriggerInput : 1;
	/**
	 * offset 8
	 */
	int customTotalToothCount;
	/**
	 * offset 12
	 */
	int customSkippedToothCount;
	/**
	 * offset 16
	 */
	float customSyncRatioFrom;
	/**
	 * offset 20
	 */
	float customSyncRatioTo;
	/**
	 * offset 24
	 */
	bool32_t customUseRiseEdge;
	/** total size 28*/
} trigger_config_s;

typedef struct {
	/**
	 * offset 0
	 */
	adc_channel_e hwChannel;
	/**
	 * offset 4
	 */
	float v1;
	/**
	 * offset 8
	 */
	float value1;
	/**
	 * offset 12
	 */
	float v2;
	/**
	 * offset 16
	 */
	float value2;
	/** total size 20*/
} afr_sensor_s;

typedef struct {
	/**
	 * offset 0
	 */
	brain_pin_e solenoidPin;
	/**
	 * offset 4
	 */
	pin_output_mode_e solenoidPinMode;
	/**
	 * offset 8
	 */
	int solenoidFrequency;
	/**
	 * offset 12
	 */
	brain_pin_e stepperDirectionPin;
	/**
	 * offset 16
	 */
	brain_pin_e stepperStepPin;
	/** total size 20*/
} idle_hardware_s;

typedef struct {
	/**
	 * offset 0
	 */
	idle_hardware_s idle;
	/**
	 * value between 0 and 100
	 * offset 20
	 */
	float idlePosition;
	/**
	 * offset 24
	 */
	brain_pin_e fuelPumpPin;
	/**
	 * offset 28
	 */
	pin_output_mode_e fuelPumpPinMode;
	/**
	 * offset 32
	 */
	brain_pin_e injectionPins[INJECTION_PIN_COUNT];
	/**
	 * offset 80
	 */
	pin_output_mode_e injectionPinMode;
	/**
	 * offset 84
	 */
	brain_pin_e ignitionPins[IGNITION_PIN_COUNT];
	/**
	 * offset 132
	 */
	pin_output_mode_e ignitionPinMode;
	/**
	 * offset 136
	 */
	brain_pin_e malfunctionIndicatorPin;
	/**
	 * offset 140
	 */
	pin_output_mode_e malfunctionIndicatorPinMode;
	/**
	 * offset 144
	 */
	brain_pin_e fanPin;
	/**
	 * offset 148
	 */
	pin_output_mode_e fanPinMode;
	/**
	 * offset 152
	 */
	brain_pin_e electronicThrottlePin1;
	/**
	 * offset 156
	 */
	pin_output_mode_e electronicThrottlePin1Mode;
	/**
	 * some cars have a switch to indicate that clutch pedal is all the way down
	 * offset 160
	 */
	brain_pin_e clutchDownPin;
	/**
	 * offset 164
	 */
	pin_input_mode_e clutchDownPinMode;
	/**
	 * offset 168
	 */
	brain_pin_e alternatorControlPin;
	/**
	 * offset 172
	 */
	pin_output_mode_e alternatorControlPinMode;
	/**
	 * offset 176
	 */
	brain_pin_e HD44780_rs;
	/**
	 * offset 180
	 */
	brain_pin_e HD44780_e;
	/**
	 * offset 184
	 */
	brain_pin_e HD44780_db4;
	/**
	 * offset 188
	 */
	brain_pin_e HD44780_db5;
	/**
	 * offset 192
	 */
	brain_pin_e HD44780_db6;
	/**
	 * offset 196
	 */
	brain_pin_e HD44780_db7;
	/**
	 * offset 200
	 */
	brain_pin_e gps_rx_pin;
	/**
	 * offset 204
	 */
	brain_pin_e gps_tx_pin;
	/**
	 * offset 208
	 */
	int triggerSimulatorFrequency;
	/**
	 * Digital Potentiometer is used by stock ECU stimulation code
	 * offset 212
	 */
	spi_device_e digitalPotentiometerSpiDevice;
	/**
	 * offset 216
	 */
	brain_pin_e digitalPotentiometerChipSelect[DIGIPOT_COUNT];
	/**
	 * offset 232
	 */
	adc_channel_mode_e adcHwChannelEnabled[HW_MAX_ADC_INDEX];
	/**
	 * offset 296
	 */
	brain_input_pin_e triggerInputPins[3];
	/**
	 * offset 308
	 */
	brain_pin_e mainRelayPin;
	/**
	 * offset 312
	 */
	int idleThreadPeriod;
	/**
	 * offset 316
	 */
	int consoleLoopPeriod;
	/**
	 * offset 320
	 */
	int lcdThreadPeriod;
	/**
	 * offset 324
	 */
	brain_pin_e sdCardCsPin;
	/**
	 * offset 328
	 */
	int generalPeriodicThreadPeriod;
	/**
	 * offset 332
	 */
	uint32_t tunerStudioSerialSpeed;
	/**
	 * offset 336
	 */
	brain_pin_e boardTestModeJumperPin;
	/**
	 * offset 340
	 */
	can_device_mode_e canDeviceMode;
	/**
	 * offset 344
	 */
	brain_pin_e canTxPin;
	/**
	 * offset 348
	 */
	brain_pin_e canRxPin;
	/**
	 * offset 352
	 */
	brain_pin_e triggerSimulatorPins[TRIGGER_SIMULATOR_PIN_COUNT];
	/**
	 * offset 364
	 */
	pin_output_mode_e triggerSimulatorPinModes[TRIGGER_SIMULATOR_PIN_COUNT];
	/**
	 * offset 376
	 */
	brain_pin_e o2heaterPin;
	/**
	 * offset 380
	 */
	pin_output_mode_e o2heaterPinModeTodO;
	/**
	offset 384 bit 0 */
	bool_t is_enabled_spi_1 : 1;
	/**
	offset 384 bit 1 */
	bool_t is_enabled_spi_2 : 1;
	/**
	offset 384 bit 2 */
	bool_t is_enabled_spi_3 : 1;
	/**
	offset 384 bit 3 */
	bool_t isSdCardEnabled : 1;
	/**
	offset 384 bit 4 */
	bool_t isFastAdcEnabled : 1;
	/**
	offset 384 bit 5 */
	bool_t isEngineControlEnabled : 1;
	/**
	offset 384 bit 6 */
	bool_t isHip9011Enabled : 1;
	/**
	offset 384 bit 7 */
	bool_t isVerboseAlternator : 1;
	/**
	offset 384 bit 8 */
	bool_t useSerialPort : 1;
	/**
	offset 384 bit 9 */
	bool_t useStepperIdle : 1;
	/**
	 * offset 388
	 */
	brain_input_pin_e logicAnalyzerPins[LOGIC_ANALYZER_CHANNEL_COUNT];
	/**
	 * default or inverted input
	 * offset 404
	 */
	uint8_t logicAnalyzerMode[LOGIC_ANALYZER_CHANNEL_COUNT];
	/**
	 * offset 408
	 */
	int unrealisticRpmThreashold;
	/**
	 * offset 412
	 */
	pin_output_mode_e mainRelayPinMode;
	/**
	 * offset 416
	 */
	brain_pin_e max31855_cs[EGT_CHANNEL_COUNT];
	/**
	 * offset 448
	 */
	spi_device_e max31855spiDevice;
	/**
	 * offset 452
	 */
	brain_pin_e fsioPins[LE_COMMAND_COUNT];
	/**
	 * offset 516
	 */
	pin_output_mode_e gpioPinModes[LE_COMMAND_COUNT];
	/**
	 * offset 580
	 */
	brain_pin_e joystickPins[JOYSTICK_PIN_COUNT];
	/**
	 * This pin is used for debugging - snap a logic analyzer on it and see if it's ever high
	 * offset 600
	 */
	brain_pin_e triggerErrorPin;
	/**
	 * offset 604
	 */
	pin_output_mode_e triggerErrorPinMode;
	/**
	 * offset 608
	 */
	brain_pin_e acRelayPin;
	/**
	 * offset 612
	 */
	pin_output_mode_e acRelayPinMode;
	/**
	 * offset 616
	 */
	fsio_pwm_freq_t fsioFrequency[LE_COMMAND_COUNT];
	/**
	 * offset 648
	 */
	brain_pin_e hip9011CsPin;
	/**
	 * offset 652
	 */
	brain_pin_e hip9011IntHoldPin;
	/**
	 * offset 656
	 */
	brain_pin_e hip9011OutPin;
	/**
	 * offset 660
	 */
	fsio_setting_t fsio_setting[LE_COMMAND_COUNT];
	/**
	 * offset 724
	 */
	brain_pin_e spi1mosiPin;
	/**
	 * offset 728
	 */
	brain_pin_e spi1misoPin;
	/**
	 * offset 732
	 */
	brain_pin_e spi1sckPin;
	/**
	 * offset 736
	 */
	brain_pin_e spi2mosiPin;
	/**
	 * offset 740
	 */
	brain_pin_e spi2misoPin;
	/**
	 * offset 744
	 */
	brain_pin_e spi2sckPin;
	/**
	 * offset 748
	 */
	brain_pin_e spi3mosiPin;
	/**
	 * offset 752
	 */
	brain_pin_e spi3misoPin;
	/**
	 * offset 756
	 */
	brain_pin_e spi3sckPin;
	/**
	 * offset 760
	 */
	float hip9011Gain;
	/**
	 * offset 764
	 */
	brain_pin_e joystickCenterPin;
	/**
	 * offset 768
	 */
	brain_pin_e joystickAPin;
	/**
	 * offset 772
	 */
	brain_pin_e joystickBPin;
	/**
	 * offset 776
	 */
	brain_pin_e joystickCPin;
	/**
	 * offset 780
	 */
	brain_pin_e joystickDPin;
	/**
	 * offset 784
	 */
	analog_chart_e analogChartMode;
	/**
	 * offset 788
	 */
	maf_sensor_type_e mafSensorType;
	/**
	 * offset 792
	 */
	brain_pin_e vehicleSpeedSensorInputPin;
	/**
	 * Some vehicles have a switch to indicate that clutch pedal is all the way up
	 * offset 796
	 */
	brain_pin_e clutchUpPin;
	/**
	 * offset 800
	 */
	pin_input_mode_e clutchUpPinMode;
	/**
	 * offset 804
	 */
	brain_pin_e fsioInputs[LE_COMMAND_COUNT];
	/**
	 * offset 868
	 */
	int unusedbs;
	/** total size 872*/
} board_configuration_s;

typedef struct {
	/**
	 * http://rusefi.com/wiki/index.php?title=Manual:Engine_Type
	 * offset 0
	 */
	engine_type_e engineType;
	/**
	 * this magic number is used to make sure that what we read from Flash is in fact some configuration
	 * offset 4
	 */
	int headerMagicValue;
	/**
	 * offset 8
	 */
	injector_s injector;
	/**
	 * Should the trigger emulator push data right into trigger input, eliminating the need for physical jumper wires?
	 * PS: Funny name, right? :)
	 * todo: make this a bit on some bit field
	 * offset 80
	 */
	int16_t directSelfStimulation;
	/**
	 * todo: extract these two fields into a structure
	 * todo: we need two sets of TPS parameters - modern ETBs have two sensors
	 * offset 82
	 */
	int16_t tpsMin;
	/**
	 * tpsMax value as 10 bit ADC value. Not Voltage!
	 * offset 84
	 */
	int16_t tpsMax;
	/**
	 * offset 86
	 */
	uint16_t unused334;
	/**
	 * todo: finish implementation. These values are used for TPS disconnect detection
	 * offset 88
	 */
	int16_t tpsErrorLowValue;
	/**
	 * offset 90
	 */
	int16_t tpsErrorHighValue;
	/**
	 * offset 92
	 */
	float primingSquirtDurationMs;
	/**
	 * 360 for two-stroke
	 * 720 for four-stroke
	 * offset 96
	 */
	int engineCycle;
	/**
	 * offset 100
	 */
	cranking_parameters_s cranking;
	/**
	 * @see hasMapSensor
	 * @see isMapAveragingEnabled
	 * offset 108
	 */
	MAP_sensor_config_s map;
	/**
	 * todo: merge with channel settings, use full-scale Thermistor here!
	 * offset 252
	 */
	ThermistorConf clt;
	/**
	 * offset 292
	 */
	ThermistorConf iat;
	/**
	 * offset 332
	 */
	float sparkDwellBins[DWELL_COUNT];
	/**
	 * offset 364
	 */
	float sparkDwell[DWELL_COUNT];
	/**
	 * this value could be used to offset the whole ignition timing table by a constant
	 * offset 396
	 */
	float ignitionBaseAngle;
	/**
	 * While cranking (which causes battery voltage to drop) we can calculate dwell time in shaft
	 * degrees, not in absolute time as in running mode.
	 * offset 400
	 */
	float crankingChargeAngle;
	/**
	 * offset 404
	 */
	timing_mode_e timingMode;
	/**
	 * This value is used in 'fixed timing' mode, i.e. constant timing
	 * This mode is useful for instance while adjusting distributor location
	 * offset 408
	 */
	float fixedModeTiming;
	/**
	 * offset 412
	 */
	specs_s specs;
	/**
	 * offset 424
	 */
	int rpmHardLimit;
	/**
	 * offset 428
	 */
	injection_mode_e crankingInjectionMode;
	/**
	 * offset 432
	 */
	injection_mode_e injectionMode;
	/**
	 * This field is the angle between Top Dead Center (TDC) and the first trigger event.
	 * Knowing this angle allows us to control timing and other angles in reference to TDC.
	 * offset 436
	 */
	float globalTriggerAngleOffset;
	/**
	 * This parameter holds the coefficient of input voltage dividers
	 * offset 440
	 */
	float analogInputDividerCoefficient;
	/**
	 * This setting controls which algorithm is used for ENGINE LOAD
	 * offset 444
	 */
	engine_load_mode_e algorithm;
	/**
	 * offset 448
	 */
	float vbattDividerCoeff;
	/**
	 * Cooling fan turn-on temperature threshold, in Celsuis
	 * offset 452
	 */
	float fanOnTemperature;
	/**
	 * Cooling fan turn-off temperature threshold, in Celsuis
	 * offset 456
	 */
	float fanOffTemperature;
	/**
	 * offset 460
	 */
	int ususedBla;
	/**
	 * This coefficient translates vehicle speed input frequency (in Hz) into vehicle speed, km/h
	 * offset 464
	 */
	float vehicleSpeedCoef;
	/**
	 * offset 468
	 */
	can_nbc_e canNbcType;
	/**
	 * offset 472
	 */
	int canSleepPeriod;
	/**
	 * offset 476
	 */
	ignition_mode_e ignitionMode;
	/**
	 * offset 480
	 */
	operation_mode_e operationMode;
	/**
	 * offset 484
	 */
	display_mode_e displayMode;
	/**
	 * offset 488
	 */
	log_format_e logFormat;
	/**
	 * offset 492
	 */
	int firmwareVersion;
	/**
	 * offset 496
	 */
	int HD44780width;
	/**
	 * offset 500
	 */
	int HD44780height;
	/**
	 * offset 504
	 */
	adc_channel_e tpsAdcChannel;
	/**
	 * offset 508
	 */
	int overrideCrankingIgnition;
	/**
	 * offset 512
	 */
	int analogChartFrequency;
	/**
	 * offset 516
	 */
	trigger_config_s trigger;
	/**
	 * offset 544
	 */
	spi_device_e hip9011SpiDevice;
	/**
	 * offset 548
	 */
	adc_channel_e vbattAdcChannel;
	/**
	 * offset 552
	 */
	float globalFuelCorrection;
	/**
	 * todo: merge with channel settings, use full-scale Thermistor!
	 * offset 556
	 */
	adc_channel_e cltAdcChannel;
	/**
	 * offset 560
	 */
	adc_channel_e iatAdcChannel;
	/**
	 * offset 564
	 */
	adc_channel_e mafAdcChannel;
	/**
	 * @see hasAfrSensor
	 * offset 568
	 */
	afr_sensor_s afr;
	/**
	 * this is about deciding when the injector starts it's squirt
	 * offset 588
	 */
	float injectionAngle;
	/**
	 * offset 592
	 */
	float crankingTimingAngle;
	/**
	 * offset 596
	 */
	float diffLoadEnrichmentCoef;
	/**
	 * @see hasBaroSensor
	 * offset 600
	 */
	air_pressure_sensor_config_s baroSensor;
	/**
	 * offset 616
	 */
	board_configuration_s bc;
	/**
	 * @see isMapAveragingEnabled
	offset 1488 bit 0 */
	bool_t hasMapSensor : 1;
	/**
	offset 1488 bit 1 */
	bool_t hasIatSensor : 1;
	/**
	offset 1488 bit 2 */
	bool_t hasBaroSensor : 1;
	/**
	offset 1488 bit 3 */
	bool_t hasAfrSensor : 1;
	/**
	offset 1488 bit 4 */
	bool_t useConstantDwellDuringCranking : 1;
	/**
	offset 1488 bit 5 */
	bool_t isDigitalChartEnabled : 1;
	/**
	offset 1488 bit 6 */
	bool_t isCanEnabled : 1;
	/**
	offset 1488 bit 7 */
	bool_t hasCltSensor : 1;
	/**
	offset 1488 bit 8 */
	bool_t canReadEnabled : 1;
	/**
	offset 1488 bit 9 */
	bool_t canWriteEnabled : 1;
	/**
	offset 1488 bit 10 */
	bool_t hasVehicleSpeedSensor : 1;
	/**
	offset 1488 bit 11 */
	bool_t isJoystickEnabled : 1;
	/**
	offset 1488 bit 12 */
	bool_t isGpsEnabled : 1;
	/**
	offset 1488 bit 13 */
	bool_t isAlternatorControlEnabled : 1;
	/**
	offset 1488 bit 14 */
	bool_t hasMafSensor : 1;
	/**
	offset 1488 bit 15 */
	bool_t hasTpsSensor : 1;
	/**
	 * offset 1492
	 */
	adc_channel_e hipOutputChannel;
	/**
	 * offset 1496
	 */
	idle_mode_e idleMode;
	/**
	offset 1500 bit 0 */
	bool_t isInjectionEnabled : 1;
	/**
	offset 1500 bit 1 */
	bool_t isIgnitionEnabled : 1;
	/**
	offset 1500 bit 2 */
	bool_t isCylinderCleanupEnabled : 1;
	/**
	offset 1500 bit 3 */
	bool_t secondTriggerChannelEnabled : 1;
	/**
	offset 1500 bit 4 */
	bool_t needSecondTriggerInputDeprecated : 1;
	/**
	offset 1500 bit 5 */
	bool_t isMapAveragingEnabled : 1;
	/**
	offset 1500 bit 6 */
	bool_t isMilEnabled : 1;
	/**
	offset 1500 bit 7 */
	bool_t isFuelPumpEnabled : 1;
	/**
	offset 1500 bit 8 */
	bool_t isTunerStudioEnabled : 1;
	/**
	offset 1500 bit 9 */
	bool_t isWaveAnalyzerEnabled : 1;
	/**
	offset 1500 bit 10 */
	bool_t isIdleThreadEnabled : 1;
	/**
	offset 1500 bit 11 */
	bool_t isPrintTriggerSynchDetails : 1;
	/**
	 * Usually if we have no trigger events that means engine is stopped
	 * Unless we are troubleshooting and spinning the engine by hand - this case a longer
	 * delay is needed
	offset 1500 bit 12 */
	bool_t isManualSpinningMode : 1;
	/**
	offset 1500 bit 13 */
	bool_t twoWireBatch : 1;
	/**
	 * offset 1504
	 */
	uint32_t digitalChartSize;
	/**
	 * offset 1508
	 */
	float ignitionDwellForCrankingMs;
	/**
	 * offset 1512
	 */
	int targetIdleRpm;
	/**
	 * A/C button input handled as analog input
	 * offset 1516
	 */
	adc_channel_e acSwitchAdc;
	/**
	 * offset 1520
	 */
	int ignMathCalculateAtIndex;
	/**
	 * offset 1524
	 */
	int16_t acCutoffLowRpm;
	/**
	 * offset 1526
	 */
	int16_t acCutoffHighRpm;
	/**
	 * offset 1528
	 */
	int16_t acIdleRpmBump;
	/**
	 * offset 1530
	 */
	int16_t unusedShort;
	/**
	 * offset 1532
	 */
	adc_channel_e vRefAdcChannel;
	/**
	 * offset 1536
	 */
	float knockDetectionWindowStart;
	/**
	 * offset 1540
	 */
	float knockDetectionWindowEnd;
	/**
	 * Cylinder diameter, in mm.
	 * offset 1544
	 */
	float cylinderBore;
	/**
	 * offset 1548
	 */
	int unusedCP;
	/**
	 * offset 1552
	 */
	float hipThreshold;
	/**
	 * offset 1556
	 */
	pin_input_mode_e fsioInputModes[LE_COMMAND_COUNT];
	/**
	 * offset 1620
	 */
	adc_channel_e externalKnockSenseAdc;
	/**
	 * offset 1624
	 */
	float alternatorControlPFactor;
	/**
	 * offset 1628
	 */
	float alternatorControlIFactor;
	/**
	 * offset 1632
	 */
	float alternatorControlDFactor;
	/**
	 * offset 1636
	 */
	int unused3[140];
	/**
	 * offset 2196
	 */
	int accelLength;
	/**
	 * offset 2200
	 */
	float decelEnrichmentThreshold;
	/**
	 * offset 2204
	 */
	float decelEnrichmentMultiplier;
	/**
	 * offset 2208
	 */
	float accelEnrichmentThreshold;
	/**
	 * offset 2212
	 */
	float accelEnrichmentMultiplier;
	/** total size 2216*/
} engine_configuration_s;

typedef struct {
	/**
	 * offset 0
	 */
	engine_configuration_s engineConfiguration;
	/**
	 * offset 2216
	 */
	le_formula_t le_formulas[LE_COMMAND_COUNT];
	/**
	 * offset 5416
	 */
	le_formula_t timingMultiplier;
	/**
	 * offset 5616
	 */
	le_formula_t timingAdditive;
	/**
	 * offset 5816
	 */
	float cltFuelCorrBins[CLT_CURVE_SIZE];
	/**
	 * offset 5880
	 */
	float cltFuelCorr[CLT_CURVE_SIZE];
	/**
	 * offset 5944
	 */
	float iatFuelCorrBins[IAT_CURVE_SIZE];
	/**
	 * offset 6008
	 */
	float iatFuelCorr[IAT_CURVE_SIZE];
	/**
	 * offset 6072
	 */
	float crankingFuelCoef[CRANKING_CURVE_SIZE];
	/**
	 * offset 6104
	 */
	float crankingFuelBins[CRANKING_CURVE_SIZE];
	/**
	 * offset 6136
	 */
	float crankingCycleCoef[CRANKING_CURVE_SIZE];
	/**
	 * offset 6168
	 */
	float crankingCycleBins[CRANKING_CURVE_SIZE];
	/**
	 * offset 6200
	 */
	float iatIdleCorrBins[IAT_CURVE_SIZE];
	/**
	 * offset 6264
	 */
	float iatIdleCorr[IAT_CURVE_SIZE];
	/**
	 * kg/hour value.
	 * By the way 2.081989116 kg/h = 1 ft³/m
	 * offset 6328
	 */
	float mafDecoding[MAF_DECODING_COUNT];
	/**
	 * offset 7352
	 */
	float mafDecodingBins[MAF_DECODING_COUNT];
	/**
	 * offset 8376
	 */
	ignition_table_t ignitionIatCorrTable;
	/**
	 * offset 9400
	 */
	float ignitionIatCorrLoadBins[IGN_LOAD_COUNT];
	/**
	 * offset 9464
	 */
	float ignitionIatCorrRpmBins[IGN_RPM_COUNT];
	/**
	 * offset 9528
	 */
	fuel_table_t injectionPhase;
	/**
	 * offset 10552
	 */
	float injPhaseLoadBins[FUEL_LOAD_COUNT];
	/**
	 * offset 10616
	 */
	float injPhaseRpmBins[FUEL_RPM_COUNT];
	/**
	 * offset 10680
	 */
	fuel_table_t fuelTable;
	/**
	 * offset 11704
	 */
	float fuelLoadBins[FUEL_LOAD_COUNT];
	/**
	 * RPM is float and not integer in order to use unified methods for interpolation
	 * offset 11768
	 */
	float fuelRpmBins[FUEL_RPM_COUNT];
	/**
	 * offset 11832
	 */
	ignition_table_t ignitionTable;
	/**
	 * offset 12856
	 */
	float ignitionLoadBins[IGN_LOAD_COUNT];
	/**
	 * offset 12920
	 */
	float ignitionRpmBins[IGN_RPM_COUNT];
	/**
	 * offset 12984
	 */
	ve_table_t veTable;
	/**
	 * offset 14008
	 */
	float veLoadBins[FUEL_LOAD_COUNT];
	/**
	 * offset 14072
	 */
	float veRpmBins[FUEL_RPM_COUNT];
	/**
	 * offset 14136
	 */
	afr_table_t afrTable;
	/**
	 * offset 15160
	 */
	float afrLoadBins[FUEL_LOAD_COUNT];
	/**
	 * offset 15224
	 */
	float afrRpmBins[FUEL_RPM_COUNT];
	/** total size 15288*/
} persistent_config_s;

// end
// this section was generated by config_definition.jar on Sun Apr 05 16:35:24 EDT 2015
