#include <stdint.h>
#include "scheduler.h"
#include "schedule_calcs.hpp"
Go to the source code of this file.
|
| static uint16_t | calculateInjectorStartAngle (uint16_t PWdivTimerPerDegree, int16_t injChannelDegrees, uint16_t injAngle) |
| |
| static uint32_t | calculateInjectorTimeout (const FuelSchedule &schedule, int16_t injectorStartAngle, int16_t crankAngle) |
| |
| static void | calculateIgnitionAngles (IgnitionSchedule &schedule, uint16_t dwellAngle, int8_t advance) |
| |
| static void | calculateIgnitionTrailingRotary (IgnitionSchedule &leading, uint16_t dwellAngle, int16_t rotarySplitDegrees, IgnitionSchedule &trailing) |
| |
| static uint32_t | _calculateIgnitionTimeout (const IgnitionSchedule &schedule, int16_t crankAngle) |
| |
◆ _calculateIgnitionTimeout()
◆ calculateIgnitionAngles()
◆ calculateIgnitionTrailingRotary()
◆ calculateInjectorStartAngle()
◆ calculateInjectorTimeout()
◆ channel1InjDegrees
The number of crank degrees until cylinder 1 is at TDC (This is obviously 0 for virtually ALL engines, but there's some weird ones)
◆ channel2InjDegrees
The number of crank degrees until cylinder 2 (and 5/6/7/8) is at TDC
◆ channel3InjDegrees
The number of crank degrees until cylinder 3 (and 5/6/7/8) is at TDC
◆ channel4InjDegrees
The number of crank degrees until cylinder 4 (and 5/6/7/8) is at TDC