wideband/firmware/heater_control.h

20 lines
354 B
C++

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