FreeEMS
0.2.0-SNAPSHOT-285-g028e24c
|
Struct typedefs for fixed configuration. More...
Go to the source code of this file.
Data Structures | |
struct | decoderSetting |
Decoder and scheduling settings. More... | |
struct | sensorSource |
Configuration that controls how the values of variables are determined. More... | |
struct | sensorPreset |
Preset values for inputs and other variables. More... | |
struct | sensorRange |
Ranges for sensors with linear config. More... | |
struct | engineSetting |
Fuel injection settings. More... | |
struct | serialSetting |
Settings related to serial communications. More... | |
struct | coarseBitBangSetting |
Settings for coarse bit bang outputs. More... | |
struct | schedulingSetting |
Settings for ignition and injection output scheduling. More... | |
struct | cutEnabled |
Enable flags for each cut. More... | |
struct | singleCut |
Single cut/limiter. More... | |
struct | cutAndLimiterSetting |
Cuts and limiters. More... | |
struct | singleSimpleGPOutput |
struct | simpleGPIOSetting |
struct | sensorSetting |
Settings related to sensor reading. More... | |
struct | algorithmSetting |
Settings for fueling algorithms. More... | |
struct | inputOutputSetting |
Input output pin usage configuration. More... | |
struct | fixedConfig1 |
One of two structs of fixed configuration data such as physical parameters etc. More... | |
struct | fixedConfig2 |
One of two structs of fixed configuration data such as physical parameters etc. More... |
Macros | |
#define | SOURCE_NORMAL 0 |
#define | SOURCE_PRESET 1 |
#define | SOURCE_LINEAR 2 |
Read from the normal ADC pin, but process linearly. For bench use, mainly. | |
#define | NUMBER_OF_OUTPUT_CONFIGS 8 |
#define | LOAD_MAP 0 |
#define | LOAD_TPS 1 |
#define | LOAD_MAF 2 |
#define | LOAD_AAP 3 |
#define | ALGO_SPEED_DENSITY 0 |
#define | ALGO_ALPHA_N 1 |
#define | ALGO_MAF 2 |
#define | ALGO_SD_AN_BLEND 3 |
#define | DWELL_BRV 0 |
#define | DWELL_RPM 1 |
#define | DWELL_FIXED 2 |
#define | userTextFieldArrayLength1 (flashSectorSize - (sizeof(engineSetting) + sizeof(serialSetting) + sizeof(coarseBitBangSetting) + sizeof(schedulingSetting) + sizeof(cutAndLimiterSetting) + sizeof(simpleGPIOSetting))) |
#define | userTextFieldArrayLength2 (flashSectorSize - (sizeof(sensorSource) + sizeof(sensorPreset) + sizeof(sensorRange) + sizeof(sensorSetting) + sizeof(algorithmSetting) + sizeof(inputOutputSetting) + sizeof(decoderSetting))) |
Struct typedefs for fixed configuration.
This file contains the struct data type definitions for fixed configuration items.
Fixed, in this context means that it typically is not tuned in a live way and therefore should not be cached in RAM while running. Usually these are values that do not change such as cylinder volume, injector size, cylinder count and other constants related to physical aspects of the engine setup. When adding configuration values, please consider adding them here first. If a value doesn't need to be live tunable definitely put it here instead.
Definition in file FixedConfigs.h.
#define SOURCE_NORMAL 0 |
Definition at line 62 of file FixedConfigs.h.
#define SOURCE_PRESET 1 |
Definition at line 63 of file FixedConfigs.h.
Referenced by generateCoreVars().
#define SOURCE_LINEAR 2 |
Read from the normal ADC pin, but process linearly. For bench use, mainly.
Definition at line 64 of file FixedConfigs.h.
Referenced by generateCoreVars().
#define NUMBER_OF_OUTPUT_CONFIGS 8 |
Definition at line 213 of file FixedConfigs.h.
Referenced by performSimpleGPIO().
#define LOAD_MAP 0 |
Definition at line 229 of file FixedConfigs.h.
#define LOAD_TPS 1 |
Definition at line 230 of file FixedConfigs.h.
Referenced by generateDerivedVars().
#define LOAD_MAF 2 |
Definition at line 231 of file FixedConfigs.h.
#define LOAD_AAP 3 |
Definition at line 232 of file FixedConfigs.h.
Referenced by generateDerivedVars().
#define ALGO_SPEED_DENSITY 0 |
Definition at line 234 of file FixedConfigs.h.
#define ALGO_ALPHA_N 1 |
Definition at line 235 of file FixedConfigs.h.
Referenced by calculateFuelAndIgnition().
#define ALGO_MAF 2 |
Definition at line 236 of file FixedConfigs.h.
Referenced by calculateFuelAndIgnition().
#define ALGO_SD_AN_BLEND 3 |
Definition at line 237 of file FixedConfigs.h.
Referenced by calculateFuelAndIgnition().
#define DWELL_BRV 0 |
Definition at line 239 of file FixedConfigs.h.
#define DWELL_RPM 1 |
Definition at line 240 of file FixedConfigs.h.
Referenced by generateDerivedVars().
#define DWELL_FIXED 2 |
Definition at line 241 of file FixedConfigs.h.
Referenced by generateDerivedVars().
#define userTextFieldArrayLength1 (flashSectorSize - (sizeof(engineSetting) + sizeof(serialSetting) + sizeof(coarseBitBangSetting) + sizeof(schedulingSetting) + sizeof(cutAndLimiterSetting) + sizeof(simpleGPIOSetting))) |
Definition at line 312 of file FixedConfigs.h.
Referenced by lookupBlockDetails().
#define userTextFieldArrayLength2 (flashSectorSize - (sizeof(sensorSource) + sizeof(sensorPreset) + sizeof(sensorRange) + sizeof(sensorSetting) + sizeof(algorithmSetting) + sizeof(inputOutputSetting) + sizeof(decoderSetting))) |
Definition at line 332 of file FixedConfigs.h.
Referenced by lookupBlockDetails().