A Simple RGB LED PWM instance.

Public Attributes#

Inherit from the Common LED Driver.

void(*

Member function to set RGB.

void(*

Member function to get RGB.

Public Attribute Documentation#

led_common#

sl_led_t sl_led_rgb_pwm_t::led_common

Inherit from the Common LED Driver.


Definition at line 86 of file platform/driver/leddrv/inc/sl_simple_rgb_pwm_led.h

set_rgb_color#

void(* sl_led_rgb_pwm_t::set_rgb_color) (void *context, uint16_t red, uint16_t green, uint16_t blue)

Member function to set RGB.


Definition at line 87 of file platform/driver/leddrv/inc/sl_simple_rgb_pwm_led.h

get_rgb_color#

void(* sl_led_rgb_pwm_t::get_rgb_color) (void *context, uint16_t *red, uint16_t *green, uint16_t *blue)

Member function to get RGB.


Definition at line 91 of file platform/driver/leddrv/inc/sl_simple_rgb_pwm_led.h