You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would say you need to decide what API you want.
Now all peripheral init functions are different.
Some take &mut APBx, other &mut Rcc. Some take nothing and make peripheral enable in unsafe, other in interrupt::free mode.
Not sure, to be honest. It's been a while since I actually used this HAL, or worked on the design of a STM32 HAL, or really thought about the design of STM32 HALs.
It would be better if it was consistent, of course, but I don't know which of the options is best. Suggestions welcome!
The text was updated successfully, but these errors were encountered:
@burrbull wrote this in #152 (comment):
My reply in #152 (comment):
The text was updated successfully, but these errors were encountered: