PxResetEvents()

Reset events.

APPLIES TO

8.2.0

SYNOPSIS
PxEvents_t PxResetEvents (PxEvents_t events);
ARGUMENTS
events

Events to be reset

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
}