Question
For the bare-metal people, here's an article I wrote about using fancy macros to do register writes.
Lots of people dunk on my beloved C-preprocessor, but I find it to be my go-to hammer in my codebase.
Let me know of any mistakes that there may be in the article.
