Embedded Driver Development
TL;DR: Using packed structs with bitfields for register definitions Minimum Viable Driver As I write this post, I have been working in the Embedded Electronics field for just over four years, and over that time I have written numerous drivers using various protocols, improving each time. This lands me here, with a framework that I believe acts as a solid foundation to writing a clean, maintainable, and transferrable driver for any integrated-circuit (IC). ...