projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sam3 pmc: add functions to handle peripheral clock enable/disable;
[bertos.git]
/
bertos
/
struct
/
fifobuf.h
diff --git
a/bertos/struct/fifobuf.h
b/bertos/struct/fifobuf.h
index efb8f10315e2476783d39ec0efbf413160c745b0..f58e1c0a7d0f4e99999298d5af2f63029a4de566 100644
(file)
--- a/
bertos/struct/fifobuf.h
+++ b/
bertos/struct/fifobuf.h
@@
-30,6
+30,10
@@
* Copyright 2001, 2008 Bernie Innocenti <bernie@codewiz.org>
* -->
*
* Copyright 2001, 2008 Bernie Innocenti <bernie@codewiz.org>
* -->
*
+ * \defgroup fifobuf FIFO buffer
+ * \ingroup struct
+ * \{
+ *
* \brief General pourpose FIFO buffer implemented with a ring buffer
*
* \li \c begin points to the first buffer element;
* \brief General pourpose FIFO buffer implemented with a ring buffer
*
* \li \c begin points to the first buffer element;
@@
-60,12
+64,11
@@
* location and head points to the first one:
* \code head == begin && tail == end \endcode
*
* location and head points to the first one:
* \code head == begin && tail == end \endcode
*
- * \version $Id: fifobuf.h 1532 2008-08-04 07:21:26Z bernie $
* \author Bernie Innocenti <bernie@codewiz.org>
*/
* \author Bernie Innocenti <bernie@codewiz.org>
*/
-#ifndef
MWARE
_FIFO_H
-#define
MWARE
_FIFO_H
+#ifndef
STRUCT
_FIFO_H
+#define
STRUCT
_FIFO_H
#include <cpu/types.h>
#include <cpu/irq.h>
#include <cpu/types.h>
#include <cpu/irq.h>
@@
-355,5
+358,6
@@
void fifo_pushblock(FIFOBuffer *fb, unsigned char *block, size_t len)
}
#endif
}
#endif
-
#endif /* MWARE_FIFO_H
*/
+
/** \} */ /* defgroup fifobuf
*/
+#endif /* STRUCT_FIFO_H */