Corsair Lighting Protocol  0.15.0
Control LEDs connected to an Arduino with iCUE
FanController.h File Reference
#include "Arduino.h"
#include "IFanController.h"
+ Include dependency graph for FanController.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Defines types and constants of the fan protocol

Enumeration Type Documentation

◆ FanDetectionType

enum FanDetectionType : byte
strong

The virtual state of a fan port.

See also
FanMask
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

◆ FanMask

enum FanMask : byte
strong

The actual state of a fan port.

See also
FanDetectionType
Enumerator
Disconnected 

No fan connected

ThreePin 

A three pin fan is connected

FourPin 

A four pin fan is connected