2020-01-31 11:29:52 -08:00
|
|
|
/*
|
|
|
|
* boost_control.h
|
|
|
|
*
|
|
|
|
* Created on: 18. aug. 2019
|
|
|
|
* Author: Ola Ruud
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "engine.h"
|
|
|
|
#include "periodic_task.h"
|
|
|
|
|
|
|
|
void startBoostPin(void);
|
|
|
|
void stopBoostPin(void);
|
2020-03-23 20:51:51 -07:00
|
|
|
void initBoostCtrl(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX);
|
2020-01-31 11:29:52 -08:00
|
|
|
void setBoostPFactor(float p);
|
|
|
|
void setBoostIFactor(float i);
|
|
|
|
void setBoostDFactor(float d);
|
|
|
|
void setDefaultBoostParameters(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
|
|
|
void showBoostInfo(void);
|
|
|
|
void onConfigurationChangeBoostCallback(engine_configuration_s *previousConfiguration);
|