31 lines
661 B
C
31 lines
661 B
C
|
/**
|
||
|
* @file injector_central.h
|
||
|
* @brief Utility methods related to fuel injection.
|
||
|
*
|
||
|
* todo: rename this file
|
||
|
*
|
||
|
* @date Sep 8, 2013
|
||
|
* @author Andrey Belomutskiy, (c) 2012-2015
|
||
|
*/
|
||
|
|
||
|
#ifndef INJECTOR_CENTRAL_H_
|
||
|
#define INJECTOR_CENTRAL_H_
|
||
|
|
||
|
#include "signal_executor.h"
|
||
|
#include "engine.h"
|
||
|
|
||
|
void fanBench(void);
|
||
|
void fuelPumpBench(void);
|
||
|
void initInjectorCentral(void);
|
||
|
bool_t isRunningBenchTest(void);
|
||
|
int isInjectorEnabled(int cylinderId);
|
||
|
void assertCylinderId(int cylinderId, const char *msg);
|
||
|
|
||
|
void stopInjectionPins(void);
|
||
|
void startInjectionPins(void);
|
||
|
|
||
|
void stopIgnitionPins(void);
|
||
|
void startIgnitionPins(void);
|
||
|
|
||
|
#endif /* INJECTOR_CENTRAL_H_ */
|