0.3.1
RGB888

Data Structures

union  rgb888
 Not yet documented. More...
 
struct  rgb888.__unnamed8__
 

Macros

#define RGB888_INITIALIZER(_cc, _r, _g, _b)
 Not yet documented.
 
#define RGB888(_cc, _r, _g, _b)    ((rgb888_t)RGB888_INITIALIZER(_cc, _r, _g, _b))
 Not yet documented.
 
#define RGB1555_RGB888_INITIALIZER(_msb, _r, _g, _b, _cc)
 Not yet documented.
 
#define RGB1555_RGB888(_msb, _r, _g, _b, _cc)    ((rgb888_t)RGB1555_RGB888_INITIALIZER(_msb, _r, _g, _b, _cc))
 Not yet documented.
 

Typedefs

typedef union rgb1555 rgb1555_t
 Not yet documented.
 
typedef union rgb888 rgb888_t
 Not yet documented.
 
typedef union hsv hsv_t
 Not yet documented.
 

Functions

void rgb1555_rgb888_conv (const rgb1555_t *color_1555, rgb888_t *result)
 Not yet documented.
 

Detailed Description

Description goes here.


Data Structure Documentation

◆ rgb888

union rgb888

Not yet documented.

Data Fields
struct rgb888.__unnamed8__ __unnamed__
uint8_t comp[3] Not yet documented.
uint32_t raw Not yet documented.

◆ rgb888.__unnamed8__

struct rgb888.__unnamed8__
Data Fields
unsigned int cc:1 Not yet documented.
unsigned int b:8 Not yet documented.
unsigned int g:8 Not yet documented.
unsigned int r:8 Not yet documented.

Macro Definition Documentation

◆ RGB888_INITIALIZER

#define RGB888_INITIALIZER (   _cc,
  _r,
  _g,
  _b 
)
Value:
{ \
{ \
_cc, \
_b, \
_g, \
_r \
} \
}

Not yet documented.

Parameters
_ccNot yet documented.
_rNot yet documented.
_gNot yet documented.
_bNot yet documented.

◆ RGB888

#define RGB888 (   _cc,
  _r,
  _g,
  _b 
)     ((rgb888_t)RGB888_INITIALIZER(_cc, _r, _g, _b))

Not yet documented.

Parameters
_ccNot yet documented.
_rNot yet documented.
_gNot yet documented.
_bNot yet documented.

◆ RGB1555_RGB888_INITIALIZER

#define RGB1555_RGB888_INITIALIZER (   _msb,
  _r,
  _g,
  _b,
  _cc 
)
Value:
RGB888_INITIALIZER(_cc, ((_r) << 3) | ((_r) & 7), \
((_g) << 3) | ((_g) & 7), \
((_b) << 3) | ((_b) & 7))
#define RGB888_INITIALIZER(_cc, _r, _g, _b)
Not yet documented.
Definition: rgb888.h:43

Not yet documented.

Parameters
_msbNot yet documented.
_rNot yet documented.
_gNot yet documented.
_bNot yet documented.
_ccNot yet documunted.

◆ RGB1555_RGB888

#define RGB1555_RGB888 (   _msb,
  _r,
  _g,
  _b,
  _cc 
)     ((rgb888_t)RGB1555_RGB888_INITIALIZER(_msb, _r, _g, _b, _cc))

Not yet documented.

Parameters
_msbNot yet documented.
_rNot yet documented.
_gNot yet documented.
_bNot yet documented.
_ccNot yet documented.

Function Documentation

◆ rgb1555_rgb888_conv()

void rgb1555_rgb888_conv ( const rgb1555_t color_1555,
rgb888_t result 
)

Not yet documented.

Parameters
[in]color_1555Not yet documented.
[out]resultNot yet documunted.