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:
parent
b5da4b76b5
commit
c95f632a67
|
@ -556,6 +556,11 @@ namespace chibios_rt {
|
||||||
return chEvtGetAndClearFlags(&ev_listener);
|
return chEvtGetAndClearFlags(&ev_listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flagsmask_t EvtListener::getAndClearFlagsI(void) {
|
||||||
|
|
||||||
|
return chEvtGetAndClearFlagsI(&ev_listener);
|
||||||
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------------*
|
/*------------------------------------------------------------------------*
|
||||||
* chibios_rt::EvtSource *
|
* chibios_rt::EvtSource *
|
||||||
*------------------------------------------------------------------------*/
|
*------------------------------------------------------------------------*/
|
||||||
|
|
|
@ -1302,6 +1302,18 @@ namespace chibios_rt {
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
flagsmask_t getAndClearFlags(void);
|
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);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*------------------------------------------------------------------------*
|
/*------------------------------------------------------------------------*
|
||||||
|
|
Loading…
Reference in New Issue