stm32-rs / stm32g0xx-hal

Peripheral access API for STM32G0 series microcontrollers
Apache License 2.0
73 stars 51 forks source link

Allow open drain timer pin #133

Closed andrej-mk closed 1 year ago

andrej-mk commented 1 year ago

I2C SDA and SCL pins use similar approach - they accept Output<OpenDrain> and then set alternate function mode.

andresv commented 1 year ago

Could you fix formatting with cargo fmt.

andrej-mk commented 1 year ago

Done. I've run cargo fmt.

dotcypress commented 1 year ago

Thank you @andrej-mk!