29 #if EFI_PRINTF_FUEL_DETAILS
33 #if EFI_SIGNAL_EXECUTOR_SLEEP
44 #if EFI_PRINTF_FUEL_DETAILS
47 printf(
"executing cb=turnInjectionPinLow p=%d sch=%d now=%d\r\n", (
int)scheduling->
action.
getArgument(), (
int)scheduling,
58 int delaySt = MY_US2ST(delayUs);
67 chibios_rt::CriticalSectionLocker csl;
69 scheduling->
action = action;
70 int isArmed = chVTIsArmedI(&scheduling->
timer);
75 chVTResetI(&scheduling->
timer);
94 chibios_rt::CriticalSectionLocker csl;
96 if (chVTIsArmedI(&s->
timer)) {
97 chVTResetI(&s->
timer);
void scheduleByTimestampNt(const char *msg, scheduling_s *scheduling, efitick_t timeNt, action_s action) override
void scheduleForLater(const char *msg, scheduling_s *scheduling, int delayUs, action_s action) override
void scheduleByTimestamp(const char *msg, scheduling_s *scheduling, efitimeus_t timeUs, action_s action) override
void cancel(scheduling_s *s) override
void * getArgument() const
schfunc_t getCallback() const
efitimeus_t getTimeNowUs()
static WrapAround62 timeNt
void turnInjectionPinLow(InjectionEvent *event)
void(* schfunc_t)(void *)
static void timerCallback(scheduling_s *scheduling)
static void doScheduleForLater(scheduling_s *scheduling, int delayUs, action_s action)