Go to the documentation of this file.
22 #if MODULE_SAUL_GPIO || DOXYGEN
26 #if MODULE_SAUL_ADC || DOXYGEN
30 #if MODULE_SAUL_PWM || DOXYGEN
38 #if MODULE_SAUL_GPIO || DOXYGEN
59 #if MODULE_SAUL_ADC || DOXYGEN
70 #if MODULE_SAUL_PWM || DOXYGEN
101 #define SAUL_PWM_FREQ_DEFAULT 1000
119 #define SAUL_PWM_FREQ SAUL_PWM_FREQ_DEFAULT
130 #define SAUL_PWM_NO_DIMMER
157 #define SAUL_PWM_NO_RGB
uint8_t channel
Channel on the PWM device.
const char * name
Name of the device connected to this channel.
adc_t line
ADC line to initialize and expose.
pwm_t dev
PWM device backing this entry.
gpio_t pin
GPIO pin to initialize and expose.
unsigned int adc_t
Define default ADC type identifier.
const char * name
Name of the device connected to these channels.
saul_pwm_channel_t channel
Full channel description (device, channel) along with flags that indicate whether high PWM values are...
adc_res_t
Possible ADC resolution settings.
Low-level ADC peripheral driver interface definitions.
saul_pwm_flags_t flags
Configuration flags.
Single PWM channel exposed via SAUL.
@ SAUL_PWM_INVERTED
Physical values are inverted from average voltage levels (ie.
@ SAUL_PWM_REGULAR
Physical values are proportional to average voltage levels (ie.
const char * name
name of the device connected to this pin
@ SAUL_GPIO_INIT_SET
set pin active after init
adc_res_t res
ADC resolution.
gpio_mode_t mode
pin mode to use
@ SAUL_GPIO_INIT_CLEAR
set pin inactive after init
PWM channels mapped to RGB LED registration entries.
static const uint16_t saul_pwm_resolution
Resolution of SAUL mapped PWMs.
saul_pwm_flags_t
SAUL PWM parameters.
saul_gpio_flags_t
SAUL GPIO configuration flags.
Low-level GPIO peripheral driver interface definitions.
gpio_mode_t
Available pin modes.
Direct mapped GPIO configuration values.
Direct mapped ADC configuration values.
@ SAUL_GPIO_INVERTED
pin is used as inverted
PWM channels mapped to dimmer-style registration entries.
saul_gpio_flags_t flags
Configuration flags.
Low-level PWM peripheral driver interface definitions.
unsigned int pwm_t
Default PWM type definition.
const char * name
name of the device connected to this pin