Added an iclass to the C++ wrapper.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5028 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2013-01-03 18:28:21 +00:00
parent b5da4b76b5
commit c95f632a67
2 changed files with 17 additions and 0 deletions

View File

@ -556,6 +556,11 @@ namespace chibios_rt {
return chEvtGetAndClearFlags(&ev_listener);
}
flagsmask_t EvtListener::getAndClearFlagsI(void) {
return chEvtGetAndClearFlagsI(&ev_listener);
}
/*------------------------------------------------------------------------*
* chibios_rt::EvtSource *
*------------------------------------------------------------------------*/

View File

@ -1302,6 +1302,18 @@ namespace chibios_rt {
* @api
*/
flagsmask_t getAndClearFlags(void);
/**
* @brief Returns the flags associated to an @p EventListener.
* @details The flags are returned and the @p EventListener flags mask is
* cleared.
*
* @return The flags added to the listener by the associated
* event source.
*
* @iclass
*/
flagsmask_t getAndClearFlagsI(void);
};
/*------------------------------------------------------------------------*