mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2025-04-21 12:27:27 +03:00
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>
This commit is contained in:
3
qiboot/include/i2c-bitbang-s3c24xx.h
Normal file
3
qiboot/include/i2c-bitbang-s3c24xx.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#include <i2c-bitbang.h>
|
||||
|
||||
extern struct i2c_bitbang bb_s3c24xx;
|
||||
Reference in New Issue
Block a user