-/*!
+/**
* \file
* <!--
* Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
/*#*
*#* $Log$
+ *#* Revision 1.7 2006/07/19 12:56:26 bernie
+ *#* Convert to new Doxygen style.
+ *#*
*#* Revision 1.6 2006/03/20 17:49:50 bernie
*#* Make the TWI driver more generic to work with devices other than EEPROMS.
*#*
#define READ_BIT BV(0)
-/*!
+/**
* Send START condition on the bus.
*
* \return true on success, false otherwise.
}
-/*!
+/**
* Send START condition and select slave for write.
* \c id is the device id comprehensive of address left shifted by 1.
* The LSB of \c id is ignored and reset to 0 for write operation.
}
-/*!
+/**
* Send START condition and select slave for read.
* \c id is the device id comprehensive of address left shifted by 1.
* The LSB of \c id is ignored and set to 1 for read operation.
}
-/*!
+/**
* Send STOP condition.
*/
void twi_stop(void)
}
-/*!
+/**
* Put a single byte in master transmitter mode
* to the selected slave device through the TWI bus.
*
}
-/*!
+/**
* Send a sequence of bytes in master transmitter mode
* to the selected slave device through the TWI bus.
*
}
-/*!
+/**
* Receive a sequence of one or more bytes from the
* selected slave device in master receive mode through
* the TWI bus.
}
-/*!
+/**
* Initialize TWI module.
*/
void twi_init(void)