wideband/firmware/heater_control.h

18 lines
281 B
C++

#pragma once
#include <cstdint>
enum class HeaterState
{
Preheat,
WarmupRamp,
ClosedLoop,
Stopped,
};
void StartHeaterControl();
bool IsRunningClosedLoop();
float GetHeaterDuty();
HeaterState GetHeaterState();
const char* describeHeaterState(HeaterState state);