Yes, it's amazingly complicated for something so small!
You will probably find that the stm32f4 'reference' is the best place for information. That's what I end up using.
Annoyingly what you need is spread all over it - and then you have to guess what ST's API is doing so you can call that in the right way to do what you want!
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, it's amazingly complicated for something so small!
You will probably find that the stm32f4 'reference' is the best place for information. That's what I end up using.
Annoyingly what you need is spread all over it - and then you have to guess what ST's API is doing so you can call that in the right way to do what you want!