PxResetEvents()
Reset events.
- APPLIES TO
-
1.0.0
- SYNOPSIS
-
PxEvents_t PxResetEvents (PxEvents_t events);
- ARGUMENTS
|
- RETURN VALUES
-
-
The events that are reset by the call
-
- DESCRIPTION
-
PxResetEvents resets the events specified in events. The events actually reset (i.e., those that were set before the call) are returned.
- IMPLEMENTATION GUIDELINES
-
- Before call
-
-
No checks necessary.
-
- After call
-
-
All events returned should be evaluated.
-
- Best Practice
-
-
No restrictions.
-
- SEE ALSO
- USAGE
-
#include "pxdef.h" #define MY_EVENT 0x1l PxEvents_t Ev = PxResetEvents(MY_EVENT); if (Ev.error != PXERR_NOERROR) { // Report error }