stm32-rs / stm32l0xx-hal

A hardware abstraction layer (HAL) for the STM32L0 series microcontrollers written in Rust
BSD Zero Clause License
96 stars 60 forks source link

Add TIM3 PWM support for category 5 mcus #181

Closed azerupi closed 3 years ago

azerupi commented 3 years ago

I stumbled upon #79 trying to use PB0 for PWM output on a stm32l071k8ux.

This should add the PWM capabilities on the pins for the category 5 mcus (feature io-STM32L071). Tested and seems to work with PB0.