rusefi-1/firmware/controllers/actuators/alternator_controller.h

27 lines
578 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/**
* @file alternator_controller.h
2015-07-10 06:01:56 -07:00
* @brief alternator controller
*
* @date Apr 6, 2014
* @author Dmitry Sidin
2020-01-13 18:57:43 -08:00
* @author Andrey Belomutskiy, (c) 2012-2020
2015-07-10 06:01:56 -07:00
*
*/
2020-03-23 19:31:24 -07:00
#pragma once
2015-07-10 06:01:56 -07:00
void initAlternatorCtrl();
void startAlternatorPin(void);
void stopAlternatorPin(void);
2015-07-10 06:01:56 -07:00
void setAltPFactor(float p);
2017-05-22 19:31:41 -07:00
void setAltIFactor(float p);
void setAltDFactor(float p);
2015-07-10 06:01:56 -07:00
void showAltInfo(void);
class AlternatorController : public EngineModule {
public:
void onFastCallback() override;
};
2016-09-15 20:01:48 -07:00
void onConfigurationChangeAlternatorCallback(engine_configuration_s *previousConfiguration);