projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Doxygen fix.
[bertos.git]
/
drv
/
twi.h
diff --git
a/drv/twi.h
b/drv/twi.h
index cffabdd804818b761ad068843f74369c5f3a7e15..20671a463f91522b352d3a04536df69db489b22f 100755
(executable)
--- a/
drv/twi.h
+++ b/
drv/twi.h
@@
-15,6
+15,12
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* 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.2 2005/02/18 11:19:52 bernie
*#* Update copyright info.
*#*
*#* Revision 1.2 2005/02/18 11:19:52 bernie
*#* Update copyright info.
*#*
@@
-22,11
+28,12
@@
#ifndef DRV_TWI_H
#define DRV_TWI_H
#ifndef DRV_TWI_H
#define DRV_TWI_H
-#include <compiler.h>
+#include <c
fg/c
ompiler.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);