Elektronische_Last/Source/FanControl.hpp
Carsten Keller 063456aaca
TIM3 CH1 (PC6) mit 25kHz initialisiert.
Über LL_TIM_OC_SetCompareCH1 kann der Duty-Cycle bestimmt werden von 0 bis 2559 (0 - 100%)
2024-06-09 17:57:51 +02:00

27 lines
408 B
C++

/*
* FanControl.hpp
*
* Created on: 27.07.2023
* Author: Carst
*/
#ifndef FANCONTROL_HPP_
#define FANCONTROL_HPP_
#include <cstdint>
namespace ElektronischeLast
{
class FanControl
{
public:
FanControl(void);
~FanControl(void);
void run(std::uint32_t temp);
private:
std::uint32_t compare_value;
};
}
#endif /* FANCONTROL_HPP_ */