PxAbort()

Abort routine.

APPLIES TO

1.0.0

SYNOPSIS
void PxAbort (PxError_t err);
ARGUMENTS
err

PXROS error code

DESCRIPTION

PxAbort tries to do something sensible in case of a fatal error. The exact behavior depends on the processor. Usually, PxAbort performs a breakpoint or illegal instruction, hoping that it is caught by either a monitor or by the application itself and performs an endless loop.

IMPLEMENTATION GUIDELINES
Before call
  • No checks necessary.

After call
  • No checks necessary.

Best Practice
  • No restrictions.

SEE ALSO
USAGE
#include "pxdef.h"

PxAbort(err);