Loading...
Searching...
No Matches
saul_pwm_dimmer_params_t Struct Reference

PWM channels mapped to dimmer-style registration entries. More...

Detailed Description

PWM channels mapped to dimmer-style registration entries.

This is used to define a static const saul_pwm_dimmer_params_t saul_pwm_dimer_params[] in a board's pwm_params.h for use by the saul_pwm module. If the module is used but only RGB LEDs are present, a SAUL_PWM_NO_DIMMER define can be set instead.

Definition at line 141 of file periph.h.

#include <periph.h>

Data Fields

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

Field Documentation

◆ channel

saul_pwm_channel_t saul_pwm_dimmer_params_t::channel

Full channel description (device, channel) along with flags that indicate whether high PWM values are dark or bright.

Definition at line 144 of file periph.h.

◆ name

const char* saul_pwm_dimmer_params_t::name

Name of the device connected to this channel.

Definition at line 142 of file periph.h.


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