stm32-rs / stm32g0xx-hal

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

timer: set UG to force PSC and ARR values to take effect #92

Closed danc86 closed 2 years ago

danc86 commented 2 years ago

Fixes #91.

danc86 commented 2 years ago

Amended to set URS, rather than using a loop to wait for UIF to be set.

andresv commented 2 years ago

@dotcypress, it looks good to me, but can you also take a look.

dotcypress commented 2 years ago

Awesome! Thank you @danc86