rusefi-1/firmware/controllers/trigger/spark_logic.h

21 lines
605 B
C
Raw Normal View History

2016-09-15 15:02:36 -07:00
/*
* @file spark_logic.h
*
* @date Sep 15, 2016
* @author Andrey Belomutskiy, (c) 2012-2016
*/
#ifndef CONTROLLERS_TRIGGER_SPARK_LOGIC_H_
#define CONTROLLERS_TRIGGER_SPARK_LOGIC_H_
#include "engine.h"
int isInjectionEnabled(engine_configuration_s *engineConfiguration);
2016-09-21 21:03:00 -07:00
void handleSpark(int revolutionIndex, bool limitedSpark, uint32_t trgEventIndex, int rpm,
2016-09-21 20:03:22 -07:00
IgnitionEventList *list DECLARE_ENGINE_PARAMETER_S);
void initSparkLogic(Logging *sharedLogger);
2016-11-01 18:03:07 -07:00
void turnSparkPinHigh(IgnitionEvent *event);
void turnSparkPinLow(IgnitionEvent *event);
2016-09-15 15:02:36 -07:00
#endif /* CONTROLLERS_TRIGGER_SPARK_LOGIC_H_ */