blob: 86edd313903380b442673ee455725cc13507dab5 [file] [log] [blame]
Patrick Venture9bf5cef2020-08-16 08:59:54 -07001#pragma once
2
3#include <cstdint>
4
George Liu92110f82025-07-02 15:07:35 +08005namespace pid_control::ipmi
Patrick Venture9bf5cef2020-08-16 08:59:54 -07006{
7
8enum ManualSubCmd
9{
10 getControlState = 0,
11 setControlState = 1,
12 getFailsafeState = 2,
13};
14
15struct FanCtrlRequest
16{
17 uint8_t command;
18 uint8_t zone;
19} __attribute__((packed));
20
21struct FanCtrlRequestSet
22{
23 uint8_t command;
24 uint8_t zone;
25 uint8_t value;
26} __attribute__((packed));
27
George Liu92110f82025-07-02 15:07:35 +080028} // namespace pid_control::ipmi