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
Low-level ADC peripheral driver interface definitions.
Low-level GPIO peripheral driver interface definitions.
uint_fast8_t adc_t
Define default ADC type identifier.
adc_res_t
Possible ADC resolution settings.
uint_fast8_t pwm_t
Default PWM type definition.
gpio_mode_t
Available pin modes.
saul_gpio_flags_t
SAUL GPIO configuration flags.
@ SAUL_GPIO_INIT_CLEAR
set pin inactive after init
@ SAUL_GPIO_INIT_SET
set pin active after init
@ SAUL_GPIO_INVERTED
pin is used as inverted
saul_pwm_flags_t
SAUL PWM parameters.
@ SAUL_PWM_INVERTED
Physical values are inverted from average voltage levels (ie.
@ SAUL_PWM_REGULAR
Physical values are proportional to average voltage levels (ie.
static const uint16_t saul_pwm_resolution
Resolution of SAUL mapped PWMs.
Low-level PWM peripheral driver interface definitions.
Direct mapped ADC configuration values.
adc_t line
ADC line to initialize and expose.
const char * name
name of the device connected to this pin
adc_res_t res
ADC resolution.
Direct mapped GPIO configuration values.
gpio_t pin
GPIO pin to initialize and expose.
saul_gpio_flags_t flags
Configuration flags.
gpio_mode_t mode
pin mode to use
const char * name
name of the device connected to this pin
Single PWM channel exposed via SAUL.
uint8_t channel
Channel on the PWM device.
pwm_t dev
PWM device backing this entry.
saul_pwm_flags_t flags
Configuration flags.
PWM channels mapped to dimmer-style registration entries.
saul_pwm_channel_t channel
Full channel description (device, channel) along with flags that indicate whether high PWM values are...
const char * name
Name of the device connected to this channel.
PWM channels mapped to RGB LED registration entries.
const char * name
Name of the device connected to these channels.