Skip to main content
TSabu.1
Visitor II
July 31, 2021
Solved

I am writing stm32f051R8Tx assembly programming. I would like to know where can i find the predeclared register names of each peripherals? is there any document which list them all? Please do help.

..

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
July 31, 2021

The Reference Manual? https://www.st.com/resource/en/reference_manual/rm0091-stm32f0x1stm32f0x2stm32f0x8-advanced-armbased-32bit-mcus-stmicroelectronics.pdf

Via an .SVD file https://www.keil.com/pack/doc/CMSIS/SVD/html/svd_Format_pg.html

Via an CMSIS include file you can use directly or translate into a form consumable by the assembler. STM32Cube_FW_F0_V1.10.0\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f051x8.h

https://www.st.com/resource/en/programming_manual/pm0215-stm32f0xxx-cortexm0-programming-manual-stmicroelectronics.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
July 31, 2021

The Reference Manual? https://www.st.com/resource/en/reference_manual/rm0091-stm32f0x1stm32f0x2stm32f0x8-advanced-armbased-32bit-mcus-stmicroelectronics.pdf

Via an .SVD file https://www.keil.com/pack/doc/CMSIS/SVD/html/svd_Format_pg.html

Via an CMSIS include file you can use directly or translate into a form consumable by the assembler. STM32Cube_FW_F0_V1.10.0\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f051x8.h

https://www.st.com/resource/en/programming_manual/pm0215-stm32f0xxx-cortexm0-programming-manual-stmicroelectronics.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..