mirror of https://github.com/rusefi/wideband.git
19 lines
319 B
C++
19 lines
319 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
enum class HeaterState
|
|
{
|
|
Preheat,
|
|
WarmupRamp,
|
|
ClosedLoop,
|
|
Stopped,
|
|
NoHeaterSupply,
|
|
};
|
|
|
|
void StartHeaterControl();
|
|
bool IsRunningClosedLoop(int ch);
|
|
float GetHeaterDuty(int ch);
|
|
HeaterState GetHeaterState(int ch);
|
|
const char* describeHeaterState(HeaterState state);
|