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 135 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define FIXED_CONFIG1_SIZE   sizeof(fixedConfig1)

Definition at line 205 of file FixedConfigs.h.

#define FIXED_CONFIG2_SIZE   sizeof(fixedConfig2)

Definition at line 223 of file FixedConfigs.h.

#define PRIMARY_POLARITY   BIT2_16

Definition at line 186 of file FixedConfigs.h.

Referenced by PrimaryRPMISR(), and SecondaryRPMISR().

#define SECONDARY_POLARITY   BIT3_16

Definition at line 187 of file FixedConfigs.h.

Referenced by SecondaryRPMISR().

#define SENSOR_PRESETS_SIZE   sizeof(sensorPreset)

Definition at line 77 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define SENSOR_RANGES_SIZE   sizeof(sensorRange)

Definition at line 114 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define SENSOR_SETTINGS_SIZE   sizeof(sensorSetting)

Definition at line 160 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define SERIAL_SETTINGS_SIZE   sizeof(serialSetting)

Definition at line 144 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define STAGED_END   BIT11_16

Definition at line 195 of file FixedConfigs.h.

Referenced by StagedOnISR().

#define STAGED_ON   BIT9_16

Definition at line 193 of file FixedConfigs.h.

Referenced by calculateFuelAndIgnition().

#define STAGED_START   BIT10_16

Definition at line 194 of file FixedConfigs.h.

Referenced by InjectorXISR().

#define TACHO_SETTINGS_SIZE   sizeof(tachoSetting)

Definition at line 153 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

#define TPS_RANGE_MAX   64000

Definition at line 111 of file FixedConfigs.h.

Referenced by generateCoreVars().

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

Definition at line 163 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

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

Definition at line 208 of file FixedConfigs.h.

Referenced by lookupBlockDetails().

Generated on Sat Oct 16 21:29:08 2010 for FreeEMS by  doxygen 1.6.3