FreeEMS  0.2.0-SNAPSHOT-285-g028e24c
Data Structures
Here are the data structures with brief descriptions:
oCADCBufferUse this block to ensure that the components are contiguous and we can then reference them via offsets and pointers (NC= Not (likely) connected)
oCalgorithmSettingSettings for fueling algorithms
oCblockDetailsAddressable memory block description
oCClockUse this block to manage the various clocks kept
oCcoarseBitBangSettingSettings for coarse bit bang outputs
oCCoreVarUse this block to make it easy to manage the core variables
oCCounterUse this block to manage the execution count of various functions loops and ISRs etc. TODO break this up into smaller chunks
oCcutAndLimiterSettingCuts and limiters
oCcutEnabledEnable flags for each cut
oCdecoderSettingDecoder and scheduling settings
oCDerivedVarUse this block to make it easy to manage the derived variables
oCengineSettingFuel injection settings
oCfixedConfig1One of two structs of fixed configuration data such as physical parameters etc
oCfixedConfig2One of two structs of fixed configuration data such as physical parameters etc.
oCFlaggableThese should all stay at zero, thus they are incremented through a mechanism that also sets a flag in a special variable
oCFlaggable2These should all stay at zero, thus they are incremented through a mechanism that also sets a flag in a special variable
oCignitionCutFlagsActive flags for each ignition cut
oCinjectionCutFlagsActive flags for each injection cut
oCinputOutputSettingInput output pin usage configuration
oCKeyUserDebugImportant "always send" stuff for datalogging
oClogChunkHolds a datalog chunk configuration pair
oCloggingSettingHolds all configuration for logging
oCLongTime
oCmainTableMain Table Structure definition
oCmatch
oCschedulingSettingSettings for ignition and injection output scheduling
oCsensorPresetPreset values for inputs and other variables
oCsensorRangeRanges for sensors with linear config
oCsensorSettingSettings related to sensor reading
oCsensorSourceConfiguration that controls how the values of variables are determined
oCserialSettingSettings related to serial communications
oCsimpleGPIOSetting
oCsingleCutSingle cut/limiter
oCsingleSimpleGPOutput
oCSmallTables1One of four structs of live tunable data such as small tables and fuel trims etc
oCSmallTables2One of four structs of live tunable data such as small tables and fuel trims etc.
oCSmallTables3One of four structs of live tunable data such as small tables and fuel trims etc.
oCSmallTables4One of four structs of live tunable data such as small tables and fuel trims etc.
oCTables1Main adc storage area for syncronous sampling in the engine position ISR or injection ISR or ignition ISR etc
oCTables2
oCTables3
oCTables4
oCtwoDTableUSThis block used for various curves
oCtwoPairs
\CxgateIntVector