NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
color.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  rgbColor24bpp_t
 
struct  hsvColor_s
 

Macros

#define RGB_COLOR_COMPONENT_COUNT   (RGB_BLUE + 1)
 
#define HSV_HUE_MAX   359
 
#define HSV_SATURATION_MAX   255
 
#define HSV_VALUE_MAX   255
 
#define HSV_COLOR_COMPONENT_COUNT   (HSV_VALUE + 1)
 

Typedefs

typedef struct hsvColor_s hsvColor_t
 

Enumerations

enum  colorComponent_e { RGB_RED = 0, RGB_GREEN, RGB_BLUE }
 
enum  hsvColorComponent_e { HSV_HUE = 0, HSV_SATURATION, HSV_VALUE }
 

Macro Definition Documentation

#define HSV_COLOR_COMPONENT_COUNT   (HSV_VALUE + 1)
#define HSV_HUE_MAX   359
#define HSV_SATURATION_MAX   255
#define HSV_VALUE_MAX   255
#define RGB_COLOR_COMPONENT_COUNT   (RGB_BLUE + 1)

Typedef Documentation

typedef struct hsvColor_s hsvColor_t

Enumeration Type Documentation

Enumerator
RGB_RED 
RGB_GREEN 
RGB_BLUE 
Enumerator
HSV_HUE 
HSV_SATURATION 
HSV_VALUE