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);
|
2015-05-17 11:08:56 -07:00
|
|
|
void initInjectorCentral(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);
|
|
|
|
|
2015-05-17 11:08:56 -07:00
|
|
|
void stopInjectionPins(void);
|
|
|
|
void startInjectionPins(void);
|
|
|
|
|
|
|
|
void stopIgnitionPins(void);
|
|
|
|
void startIgnitionPins(void);
|
|
|
|
|
2014-08-29 07:52:33 -07:00
|
|
|
#endif /* INJECTOR_CENTRAL_H_ */
|