Refactor to use new protocol module and sipo.
[bertos.git] / bertos / cpu / arm / drv / i2c_arm.h
index 4242956c6200c584109c4d1434d5607cea758663..9bdc05473e7dd5a192c7b63173a44a813569aa89 100644 (file)
  * invalidate any other reasons why the executable file might be covered by
  * the GNU General Public License.
  *
- * Copyright 2008 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2010 Develer S.r.l. (http://www.develer.com/)
  *
  * -->
  *
- * \brief Low-level TWI module for ARM (interface).
- *
- * \version $Id$
+ * \brief Low-level I2C module for ARM (interface).
  *
  * \author Daniele Basile <asterix@develer.com>
  *
@@ -41,7 +39,9 @@
 #include <cpu/detect.h>
 
 #if CPU_ARM_AT91
-       #include "twi_at91.h"
+       #include "i2c_at91.h"
+#elif CPU_ARM_LPC2378
+       #include "i2c_lpc2.h"
 /*#elif  Add other ARM families here */
 #else
        #error Unknown CPU