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

Enable all output pins for TIM2 on all devices #224

Closed jamwaffles closed 1 year ago

jamwaffles commented 1 year ago

Looking through some ST datasheets/RMs, TIM2 can output on the pins changed in this PR from the x011 range all the way up to the largest chips in the L0 family.

Closes #219

jamwaffles commented 1 year ago

Thanks for the review! I've been spot checking a few different datasheets and found (and fixed) a bug so I think we're ok 🤞. Waiting for testing in #219 before merging.