color2 2.0.0.0

Topics

 MikroBUS
 
 Error Code
 
 Config Registers
 
 Interrupt Registers
 
 STATUS FLAG MASKS
 

Macros

#define COLOR2_UNKNOWN_COLOR   0
 Color 2 color flags.
 
#define COLOR2_RED_COLOR   1
 
#define COLOR2_YELLOW_COLOR   2
 
#define COLOR2_GREEN_COLOR   3
 
#define COLOR2_CYAN_COLOR   4
 
#define COLOR2_BLUE_COLOR   5
 
#define COLOR2_MAGENTA_COLOR   6
 
#define COLOR2_WHITE_COLOR   7
 
#define COLOR2_BLACK_COLOR   8
 
#define COLOR2_WHITE_COLOR_LIGHTNESS   97
 Color 2 color from HSL thresholds.
 
#define COLOR2_BLACK_COLOR_LIGHTNESS   3
 
#define COLOR2_YELLOW_COLOR_HUE_ANGLE   30
 
#define COLOR2_GREEN_COLOR_HUE_ANGLE   90
 
#define COLOR2_CYAN_COLOR_HUE_ANGLE   150
 
#define COLOR2_BLUE_COLOR_HUE_ANGLE   210
 
#define COLOR2_MAGENTA_COLOR_HUE_ANGLE   270
 
#define COLOR2_RED_COLOR_HUE_ANGLE   330
 
#define COLOR2_HSL_HUE_RESOLUTION   360
 Color 2 RGB to HSL calculation values.
 
#define COLOR2_HSL_SATURATION_RESOLUTION   100
 
#define COLOR2_HSL_LIGHTNESS_RESOLUTION   100
 

Detailed Description

Any initialization code needed for MCU to function properly. Do not remove this line or clock might not be set correctly.

Macro Definition Documentation

◆ COLOR2_BLACK_COLOR

#define COLOR2_BLACK_COLOR   8

◆ COLOR2_BLACK_COLOR_LIGHTNESS

#define COLOR2_BLACK_COLOR_LIGHTNESS   3

◆ COLOR2_BLUE_COLOR

#define COLOR2_BLUE_COLOR   5

◆ COLOR2_BLUE_COLOR_HUE_ANGLE

#define COLOR2_BLUE_COLOR_HUE_ANGLE   210

◆ COLOR2_CYAN_COLOR

#define COLOR2_CYAN_COLOR   4

◆ COLOR2_CYAN_COLOR_HUE_ANGLE

#define COLOR2_CYAN_COLOR_HUE_ANGLE   150

◆ COLOR2_GREEN_COLOR

#define COLOR2_GREEN_COLOR   3

◆ COLOR2_GREEN_COLOR_HUE_ANGLE

#define COLOR2_GREEN_COLOR_HUE_ANGLE   90

◆ COLOR2_HSL_HUE_RESOLUTION

#define COLOR2_HSL_HUE_RESOLUTION   360

Color 2 RGB to HSL calculation values.

Specified RGB to HSL calculation values of Color 2 Click driver.

◆ COLOR2_HSL_LIGHTNESS_RESOLUTION

#define COLOR2_HSL_LIGHTNESS_RESOLUTION   100

◆ COLOR2_HSL_SATURATION_RESOLUTION

#define COLOR2_HSL_SATURATION_RESOLUTION   100

◆ COLOR2_MAGENTA_COLOR

#define COLOR2_MAGENTA_COLOR   6

◆ COLOR2_MAGENTA_COLOR_HUE_ANGLE

#define COLOR2_MAGENTA_COLOR_HUE_ANGLE   270

◆ COLOR2_RED_COLOR

#define COLOR2_RED_COLOR   1

◆ COLOR2_RED_COLOR_HUE_ANGLE

#define COLOR2_RED_COLOR_HUE_ANGLE   330

◆ COLOR2_UNKNOWN_COLOR

#define COLOR2_UNKNOWN_COLOR   0

Color 2 color flags.

Specified color flags of Color 2 Click driver.

◆ COLOR2_WHITE_COLOR

#define COLOR2_WHITE_COLOR   7

◆ COLOR2_WHITE_COLOR_LIGHTNESS

#define COLOR2_WHITE_COLOR_LIGHTNESS   97

Color 2 color from HSL thresholds.

Specified color from HSL thresholds of Color 2 Click driver.

◆ COLOR2_YELLOW_COLOR

#define COLOR2_YELLOW_COLOR   2

◆ COLOR2_YELLOW_COLOR_HUE_ANGLE

#define COLOR2_YELLOW_COLOR_HUE_ANGLE   30