Corsair Lighting Protocol
0.15.0
Control LEDs connected to an Arduino with iCUE
|
#include "Arduino.h"
#include "IFanController.h"
Go to the source code of this file.
Classes | |
struct | FanCurve |
class | FanController |
Macros | |
#define | FAN_NUM 6 |
#define | FAN_FORCE_THREE_PIN_MODE_ON 0x01 |
#define | FAN_FORCE_THREE_PIN_MODE_OFF 0x00 |
#define | FAN_CURVE_POINTS_NUM 6 |
#define | FAN_CURVE_TEMP_GROUP_EXTERNAL 255 |
Enumerations | |
enum class | FanMask : byte { Disconnected = 0x00 , ThreePin = 0x01 , FourPin = 0x02 } |
enum class | FanDetectionType : byte { Auto = 0x00 , ThreePin = 0x01 , FourPin = 0x02 , Disconnected = 0x03 } |
Functions | |
bool | isValidFanMask (const FanMask fanMask) |
bool | isValidFanDetectionType (const FanDetectionType type) |
Defines types and constants of the fan protocol
|
strong |
The virtual state of a fan port.
Enumerator | |
---|---|
Auto | Auto detect the type of fan which is connected |
ThreePin | A three pin fan is connected |
FourPin | A four pin fan is connected |
Disconnected | No fan connected |
|
strong |
The actual state of a fan port.
Enumerator | |
---|---|
Disconnected | No fan connected |
ThreePin | A three pin fan is connected |
FourPin | A four pin fan is connected |