X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fdrv%2Fi2c_lm3s.h;h=5a76f93ff61e63bab21e1079f62c22a922c3e02a;hb=d369c385f36aae74d203f6c40ee81c80d9032bbc;hp=8d08e681b1cd538895ea301ddbddb7e42c817021;hpb=5f71a5cfc0bd0ef139b754c737c10a299d9110bd;p=bertos.git diff --git a/bertos/cpu/cortex-m3/drv/i2c_lm3s.h b/bertos/cpu/cortex-m3/drv/i2c_lm3s.h index 8d08e681..5a76f93f 100644 --- a/bertos/cpu/cortex-m3/drv/i2c_lm3s.h +++ b/bertos/cpu/cortex-m3/drv/i2c_lm3s.h @@ -32,6 +32,7 @@ * * \brief Driver for the LM3S I2C (interface) * + * \author Daniele Basile */ #ifndef I2C_LM3S_H @@ -44,12 +45,13 @@ */ enum { +#if CPU_CM3_LM3S1968 I2C0, I2C1, - +#elif CPU_CM3_LM3S8962 + I2C0, +#enif I2C_CNT /**< Number of serial ports */ }; -void i2c_hw_init(I2c *i2c, int dev, uint32_t clock); -void i2c_init_0(void); #endif /* I2C_LM3S_H */