PxDelayIdIsValid()

Returns TRUE if Delay holds a valid Delay handle.

APPLIES TO

8.2.0

SYNOPSIS
int PxDelayIdIsValid (PxDelay_t Delay);
ARGUMENTS
Delay

A Delay handle

RETURN VALUES
  • TRUE if Delay is a valid Delay handle

DESCRIPTION

PxDelayIdIsValid returns TRUE if obj holds a valid Delay handle.

USAGE
#include "pxdef.h"

int valid = PxDelayIdIsValid(Delay);

if (!valid) {
    // Handle invalid delay handle
}