stm32-rs / stm32f0xx-hal

A Rust `embedded-hal` implementation for all MCUs in the STM32 F0 family
BSD Zero Clause License
134 stars 59 forks source link

Add PWM standalone output on complementary PWM Channels #171

Closed JanekGraff closed 11 months ago

JanekGraff commented 11 months ago

This adds the option to use the complementary PWM Channels of Timers with 1 Channel and a complementary output in standalone mode. (E.g. using CH1N (PB6) of TIM16 without using CH1)

This has been tested and is working on a STM32F072B-DISCO board.

NOTE: The CI will probably fail until #170 or an alternative is merged.