Speeduino
|
#include <globals.h>
Public Attributes | |
byte | aseTaperTime |
byte | aeColdPct |
byte | aeColdTaperMin |
byte | aeMode: 2 |
byte | battVCorMode: 1 |
byte | SoftLimitMode: 1 |
byte | useTachoSweep: 1 |
byte | aeApplyMode: 1 |
Acceleration enrichment calc mode: 0 = Multiply | 1 = Add (AE_MODE_ADDER) | |
byte | multiplyMAP: 2 |
MAP value processing: 0 = off, 1 = div by currentStatus.baro, 2 = div by 100 (to gain usable value) | |
byte | wueValues [10] |
Warm up enrichment array (10 bytes, transferred to WUETable) | |
byte | crankingPct |
Cranking enrichment (See config10, updates.ino) | |
byte | pinMapping |
The board / ping mapping number / id to be used (See: setPinMapping in init.ino) | |
byte | tachoPin: 6 |
Custom pin setting for tacho output (if != 0, override copied to pinTachOut, which defaults to board assigned tach pin) | |
byte | tachoDiv: 2 |
Whether to change the tacho speed ("half speed tacho" ?) | |
byte | tachoDuration |
byte | maeThresh |
byte | taeThresh |
byte | aeTime |
byte | taeMinChange |
byte | maeMinChange |
byte | displayB1: 4 |
byte | displayB2: 4 |
byte | reqFuel |
byte | divider |
byte | injTiming: 1 |
Injector timing (aka. injector staging) 0=simultaneous, 1=alternating. | |
byte | crkngAddCLTAdv: 1 |
byte | includeAFR: 1 |
byte | hardCutType: 1 |
byte | ignAlgorithm: 3 |
byte | indInjAng: 1 |
byte | injOpen |
Injector opening time (ms * 10) | |
uint16_t | injAng [4] |
MAPSamplingMethod | mapSample: 2 |
MAP sampling method (0=Instantaneous, 1=Cycle Average, 2=Cycle Minimum, 4=Ign. event average, See sensors.ino) | |
byte | strokes: 1 |
Engine cycle type: four-stroke (0) / two-stroke (1) | |
byte | injType: 1 |
Injector type 0=Port (INJ_TYPE_PORT), 1=Throttle Body / TBI (INJ_TYPE_TBODY) | |
byte | nCylinders: 4 |
Number of cylinders. | |
byte | fuelAlgorithm: 3 |
Fuel algorithm - 0=Manifold pressure/MAP (LOAD_SOURCE_MAP, default, proven), 1=Throttle/TPS (LOAD_SOURCE_TPS), 2=IMAP/EMAP (LOAD_SOURCE_IMAPEMAP) | |
byte | fixAngEnable: 1 |
Whether fixed/locked timing is enabled (0=disable, 1=enable, See configPage4.FixAng) | |
byte | nInjectors: 4 |
Number of injectors. | |
byte | engineType: 1 |
Engine crank/ign phasing type: 0=even fire, 1=odd fire. | |
byte | flexEnabled: 1 |
Enable Flex fuel sensing (pin / interrupt) | |
byte | legacyMAP: 1 |
Legacy MAP reading behaviour. | |
byte | baroCorr: 1 |
byte | injLayout: 2 |
byte | perToothIgn: 1 |
Experimental / New ignition mode ... (?) (See decoders.ino) | |
byte | dfcoEnabled: 1 |
Whether or not DFCO (deceleration fuel cut-off) is turned on. | |
byte | aeColdTaperMax |
AE cold modifier, taper end temp (no modifier applied, was primePulse in early versions) | |
byte | dutyLim |
byte | flexFreqLow |
byte | flexFreqHigh |
byte | boostMaxDuty |
byte | tpsMin |
byte | tpsMax |
int8_t | mapMin |
uint16_t | mapMax |
byte | fpPrime |
Time (In seconds) that the fuel pump should be primed for on power up. | |
byte | stoich |
Stoichiometric ratio (x10, so e.g. 14.7 => 147) | |
uint16_t | oddfire2 |
The ATDC angle of channel 2 for oddfire. | |
uint16_t | oddfire3 |
The ATDC angle of channel 3 for oddfire. | |
uint16_t | oddfire4 |
The ATDC angle of channel 4 for oddfire. | |
byte | idleUpPin: 6 |
byte | idleUpPolarity: 1 |
byte | idleUpEnabled: 1 |
byte | idleUpAdder |
byte | aeTaperMin |
byte | aeTaperMax |
byte | iacCLminValue |
byte | iacCLmaxValue |
byte | boostMinDuty |
int8_t | baroMin |
uint16_t | baroMax |
int8_t | EMAPMin |
uint16_t | EMAPMax |
byte | fanWhenOff: 1 |
Allow running fan with engine off: 0 = Only run fan when engine is running, 1 = Allow even with engine off. | |
byte | fanWhenCranking: 1 |
Set whether the fan output will stay on when the engine is cranking (0=force off, 1=allow on) | |
byte | useDwellMap: 1 |
Setting to change between fixed dwell value and dwell map (0=Fixed value from configPage4.dwellRun, 1=Use dwellTable) | |
byte | fanEnable: 2 |
Fan mode. 0=Off, 1=On/Off, 2=PWM. | |
byte | rtc_mode: 2 |
byte | incorporateAFR: 1 |
Enable AFR target (stoich/afrtgt) compensation in PW calculation. | |
byte | asePct [4] |
Afterstart enrichment values (%) | |
byte | aseCount [4] |
Afterstart enrichment cycles. This is the number of ignition cycles that the afterstart enrichment % lasts for. | |
byte | aseBins [4] |
Afterstart enrichment temperatures (x-axis) for (target) enrichment values. | |
byte | primePulse [4] |
byte | primeBins [4] |
byte | CTPSPin: 6 |
byte | CTPSPolarity: 1 |
byte | CTPSEnabled: 1 |
byte | idleAdvEnabled: 2 |
byte | idleAdvAlgorithm: 1 |
byte | idleAdvDelay: 5 |
byte | idleAdvRPM |
byte | idleAdvTPS |
byte | injAngRPM [4] |
byte | idleTaperTime |
byte | dfcoDelay |
byte | dfcoMinCLT |
byte | vssMode: 2 |
VSS (Vehicle speed sensor) mode (0=none, 1=CANbus, 2,3=Interrupt driven) | |
byte | vssPin: 6 |
VSS (Vehicle speed sensor) pin number. | |
uint16_t | vssPulsesPerKm |
VSS (Vehicle speed sensor) pulses per Km. | |
byte | vssSmoothing |
uint16_t | vssRatio1 |
uint16_t | vssRatio2 |
uint16_t | vssRatio3 |
uint16_t | vssRatio4 |
uint16_t | vssRatio5 |
uint16_t | vssRatio6 |
byte | idleUpOutputEnabled: 1 |
byte | idleUpOutputInv: 1 |
byte | idleUpOutputPin: 6 |
byte | tachoSweepMaxRPM |
byte | primingDelay |
byte | iacTPSlimit |
byte | iacRPMlimitHysteresis |
int8_t | rtc_trim |
byte | idleAdvVss |
byte | mapSwitchPoint |
byte | unused1_126_1: 1 |
byte | unused1_126_2: 1 |
byte | canWBO: 2 |
byte | vssAuxCh: 4 |
byte | decelAmount |
Page 2 of the config - mostly variables that are required for fuel. These are "non-live" EFI setting, engine and "system" variables that remain fixed once sent (and stored to e.g. EEPROM) from configuration/tuning SW (from outside by USBserial/bluetooth). Contains a lots of *Min, *Max (named) variables to constrain values to sane ranges. See the ini file for further reference.
byte config2::aeApplyMode |
Acceleration enrichment calc mode: 0 = Multiply | 1 = Add (AE_MODE_ADDER)
byte config2::aeColdPct |
byte config2::aeColdTaperMax |
AE cold modifier, taper end temp (no modifier applied, was primePulse in early versions)
byte config2::aeColdTaperMin |
byte config2::aeMode |
Acceleration Enrichment mode. 0 = TPS, 1 = MAP. Values 2 and 3 reserved for potential future use (ie blended TPS / MAP)
byte config2::aeTaperMax |
byte config2::aeTaperMin |
byte config2::aeTime |
byte config2::aseBins[4] |
Afterstart enrichment temperatures (x-axis) for (target) enrichment values.
byte config2::aseCount[4] |
Afterstart enrichment cycles. This is the number of ignition cycles that the afterstart enrichment % lasts for.
byte config2::asePct[4] |
Afterstart enrichment values (%)
byte config2::aseTaperTime |
byte config2::baroCorr |
uint16_t config2::baroMax |
int8_t config2::baroMin |
byte config2::battVCorMode |
byte config2::boostMaxDuty |
byte config2::boostMinDuty |
byte config2::canWBO |
byte config2::crkngAddCLTAdv |
byte config2::CTPSEnabled |
byte config2::CTPSPin |
byte config2::CTPSPolarity |
byte config2::decelAmount |
byte config2::dfcoDelay |
byte config2::dfcoEnabled |
Whether or not DFCO (deceleration fuel cut-off) is turned on.
byte config2::dfcoMinCLT |
byte config2::displayB1 |
byte config2::displayB2 |
byte config2::divider |
byte config2::dutyLim |
uint16_t config2::EMAPMax |
int8_t config2::EMAPMin |
byte config2::engineType |
Engine crank/ign phasing type: 0=even fire, 1=odd fire.
byte config2::fanEnable |
Fan mode. 0=Off, 1=On/Off, 2=PWM.
byte config2::fanWhenCranking |
Set whether the fan output will stay on when the engine is cranking (0=force off, 1=allow on)
byte config2::fanWhenOff |
Allow running fan with engine off: 0 = Only run fan when engine is running, 1 = Allow even with engine off.
byte config2::fixAngEnable |
Whether fixed/locked timing is enabled (0=disable, 1=enable, See configPage4.FixAng)
byte config2::flexEnabled |
Enable Flex fuel sensing (pin / interrupt)
byte config2::flexFreqHigh |
byte config2::flexFreqLow |
byte config2::fpPrime |
Time (In seconds) that the fuel pump should be primed for on power up.
byte config2::fuelAlgorithm |
Fuel algorithm - 0=Manifold pressure/MAP (LOAD_SOURCE_MAP, default, proven), 1=Throttle/TPS (LOAD_SOURCE_TPS), 2=IMAP/EMAP (LOAD_SOURCE_IMAPEMAP)
byte config2::hardCutType |
byte config2::iacCLmaxValue |
byte config2::iacCLminValue |
byte config2::iacRPMlimitHysteresis |
byte config2::iacTPSlimit |
byte config2::idleAdvAlgorithm |
byte config2::idleAdvDelay |
byte config2::idleAdvEnabled |
byte config2::idleAdvRPM |
byte config2::idleAdvTPS |
byte config2::idleAdvVss |
byte config2::idleTaperTime |
byte config2::idleUpAdder |
byte config2::idleUpEnabled |
byte config2::idleUpOutputEnabled |
byte config2::idleUpOutputInv |
byte config2::idleUpOutputPin |
byte config2::idleUpPin |
byte config2::idleUpPolarity |
byte config2::ignAlgorithm |
byte config2::includeAFR |
byte config2::incorporateAFR |
Enable AFR target (stoich/afrtgt) compensation in PW calculation.
byte config2::indInjAng |
uint16_t config2::injAng[4] |
byte config2::injAngRPM[4] |
byte config2::injLayout |
Injector Layout - 0=INJ_PAIRED (number outputs == number cyls/2, timed over 1 crank rev), 1=INJ_SEMISEQUENTIAL (like paired, but number outputs == number cyls, only for 4 cyl), 2=INJ_BANKED (2 outputs are used), 3=INJ_SEQUENTIAL (number outputs == number cyls, timed over full cycle, 2 crank revs)
byte config2::injOpen |
Injector opening time (ms * 10)
byte config2::injTiming |
Injector timing (aka. injector staging) 0=simultaneous, 1=alternating.
byte config2::injType |
Injector type 0=Port (INJ_TYPE_PORT), 1=Throttle Body / TBI (INJ_TYPE_TBODY)
byte config2::legacyMAP |
Legacy MAP reading behaviour.
byte config2::maeMinChange |
The minimum change in MAP that must be made before AE is engaged
byte config2::maeThresh |
The MAPdot threshold that must be exceeded before AE is engaged
uint16_t config2::mapMax |
int8_t config2::mapMin |
MAPSamplingMethod config2::mapSample |
MAP sampling method (0=Instantaneous, 1=Cycle Average, 2=Cycle Minimum, 4=Ign. event average, See sensors.ino)
byte config2::mapSwitchPoint |
byte config2::multiplyMAP |
MAP value processing: 0 = off, 1 = div by currentStatus.baro, 2 = div by 100 (to gain usable value)
byte config2::nCylinders |
Number of cylinders.
byte config2::nInjectors |
Number of injectors.
uint16_t config2::oddfire2 |
The ATDC angle of channel 2 for oddfire.
uint16_t config2::oddfire3 |
The ATDC angle of channel 3 for oddfire.
uint16_t config2::oddfire4 |
The ATDC angle of channel 4 for oddfire.
byte config2::perToothIgn |
Experimental / New ignition mode ... (?) (See decoders.ino)
byte config2::pinMapping |
The board / ping mapping number / id to be used (See: setPinMapping in init.ino)
byte config2::primeBins[4] |
byte config2::primePulse[4] |
byte config2::primingDelay |
byte config2::reqFuel |
byte config2::rtc_mode |
int8_t config2::rtc_trim |
byte config2::SoftLimitMode |
byte config2::stoich |
Stoichiometric ratio (x10, so e.g. 14.7 => 147)
byte config2::strokes |
Engine cycle type: four-stroke (0) / two-stroke (1)
byte config2::tachoDiv |
Whether to change the tacho speed ("half speed tacho" ?)
byte config2::tachoDuration |
byte config2::tachoPin |
Custom pin setting for tacho output (if != 0, override copied to pinTachOut, which defaults to board assigned tach pin)
byte config2::tachoSweepMaxRPM |
byte config2::taeMinChange |
The minimum change in TPS that must be made before AE is engaged
byte config2::taeThresh |
The TPSdot threshold that must be exceeded before AE is engaged
byte config2::tpsMax |
byte config2::tpsMin |
byte config2::unused1_126_1 |
byte config2::unused1_126_2 |
byte config2::useDwellMap |
Setting to change between fixed dwell value and dwell map (0=Fixed value from configPage4.dwellRun, 1=Use dwellTable)
byte config2::useTachoSweep |
byte config2::vssAuxCh |
byte config2::vssMode |
VSS (Vehicle speed sensor) mode (0=none, 1=CANbus, 2,3=Interrupt driven)
byte config2::vssPin |
VSS (Vehicle speed sensor) pin number.
uint16_t config2::vssPulsesPerKm |
VSS (Vehicle speed sensor) pulses per Km.
uint16_t config2::vssRatio1 |
uint16_t config2::vssRatio2 |
uint16_t config2::vssRatio3 |
uint16_t config2::vssRatio4 |
uint16_t config2::vssRatio5 |
uint16_t config2::vssRatio6 |
byte config2::vssSmoothing |