rusefi-1/firmware/controllers/injector_central.h

34 lines
821 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-2017
*/
#ifndef INJECTOR_CENTRAL_H_
#define INJECTOR_CENTRAL_H_
#include "signal_executor.h"
#include "engine.h"
void fanBench(void);
void fuelPumpBench(void);
void milBench(void);
void initInjectorCentral(Logging *sharedLogger);
bool isRunningBenchTest(void);
int isInjectorEnabled(int cylinderId);
void assertCylinderId(int cylinderId, const char *msg);
void stopInjectionPins(void);
void startInjectionPins(void);
void unregisterOutput(brain_pin_e oldPin, brain_pin_e newPin, OutputPin *output);
void stopIgnitionPins(void);
void startIgnitionPins(void);
void runIoTest(int subsystem, int index);
#endif /* INJECTOR_CENTRAL_H_ */