A Simple RGBW LED PWM instance.

Public Attributes#

Inherit from the Common LED Driver.

void(*

member function to set RGBW

void(*

member function to get RGBW

Public Attribute Documentation#

led_common#

sl_led_t sl_led_rgbw_pwm_t::led_common

Inherit from the Common LED Driver.


set_rgbw_color#

void(* sl_led_rgbw_pwm_t::set_rgbw_color) (void *context, uint16_t red, uint16_t green, uint16_t blue, uint16_t white)

member function to set RGBW


get_rgbw_color#

void(* sl_led_rgbw_pwm_t::get_rgbw_color) (void *context, uint16_t *red, uint16_t *green, uint16_t *blue, uint16_t *white)

member function to get RGBW