![]() |
Speeduino
|

Go to the source code of this file.
Functions | |
| void | applyOverDwellProtection (const config4 &page4, const statuses ¤t) |
| Check that no ignition channel has been charging the coil for too long. | |
| void | calculateIgnitionAngles (const config2 &page2, const config4 &page4, statuses ¤t) |
| Calculate the charge & discharge angles for all ignition channels. | |
| void | setIgnitionChannels (const statuses ¤t, uint16_t crankAngle, uint16_t dwellTime) |
| Schedule all ignition channels. | |
| void | startIgnitionSchedulers (void) |
| Start the timers that drive schedulers | |
| void | stopIgnitionSchedulers (void) |
| Stop the timers that drive schedulers | |
| void | initialiseIgnitionSchedules (uint8_t sparkMode, uint8_t numCylinders, uint8_t rotaryMode) |
| Initialise all ignition schedules. | |
| void | stopAllCoilsCharging (void) |
| Utility function to stop charging all ignition coils. | |
Variables | |
| IgnitionSchedule | ignitionSchedule1 |
Check that no ignition channel has been charging the coil for too long.
The over dwell protection system runs independently of the standard ignition schedules and monitors the time that each ignition output has been active. If the active time exceeds the tune defined amount, the output will be ended to prevent damage to coils.


Calculate the charge & discharge angles for all ignition channels.
| page2 | The tune |
| page4 | The tune |
| current | Current system state |
Initialise all ignition schedules.


Schedule all ignition channels.
| current | Current system state |
| crankAngle | Crank angle |
| dwellTime | Target dwell time |

Start the timers that drive schedulers


Utility function to stop charging all ignition coils.


Stop the timers that drive schedulers

|
extern |