Skip to main content
Member
Associate II
May 9, 2021
Question

How do I check registers on the Development Board Nucleo WB55?

I would like to look at the register to see which values are stored inside that register. Then I would like to use that number to do operations.

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
May 9, 2021

All the registers are accessible by the processor, read them, print them out, whatever.

Check them with the debugger

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

This is a very generic question. Registers are defined in the header files. You access them just like you would access a variable. For example, you can read a timer's counter register by accessing TIM1->CNT.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Member
MemberAuthor
Associate II
May 10, 2021
To clarify, I wanted to check the registers for the RTC. How do I find the values of the time and date in the registers?
TDK
May 10, 2021
RTC time/date is in RTC->TR and RTC->DR. Look up the format in the reference manual.
"If you feel a post has answered your question, please click ""Accept as Solution""."