wideband/firmware/heater_control.h

18 lines
281 B
C
Raw Normal View History

2020-10-30 01:53:54 -07:00
#pragma once
2020-12-15 15:00:11 -08:00
#include <cstdint>
enum class HeaterState
{
Preheat,
WarmupRamp,
ClosedLoop,
Stopped,
};
2020-10-30 01:53:54 -07:00
void StartHeaterControl();
2020-10-31 14:54:50 -07:00
bool IsRunningClosedLoop();
2022-01-26 10:56:58 -08:00
float GetHeaterDuty();
HeaterState GetHeaterState();
const char* describeHeaterState(HeaterState state);