diff options
Diffstat (limited to 'chip/stm32/pwm_chip.h')
-rw-r--r-- | chip/stm32/pwm_chip.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/stm32/pwm_chip.h b/chip/stm32/pwm_chip.h index d588dabeaa..4e15e612c1 100644 --- a/chip/stm32/pwm_chip.h +++ b/chip/stm32/pwm_chip.h @@ -24,6 +24,8 @@ struct pwm_t { uint32_t flags; /* GPIO pin corresponding to the PWM channel */ enum gpio_signal pin; + /* GPIO alternate function - only needed for STM32F0 family */ + int gpio_alt_func; }; extern const struct pwm_t pwm_channels[]; |