You are viewing documentation for version:
3.0
|
Version History
|
GPIO_Port_TypeDef
|
port
[4]
|
|
Red, Green, Blue and White GPIO ports.
|
|
uint8_t
|
pin
[4]
|
|
Red, Green, Blue and White GPIO pins.
|
|
sl_simple_rgbw_pwm_led_polarity_t
|
polarity
[4]
|
|
Red, Green, Blue and White GPIO polarities (active high/low)
|
|
uint8_t
|
channel
[4]
|
|
Red, Green, Blue and White PWM timer channels.
|
|
uint8_t
|
location
[4]
|
|
Red, Green, Blue and White PWM timer location.
|
|
TIMER_TypeDef *
|
timer
|
|
PWM timer (common instance for all four RGBW LEDs)
|
|
uint32_t
|
frequency
|
|
PWM frequency.
|
|
uint32_t
|
resolution
|
|
PWM resolution (dimming steps)
|
|
uint16_t
|
level
[4]
|
|
Red, Green, Blue and White levels (PWM duty cycle [0-65535])
|
|
sl_led_state_t
|
state
|
|
Current state (ON/OFF)
|
|
◆
port
GPIO_Port_TypeDef sl_simple_rgbw_pwm_led_context_t::port[4]
|
Red, Green, Blue and White GPIO ports.
◆
pin
uint8_t sl_simple_rgbw_pwm_led_context_t::pin[4]
|
Red, Green, Blue and White GPIO pins.
◆
polarity
sl_simple_rgbw_pwm_led_polarity_t sl_simple_rgbw_pwm_led_context_t::polarity[4]
|
Red, Green, Blue and White GPIO polarities (active high/low)
◆
channel
uint8_t sl_simple_rgbw_pwm_led_context_t::channel[4]
|
Red, Green, Blue and White PWM timer channels.
◆
location
uint8_t sl_simple_rgbw_pwm_led_context_t::location[4]
|
Red, Green, Blue and White PWM timer location.
◆
timer
TIMER_TypeDef* sl_simple_rgbw_pwm_led_context_t::timer
|
PWM timer (common instance for all four RGBW LEDs)
◆
frequency
uint32_t sl_simple_rgbw_pwm_led_context_t::frequency
|
◆
resolution
uint32_t sl_simple_rgbw_pwm_led_context_t::resolution
|
PWM resolution (dimming steps)
◆
level
uint16_t sl_simple_rgbw_pwm_led_context_t::level[4]
|
Red, Green, Blue and White levels (PWM duty cycle [0-65535])
◆
state
sl_led_state_t sl_simple_rgbw_pwm_led_context_t::state
|