2015-07-10 06:01:56 -07:00
|
|
|
/**
|
|
|
|
* @file trigger_emulator_algo.h
|
|
|
|
*
|
|
|
|
* @date Mar 3, 2014
|
2017-01-03 03:05:22 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TRIGGER_EMULATOR_ALGO_H_
|
|
|
|
#define TRIGGER_EMULATOR_ALGO_H_
|
|
|
|
|
|
|
|
#include "engine.h"
|
|
|
|
#include "pwm_generator_logic.h"
|
|
|
|
|
|
|
|
class TriggerEmulatorHelper {
|
|
|
|
public:
|
|
|
|
TriggerEmulatorHelper();
|
|
|
|
void handleEmulatorCallback(PwmConfig *state, int stateIndex);
|
|
|
|
};
|
|
|
|
|
2019-01-09 05:50:51 -08:00
|
|
|
void initTriggerEmulatorLogic(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX);
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
#endif /* TRIGGER_EMULATOR_ALGO_H_ */
|