|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
Color Light Sensing shared. More...


Functions | |
| FctERR | CLS_get_chromacity (float xy[2], uint32_t *const illum, const float mat[3][3], const uint16_t r, const uint16_t g, const uint16_t b) |
| Determining chromacity following RGB values. | |
| FctERR | CLS_get_CCT (uint32_t *const cct, const float xy[2]) |
| Determining CCT (correlated temperature) following xy values. | |
Variables | |
| const float | CLS_RGB2XYZ_Default [3][3] |
Color Light Sensing shared.
| FctERR CLS_get_CCT | ( | uint32_t *const | cct, |
| const float | xy[2] ) |
Determining CCT (correlated temperature) following xy values.
| [in,out] | cct | - Pointer to CCT result |
| [in] | xy | - Pointer to chromacity coordinates |
| FctERR CLS_get_chromacity | ( | float | xy[2], |
| uint32_t *const | illum, | ||
| const float | mat[3][3], | ||
| const uint16_t | r, | ||
| const uint16_t | g, | ||
| const uint16_t | b ) |
Determining chromacity following RGB values.
| [in,out] | xy | - Pointer to chromacity coordinates result |
| [in,out] | illum | - Pointer to illuminance result |
| [in] | mat | - pointer to conversion matrix (RGB to XYZ) |
| [in] | r | - Red value |
| [in] | g | - Green value |
| [in] | b | - Blue value |
Determining chromacity following RGB values.
|
extern |