95#define MIN_CYCLES_FOR_ENDCOMPARE 6
104 schedule.endScheduleSetByDecoder =
true;
integerPID_ideal boostPID & currentStatus
Definition auxiliaries.cpp:81
#define uS_TO_TIMER_COMPARE(uS1)
Definition board_avr2560.h:127
uint32_t angleToTimeMicroSecPerDegree(uint16_t angle)
Definition crankMaths.cpp:36
static int16_t ignitionLimits(int16_t angle)
Makes one pass at nudging the angle to within [0,CRANK_ANGLE_MAX_IGN].
Definition crankMaths.h:13
int CRANK_ANGLE_MAX_IGN
Definition globals.cpp:102
int CRANK_ANGLE_MAX_INJ
The number of crank degrees that the system track over. Typically 720 divided by the number of squirt...
Definition globals.cpp:103
static TIntegral readSerialIntegralTimeout(void)
Reads an integral type, timing out if necessary.
Definition comms.cpp:173
page_iterator_t advance(const page_iterator_t &it)
Definition pages.cpp:449
static uint16_t _adjustToIgnChannel(int angle, int channelInjDegrees)
Definition schedule_calcs.hpp:79
static void calculateIgnitionAngle(const uint16_t dwellAngle, const uint16_t channelIgnDegrees, int8_t advance, int *pEndAngle, int *pStartAngle)
Definition schedule_calcs.hpp:44
static void calculateIgnitionTrailingRotary(uint16_t dwellAngle, int rotarySplitDegrees, int leadIgnitionAngle, int *pEndAngle, int *pStartAngle)
Definition schedule_calcs.hpp:52
static uint32_t calculateIgnitionTimeout(const IgnitionSchedule &schedule, int startAngle, int channelIgnDegrees, int crankAngle)
Definition schedule_calcs.hpp:86
#define MIN_CYCLES_FOR_ENDCOMPARE
Definition schedule_calcs.hpp:95
static uint16_t calculateInjectorStartAngle(uint16_t pwDegrees, int16_t injChannelDegrees, uint16_t injAngle)
Definition schedule_calcs.hpp:9
static void adjustCrankAngle(IgnitionSchedule &schedule, int endAngle, int crankAngle)
Definition schedule_calcs.hpp:97
static uint32_t _calculateIgnitionTimeout(const IgnitionSchedule &schedule, int16_t startAngle, int16_t crankAngle)
Definition schedule_calcs.hpp:60
static uint32_t calculateInjectorTimeout(const FuelSchedule &schedule, int openAngle, int crankAngle)
Definition schedule_calcs.hpp:26
static bool isRunning(const Schedule &schedule)
Is the schedule action currently running?
Definition scheduler.h:190
@ PENDING
Definition scheduler.h:124
Definition scheduler.h:245
Definition scheduler.h:219
#define SET_COMPARE(compare, value)
Definition timers.h:24