aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-07 09:23:10 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-07 09:23:10 +0000
commit2d6a9e4832f20b2aec445219e3e23fc5c64f3bd5 (patch)
tree365fa861359ef856f7722d8519d2a0236e6bda4c /src
parented3ffb35089836df6b5b51b76c428078a80dbb3b (diff)
downloadChibiOS-2d6a9e4832f20b2aec445219e3e23fc5c64f3bd5.tar.gz
ChibiOS-2d6a9e4832f20b2aec445219e3e23fc5c64f3bd5.tar.bz2
ChibiOS-2d6a9e4832f20b2aec445219e3e23fc5c64f3bd5.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@533 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src')
-rw-r--r--src/chevents.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/chevents.c b/src/chevents.c
index bcf02504d..31a7500e6 100644
--- a/src/chevents.c
+++ b/src/chevents.c
@@ -89,7 +89,7 @@ eventmask_t chEvtClear(eventmask_t mask) {
/**
* Makes an events mask pending in the current thread, this is \b much faster than
- * using \p chEvtBreadcast().
+ * using \p chEvtBroadcast().
* @param mask the events to be pended
* @return The current pending events mask.
*/
@@ -167,7 +167,7 @@ void chEvtDispatch(const evhandler_t handlers[], eventmask_t mask) {
* @param ewmask mask of the events that the function should wait for,
* \p ALL_EVENTS enables all the events
* @return The mask of the lowest id served and cleared event.
- * @note Only a single event is served in the function, the one with the
+ * @note One and only one event is served in the function, the one with the
* lowest event id. The function is meant to be invoked into a loop in
* order to serve all the pending events.<br>
* This means that Event Listeners with a lower event identifier have
@@ -287,8 +287,8 @@ eventid_t chEvtWait(eventmask_t ewmask,
* \p ALL_EVENTS enables all the events
* @param time the number of ticks before the operation timouts
* @return The mask of the lowest id served and cleared event.
- * @retval 0 if the specified timeout expired
- * @note Only a single event is served in the function, the one with the
+ * @retval 0 if the specified timeout expired.
+ * @note One and only one event is served in the function, the one with the
* lowest event id. The function is meant to be invoked into a loop in
* order to serve all the pending events.<br>
* This means that Event Listeners with a lower event identifier have
@@ -320,7 +320,7 @@ eventmask_t chEvtWaitOneTimeout(eventmask_t ewmask, systime_t time) {
* \p ALL_EVENTS enables all the events
* @param time the number of ticks before the operation timouts
* @return The mask of the served and cleared events.
- * @retval 0 if the specified timeout expired
+ * @retval 0 if the specified timeout expired.
*/
eventmask_t chEvtWaitAnyTimeout(eventmask_t ewmask, systime_t time) {
eventmask_t m;
@@ -346,7 +346,7 @@ eventmask_t chEvtWaitAnyTimeout(eventmask_t ewmask, systime_t time) {
* @param ewmask mask of the event ids that the function should wait for
* @param time the number of ticks before the operation timouts
* @return The mask of the served and cleared events.
- * @retval 0 if the specified timeout expired
+ * @retval 0 if the specified timeout expired.
*/
eventmask_t chEvtWaitAllTimeout(eventmask_t ewmask, systime_t time) {