Data Structures | |
struct | colorComponent_ |
Typedefs | |
typedef enum EColorComponents_ | EColorComponents |
typedef struct colorComponent_ | s_colorComponent |
Functions | |
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 in driver and app needs to update LED status. | |
void | cc_color_switch_cb (s_colorComponent *colorComponent) |
s_colorComponent * | cc_color_switch_get_colorComponents (void) |
uint8_t | cc_color_switch_get_length_colorComponents (void) |
uint8_t | cc_color_switch_get_default_duration (void) |
bool | cc_color_switch_write (uint8_t color_component_id, s_colorComponent *color_component) |
bool | cc_color_switch_read (uint8_t color_component_id, s_colorComponent *color_component) |
typedef enum EColorComponents_ EColorComponents |
Defined Color Components ID
typedef struct colorComponent_ s_colorComponent |
Structure that holds Color Switch CC related data.
enum EColorComponents_ |
Defined Color Components ID
void cc_color_switch_cb | ( | s_colorComponent * | colorComponent | ) |
s_colorComponent * cc_color_switch_get_colorComponents | ( | void | ) |
uint8_t cc_color_switch_get_default_duration | ( | void | ) |
uint8_t cc_color_switch_get_length_colorComponents | ( | void | ) |
bool cc_color_switch_read | ( | uint8_t | color_component_id, |
s_colorComponent * | color_component ) |
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 in driver and app needs to update LED status.
bool cc_color_switch_write | ( | uint8_t | color_component_id, |
s_colorComponent * | color_component ) |