PxGetAbortingEvents()

Return the event mask of the currently active events of the calling task.

APPLIES TO

1.0.0

SYNOPSIS
PxEvents_t PxGetAbortingEvents (void);
RETURN VALUES
  • Event mask of calling task

DESCRIPTION

PxGetAbortingEvents returns the events able to abort the current activity (when the abort mechanism is enabled).

IMPLEMENTATION GUIDELINES
Before call
  • No checks necessary.

After call
  • No checks necessary.

Best Practice
  • No restrictions.

SEE ALSO
USAGE
#include "pxdef.h"

PxEvents_t Ev = PxGetAbortingEvents();

if (Ev.error != PXERR_NOERROR) {
  // Report error
}