Look up Table 3. Register boundary addresses and then look at the Register map entry for the peripheral you're interested in - then just add the offset to the base address.
There's also this header file that you can work backwards from (but the reference doc is easier :)
It would probably make sense to create a module where a lot of the common addresses were defined I guess...
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 quite fun - especially when you're able to properly change state with it :)
Best bet is the reference manual: http://www.st.com/web/en/resource/technical/document/reference_manual/CD00171190.pdf
Look up Table 3. Register boundary addresses and then look at the Register map entry for the peripheral you're interested in - then just add the offset to the base address.
There's also this header file that you can work backwards from (but the reference doc is easier :)
It would probably make sense to create a module where a lot of the common addresses were defined I guess...