FreeEMS  0.2.0-SNAPSHOT-282-g9efc524
Data Fields
schedulingSetting Struct Reference

Settings for ignition and injection output scheduling. More...

#include <FixedConfigs.h>

Data Fields

unsigned short anglesOfTDC [MAX_NUMBER_OF_OUTPUT_EVENTS]
 The effective TDC angle of the event in question.
unsigned char outputEventPinNumbers [MAX_NUMBER_OF_OUTPUT_EVENTS]
 Which of the 6 pins should be associated with this event.
unsigned char schedulingConfigurationBits [MAX_NUMBER_OF_OUTPUT_EVENTS]
 0 = ignition, 1 = injection
unsigned short decoderEngineOffset
 Add decoderEngineOffset to code degrees to find 0/TDC for cyl/output 1 or subtract from real degrees to get code degrees.
unsigned char numberOfConfiguredOutputEvents
 Should match the used section of the three arrays above.
unsigned char numberOfInjectionsPerEngineCycle
 How much to divide the fuel pulse width by to get the per injection fuel pulse width.

Detailed Description

Settings for ignition and injection output scheduling.

Definition at line 137 of file FixedConfigs.h.

Field Documentation

unsigned short schedulingSetting::anglesOfTDC[MAX_NUMBER_OF_OUTPUT_EVENTS]

The effective TDC angle of the event in question.

Definition at line 138 of file FixedConfigs.h.

Referenced by scheduleOutputs().

unsigned char schedulingSetting::outputEventPinNumbers[MAX_NUMBER_OF_OUTPUT_EVENTS]

Which of the 6 pins should be associated with this event.

Definition at line 139 of file FixedConfigs.h.

Referenced by main(), and schedulePortTPin().

unsigned char schedulingSetting::schedulingConfigurationBits[MAX_NUMBER_OF_OUTPUT_EVENTS]

0 = ignition, 1 = injection

Definition at line 140 of file FixedConfigs.h.

Referenced by main(), and scheduleOutputs().

unsigned short schedulingSetting::decoderEngineOffset

Add decoderEngineOffset to code degrees to find 0/TDC for cyl/output 1 or subtract from real degrees to get code degrees.

Make this number larger to advance the base timing, make it smaller to retard it. IE, if you have 10btdc in your table, flat, and a timing light shows 5btdc on the engine, then increase this number by 5 degrees. More here:

http://forum.diyefi.org/viewtopic.php?f=54&t=1523

Definition at line 142 of file FixedConfigs.h.

Referenced by scheduleOutputs().

unsigned char schedulingSetting::numberOfConfiguredOutputEvents

Should match the used section of the three arrays above.

Definition at line 151 of file FixedConfigs.h.

Referenced by main(), and scheduleOutputs().

unsigned char schedulingSetting::numberOfInjectionsPerEngineCycle

How much to divide the fuel pulse width by to get the per injection fuel pulse width.

Definition at line 152 of file FixedConfigs.h.

Referenced by calculateFuelAndIgnition().


The documentation for this struct was generated from the following file: