projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Exclude file with Qt-style documentation.
[bertos.git]
/
drv
/
twi.h
diff --git
a/drv/twi.h
b/drv/twi.h
index ac8c46f20f2eff8f03aa30d03c2a1e740e51aa99..b2b7d8b82e8ccd80302f3f222e311549dc837539 100755
(executable)
--- a/
drv/twi.h
+++ b/
drv/twi.h
@@
-1,4
+1,4
@@
-/*
!
+/*
*
* \file
* <!--
* Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
* \file
* <!--
* Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
@@
-15,6
+15,12
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* Revision 1.5 2006/07/19 12:56:26 bernie
+ *#* Convert to new Doxygen style.
+ *#*
+ *#* Revision 1.4 2006/03/20 17:49:49 bernie
+ *#* Make the TWI driver more generic to work with devices other than EEPROMS.
+ *#*
*#* Revision 1.3 2005/04/11 19:10:28 bernie
*#* Include top-level headers from cfg/ subdir.
*#*
*#* Revision 1.3 2005/04/11 19:10:28 bernie
*#* Include top-level headers from cfg/ subdir.
*#*
@@
-27,9
+33,10
@@
#include <cfg/compiler.h>
#include <cfg/compiler.h>
-bool twi_start_w(uint8_t
slave_addr
);
-bool twi_start_r(uint8_t
slave_addr
);
+bool twi_start_w(uint8_t
id
);
+bool twi_start_r(uint8_t
id
);
void twi_stop(void);
void twi_stop(void);
+bool twi_put(const uint8_t data);
bool twi_send(const void *_buf, size_t count);
bool twi_recv(void *_buf, size_t count);
void twi_init(void);
bool twi_send(const void *_buf, size_t count);
bool twi_recv(void *_buf, size_t count);
void twi_init(void);