| Patrick Venture | 391b8b0 | 2018-03-08 08:31:13 -0800 | [diff] [blame] | 1 | #pragma once | 
| Patrick Venture | 36ab6f6 | 2020-08-03 10:50:26 -0700 | [diff] [blame] | 2 |  | 
 | 3 | #include <cstdint> | 
 | 4 |  | 
 | 5 | namespace pid_control | 
 | 6 | { | 
 | 7 | namespace ipmi | 
 | 8 | { | 
 | 9 |  | 
 | 10 | enum ManualSubCmd | 
 | 11 | { | 
| Patrick Venture | 1277543 | 2020-08-04 09:57:36 -0700 | [diff] [blame] | 12 |     getControlState = 0, | 
 | 13 |     setControlState = 1, | 
 | 14 |     getFailsafeState = 2, | 
| Patrick Venture | 36ab6f6 | 2020-08-03 10:50:26 -0700 | [diff] [blame] | 15 | }; | 
 | 16 |  | 
 | 17 | struct FanCtrlRequest | 
 | 18 | { | 
 | 19 |     uint8_t command; | 
 | 20 |     uint8_t zone; | 
 | 21 | } __attribute__((packed)); | 
 | 22 |  | 
 | 23 | struct 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 |