rusefi-1/firmware/controllers/injector_central.h

32 lines
718 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/**
* @file injector_central.h
* @brief Utility methods related to fuel injection.
*
* todo: rename this file
*
* @date Sep 8, 2013
2015-12-31 13:02:30 -08:00
* @author Andrey Belomutskiy, (c) 2012-2016
2015-07-10 06:01:56 -07:00
*/
#ifndef INJECTOR_CENTRAL_H_
#define INJECTOR_CENTRAL_H_
#include "signal_executor.h"
#include "engine.h"
void fanBench(void);
void fuelPumpBench(void);
2016-03-14 20:01:43 -07:00
void initInjectorCentral(Logging *sharedLogger);
2016-01-11 14:01:33 -08:00
bool isRunningBenchTest(void);
2015-07-10 06:01:56 -07:00
int isInjectorEnabled(int cylinderId);
void assertCylinderId(int cylinderId, const char *msg);
void stopInjectionPins(void);
void startInjectionPins(void);
void stopIgnitionPins(void);
void startIgnitionPins(void);
2016-03-14 20:01:43 -07:00
void runIoTest(int subsystem, int index);
2015-07-10 06:01:56 -07:00
#endif /* INJECTOR_CENTRAL_H_ */