Object-Oriented Implementation of IIC Driver in C Language

Object-Oriented Implementation of IIC Driver in C Language

1. Overview This article encapsulates the IIC driver using object-oriented programming principles, packaging the properties and operations of IIC into a library. When creating an IIC device, one only needs to instantiate an IIC object. This implementation is based on STM32 and the HAL library for further encapsulation. The underlying driver methods are not important; … Read more