1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 14:37:30 +02:00
xburst-tools/qiboot/include/i2c-bitbang-s3c24xx.h
Andy Green 65087a264e introduce-i2c.patch
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>
2008-11-28 10:16:36 +00:00

4 lines
64 B
C

#include <i2c-bitbang.h>
extern struct i2c_bitbang bb_s3c24xx;