fome-fw/firmware/controllers/system/timer/signal_executor_sleep.h

21 lines
589 B
C++

/*
* @file signal_executir_sleep.h
* @date Oct 28, 2013
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#ifndef SIGNAL_EXECUTOR_SLEEP_H_
#define SIGNAL_EXECUTOR_SLEEP_H_
#include "scheduler.h"
class SleepExecutor : public ExecutorInterface {
public:
void scheduleByTimestamp(scheduling_s *scheduling, efitimeus_t timeUs, action_s action) override;
void scheduleByTimestampNt(scheduling_s *scheduling, efitick_t timeNt, action_s action) override;
void scheduleForLater(scheduling_s *scheduling, int delayUs, action_s action) override;
};
#endif /* SIGNAL_EXECUTOR_SLEEP_H_ */