cancel
Showing results for 
Search instead for 
Did you mean: 

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

Member
Associate III

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.

4 REPLIES 4

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
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

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
Associate III
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?
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".