4 * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
5 * This file is part of DevLib - See README.devlib for information.
10 * \author Stefano Fedrigo <aleph@develer.com>
11 * \author Bernardo Innocenti <bernie@develer.com>
13 * \brief Driver for the AVR ATMega TWI (interface)
18 *#* Revision 1.5 2006/07/19 12:56:26 bernie
19 *#* Convert to new Doxygen style.
21 *#* Revision 1.4 2006/03/20 17:49:49 bernie
22 *#* Make the TWI driver more generic to work with devices other than EEPROMS.
24 *#* Revision 1.3 2005/04/11 19:10:28 bernie
25 *#* Include top-level headers from cfg/ subdir.
27 *#* Revision 1.2 2005/02/18 11:19:52 bernie
28 *#* Update copyright info.
34 #include <cfg/compiler.h>
36 bool twi_start_w(uint8_t id);
37 bool twi_start_r(uint8_t id);
39 bool twi_put(const uint8_t data);
40 bool twi_send(const void *_buf, size_t count);
41 bool twi_recv(void *_buf, size_t count);
44 #endif /* DRV_EEPROM_H */