24 #include "IFanController.h"
42 bool isValidFanMask(
const FanMask fanMask);
62 #define FAN_FORCE_THREE_PIN_MODE_ON 0x01
63 #define FAN_FORCE_THREE_PIN_MODE_OFF 0x00
65 #define FAN_CURVE_POINTS_NUM 6
67 #define FAN_CURVE_TEMP_GROUP_EXTERNAL 255
81 uint16_t
rpms[FAN_CURVE_POINTS_NUM];
FanDetectionType
Definition: FanController.h:49
FanMask
Definition: FanController.h:33
Definition: CorsairLightingProtocolResponse.h:20
Definition: FanController.h:88
virtual void setFanDetectionType(uint8_t fan, FanDetectionType type)=0
virtual uint8_t getFanPower(uint8_t fan)=0
virtual void setFanCurve(uint8_t fan, uint8_t group, FanCurve &fanCurve)=0
virtual void setFanExternalTemperature(uint8_t fan, uint16_t temp)=0
virtual uint16_t getFanSpeed(uint8_t fan)=0
virtual void setFanSpeed(uint8_t fan, uint16_t speed)=0
virtual void setFanForce3PinMode(bool flag)=0
virtual void handleFanControl(const Command &command, const CorsairLightingProtocolResponse *response) override
Definition: FanController.cpp:29
virtual void setFanPower(uint8_t fan, uint8_t percentage)=0
virtual FanDetectionType getFanDetectionType(uint8_t fan)=0
Definition: IFanController.h:25
Definition: CorsairLightingProtocolConstants.h:110
Definition: FanController.h:73
uint16_t rpms[FAN_CURVE_POINTS_NUM]
Definition: FanController.h:81
uint16_t temperatures[FAN_CURVE_POINTS_NUM]
Definition: FanController.h:77