![]() |
Speeduino
|
Pulse width calculations. More...

Go to the source code of this file.
Classes | |
| struct | pulseWidths |
| Result of pulse width calculation. More... | |
Functions | |
| pulseWidths | computePulseWidths (const config2 &page2, const config6 &page6, const config10 &page10, const statuses ¤t) |
| This function calculates the required pulsewidth time (in µS) given the current tune & system state. | |
| void | applyPwToInjectorChannels (const pulseWidths &pulse_widths, const config2 &page2, statuses ¤t) |
| Apply the calculated pulse widths to the current system state. | |
Pulse width calculations.
| void applyPwToInjectorChannels | ( | const pulseWidths & | pulse_widths, |
| const config2 & | page2, | ||
| statuses & | current | ||
| ) |
Apply the calculated pulse widths to the current system state.
| pulseWidths | Result of computePulseWidths() |
| page2 | Tune settings |
| current | Current system state |


| pulseWidths computePulseWidths | ( | const config2 & | page2, |
| const config6 & | page6, | ||
| const config10 & | page10, | ||
| const statuses & | current | ||
| ) |
This function calculates the required pulsewidth time (in µS) given the current tune & system state.
| page2 | Tune settings |
| page6 | Tune settings |
| page10 | Tune settings |
| current | Current system state |

