Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 775 Bytes

i2c_soft.rst

File metadata and controls

24 lines (16 loc) · 775 Bytes

i2c_soft --- Software I2C

i2c_soft

I2C is a data transfer bus. Normally one master and one or more slaves are connected to the bus. The master addresses one slave at a time to transfer data between the devices.

This driver implements I2C in software for MCUs without I2C hardware support. For systems with hardware I2C support, the i2c driver will probably be preferable.


Source code: src/drivers/i2c_soft.h, src/drivers/i2c_soft.c

Test code: tst/drivers/i2c/master_soft/main.c


drivers/i2c_soft.h