#include <FanController.h>
The abstract implementation of IFanController. This implementation handles the parsing and interpretation of incoming commands.
◆ getFanDetectionType()
Get the fan DetectionType for a fan.
- Parameters
-
- Returns
- the FanDetectionType
Implemented in SimpleFanController.
◆ getFanPower()
virtual uint8_t FanController::getFanPower |
( |
uint8_t |
fan | ) |
|
|
protectedpure virtual |
Get the power percentage of a fan.
- Parameters
-
- Returns
- power percentage, in range 0-255 with 255 mean 100%.
Implemented in SimpleFanController.
◆ getFanSpeed()
virtual uint16_t FanController::getFanSpeed |
( |
uint8_t |
fan | ) |
|
|
protectedpure virtual |
◆ handleFanControl()
Handle a command and send back a response. This method is called if a new command for the FanController is received.
- Parameters
-
command | the command which must be handled |
response | the callback used for the response |
Implements IFanController.
◆ setFanCurve()
virtual void FanController::setFanCurve |
( |
uint8_t |
fan, |
|
|
uint8_t |
group, |
|
|
FanCurve & |
fanCurve |
|
) |
| |
|
protectedpure virtual |
Set a FanCure for a fan.
- Parameters
-
fan | index of the fan |
group | the temperature group used for getting the temperature for this fan |
fanCurve | the fan curve data |
Implemented in SimpleFanController.
◆ setFanDetectionType()
virtual void FanController::setFanDetectionType |
( |
uint8_t |
fan, |
|
|
FanDetectionType |
type |
|
) |
| |
|
protectedpure virtual |
Set the fan DetectionType for a fan.
- Parameters
-
fan | index of the fan |
type | the FanDetectionType |
Implemented in SimpleFanController.
◆ setFanExternalTemperature()
virtual void FanController::setFanExternalTemperature |
( |
uint8_t |
fan, |
|
|
uint16_t |
temp |
|
) |
| |
|
protectedpure virtual |
Set the external temperature for a fan. The external temperature is provied by the iCUE.
- Parameters
-
fan | index of the fan |
temp | The temperature in hundredths of a degree Celsius. |
Implemented in SimpleFanController.
◆ setFanForce3PinMode()
virtual void FanController::setFanForce3PinMode |
( |
bool |
flag | ) |
|
|
protectedpure virtual |
◆ setFanPower()
virtual void FanController::setFanPower |
( |
uint8_t |
fan, |
|
|
uint8_t |
percentage |
|
) |
| |
|
protectedpure virtual |
◆ setFanSpeed()
virtual void FanController::setFanSpeed |
( |
uint8_t |
fan, |
|
|
uint16_t |
speed |
|
) |
| |
|
protectedpure virtual |
Set the fan speed to a fixed value.
- Parameters
-
fan | index of the fan |
speed | fan speed in RPM. |
Implemented in SimpleFanController.
The documentation for this class was generated from the following files: