FixedConfigs.h File Reference

Struct typedefs for fixed configuration. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sensorPreset
 Preset values for inputs. More...
struct  sensorRange
struct  engineSetting
struct  serialSetting
struct  tachoSetting
struct  sensorSetting
struct  fixedConfig1
struct  fixedConfig2

Defines

#define SENSOR_PRESETS_SIZE   sizeof(sensorPreset)
#define TPS_RANGE_MAX   64000
#define SENSOR_RANGES_SIZE   sizeof(sensorRange)
#define ENGINE_SETTINGS_SIZE   sizeof(engineSetting)
#define SERIAL_SETTINGS_SIZE   sizeof(serialSetting)
#define TACHO_SETTINGS_SIZE   sizeof(tachoSetting)
#define SENSOR_SETTINGS_SIZE   sizeof(sensorSetting)
#define userTextFieldArrayLength1   1024 - (ENGINE_SETTINGS_SIZE + SERIAL_SETTINGS_SIZE + TACHO_SETTINGS_SIZE + 2)
#define PRIMARY_POLARITY   BIT2_16
#define SECONDARY_POLARITY   BIT3_16
#define STAGED_ON   BIT9_16
#define STAGED_START   BIT10_16
#define STAGED_END   BIT11_16
#define FIXED_CONFIG1_SIZE   sizeof(fixedConfig1)
#define userTextFieldArrayLength2   1024 - (SENSOR_RANGES_SIZE + SENSOR_PRESETS_SIZE + SENSOR_SETTINGS_SIZE)
#define FIXED_CONFIG2_SIZE   sizeof(fixedConfig2)


Detailed Description

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.

Author:
Fred Cooke

Definition in file FixedConfigs.h.


Define Documentation

#define ENGINE_SETTINGS_SIZE   sizeof(engineSetting)

Definition at line 134 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define FIXED_CONFIG1_SIZE   sizeof(fixedConfig1)

Definition at line 204 of file FixedConfigs.h.

#define FIXED_CONFIG2_SIZE   sizeof(fixedConfig2)

Definition at line 222 of file FixedConfigs.h.

#define PRIMARY_POLARITY   BIT2_16

Definition at line 185 of file FixedConfigs.h.

Referenced by PrimaryRPMISR().

#define SECONDARY_POLARITY   BIT3_16

Definition at line 186 of file FixedConfigs.h.

Referenced by SecondaryRPMISR().

#define SENSOR_PRESETS_SIZE   sizeof(sensorPreset)

Definition at line 76 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define SENSOR_RANGES_SIZE   sizeof(sensorRange)

Definition at line 113 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define SENSOR_SETTINGS_SIZE   sizeof(sensorSetting)

Definition at line 159 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define SERIAL_SETTINGS_SIZE   sizeof(serialSetting)

Definition at line 143 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define STAGED_END   BIT11_16

Definition at line 194 of file FixedConfigs.h.

Referenced by StagedOnISR().

#define STAGED_ON   BIT9_16

Definition at line 192 of file FixedConfigs.h.

Referenced by calculateFuelAndIgnition().

#define STAGED_START   BIT10_16

Definition at line 193 of file FixedConfigs.h.

Referenced by InjectorXISR().

#define TACHO_SETTINGS_SIZE   sizeof(tachoSetting)

Definition at line 152 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define TPS_RANGE_MAX   64000

Definition at line 110 of file FixedConfigs.h.

Referenced by generateCoreVars().

#define userTextFieldArrayLength1   1024 - (ENGINE_SETTINGS_SIZE + SERIAL_SETTINGS_SIZE + TACHO_SETTINGS_SIZE + 2)

Definition at line 162 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define userTextFieldArrayLength2   1024 - (SENSOR_RANGES_SIZE + SENSOR_PRESETS_SIZE + SENSOR_SETTINGS_SIZE)

Definition at line 207 of file FixedConfigs.h.

Referenced by lookupBlockDetails().


Generated on Mon Jan 26 00:16:45 2009 for FreeEMS by  doxygen 1.5.8