Drivers
摘要
This chapter is about how to design drivers that are decoupled from a specific hardware platform that can be reused on different microcontrollers. In this context, reuse means reuse across teams, departments, or your company. I am not advocating designing general-purpose drivers that work on any and all platforms; just design for the platforms you are actively using today.