#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, int channelInjDegrees, int injectorStartAngle, int crankAngle) |
|
static void | calculateIgnitionAngle (const uint16_t dwellAngle, const uint16_t channelIgnDegrees, int8_t advance, int *pEndAngle, int *pStartAngle) |
|
static void | calculateIgnitionTrailingRotary (uint16_t dwellAngle, int rotarySplitDegrees, int leadIgnitionAngle, int *pEndAngle, int *pStartAngle) |
|
static uint32_t | calculateIgnitionTimeout (const IgnitionSchedule &schedule, int startAngle, int channelIgnDegrees, int crankAngle) |
|
◆ calculateIgnitionAngle()
◆ calculateIgnitionTimeout()
◆ calculateIgnitionTrailingRotary()
static void calculateIgnitionTrailingRotary |
( |
uint16_t |
dwellAngle, |
|
|
int |
rotarySplitDegrees, |
|
|
int |
leadIgnitionAngle, |
|
|
int * |
pEndAngle, |
|
|
int * |
pStartAngle |
|
) |
| |
|
inlinestatic |
◆ calculateInjectorStartAngle()
◆ calculateInjectorTimeout()
◆ channel1IgnDegrees
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)
◆ 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)
◆ channel2IgnDegrees
The number of crank degrees until cylinder 2 (and 5/6/7/8) is at TDC
◆ channel2InjDegrees
The number of crank degrees until cylinder 2 (and 5/6/7/8) is at TDC
◆ channel3IgnDegrees
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
◆ channel4IgnDegrees
The number of crank degrees until cylinder 2 (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
◆ ignition1EndAngle
◆ ignition1StartAngle
◆ ignition2EndAngle
◆ ignition2StartAngle
◆ ignition3EndAngle
◆ ignition3StartAngle
◆ ignition4EndAngle
◆ ignition4StartAngle