PxPeStop()
Stop periodic events (task service).
- APPLIES TO
-
8.2.0
- SYNOPSIS
-
PxError_t PxPeStop (PxPe_t PeId); - ARGUMENTS
|
- RETURN VALUES
-
-
PXROS error code
-
- ERROR CODES
-
PXERR_PE_ILLPEPeIdis not a valid periodic event object handlePXERR_REQUEST_ILLEGALThe caller is not the requester of the
PeIdobject - DESCRIPTION
-
PxPeStopstops signaling periodic events associated with Pe.
- IMPLEMENTATION GUIDELINES
-
- Before call
-
-
PeIdmust be a valid PXROS-HR periodic event object created with aPxPeRequestcall (V). The validity ofPeIdmay also be checked by thePxPeIsValidmacro (F).
-
- After call
-
-
The function returns
PXERR_NOERRORif the periodic event could be stopped. Any other return value describes an error, which has to be interpreted (C).
-
- Best Practice
-
-
No restrictions.
-
- SEE ALSO
- USAGE
-
#include "pxdef.h" PxError_t Err = PxPeStop(PeId); if (Err != PXERR_NOERROR) { // Report error }