X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Favr%2Fdrv%2Ftwi_avr.h;h=1ff8929266401467cec1dc025f270fd8976e4e32;hb=202e173ecdce67ba47b646308ae713b5801c56da;hp=daaaefb7cd75143accfe061696b0e7f332901f1d;hpb=4cc44c9888a0336b9d01121ec0b7ad95f4a76195;p=bertos.git diff --git a/bertos/cpu/avr/drv/twi_avr.h b/bertos/cpu/avr/drv/twi_avr.h index daaaefb7..1ff89292 100644 --- a/bertos/cpu/avr/drv/twi_avr.h +++ b/bertos/cpu/avr/drv/twi_avr.h @@ -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);