#include "stdint.h"
#include "vector"
#include <zephyr/drivers/pwm.h>
Go to the source code of this file.
|
| struct | PWMConfigZephyr |
| | Configuration data for PWM audio output. Define the pins as follows: config.pins = {PWM_PIN(pwm_led_0), PWM_PIN(pwm_led_2)}; which is a short for for the zephyr standard macros: config.pins = {PWM_DT_SPEC_GET(DT_NODELABEL(pwm_led_0)), PWM_DT_SPEC_GET(DT_NODELABEL(pwm_led_1))};. More...
|
| |
|
| namespace | audio_tools |
| | Generic Implementation of sound input and output for desktop environments using portaudio.
|
| |
|
| #define | PWM_PIN(pin_label) PWM_DT_SPEC_GET(DT_NODELABEL(pin_label)) |
| | Macro to get the pwm_dt_spec.
|
| |
◆ PWM_PIN
| #define PWM_PIN |
( |
|
pin_label | ) |
PWM_DT_SPEC_GET(DT_NODELABEL(pin_label)) |
Macro to get the pwm_dt_spec.