blob: 5418d60ba7a59fb2932fb0df92e6da3c81895241 [file] [log] [blame]
Patrick Venture9bf5cef2020-08-16 08:59:54 -07001#pragma once
2
3#include <cstdint>
4
5namespace pid_control
6{
7namespace ipmi
8{
9
10enum ManualSubCmd
11{
12 getControlState = 0,
13 setControlState = 1,
14 getFailsafeState = 2,
15};
16
17struct FanCtrlRequest
18{
19 uint8_t command;
20 uint8_t zone;
21} __attribute__((packed));
22
23struct FanCtrlRequestSet
24{
25 uint8_t command;
26 uint8_t zone;
27 uint8_t value;
28} __attribute__((packed));
29
30} // namespace ipmi
31} // namespace pid_control