You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • 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/techni­cal/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...

About

Avatar for Gordon @Gordon started