Speeduino
Loading...
Searching...
No Matches
Functions
corrections.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void initialiseCorrections (void)
 
uint16_t correctionsFuel (void)
 
uint8_t calculateAfrTarget (table3d16RpmLoad &afrLookUpTable, const statuses &current, const config2 &page2, const config6 &page6)
 
int8_t correctionsIgn (int8_t advance)
 
int8_t correctionFixedTiming (int8_t advance)
 
int8_t correctionCrankingFixedTiming (int8_t advance)
 
uint16_t correctionsDwell (uint16_t dwell)
 

Function Documentation

◆ calculateAfrTarget()

uint8_t calculateAfrTarget ( table3d16RpmLoad afrLookUpTable,
const statuses current,
const config2 page2,
const config6 page6 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ correctionCrankingFixedTiming()

int8_t correctionCrankingFixedTiming ( int8_t  advance)

Correct ignition timing to configured fixed value to use during craning. Must be called near end to override all other corrections.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ correctionFixedTiming()

int8_t correctionFixedTiming ( int8_t  advance)

Correct ignition timing to configured fixed value. Must be called near end to override all other corrections.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ correctionsDwell()

uint16_t correctionsDwell ( uint16_t  dwell)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ correctionsFuel()

uint16_t correctionsFuel ( void  )

Dispatch calculations for all fuel related corrections. Calls all the other corrections functions and combines their results. This is the only function that should be called from anywhere outside the file

Here is the call graph for this function:
Here is the caller graph for this function:

◆ correctionsIgn()

int8_t correctionsIgn ( int8_t  base_advance)

Dispatch calculations for all ignition related corrections.

Parameters
base_advance- Base ignition advance (deg. ?)
Returns
Advance considering all (~12) individual corrections
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialiseCorrections()

void initialiseCorrections ( void  )

Initialise instances and vars related to corrections (at ECU boot-up).

Here is the call graph for this function:
Here is the caller graph for this function: