sl_led_rgbw_pwm_t Struct Reference

A Simple RGBW LED PWM instance.

#include <sl_simple_rgbw_pwm_led.h>

Data Fields

sl_led_t led_common
 Inherit from the Common LED Driver.
 
void(* set_rgbw_color )(void *context, uint16_t red, uint16_t green, uint16_t blue, uint16_t white)
 member function to set RGBW
 
void(* get_rgbw_color )(void *context, uint16_t *red, uint16_t *green, uint16_t *blue, uint16_t *white)
 member function to get RGBW
 

A Simple RGBW LED PWM instance.

Field 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