X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Finterfaces%2FBlockWrite.nc;h=5ecd3d11dbc0ae07ae50a1a5669b472299215d1f;hb=847b2d55b02b069ae22d1f3297bc32fb6aafb924;hp=c229848db92500e6f369d78dbe817312dcde92c3;hpb=1ba974b83d19fc41bf80acd52726f36f7f1df297;p=tinyos-2.x.git
diff --git a/tos/interfaces/BlockWrite.nc b/tos/interfaces/BlockWrite.nc
index c229848d..5ecd3d11 100644
--- a/tos/interfaces/BlockWrite.nc
+++ b/tos/interfaces/BlockWrite.nc
@@ -44,9 +44,11 @@ interface BlockWrite {
* Initiate a write operation within a given volume. On SUCCESS, the
* writeDone
event will signal completion of the
* operation.
+ *
+ * Between two erases, no byte may be written more than once. * * @param addr starting address to begin write. - * @param buf buffer to write data from. + * @param 'void* COUNT(len) buf' buffer to write data from. * @param len number of bytes to write. * @return *
BlockRead
can
- * be done to check if the data has been modified since. A commit
- * operation must be issued to ensure that data is stored in
- * non-volatile storage. On SUCCES, the commitDone
- * event will signal completion of the operation.
+ * Initiate a sync operation to finalize writes to the volume. A
+ * sync operation must be issued to ensure that data is stored in
+ * non-volatile storage. On SUCCES, the syncDone
event
+ * will signal completion of the operation.
*
* @return
*