X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Ftwi.h;fp=drv%2Ftwi.h;h=0000000000000000000000000000000000000000;hb=1121818c76981217b8f9224a20cd084cc4f113a4;hp=a55cf64b13d143f6de6bf5d42d96833cca08c664;hpb=27fef4ed34eb237817defa14242e726ccad70948;p=bertos.git diff --git a/drv/twi.h b/drv/twi.h deleted file mode 100644 index a55cf64b..00000000 --- a/drv/twi.h +++ /dev/null @@ -1,69 +0,0 @@ -/** - * \file - * - * - * \version $Id$ - * - * \author Stefano Fedrigo - * \author Bernardo Innocenti - * - * \brief Driver for the AVR ATMega TWI (interface) - */ - -/*#* - *#* $Log$ - *#* Revision 1.5 2006/07/19 12:56:26 bernie - *#* Convert to new Doxygen style. - *#* - *#* 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. - *#* - *#*/ -#ifndef DRV_TWI_H -#define DRV_TWI_H - -#include - -bool twi_start_w(uint8_t id); -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); -bool twi_recv(void *_buf, size_t count); -void twi_init(void); - -#endif /* DRV_EEPROM_H */