Skip to main content
Associate III
August 24, 2025
Question

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

  • August 24, 2025
  • 1 reply
  • 1047 views

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

KDJEM.1
Technical Moderator
October 21, 2025

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.