Elektronische_Last/Source/FanControl.hpp

29 lines
459 B
C++

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