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
|
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
|
|
|
|
2021-04-21 11:28:48 -07:00
|
|
|
void initAlternatorCtrl();
|
2020-12-06 15:39:50 -08:00
|
|
|
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);
|
|
|
|
|
2016-09-15 20:01:48 -07:00
|
|
|
void onConfigurationChangeAlternatorCallback(engine_configuration_s *previousConfiguration);
|