PxHndcall()

PXROS handler call.

APPLIES TO

8.2.0

SYNOPSIS
PxArg_t _PxHndcall (handler, task, varsize, parms...);
ARGUMENTS
handler

Function to be called in supervisor mode

task

Calling task

varsize

Total size of the arguments in bytes

parms…​

Arguments for handler function

DESCRIPTION

_PxHndcall calls the passed function handler with its arguments parms…​ in supervisor mode. Since the function is executed in the context of the calling task using the task stack, the function can only access data of the task context.

USAGE
#include "pxdef.h"

PxError_t Err = _PxHndcall(HandlerFunc, PxGetId(), 4, 0);