A Simple RGBW LED context.

Public Attributes#

PWM LED instance for red color.

PWM LED instance for green color.

PWM LED instance for blue color.

PWM LED instance for white color.

TIMER_TypeDef *

PWM timer (common instance for all LEDs)

uint32_t

PWM frequency.

uint32_t

PWM resolution (dimming steps)

Current state (ON/OFF)

Public Attribute Documentation#

red#

sl_led_pwm_t* sl_simple_rgbw_pwm_led_context_t::red

PWM LED instance for red color.


Definition at line 79 of file platform/driver/leddrv/inc/sl_simple_rgbw_pwm_led.h

green#

sl_led_pwm_t* sl_simple_rgbw_pwm_led_context_t::green

PWM LED instance for green color.


Definition at line 80 of file platform/driver/leddrv/inc/sl_simple_rgbw_pwm_led.h

blue#

sl_led_pwm_t* sl_simple_rgbw_pwm_led_context_t::blue

PWM LED instance for blue color.


Definition at line 81 of file platform/driver/leddrv/inc/sl_simple_rgbw_pwm_led.h

white#

sl_led_pwm_t* sl_simple_rgbw_pwm_led_context_t::white

PWM LED instance for white color.


Definition at line 82 of file platform/driver/leddrv/inc/sl_simple_rgbw_pwm_led.h

timer#

TIMER_TypeDef* sl_simple_rgbw_pwm_led_context_t::timer

PWM timer (common instance for all LEDs)


Definition at line 84 of file platform/driver/leddrv/inc/sl_simple_rgbw_pwm_led.h

frequency#

uint32_t sl_simple_rgbw_pwm_led_context_t::frequency

PWM frequency.


Definition at line 85 of file platform/driver/leddrv/inc/sl_simple_rgbw_pwm_led.h

resolution#

uint32_t sl_simple_rgbw_pwm_led_context_t::resolution

PWM resolution (dimming steps)


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

state#

sl_led_state_t sl_simple_rgbw_pwm_led_context_t::state

Current state (ON/OFF)


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