PxInitializeBeforePxInit()

Call all functions from the _PxInitializeTable.

APPLIES TO

8.2.0

SYNOPSIS
void PxInitializeBeforePxInit (void);
DESCRIPTION

PxInitializeBeforePxInit calls all functions entered into the __PxInitializeTable. These functions should initialize hardware and special function registers, where supervisor mode is needed. Endinit protection has to be removed if necessary. This function should be called before PxInit is called.

IMPLEMENTATION GUIDELINES
Before call
  • This function has to be called before PxInit(). (V)

After call
  • No checks necessary.

Best Practice
  • No restrictions

SEE ALSO
USAGE
#include "pxdef.h"

PxInitializeBeforePxInit();

PxError_t error = PxInit(InitSpecsArray, CORE_COUNT);

if (error != PXERR_NOERROR) {
    // Report error
    PxPanic();
}