blob: 5418d60ba7a59fb2932fb0df92e6da3c81895241 [file] [log] [blame]
#pragma once
#include <cstdint>
namespace pid_control
{
namespace ipmi
{
enum ManualSubCmd
{
getControlState = 0,
setControlState = 1,
getFailsafeState = 2,
};
struct FanCtrlRequest
{
uint8_t command;
uint8_t zone;
} __attribute__((packed));
struct FanCtrlRequestSet
{
uint8_t command;
uint8_t zone;
uint8_t value;
} __attribute__((packed));
} // namespace ipmi
} // namespace pid_control