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.

0 REPLIES 0