saul_pwm_rgb_params_t Struct Reference

PWM channels mapped to RGB LED registration entries. More...

Detailed Description

PWM channels mapped to RGB LED registration entries.

This is used to define a static const saul_pwm_rgb_params_t saul_pwm_rgb_params[] in a board's pwm_params.h for use by the saul_pwm module. If the module is used but only dimmers are present, a SAUL_PWM_NO_RGB define can be set instead.

Definition at line 168 of file periph.h.

#include <periph.h>

Data Fields

const char * name
 Name of the device connected to these channels.
 
saul_pwm_channel_t channels [3]
 Full channel description (device, channel) along with flags that indicate whether high PWM values are dark or bright.
 

The documentation for this struct was generated from the following file: