examples/benchmark/kernel-only_arm/hw/hw_i2c_bitbang.h
Go to the documentation of this file.00001
00042 #ifndef HW_I2C_BITBANG_H
00043 #define HW_I2C_BITBANG_H
00044
00045 #warning TODO:This is an example implementation, you must implement it!
00046
00047 #define SDA_HI do { } while (0)
00048 #define SDA_LO do { } while (0)
00049 #define SCL_HI do { } while (0)
00050 #define SCL_LO do { } while (0)
00051
00052
00053 #define SCL_IN (true)
00054 #define SDA_IN (true)
00055
00059 #define I2C_BITBANG_HW_INIT do { } while (0)
00060
00064 #define I2C_HALFBIT_DELAY() do { } while (0)
00065
00066 #endif