cancel
Showing results for 
Search instead for 
Did you mean: 

For the bare-metal people, here's an article I wrote about using fancy macros to do register writes.

PhucXDoan
Associate III

Lots of people dunk on my beloved C-preprocessor, but I find it to be my go-to hammer in my codebase.

 

https://github.com/PhucXDoan/phucxdoan.github.io/wiki/Macros-for-Reading-and-Writing-to-Memory%E2%80%90Mapped-Registers

 

Let me know of any mistakes that there may be in the article.

1 REPLY 1
KDJEM.1
ST Employee

Hello @PhucXDoan ;

 

Thank you for sharing and for your contribution in STCommunity.

 

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.