mirror of https://github.com/rusefi/rusefi-1.git
27 lines
578 B
C++
27 lines
578 B
C++
/**
|
|
* @file alternator_controller.h
|
|
* @brief alternator controller
|
|
*
|
|
* @date Apr 6, 2014
|
|
* @author Dmitry Sidin
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
void initAlternatorCtrl();
|
|
void startAlternatorPin(void);
|
|
void stopAlternatorPin(void);
|
|
void setAltPFactor(float p);
|
|
void setAltIFactor(float p);
|
|
void setAltDFactor(float p);
|
|
void showAltInfo(void);
|
|
|
|
class AlternatorController : public EngineModule {
|
|
public:
|
|
void onFastCallback() override;
|
|
};
|
|
|
|
void onConfigurationChangeAlternatorCallback(engine_configuration_s *previousConfiguration);
|