Speeduino
Loading...
Searching...
No Matches
Public Attributes | List of all members
config2 Struct Reference

#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
 

Detailed Description

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.

Member Data Documentation

◆ aeApplyMode

byte config2::aeApplyMode

Acceleration enrichment calc mode: 0 = Multiply | 1 = Add (AE_MODE_ADDER)

◆ aeColdPct

byte config2::aeColdPct

◆ aeColdTaperMax

byte config2::aeColdTaperMax

AE cold modifier, taper end temp (no modifier applied, was primePulse in early versions)

◆ aeColdTaperMin

byte config2::aeColdTaperMin

◆ aeMode

byte config2::aeMode

Acceleration Enrichment mode. 0 = TPS, 1 = MAP. Values 2 and 3 reserved for potential future use (ie blended TPS / MAP)

◆ aeTaperMax

byte config2::aeTaperMax

◆ aeTaperMin

byte config2::aeTaperMin

◆ aeTime

byte config2::aeTime

◆ aseBins

byte config2::aseBins[4]

Afterstart enrichment temperatures (x-axis) for (target) enrichment values.

◆ aseCount

byte config2::aseCount[4]

Afterstart enrichment cycles. This is the number of ignition cycles that the afterstart enrichment % lasts for.

◆ asePct

byte config2::asePct[4]

Afterstart enrichment values (%)

◆ aseTaperTime

byte config2::aseTaperTime

◆ baroCorr

byte config2::baroCorr

◆ baroMax

uint16_t config2::baroMax

◆ baroMin

int8_t config2::baroMin

◆ battVCorMode

byte config2::battVCorMode

◆ boostMaxDuty

byte config2::boostMaxDuty

◆ boostMinDuty

byte config2::boostMinDuty

◆ canWBO

byte config2::canWBO

◆ crankingPct

byte config2::crankingPct

Cranking enrichment (See config10, updates.ino)

◆ crkngAddCLTAdv

byte config2::crkngAddCLTAdv

◆ CTPSEnabled

byte config2::CTPSEnabled

◆ CTPSPin

byte config2::CTPSPin

◆ CTPSPolarity

byte config2::CTPSPolarity

◆ decelAmount

byte config2::decelAmount

◆ dfcoDelay

byte config2::dfcoDelay

◆ dfcoEnabled

byte config2::dfcoEnabled

Whether or not DFCO (deceleration fuel cut-off) is turned on.

◆ dfcoMinCLT

byte config2::dfcoMinCLT

◆ displayB1

byte config2::displayB1

◆ displayB2

byte config2::displayB2

◆ divider

byte config2::divider

◆ dutyLim

byte config2::dutyLim

◆ EMAPMax

uint16_t config2::EMAPMax

◆ EMAPMin

int8_t config2::EMAPMin

◆ engineType

byte config2::engineType

Engine crank/ign phasing type: 0=even fire, 1=odd fire.

◆ fanEnable

byte config2::fanEnable

Fan mode. 0=Off, 1=On/Off, 2=PWM.

◆ fanWhenCranking

byte config2::fanWhenCranking

Set whether the fan output will stay on when the engine is cranking (0=force off, 1=allow on)

◆ fanWhenOff

byte config2::fanWhenOff

Allow running fan with engine off: 0 = Only run fan when engine is running, 1 = Allow even with engine off.

◆ fixAngEnable

byte config2::fixAngEnable

Whether fixed/locked timing is enabled (0=disable, 1=enable, See configPage4.FixAng)

◆ flexEnabled

byte config2::flexEnabled

Enable Flex fuel sensing (pin / interrupt)

◆ flexFreqHigh

byte config2::flexFreqHigh

◆ flexFreqLow

byte config2::flexFreqLow

◆ fpPrime

byte config2::fpPrime

Time (In seconds) that the fuel pump should be primed for on power up.

◆ fuelAlgorithm

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)

◆ hardCutType

byte config2::hardCutType

◆ iacCLmaxValue

byte config2::iacCLmaxValue

◆ iacCLminValue

byte config2::iacCLminValue

◆ iacRPMlimitHysteresis

byte config2::iacRPMlimitHysteresis

◆ iacTPSlimit

byte config2::iacTPSlimit

◆ idleAdvAlgorithm

byte config2::idleAdvAlgorithm

◆ idleAdvDelay

byte config2::idleAdvDelay

◆ idleAdvEnabled

byte config2::idleAdvEnabled

◆ idleAdvRPM

byte config2::idleAdvRPM

◆ idleAdvTPS

byte config2::idleAdvTPS

◆ idleAdvVss

byte config2::idleAdvVss

◆ idleTaperTime

byte config2::idleTaperTime

◆ idleUpAdder

byte config2::idleUpAdder

◆ idleUpEnabled

byte config2::idleUpEnabled

◆ idleUpOutputEnabled

byte config2::idleUpOutputEnabled

◆ idleUpOutputInv

byte config2::idleUpOutputInv

◆ idleUpOutputPin

byte config2::idleUpOutputPin

◆ idleUpPin

byte config2::idleUpPin

◆ idleUpPolarity

byte config2::idleUpPolarity

◆ ignAlgorithm

byte config2::ignAlgorithm

◆ includeAFR

byte config2::includeAFR

◆ incorporateAFR

byte config2::incorporateAFR

Enable AFR target (stoich/afrtgt) compensation in PW calculation.

◆ indInjAng

byte config2::indInjAng

◆ injAng

uint16_t config2::injAng[4]

◆ injAngRPM

byte config2::injAngRPM[4]

◆ injLayout

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)

◆ injOpen

byte config2::injOpen

Injector opening time (ms * 10)

◆ injTiming

byte config2::injTiming

Injector timing (aka. injector staging) 0=simultaneous, 1=alternating.

◆ injType

byte config2::injType

Injector type 0=Port (INJ_TYPE_PORT), 1=Throttle Body / TBI (INJ_TYPE_TBODY)

◆ legacyMAP

byte config2::legacyMAP

Legacy MAP reading behaviour.

◆ maeMinChange

byte config2::maeMinChange

The minimum change in MAP that must be made before AE is engaged

◆ maeThresh

byte config2::maeThresh

The MAPdot threshold that must be exceeded before AE is engaged

◆ mapMax

uint16_t config2::mapMax

◆ mapMin

int8_t config2::mapMin

◆ mapSample

MAPSamplingMethod config2::mapSample

MAP sampling method (0=Instantaneous, 1=Cycle Average, 2=Cycle Minimum, 4=Ign. event average, See sensors.ino)

◆ mapSwitchPoint

byte config2::mapSwitchPoint

◆ multiplyMAP

byte config2::multiplyMAP

MAP value processing: 0 = off, 1 = div by currentStatus.baro, 2 = div by 100 (to gain usable value)

◆ nCylinders

byte config2::nCylinders

Number of cylinders.

◆ nInjectors

byte config2::nInjectors

Number of injectors.

◆ oddfire2

uint16_t config2::oddfire2

The ATDC angle of channel 2 for oddfire.

◆ oddfire3

uint16_t config2::oddfire3

The ATDC angle of channel 3 for oddfire.

◆ oddfire4

uint16_t config2::oddfire4

The ATDC angle of channel 4 for oddfire.

◆ perToothIgn

byte config2::perToothIgn

Experimental / New ignition mode ... (?) (See decoders.ino)

◆ pinMapping

byte config2::pinMapping

The board / ping mapping number / id to be used (See: setPinMapping in init.ino)

◆ primeBins

byte config2::primeBins[4]

◆ primePulse

byte config2::primePulse[4]

◆ primingDelay

byte config2::primingDelay

◆ reqFuel

byte config2::reqFuel

◆ rtc_mode

byte config2::rtc_mode

◆ rtc_trim

int8_t config2::rtc_trim

◆ SoftLimitMode

byte config2::SoftLimitMode

◆ stoich

byte config2::stoich

Stoichiometric ratio (x10, so e.g. 14.7 => 147)

◆ strokes

byte config2::strokes

Engine cycle type: four-stroke (0) / two-stroke (1)

◆ tachoDiv

byte config2::tachoDiv

Whether to change the tacho speed ("half speed tacho" ?)

◆ tachoDuration

byte config2::tachoDuration

◆ tachoPin

byte config2::tachoPin

Custom pin setting for tacho output (if != 0, override copied to pinTachOut, which defaults to board assigned tach pin)

◆ tachoSweepMaxRPM

byte config2::tachoSweepMaxRPM

◆ taeMinChange

byte config2::taeMinChange

The minimum change in TPS that must be made before AE is engaged

◆ taeThresh

byte config2::taeThresh

The TPSdot threshold that must be exceeded before AE is engaged

◆ tpsMax

byte config2::tpsMax

◆ tpsMin

byte config2::tpsMin

◆ unused1_126_1

byte config2::unused1_126_1

◆ unused1_126_2

byte config2::unused1_126_2

◆ useDwellMap

byte config2::useDwellMap

Setting to change between fixed dwell value and dwell map (0=Fixed value from configPage4.dwellRun, 1=Use dwellTable)

◆ useTachoSweep

byte config2::useTachoSweep

◆ vssAuxCh

byte config2::vssAuxCh

◆ vssMode

byte config2::vssMode

VSS (Vehicle speed sensor) mode (0=none, 1=CANbus, 2,3=Interrupt driven)

◆ vssPin

byte config2::vssPin

VSS (Vehicle speed sensor) pin number.

◆ vssPulsesPerKm

uint16_t config2::vssPulsesPerKm

VSS (Vehicle speed sensor) pulses per Km.

◆ vssRatio1

uint16_t config2::vssRatio1

◆ vssRatio2

uint16_t config2::vssRatio2

◆ vssRatio3

uint16_t config2::vssRatio3

◆ vssRatio4

uint16_t config2::vssRatio4

◆ vssRatio5

uint16_t config2::vssRatio5

◆ vssRatio6

uint16_t config2::vssRatio6

◆ vssSmoothing

byte config2::vssSmoothing

◆ wueValues

byte config2::wueValues[10]

Warm up enrichment array (10 bytes, transferred to WUETable)


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