14#ifndef CC_COLOR_SWITCH_H
15#define CC_COLOR_SWITCH_H
struct actuator s_Actuator
EColorComponents_
Definition CC_ColorSwitch.h:30
enum EColorComponents_ EColorComponents
void cc_color_switch_refresh_cb(void)
Can be used as single cb function for all colors. Defined in the app. Called when change takes place ...
struct colorComponent_ s_colorComponent
@ ECOLORCOMPONENT_COLD_WHITE
ECOLORCOMPONENT_COLD_WHITE.
Definition CC_ColorSwitch.h:32
@ ECOLORCOMPONENT_BLUE
ECOLORCOMPONENT_BLUE.
Definition CC_ColorSwitch.h:35
@ ECOLORCOMPONENT_AMBER
ECOLORCOMPONENT_AMBER.
Definition CC_ColorSwitch.h:36
@ ECOLORCOMPONENT_GREEN
ECOLORCOMPONENT_GREEN.
Definition CC_ColorSwitch.h:34
@ ECOLORCOMPONENT_WARM_WHITE
ECOLORCOMPONENT_WARM_WHITE.
Definition CC_ColorSwitch.h:31
@ ECOLORCOMPONENT_CYAN
ECOLORCOMPONENT_CYAN (For 6ch color mixing).
Definition CC_ColorSwitch.h:37
@ ECOLORCOMPONENT_RED
ECOLORCOMPONENT_RED.
Definition CC_ColorSwitch.h:33
@ ECOLORCOMPONENT_PURPLE
ECOLORCOMPONENT_PURPLE (For 6ch color mixing).
Definition CC_ColorSwitch.h:38
@ ECOLORCOMPONENT_COLOR_UNDEFINED
Definition CC_ColorSwitch.h:40
struct _RECEIVE_OPTIONS_TYPE_EX_ RECEIVE_OPTIONS_TYPE_EX
Definition CC_ColorSwitch.h:46
s_Actuator obj
Actuator data.
Definition CC_ColorSwitch.h:51
uint8_t ep
Endpoint that supports colorId.
Definition CC_ColorSwitch.h:50
void(* cb)(struct colorComponent_ *color)
pointer to app callback function that triggers driver changes
Definition CC_ColorSwitch.h:52
RECEIVE_OPTIONS_TYPE_EX rxOpt
Definition CC_ColorSwitch.h:47
EColorComponents colorId
Color Component ID.
Definition CC_ColorSwitch.h:49