2015-07-10 06:01:56 -07:00
|
|
|
/**
|
2019-03-31 13:56:13 -07:00
|
|
|
* @file alternator_controller.h
|
2015-07-10 06:01:56 -07:00
|
|
|
* @brief alternator controller
|
|
|
|
*
|
|
|
|
* @date Apr 6, 2014
|
|
|
|
* @author Dmitry Sidin
|
2017-01-03 03:05:22 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
2015-07-10 06:01:56 -07:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
#ifndef ALTERNATORCONTROLLER_H_
|
|
|
|
#define ALTERNATORCONTROLLER_H_
|
|
|
|
|
2019-03-31 13:56:13 -07:00
|
|
|
#include "engine.h"
|
2015-07-10 06:01:56 -07:00
|
|
|
void initAlternatorCtrl(Logging *sharedLogger);
|
|
|
|
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);
|
2019-08-29 20:50:20 -07:00
|
|
|
void setDefaultAlternatorParameters(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
2015-07-10 06:01:56 -07:00
|
|
|
|
2016-09-15 20:01:48 -07:00
|
|
|
void onConfigurationChangeAlternatorCallback(engine_configuration_s *previousConfiguration);
|
|
|
|
|
2015-07-10 06:01:56 -07:00
|
|
|
#endif /* ALTERNATORCONTROLLER_H_ */
|