git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@772 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2009-02-14 22:02:31 +00:00
parent 1e0eee8bc4
commit cae6f99028
1 changed files with 10 additions and 9 deletions

View File

@ -195,8 +195,9 @@ void chEvtDispatch(const evhandler_t handlers[], eventmask_t mask) {
#if CH_OPTIMIZE_SPEED || !CH_USE_EVENTS_TIMEOUT || defined(__DOXYGEN__) #if CH_OPTIMIZE_SPEED || !CH_USE_EVENTS_TIMEOUT || defined(__DOXYGEN__)
/** /**
* @brief A pending event among those specified in @p ewmask is selected, * @brief Waits for exactly one of the specified events.
* cleared and its mask returned. * @details The function waits for one event among those specified in
* @p ewmask to become pending then the event is cleared and returned.
* *
* @param ewmask mask of the events that the function should wait for, * @param ewmask mask of the events that the function should wait for,
* @p ALL_EVENTS enables all the events * @p ALL_EVENTS enables all the events
@ -250,7 +251,7 @@ eventmask_t chEvtWaitAny(eventmask_t ewmask) {
} }
/** /**
* @brief Waits for all the specified event flags then clears them. * @brief Waits for all the specified events.
* @details The function waits for all the events specified in @p ewmask to * @details The function waits for all the events specified in @p ewmask to
* become pending then the events are cleared and returned. * become pending then the events are cleared and returned.
* *
@ -274,9 +275,9 @@ eventmask_t chEvtWaitAll(eventmask_t ewmask) {
#if CH_USE_EVENTS_TIMEOUT #if CH_USE_EVENTS_TIMEOUT
/** /**
* @brief Waits for a single event. * @brief Waits for exactly one of the specified events.
* @details A pending event among those specified in @p ewmask is selected, * @details The function waits for one event among those specified in
* cleared and its mask returned. * @p ewmask to become pending then the event is cleared and returned.
* *
* @param ewmask mask of the events that the function should wait for, * @param ewmask mask of the events that the function should wait for,
* @p ALL_EVENTS enables all the events * @p ALL_EVENTS enables all the events
@ -309,8 +310,8 @@ eventmask_t chEvtWaitOneTimeout(eventmask_t ewmask, systime_t time) {
/** /**
* @brief Waits for any of the specified events. * @brief Waits for any of the specified events.
* @details The function waits for any event among those specified in @p ewmask * @details The function waits for any event among those specified in
* to become pending then the events are cleared and returned. * @p ewmask to become pending then the events are cleared and returned.
* *
* @param ewmask mask of the events that the function should wait for, * @param ewmask mask of the events that the function should wait for,
* @p ALL_EVENTS enables all the events * @p ALL_EVENTS enables all the events
@ -336,7 +337,7 @@ eventmask_t chEvtWaitAnyTimeout(eventmask_t ewmask, systime_t time) {
} }
/** /**
* @brief Waits for all the specified event flags then clears them. * @brief Waits for all the specified events.
* @details The function waits for all the events specified in @p ewmask to * @details The function waits for all the events specified in @p ewmask to
* become pending then the events are cleared and returned. * become pending then the events are cleared and returned.
* *