projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for old init.
[bertos.git]
/
bertos
/
cpu
/
arm
/
drv
/
i2c_lpc2.h
diff --git
a/bertos/cpu/arm/drv/i2c_lpc2.h
b/bertos/cpu/arm/drv/i2c_lpc2.h
index 810b4e2f440188693574cd9d91ed0b225b267939..e0d9b3ce5e8564565504ee371d9cb1ec437e5b5b 100644
(file)
--- a/
bertos/cpu/arm/drv/i2c_lpc2.h
+++ b/
bertos/cpu/arm/drv/i2c_lpc2.h
@@
-32,6
+32,8
@@
*
* \brief Driver for the LPC23xx I2C (interface)
*
*
* \brief Driver for the LPC23xx I2C (interface)
*
+ * \author Daniele Basile <asterix@develer.com>
+ *
*/
#ifndef I2C_LPC2_H
*/
#ifndef I2C_LPC2_H
@@
-39,8
+41,6
@@
#include <drv/i2c.h>
#include <drv/i2c.h>
-#include <io/lpc23xx.h>
-
/**
* \name I2C devices enum
*/
/**
* \name I2C devices enum
*/
@@
-53,6
+53,4
@@
enum
I2C_CNT /**< Number of serial ports */
};
I2C_CNT /**< Number of serial ports */
};
-void i2c_hw_init(I2c *i2c, int dev, uint32_t clock);
-
#endif /* I2C_LPC2_H */
#endif /* I2C_LPC2_H */