PxInterruptSetName()

Assign a name to an interrupt object.

APPLIES TO

8.2.0

SYNOPSIS
PxError_t PxInterruptSetName (PxInterrupt_t interrupt, const PxChar_t *buffer, PxUInt_t bufsize);
ARGUMENTS
interrupt

The interrupt’s id

buffer

Data area used to copy the interrupt object name from.

bufsize

The length of the interrupt object name.

RETURN VALUES
  • PXERR_NOERROR if successful, or a PXROS-HR error code otherwise.

ERROR CODES

PXERR_GLOBAL_ILLEGAL_CORE

The requested object is not on the same core

PXERR_NAME_BUFOVERFLOW

The name has been truncated

PXERR_OBJ_ILLOBJ

The passed object handle is not valid

PXERR_PROT_PERMISSION

The name is not readable for the calling task

PXERR_SERVICE_NOT_CONFIGURED

Service has not been configured

PXERR_ILLEGAL_ACCESS

Access through parameter pointer in size is illegal

DESCRIPTION

PxInterruptSetName assigns the name to the object with handle interrupt.