color15 2.0.0.0
|
Settings for registers of Color 15 Click driver. More...
Settings for registers of Color 15 Click driver.
#define COLOR15_BLACK_COLOR 8 |
#define COLOR15_BLACK_COLOR_LIGHTNESS 3 |
#define COLOR15_BLUE_COLOR 5 |
#define COLOR15_BLUE_COLOR_HUE_ANGLE 210 |
#define COLOR15_CLS_GAIN_DIOD_SELT_X1 0x00 |
Color 15 CLS_GAIN register settings.
Specified CLS_GAIN register settings of Color 15 Click driver.
#define COLOR15_CLS_GAIN_DIOD_SELT_X2 0x80 |
#define COLOR15_CLS_GAIN_PGA_CLS_X1 0x01 |
#define COLOR15_CLS_GAIN_PGA_CLS_X32 0x08 |
#define COLOR15_CLS_GAIN_PGA_CLS_X4 0x02 |
#define COLOR15_CLS_GAIN_PGA_CLS_X8 0x04 |
#define COLOR15_CLS_GAIN_PGA_CLS_X96 0x10 |
#define COLOR15_CLSCONV_1 0x00 |
Color 15 CLS_TIME register settings.
Specified CLS_TIME register settings of Color 15 Click driver.
#define COLOR15_CLSCONV_10 0x09 |
#define COLOR15_CLSCONV_11 0x0A |
#define COLOR15_CLSCONV_12 0x0B |
#define COLOR15_CLSCONV_13 0x0C |
#define COLOR15_CLSCONV_14 0x0D |
#define COLOR15_CLSCONV_15 0x0E |
#define COLOR15_CLSCONV_2 0x01 |
#define COLOR15_CLSCONV_3 0x02 |
#define COLOR15_CLSCONV_4 0x03 |
#define COLOR15_CLSCONV_5 0x04 |
#define COLOR15_CLSCONV_6 0x05 |
#define COLOR15_CLSCONV_7 0x06 |
#define COLOR15_CLSCONV_8 0x07 |
#define COLOR15_CLSCONV_9 0x08 |
#define COLOR15_CYAN_COLOR 4 |
#define COLOR15_CYAN_COLOR_HUE_ANGLE 150 |
#define COLOR15_DEVICE_ADDRESS 0x38 |
Color 15 device address setting.
Specified setting for device slave address selection of Color 15 Click driver.
#define COLOR15_GREEN_COLOR 3 |
#define COLOR15_GREEN_COLOR_HUE_ANGLE 90 |
#define COLOR15_HSL_HUE_RESOLUTION 360 |
Color 15 RGB to HSL calculation values.
Specified RGB to HSL calculation values of Color 15 Click driver.
#define COLOR15_HSL_LIGHTNESS_RESOLUTION 100 |
#define COLOR15_HSL_SATURATION_RESOLUTION 100 |
#define COLOR15_INT_CTRL_CLS_SYNC 0x10 |
Color 15 INT_CTRL register settings.
Specified INT_CTRL register settings of Color 15 Click driver.
#define COLOR15_INT_CTRL_EN_CINT 0x01 |
#define COLOR15_INT_FLAG_CLEAR_ALL 0x00 |
#define COLOR15_INT_FLAG_CLS 0x01 |
#define COLOR15_INT_FLAG_DATA_FLAG 0x40 |
#define COLOR15_INT_FLAG_POR 0x80 |
Color 15 INT_FLAG register settings.
Specified INT_FLAG register settings of Color 15 Click driver.
#define COLOR15_INT_SRC_BCH_DATA 0x04 |
#define COLOR15_INT_SRC_GCH_DATA 0x02 |
#define COLOR15_INT_SRC_IRCH_DATA 0x10 |
#define COLOR15_INT_SRC_RCH_DATA 0x01 |
Color 15 INT_SOURCE register settings.
Specified INT_SOURCE register settings of Color 15 Click driver.
#define COLOR15_INT_SRC_WCH_DATA 0x08 |
#define COLOR15_INT_TIME_1 0x00 |
#define COLOR15_INT_TIME_16 0x02 |
#define COLOR15_INT_TIME_4 0x01 |
#define COLOR15_INT_TIME_64 0x03 |
#define COLOR15_MAGENTA_COLOR 6 |
#define COLOR15_MAGENTA_COLOR_HUE_ANGLE 270 |
#define COLOR15_MAX_COUNT_LSB 1024 |
#define COLOR15_MAX_COUNT_RES 0xFFFF |
#define COLOR15_PRODUCT_ID_LSB 0x12 |
Color 15 product ID values.
Specified product ID values of Color 15 Click driver.
#define COLOR15_PRODUCT_ID_MSB 0x07 |
#define COLOR15_PRS_CLS_10_CLS 0x0A |
#define COLOR15_PRS_CLS_11_CLS 0x0B |
#define COLOR15_PRS_CLS_12_CLS 0x0C |
#define COLOR15_PRS_CLS_13_CLS 0x0D |
#define COLOR15_PRS_CLS_14_CLS 0x0E |
#define COLOR15_PRS_CLS_15_CLS 0x0F |
#define COLOR15_PRS_CLS_1_CLS 0x01 |
#define COLOR15_PRS_CLS_2_CLS 0x02 |
#define COLOR15_PRS_CLS_3_CLS 0x03 |
#define COLOR15_PRS_CLS_4_CLS 0x04 |
#define COLOR15_PRS_CLS_5_CLS 0x05 |
#define COLOR15_PRS_CLS_6_CLS 0x06 |
#define COLOR15_PRS_CLS_7_CLS 0x07 |
#define COLOR15_PRS_CLS_8_CLS 0x08 |
#define COLOR15_PRS_CLS_9_CLS 0x09 |
#define COLOR15_PRS_CLS_INDEPENDENT 0x00 |
Color 15 PERSISTANCE register settings.
Specified PERSISTANCE register settings of Color 15 Click driver.
#define COLOR15_RED_COLOR 1 |
#define COLOR15_RED_COLOR_HUE_ANGLE 330 |
#define COLOR15_SYSM_CTRL_EN_CLS 0x01 |
#define COLOR15_SYSM_CTRL_EN_IR 0x02 |
#define COLOR15_SYSM_CTRL_EN_WAIT 0x40 |
#define COLOR15_SYSM_CTRL_SWRST 0x80 |
Color 15 SYSM_CTRL register settings.
Specified SYSM_CTRL register settings of Color 15 Click driver.
#define COLOR15_UNKNOWN_COLOR 0 |
Color 15 color flags.
Specified color flags of Color 15 Click driver.
#define COLOR15_WAIT_TIME_MS_DEFAULT 100 |
#define COLOR15_WAIT_TIME_MS_LSB 10 |
#define COLOR15_WAIT_TIME_MS_MAX 2560 |
Color 15 WAIT_TIME register settings.
Specified WAIT_TIME register settings of Color 15 Click driver.
#define COLOR15_WAIT_TIME_MS_MIN 10 |
#define COLOR15_WAIT_TIME_RES 0xFF |
#define COLOR15_WHITE_COLOR 7 |
#define COLOR15_WHITE_COLOR_LIGHTNESS 97 |
Color 15 color from HSL thresholds.
Specified color from HSL thresholds of Color 15 Click driver.
#define COLOR15_YELLOW_COLOR 2 |
#define COLOR15_YELLOW_COLOR_HUE_ANGLE 30 |