mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-01 16:24:04 +02:00
65087a264e
Introduce generic bitbang I2C system, and a s3c24xx-specific implementation of it that knows which GPIO pins and how to control them. The generic bitbang stuff exposes synchronous (ie, it will return when it is done) and asynchronous read and write APIs, allowing the delay between bits to be hidden in other slow, looping code if necessary. Signed-off-by: Andy Green <andy@openmoko.com>
4 lines
64 B
C
4 lines
64 B
C
#include <i2c-bitbang.h>
|
|
|
|
extern struct i2c_bitbang bb_s3c24xx;
|