Speeduino
Loading...
Searching...
No Matches
scheduler_fuel_controller.h
Go to the documentation of this file.
1
8#pragma once
9#include "scheduler.h"
10#include "config_pages.h"
11#include "statuses.h"
12#include "fuel_calcs.h"
13
18#if INJ_CHANNELS >= 5
20#endif
21#if INJ_CHANNELS >= 6
23#endif
24#if INJ_CHANNELS >= 7
26#endif
27#if INJ_CHANNELS >= 8
29#endif
30
38
49
51void startFuelSchedulers(void);
52
54void stopFuelSchedulers(void);
55
58
61
63void closeAllInjectors(void);
The tune page structs and related defines.
const config2 & page2
Definition engineProtection.cpp:438
const config4 const config6 & page6
Definition engineProtection.cpp:155
const config4 & page4
Definition engineProtection.cpp:155
Pulse width calculations.
const config2 const config4 const config6 statuses & current
Definition scheduler_fuel_controller.cpp:400
FuelSchedule fuelSchedule3
void startFuelSchedulers(void)
Start the timers that drive schedulers.
Definition scheduler_fuel_controller.cpp:428
void initialiseFuelSchedules(statuses &current, const config2 &page2, const config4 &page4)
Initialise this module.
Definition scheduler_fuel_controller.cpp:517
FuelSchedule fuelSchedule4
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.
FuelSchedule fuelSchedule1
void stopFuelSchedulers(void)
Stop the timers that drive schedulers.
Definition scheduler_fuel_controller.cpp:448
uint16_t setFuelChannelSchedules(const statuses &current)
Schedule all fuel channels.
void beginInjectorPriming(const statuses &current, const config4 &page4)
Start priming the fuel system.
Definition scheduler_fuel_controller.cpp:474
FuelSchedule fuelSchedule2
void closeAllInjectors(void)
Utility function to close all injectors.
Definition scheduler_fuel_controller.cpp:509
The statuses struct and related defines.
A fuel injection schedule.
Definition scheduler.h:208
Definition array.h:14
Definition config_pages.h:175
Definition config_pages.h:355
Definition config_pages.h:454
Result of pulse width calculation.
Definition fuel_calcs.h:14
The status struct with current values for all 'live' variables.
Definition statuses.h:47