rusefi-1/firmware/controllers/injector_central.h

26 lines
581 B
C
Raw Normal View History

2014-08-29 07:52:33 -07:00
/**
* @file injector_central.h
* @brief Utility methods related to fuel injection.
*
2015-01-09 11:06:43 -08:00
* todo: rename this file
2014-08-29 07:52:33 -07:00
*
* @date Sep 8, 2013
2015-01-12 15:04:10 -08:00
* @author Andrey Belomutskiy, (c) 2012-2015
2014-08-29 07:52:33 -07:00
*/
#ifndef INJECTOR_CENTRAL_H_
#define INJECTOR_CENTRAL_H_
#include "signal_executor.h"
2014-11-05 20:03:20 -08:00
#include "engine.h"
2014-08-29 07:52:33 -07:00
2015-01-09 11:06:43 -08:00
void fanBench(void);
void fuelPumpBench(void);
2014-11-05 20:03:20 -08:00
void initInjectorCentral(Engine *engine);
2015-01-01 12:03:40 -08:00
void initIgnitionCentral(void);
2014-11-05 20:03:20 -08:00
bool_t isRunningBenchTest(void);
2014-08-29 07:52:33 -07:00
int isInjectorEnabled(int cylinderId);
void assertCylinderId(int cylinderId, const char *msg);
#endif /* INJECTOR_CENTRAL_H_ */