japaric / stm32f103xx-hal

HAL for the STM32F103xx family of microcontrollers
Apache License 2.0
115 stars 40 forks source link

Add predivided clock speeds #128

Open nraynaud opened 5 years ago

nraynaud commented 5 years ago

This PR centralises the bus clock division code for timers in the Clock struct. The same thing might be useful for ADCs when they land.