![]() |
Speeduino
|
The fuel schedule controller: manages the timing of opening and closing up to 8 injectors. More...

Go to the source code of this file.
Functions | |
| uint16_t | setFuelChannelSchedules (const statuses ¤t) |
| Schedule all fuel channels. | |
| void | applyPwToInjectorChannels (const pulseWidths &pulse_widths, const config2 &page2, const config4 &page4, const config6 &page6, statuses ¤t) |
| Apply the calculated pulse widths to the fuel schedules. | |
| void | startFuelSchedulers (void) |
| Start the timers that drive schedulers. | |
| void | stopFuelSchedulers (void) |
| Stop the timers that drive schedulers. | |
| void | beginInjectorPriming (const statuses ¤t, const config4 &page4) |
| Start priming the fuel system. | |
| void | initialiseFuelSchedules (statuses ¤t, const config2 &page2, const config4 &page4) |
| Initialise this module. | |
Variables | |
| FuelSchedule | fuelSchedule1 |
| FuelSchedule | fuelSchedule2 |
| FuelSchedule | fuelSchedule3 |
| FuelSchedule | fuelSchedule4 |
The fuel schedule controller: manages the timing of opening and closing up to 8 injectors.
Anything related to controlling the fuel schedules should be done within this controller.
| void applyPwToInjectorChannels | ( | const pulseWidths & | pulse_widths, |
| const config2 & | page2, | ||
| const config4 & | page4, | ||
| const config6 & | page6, | ||
| statuses & | current | ||
| ) |
Apply the calculated pulse widths to the fuel schedules.
| pulseWidths | Result of computePulseWidths() |
| page2 | Tune settings |
| page4 | Tune settings |
| page6 | Tune settings |
| current | Current system state |

Start priming the fuel system.
Perform the injector priming pulses. Set these to run at an arbitrary time in the future (100us). The prime pulse value is in ms*10, so need to multiple by 100 to get to uS


Initialise this module.


Start the timers that drive schedulers.


Stop the timers that drive schedulers.

|
extern |
|
extern |
|
extern |
|
extern |