Speeduino
Loading...
Searching...
No Matches
Functions | Variables
globals.cpp File Reference
#include "globals.h"

Functions

bool pinIsOutput (byte pin)
 
bool pinIsUsed (byte pin)
 

Variables

const char TSfirmwareVersion [] = "Speeduino"
 
const byte data_structure_version = 2
 
struct table3d16RpmLoad fuelTable
 16x16 fuel map
 
struct table3d16RpmLoad fuelTable2
 16x16 fuel map
 
struct table3d16RpmLoad ignitionTable
 16x16 ignition map
 
struct table3d16RpmLoad ignitionTable2
 16x16 ignition map
 
struct table3d16RpmLoad afrTable
 16x16 afr target map
 
struct table3d8RpmLoad stagingTable
 8x8 fuel staging table
 
struct table3d8RpmLoad boostTable
 8x8 boost map
 
struct table3d8RpmLoad boostTableLookupDuty
 8x8 boost map lookup table
 
struct table3d8RpmLoad vvtTable
 8x8 vvt map
 
struct table3d8RpmLoad vvt2Table
 8x8 vvt2 map
 
struct table3d8RpmLoad wmiTable
 8x8 wmi map
 
trimTable3d trim1Table
 6x6 Fuel trim 1 map
 
trimTable3d trim2Table
 6x6 Fuel trim 2 map
 
trimTable3d trim3Table
 6x6 Fuel trim 3 map
 
trimTable3d trim4Table
 6x6 Fuel trim 4 map
 
trimTable3d trim5Table
 6x6 Fuel trim 5 map
 
trimTable3d trim6Table
 6x6 Fuel trim 6 map
 
trimTable3d trim7Table
 6x6 Fuel trim 7 map
 
trimTable3d trim8Table
 6x6 Fuel trim 8 map
 
struct table3d4RpmLoad dwellTable
 4x4 Dwell map
 
struct table2D taeTable
 4 bin TPS Acceleration Enrichment map (2D)
 
struct table2D maeTable
 
struct table2D WUETable
 10 bin Warm Up Enrichment map (2D)
 
struct table2D ASETable
 4 bin After Start Enrichment map (2D)
 
struct table2D ASECountTable
 4 bin After Start duration map (2D)
 
struct table2D PrimingPulseTable
 4 bin Priming pulsewidth map (2D)
 
struct table2D crankingEnrichTable
 4 bin cranking Enrichment map (2D)
 
struct table2D dwellVCorrectionTable
 6 bin dwell voltage correction (2D)
 
struct table2D injectorVCorrectionTable
 6 bin injector voltage correction (2D)
 
struct table2D injectorAngleTable
 4 bin injector angle curve (2D)
 
struct table2D IATDensityCorrectionTable
 9 bin inlet air temperature density correction (2D)
 
struct table2D baroFuelTable
 8 bin baro correction curve (2D)
 
struct table2D IATRetardTable
 6 bin ignition adjustment based on inlet air temperature (2D)
 
struct table2D idleTargetTable
 10 bin idle target table for idle timing (2D)
 
struct table2D idleAdvanceTable
 6 bin idle advance adjustment table based on RPM difference (2D)
 
struct table2D CLTAdvanceTable
 6 bin ignition adjustment based on coolant temperature (2D)
 
struct table2D rotarySplitTable
 8 bin ignition split curve for rotary leading/trailing (2D)
 
struct table2D flexFuelTable
 6 bin flex fuel correction table for fuel adjustments (2D)
 
struct table2D flexAdvTable
 6 bin flex fuel correction table for timing advance (2D)
 
struct table2D flexBoostTable
 6 bin flex fuel correction table for boost adjustments (2D)
 
struct table2D fuelTempTable
 6 bin flex fuel correction table for fuel adjustments (2D)
 
struct table2D knockWindowStartTable
 
struct table2D knockWindowDurationTable
 
struct table2D oilPressureProtectTable
 
struct table2D wmiAdvTable
 
struct table2D coolantProtectTable
 
struct table2D fanPWMTable
 
struct table2D rollingCutTable
 
volatile PORT_TYPEinj1_pin_port
 volatile inj*_pin_port and inj*_pin_mask vars are for the direct port manipulation of the injectors, coils and aux outputs.
 
volatile PINMASK_TYPE inj1_pin_mask
 
volatile PORT_TYPEinj2_pin_port
 
volatile PINMASK_TYPE inj2_pin_mask
 
volatile PORT_TYPEinj3_pin_port
 
volatile PINMASK_TYPE inj3_pin_mask
 
volatile PORT_TYPEinj4_pin_port
 
volatile PINMASK_TYPE inj4_pin_mask
 
volatile PORT_TYPEinj5_pin_port
 
volatile PINMASK_TYPE inj5_pin_mask
 
volatile PORT_TYPEinj6_pin_port
 
volatile PINMASK_TYPE inj6_pin_mask
 
volatile PORT_TYPEinj7_pin_port
 
volatile PINMASK_TYPE inj7_pin_mask
 
volatile PORT_TYPEinj8_pin_port
 
volatile PINMASK_TYPE inj8_pin_mask
 
volatile PORT_TYPEign1_pin_port
 
volatile PINMASK_TYPE ign1_pin_mask
 
volatile PORT_TYPEign2_pin_port
 
volatile PINMASK_TYPE ign2_pin_mask
 
volatile PORT_TYPEign3_pin_port
 
volatile PINMASK_TYPE ign3_pin_mask
 
volatile PORT_TYPEign4_pin_port
 
volatile PINMASK_TYPE ign4_pin_mask
 
volatile PORT_TYPEign5_pin_port
 
volatile PINMASK_TYPE ign5_pin_mask
 
volatile PORT_TYPEign6_pin_port
 
volatile PINMASK_TYPE ign6_pin_mask
 
volatile PORT_TYPEign7_pin_port
 
volatile PINMASK_TYPE ign7_pin_mask
 
volatile PORT_TYPEign8_pin_port
 
volatile PINMASK_TYPE ign8_pin_mask
 
volatile PORT_TYPEtach_pin_port
 
volatile PINMASK_TYPE tach_pin_mask
 
volatile PORT_TYPEpump_pin_port
 
volatile PINMASK_TYPE pump_pin_mask
 
volatile PORT_TYPEflex_pin_port
 
volatile PINMASK_TYPE flex_pin_mask
 
volatile PORT_TYPEtriggerPri_pin_port
 
volatile PINMASK_TYPE triggerPri_pin_mask
 
volatile PORT_TYPEtriggerSec_pin_port
 
volatile PINMASK_TYPE triggerSec_pin_mask
 
volatile PORT_TYPEtriggerThird_pin_port
 
volatile PINMASK_TYPE triggerThird_pin_mask
 
byte fpPrimeTime = 0
 The time (in seconds, based on statuses::secl) that the fuel pump started priming.
 
uint8_t softLimitTime = 0
 
volatile uint16_t mainLoopCount
 
uint32_t revolutionTime
 
volatile unsigned long timer5_overflow_count = 0
 
volatile unsigned long ms_counter = 0
 
uint16_t fixedCrankingOverride = 0
 
bool clutchTrigger
 
bool previousClutchTrigger
 
volatile uint32_t toothHistory [TOOTH_LOG_SIZE]
 Tooth trigger history - delta time (in uS) from last tooth (Indexed by toothHistoryIndex)
 
volatile uint8_t compositeLogHistory [TOOTH_LOG_SIZE]
 
volatile unsigned int toothHistoryIndex = 0
 Current index to toothHistory array.
 
unsigned long currentLoopTime
 
volatile uint16_t ignitionCount
 
byte primaryTriggerEdge
 
byte secondaryTriggerEdge
 
byte tertiaryTriggerEdge
 
int CRANK_ANGLE_MAX_IGN = 360
 
int CRANK_ANGLE_MAX_INJ = 360
 The number of crank degrees that the system track over. Typically 720 divided by the number of squirts per cycle (Eg 360 for wasted 2 squirt and 720 for sequential single squirt)
 
volatile uint32_t runSecsX10
 
volatile uint32_t seclx10
 
volatile byte HWTest_INJ = 0
 
volatile byte HWTest_INJ_Pulsed = 0
 
volatile byte HWTest_IGN = 0
 
volatile byte HWTest_IGN_Pulsed = 0
 
byte maxIgnOutputs = 1
 
byte maxInjOutputs = 1
 
byte resetControl = RESET_CONTROL_DISABLED
 resetControl needs to be here (as global) because using the config page (4) directly can prevent burning the setting
 
volatile byte TIMER_mask
 
volatile byte LOOP_TIMER
 
byte pinInjector1
 Various pin numbering (Injectors, Ign outputs, CAS, Cam, Sensors. etc.) assignments.
 
byte pinInjector2
 Output pin injector 2.
 
byte pinInjector3
 Output pin injector 3.
 
byte pinInjector4
 Output pin injector 4.
 
byte pinInjector5
 Output pin injector 5.
 
byte pinInjector6
 Output pin injector 6.
 
byte pinInjector7
 Output pin injector 7.
 
byte pinInjector8
 Output pin injector 8.
 
byte injectorOutputControl = OUTPUT_CONTROL_DIRECT
 
byte pinCoil1
 Pin for coil 1.
 
byte pinCoil2
 Pin for coil 2.
 
byte pinCoil3
 Pin for coil 3.
 
byte pinCoil4
 Pin for coil 4.
 
byte pinCoil5
 Pin for coil 5.
 
byte pinCoil6
 Pin for coil 6.
 
byte pinCoil7
 Pin for coil 7.
 
byte pinCoil8
 Pin for coil 8.
 
byte ignitionOutputControl = OUTPUT_CONTROL_DIRECT
 
byte pinTrigger
 RPM1 (Typically CAS=crankshaft angle sensor) pin.
 
byte pinTrigger2
 RPM2 (Typically the Cam Sensor) pin.
 
byte pinTrigger3
 the 2nd cam sensor pin
 
byte pinTPS
 
byte pinMAP
 
byte pinEMAP
 
byte pinMAP2
 
byte pinIAT
 
byte pinCLT
 
byte pinO2
 
byte pinO2_2
 
byte pinBat
 
byte pinDisplayReset
 
byte pinTachOut
 
byte pinFuelPump
 
byte pinIdle1
 
byte pinIdle2
 
byte pinIdleUp
 
byte pinIdleUpOutput
 
byte pinCTPS
 
byte pinFuel2Input
 
byte pinSpark2Input
 
byte pinSpareTemp1
 
byte pinSpareTemp2
 
byte pinSpareOut1
 
byte pinSpareOut2
 
byte pinSpareOut3
 
byte pinSpareOut4
 
byte pinSpareOut5
 
byte pinSpareOut6
 
byte pinSpareHOut1
 
byte pinSpareHOut2
 
byte pinSpareLOut1
 
byte pinSpareLOut2
 
byte pinSpareLOut3
 
byte pinSpareLOut4
 
byte pinSpareLOut5
 
byte pinBoost
 
byte pinVVT_1
 vvt (variable valve timing) output 1
 
byte pinVVT_2
 vvt (variable valve timing) output 2
 
byte pinFan
 Cooling fan output (on/off? See: auxiliaries.ino)
 
byte pinStepperDir
 
byte pinStepperStep
 
byte pinStepperEnable
 
byte pinLaunch
 
byte pinIgnBypass
 
byte pinFlex
 
byte pinVSS
 
byte pinBaro
 
byte pinResetControl
 
byte pinFuelPressure
 
byte pinOilPressure
 
byte pinWMIEmpty
 
byte pinWMIIndicator
 
byte pinWMIEnabled
 
byte pinMC33810_1_CS
 
byte pinMC33810_2_CS
 
byte pinSDEnable
 
byte pinAirConComp
 
byte pinAirConFan
 
byte pinAirConRequest
 
struct statuses currentStatus
 
struct config2 configPage2
 
struct config4 configPage4
 
struct config6 configPage6
 
struct config9 configPage9
 
struct config10 configPage10
 
struct config13 configPage13
 
struct config15 configPage15
 
uint16_t cltCalibration_bins [32]
 
uint16_t cltCalibration_values [32]
 
struct table2D cltCalibrationTable
 
uint16_t iatCalibration_bins [32]
 
uint16_t iatCalibration_values [32]
 
struct table2D iatCalibrationTable
 
uint16_t o2Calibration_bins [32]
 
uint8_t o2Calibration_values [32]
 
struct table2D o2CalibrationTable
 

Detailed Description

Instantiation of various (table2D, table3D) tables, volatile (interrupt modified) variables, Injector (1...8) enablement flags, etc.

Function Documentation

◆ pinIsOutput()

bool pinIsOutput ( byte  pin)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pinIsUsed()

bool pinIsUsed ( byte  pin)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ afrTable

16x16 afr target map

◆ ASECountTable

struct table2D ASECountTable

4 bin After Start duration map (2D)

◆ ASETable

struct table2D ASETable

4 bin After Start Enrichment map (2D)

◆ baroFuelTable

struct table2D baroFuelTable

8 bin baro correction curve (2D)

◆ boostTable

struct table3d8RpmLoad boostTable

8x8 boost map

◆ boostTableLookupDuty

struct table3d8RpmLoad boostTableLookupDuty

8x8 boost map lookup table

◆ CLTAdvanceTable

struct table2D CLTAdvanceTable

6 bin ignition adjustment based on coolant temperature (2D)

◆ cltCalibration_bins

uint16_t cltCalibration_bins[32]

◆ cltCalibration_values

uint16_t cltCalibration_values[32]

◆ cltCalibrationTable

struct table2D cltCalibrationTable

A 32 bin array containing the coolant temperature sensor calibration values

◆ clutchTrigger

bool clutchTrigger

◆ compositeLogHistory

volatile uint8_t compositeLogHistory[TOOTH_LOG_SIZE]

◆ configPage10

struct config10 configPage10

◆ configPage13

struct config13 configPage13

◆ configPage15

struct config15 configPage15

◆ configPage2

struct config2 configPage2

◆ configPage4

struct config4 configPage4

◆ configPage6

struct config6 configPage6

◆ configPage9

struct config9 configPage9

◆ coolantProtectTable

struct table2D coolantProtectTable

◆ CRANK_ANGLE_MAX_IGN

int CRANK_ANGLE_MAX_IGN = 360

◆ CRANK_ANGLE_MAX_INJ

int CRANK_ANGLE_MAX_INJ = 360

The number of crank degrees that the system track over. Typically 720 divided by the number of squirts per cycle (Eg 360 for wasted 2 squirt and 720 for sequential single squirt)

The number of crank degrees that the system track over. 360 for wasted / timed batch and 720 for sequential.

◆ crankingEnrichTable

struct table2D crankingEnrichTable

4 bin cranking Enrichment map (2D)

◆ currentLoopTime

unsigned long currentLoopTime

The time (in uS) that the current mainloop started

◆ currentStatus

struct statuses currentStatus

The master global "live" status struct. Contains all values that are updated frequently and used across modules

◆ data_structure_version

const byte data_structure_version = 2

◆ dwellTable

struct table3d4RpmLoad dwellTable

4x4 Dwell map

◆ dwellVCorrectionTable

struct table2D dwellVCorrectionTable

6 bin dwell voltage correction (2D)

◆ fanPWMTable

struct table2D fanPWMTable

◆ fixedCrankingOverride

uint16_t fixedCrankingOverride = 0

◆ flex_pin_mask

volatile PINMASK_TYPE flex_pin_mask

◆ flex_pin_port

volatile PORT_TYPE* flex_pin_port

◆ flexAdvTable

struct table2D flexAdvTable

6 bin flex fuel correction table for timing advance (2D)

◆ flexBoostTable

struct table2D flexBoostTable

6 bin flex fuel correction table for boost adjustments (2D)

◆ flexFuelTable

struct table2D flexFuelTable

6 bin flex fuel correction table for fuel adjustments (2D)

◆ fpPrimeTime

byte fpPrimeTime = 0

The time (in seconds, based on statuses::secl) that the fuel pump started priming.

◆ fuelTable

16x16 fuel map

◆ fuelTable2

16x16 fuel map

◆ fuelTempTable

struct table2D fuelTempTable

6 bin flex fuel correction table for fuel adjustments (2D)

◆ HWTest_IGN

volatile byte HWTest_IGN = 0

Each bit in this variable represents one of the ignition channels and it's HW test status

◆ HWTest_IGN_Pulsed

volatile byte HWTest_IGN_Pulsed = 0

Each bit in this variable represents one of the ignition channels and it's 50% HW test status

◆ HWTest_INJ

volatile byte HWTest_INJ = 0

Each bit in this variable represents one of the injector channels and it's HW test status

◆ HWTest_INJ_Pulsed

volatile byte HWTest_INJ_Pulsed = 0

Each bit in this variable represents one of the injector channels and it's pulsed HW test status

◆ iatCalibration_bins

uint16_t iatCalibration_bins[32]

◆ iatCalibration_values

uint16_t iatCalibration_values[32]

◆ iatCalibrationTable

struct table2D iatCalibrationTable

A 32 bin array containing the inlet air temperature sensor calibration values

◆ IATDensityCorrectionTable

struct table2D IATDensityCorrectionTable

9 bin inlet air temperature density correction (2D)

◆ IATRetardTable

struct table2D IATRetardTable

6 bin ignition adjustment based on inlet air temperature (2D)

◆ idleAdvanceTable

struct table2D idleAdvanceTable

6 bin idle advance adjustment table based on RPM difference (2D)

◆ idleTargetTable

struct table2D idleTargetTable

10 bin idle target table for idle timing (2D)

◆ ign1_pin_mask

volatile PINMASK_TYPE ign1_pin_mask

◆ ign1_pin_port

volatile PORT_TYPE* ign1_pin_port

◆ ign2_pin_mask

volatile PINMASK_TYPE ign2_pin_mask

◆ ign2_pin_port

volatile PORT_TYPE* ign2_pin_port

◆ ign3_pin_mask

volatile PINMASK_TYPE ign3_pin_mask

◆ ign3_pin_port

volatile PORT_TYPE* ign3_pin_port

◆ ign4_pin_mask

volatile PINMASK_TYPE ign4_pin_mask

◆ ign4_pin_port

volatile PORT_TYPE* ign4_pin_port

◆ ign5_pin_mask

volatile PINMASK_TYPE ign5_pin_mask

◆ ign5_pin_port

volatile PORT_TYPE* ign5_pin_port

◆ ign6_pin_mask

volatile PINMASK_TYPE ign6_pin_mask

◆ ign6_pin_port

volatile PORT_TYPE* ign6_pin_port

◆ ign7_pin_mask

volatile PINMASK_TYPE ign7_pin_mask

◆ ign7_pin_port

volatile PORT_TYPE* ign7_pin_port

◆ ign8_pin_mask

volatile PINMASK_TYPE ign8_pin_mask

◆ ign8_pin_port

volatile PORT_TYPE* ign8_pin_port

◆ ignitionCount

volatile uint16_t ignitionCount

The count of ignition events that have taken place since the engine started

◆ ignitionOutputControl

byte ignitionOutputControl = OUTPUT_CONTROL_DIRECT

Specifies whether the coils are controlled directly (Via an IO pin) or using something like the MC33810. 0 = Direct (OUTPUT_CONTROL_DIRECT), 10 = MC33810 (OUTPUT_CONTROL_MC33810)

◆ ignitionTable

struct table3d16RpmLoad ignitionTable

16x16 ignition map

◆ ignitionTable2

struct table3d16RpmLoad ignitionTable2

16x16 ignition map

◆ inj1_pin_mask

volatile PINMASK_TYPE inj1_pin_mask

◆ inj1_pin_port

volatile PORT_TYPE* inj1_pin_port

volatile inj*_pin_port and inj*_pin_mask vars are for the direct port manipulation of the injectors, coils and aux outputs.

◆ inj2_pin_mask

volatile PINMASK_TYPE inj2_pin_mask

◆ inj2_pin_port

volatile PORT_TYPE* inj2_pin_port

◆ inj3_pin_mask

volatile PINMASK_TYPE inj3_pin_mask

◆ inj3_pin_port

volatile PORT_TYPE* inj3_pin_port

◆ inj4_pin_mask

volatile PINMASK_TYPE inj4_pin_mask

◆ inj4_pin_port

volatile PORT_TYPE* inj4_pin_port

◆ inj5_pin_mask

volatile PINMASK_TYPE inj5_pin_mask

◆ inj5_pin_port

volatile PORT_TYPE* inj5_pin_port

◆ inj6_pin_mask

volatile PINMASK_TYPE inj6_pin_mask

◆ inj6_pin_port

volatile PORT_TYPE* inj6_pin_port

◆ inj7_pin_mask

volatile PINMASK_TYPE inj7_pin_mask

◆ inj7_pin_port

volatile PORT_TYPE* inj7_pin_port

◆ inj8_pin_mask

volatile PINMASK_TYPE inj8_pin_mask

◆ inj8_pin_port

volatile PORT_TYPE* inj8_pin_port

◆ injectorAngleTable

struct table2D injectorAngleTable

4 bin injector angle curve (2D)

◆ injectorOutputControl

byte injectorOutputControl = OUTPUT_CONTROL_DIRECT

Specifies whether the injectors are controlled directly (Via an IO pin) or using something like the MC33810. 0 = Direct (OUTPUT_CONTROL_DIRECT), 10 = MC33810 (OUTPUT_CONTROL_MC33810)

◆ injectorVCorrectionTable

struct table2D injectorVCorrectionTable

6 bin injector voltage correction (2D)

◆ knockWindowDurationTable

struct table2D knockWindowDurationTable

◆ knockWindowStartTable

struct table2D knockWindowStartTable

◆ LOOP_TIMER

volatile byte LOOP_TIMER

◆ maeTable

struct table2D maeTable

◆ mainLoopCount

volatile uint16_t mainLoopCount

◆ maxIgnOutputs

byte maxIgnOutputs = 1

Number of ignition outputs being used by the current tune configuration

◆ maxInjOutputs

byte maxInjOutputs = 1

Number of injection outputs being used by the current tune configuration

◆ ms_counter

volatile unsigned long ms_counter = 0

◆ o2Calibration_bins

uint16_t o2Calibration_bins[32]

◆ o2Calibration_values

uint8_t o2Calibration_values[32]

◆ o2CalibrationTable

struct table2D o2CalibrationTable

A 32 bin array containing the O2 sensor calibration values

◆ oilPressureProtectTable

struct table2D oilPressureProtectTable

◆ pinAirConComp

byte pinAirConComp

◆ pinAirConFan

byte pinAirConFan

◆ pinAirConRequest

byte pinAirConRequest

◆ pinBaro

byte pinBaro

◆ pinBat

byte pinBat

◆ pinBoost

byte pinBoost

◆ pinCLT

byte pinCLT

◆ pinCoil1

byte pinCoil1

Pin for coil 1.

◆ pinCoil2

byte pinCoil2

Pin for coil 2.

◆ pinCoil3

byte pinCoil3

Pin for coil 3.

◆ pinCoil4

byte pinCoil4

Pin for coil 4.

◆ pinCoil5

byte pinCoil5

Pin for coil 5.

◆ pinCoil6

byte pinCoil6

Pin for coil 6.

◆ pinCoil7

byte pinCoil7

Pin for coil 7.

◆ pinCoil8

byte pinCoil8

Pin for coil 8.

◆ pinCTPS

byte pinCTPS

◆ pinDisplayReset

byte pinDisplayReset

◆ pinEMAP

byte pinEMAP

◆ pinFan

byte pinFan

Cooling fan output (on/off? See: auxiliaries.ino)

◆ pinFlex

byte pinFlex

◆ pinFuel2Input

byte pinFuel2Input

◆ pinFuelPressure

byte pinFuelPressure

◆ pinFuelPump

byte pinFuelPump

◆ pinIAT

byte pinIAT

◆ pinIdle1

byte pinIdle1

◆ pinIdle2

byte pinIdle2

◆ pinIdleUp

byte pinIdleUp

◆ pinIdleUpOutput

byte pinIdleUpOutput

◆ pinIgnBypass

byte pinIgnBypass

◆ pinInjector1

byte pinInjector1

Various pin numbering (Injectors, Ign outputs, CAS, Cam, Sensors. etc.) assignments.

Output pin injector 1

◆ pinInjector2

byte pinInjector2

Output pin injector 2.

◆ pinInjector3

byte pinInjector3

Output pin injector 3.

◆ pinInjector4

byte pinInjector4

Output pin injector 4.

◆ pinInjector5

byte pinInjector5

Output pin injector 5.

◆ pinInjector6

byte pinInjector6

Output pin injector 6.

◆ pinInjector7

byte pinInjector7

Output pin injector 7.

◆ pinInjector8

byte pinInjector8

Output pin injector 8.

◆ pinLaunch

byte pinLaunch

◆ pinMAP

byte pinMAP

◆ pinMAP2

byte pinMAP2

◆ pinMC33810_1_CS

byte pinMC33810_1_CS

◆ pinMC33810_2_CS

byte pinMC33810_2_CS

◆ pinO2

byte pinO2

◆ pinO2_2

byte pinO2_2

◆ pinOilPressure

byte pinOilPressure

◆ pinResetControl

byte pinResetControl

◆ pinSDEnable

byte pinSDEnable

◆ pinSpareHOut1

byte pinSpareHOut1

◆ pinSpareHOut2

byte pinSpareHOut2

◆ pinSpareLOut1

byte pinSpareLOut1

◆ pinSpareLOut2

byte pinSpareLOut2

◆ pinSpareLOut3

byte pinSpareLOut3

◆ pinSpareLOut4

byte pinSpareLOut4

◆ pinSpareLOut5

byte pinSpareLOut5

◆ pinSpareOut1

byte pinSpareOut1

◆ pinSpareOut2

byte pinSpareOut2

◆ pinSpareOut3

byte pinSpareOut3

◆ pinSpareOut4

byte pinSpareOut4

◆ pinSpareOut5

byte pinSpareOut5

◆ pinSpareOut6

byte pinSpareOut6

◆ pinSpareTemp1

byte pinSpareTemp1

◆ pinSpareTemp2

byte pinSpareTemp2

◆ pinSpark2Input

byte pinSpark2Input

◆ pinStepperDir

byte pinStepperDir

◆ pinStepperEnable

byte pinStepperEnable

◆ pinStepperStep

byte pinStepperStep

◆ pinTachOut

byte pinTachOut

◆ pinTPS

byte pinTPS

◆ pinTrigger

byte pinTrigger

RPM1 (Typically CAS=crankshaft angle sensor) pin.

◆ pinTrigger2

byte pinTrigger2

RPM2 (Typically the Cam Sensor) pin.

◆ pinTrigger3

byte pinTrigger3

the 2nd cam sensor pin

◆ pinVSS

byte pinVSS

◆ pinVVT_1

byte pinVVT_1

vvt (variable valve timing) output 1

◆ pinVVT_2

byte pinVVT_2

vvt (variable valve timing) output 2

◆ pinWMIEmpty

byte pinWMIEmpty

◆ pinWMIEnabled

byte pinWMIEnabled

◆ pinWMIIndicator

byte pinWMIIndicator

◆ previousClutchTrigger

bool previousClutchTrigger

◆ primaryTriggerEdge

byte primaryTriggerEdge

◆ PrimingPulseTable

struct table2D PrimingPulseTable

4 bin Priming pulsewidth map (2D)

◆ pump_pin_mask

volatile PINMASK_TYPE pump_pin_mask

◆ pump_pin_port

volatile PORT_TYPE* pump_pin_port

◆ resetControl

byte resetControl = RESET_CONTROL_DISABLED

resetControl needs to be here (as global) because using the config page (4) directly can prevent burning the setting

◆ revolutionTime

uint32_t revolutionTime

◆ rollingCutTable

struct table2D rollingCutTable

◆ rotarySplitTable

struct table2D rotarySplitTable

8 bin ignition split curve for rotary leading/trailing (2D)

◆ runSecsX10

volatile uint32_t runSecsX10

Counter of seconds since cranking commenced (similar to runSecs) but in increments of 0.1 seconds

◆ seclx10

volatile uint32_t seclx10

Counter of seconds since powered commenced (similar to secl) but in increments of 0.1 seconds

◆ secondaryTriggerEdge

byte secondaryTriggerEdge

◆ softLimitTime

uint8_t softLimitTime = 0

◆ stagingTable

struct table3d8RpmLoad stagingTable

8x8 fuel staging table

◆ tach_pin_mask

volatile PINMASK_TYPE tach_pin_mask

◆ tach_pin_port

volatile PORT_TYPE* tach_pin_port

◆ taeTable

struct table2D taeTable

4 bin TPS Acceleration Enrichment map (2D)

◆ tertiaryTriggerEdge

byte tertiaryTriggerEdge

◆ timer5_overflow_count

volatile unsigned long timer5_overflow_count = 0

◆ TIMER_mask

volatile byte TIMER_mask

◆ toothHistory

Tooth trigger history - delta time (in uS) from last tooth (Indexed by toothHistoryIndex)

◆ toothHistoryIndex

volatile unsigned int toothHistoryIndex = 0

Current index to toothHistory array.

◆ triggerPri_pin_mask

volatile PINMASK_TYPE triggerPri_pin_mask

◆ triggerPri_pin_port

volatile PORT_TYPE* triggerPri_pin_port

◆ triggerSec_pin_mask

volatile PINMASK_TYPE triggerSec_pin_mask

◆ triggerSec_pin_port

volatile PORT_TYPE* triggerSec_pin_port

◆ triggerThird_pin_mask

volatile PINMASK_TYPE triggerThird_pin_mask

◆ triggerThird_pin_port

volatile PORT_TYPE* triggerThird_pin_port

◆ trim1Table

trimTable3d trim1Table

6x6 Fuel trim 1 map

◆ trim2Table

trimTable3d trim2Table

6x6 Fuel trim 2 map

◆ trim3Table

trimTable3d trim3Table

6x6 Fuel trim 3 map

◆ trim4Table

trimTable3d trim4Table

6x6 Fuel trim 4 map

◆ trim5Table

trimTable3d trim5Table

6x6 Fuel trim 5 map

◆ trim6Table

trimTable3d trim6Table

6x6 Fuel trim 6 map

◆ trim7Table

trimTable3d trim7Table

6x6 Fuel trim 7 map

◆ trim8Table

trimTable3d trim8Table

6x6 Fuel trim 8 map

◆ TSfirmwareVersion

const char TSfirmwareVersion[] = "Speeduino"

◆ vvt2Table

8x8 vvt2 map

◆ vvtTable

8x8 vvt map

◆ wmiAdvTable

struct table2D wmiAdvTable

◆ wmiTable

8x8 wmi map

◆ WUETable

struct table2D WUETable

10 bin Warm Up Enrichment map (2D)