Loading...
Searching...
No Matches
pwm_params.h File Reference

Configuration of SAUL mapped PWM channels. More...

Detailed Description

Configuration of SAUL mapped PWM channels.

Author
Christian Amsüss chrys.nosp@m.n@fs.nosp@m.fe.or.nosp@m.g

Definition in file pwm_params.h.

#include "board.h"
#include "saul/periph.h"
+ Include dependency graph for pwm_params.h:

Go to the source code of this file.

static const saul_pwm_dimmer_params_t saul_pwm_dimmer_params []
 The single LED exposed via SAUL.
 
static const saul_pwm_rgb_params_t saul_pwm_rgb_params []
 

Variable Documentation

◆ saul_pwm_dimmer_params

const saul_pwm_dimmer_params_t saul_pwm_dimmer_params[]
static
Initial value:
=
{
{
.name = "LD 1",
.channel = { PWM_DEV(0), 0, SAUL_PWM_INVERTED },
}
}
#define PWM_DEV(x)
Default PWM access macro.
Definition pwm.h:78
@ SAUL_PWM_INVERTED
Physical values are inverted from average voltage levels (ie.
Definition periph.h:83

The single LED exposed via SAUL.

Definition at line 32 of file pwm_params.h.

◆ saul_pwm_rgb_params

const saul_pwm_rgb_params_t saul_pwm_rgb_params[]
static
Initial value:
=
{
{
.name = "LD 2",
.channels = {
}
}
}

Definition at line 40 of file pwm_params.h.