Refactor AVR twi driver to supply twi_get; add ATMega32 support.
[bertos.git] / bertos / cpu / avr / drv / twi_avr.h
index daaaefb7cd75143accfe061696b0e7f332901f1d..1ff8929266401467cec1dc025f270fd8976e4e32 100644 (file)
@@ -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);
+int twi_get(bool ack);
 bool twi_recv(void *_buf, size_t count);
 void twi_init(void);