projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use correct inode_t type.
[bertos.git]
/
bertos
/
cpu
/
avr
/
drv
/
twi_avr.h
diff --git
a/bertos/cpu/avr/drv/twi_avr.h
b/bertos/cpu/avr/drv/twi_avr.h
index a55cf64b13d143f6de6bf5d42d96833cca08c664..1ff8929266401467cec1dc025f270fd8976e4e32 100644
(file)
--- a/
bertos/cpu/avr/drv/twi_avr.h
+++ b/
bertos/cpu/avr/drv/twi_avr.h
@@
-33,7
+33,7
@@
* \version $Id$
*
* \author Stefano Fedrigo <aleph@develer.com>
* \version $Id$
*
* \author Stefano Fedrigo <aleph@develer.com>
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie Innocenti <bernie@codewiz.org
>
*
* \brief Driver for the AVR ATMega TWI (interface)
*/
*
* \brief Driver for the AVR ATMega TWI (interface)
*/
@@
-63,6
+63,7
@@
bool twi_start_r(uint8_t id);
void twi_stop(void);
bool twi_put(const uint8_t data);
bool twi_send(const void *_buf, size_t count);
void twi_stop(void);
bool twi_put(const uint8_t data);
bool twi_send(const void *_buf, size_t count);
+int twi_get(bool ack);
bool twi_recv(void *_buf, size_t count);
void twi_init(void);
bool twi_recv(void *_buf, size_t count);
void twi_init(void);