Electronics
DIT Com_Driver_i2c_master
The source code can be found on GitHub.
                
General Purpose Communication Driver for an I²C bus master.
This driver is based on the Gerneric Communication Driver interface.
Functions
| com_driver_i2c_master_init() | Initialize a general purpose Com_Driver data structure with the specific i2c com driver settings. | 
Files in this library
| Com_Driver_i2c_master.h | Declarations for the I²C Master Communication Driver | 
| Com_Driver_i2c_master.c | Implementation of the I²C Master Communication Driver | 
Notes
This library is currently implemented for the Atmel Software Foundation only.
You can get rid of this dependency by
- removing #include <asf.h>
- defining your own enum status_code
Examples
See the 07 SSD1306 OLED FeatherM0 ASF Tutorial on how to use the library.