PxInterruptIdIsValid()

Return TRUE if Interrupt holds a valid Interrupt handle.

APPLIES TO

1.0.0

SYNOPSIS
int PxInterruptIdIsValid (PxInterrupt_t Interrupt);
ARGUMENTS
Interrupt

An Interrupt handle

RETURN VALUES
  • TRUE if Interrupt is a valid Interrupt handle

DESCRIPTION

PxInterruptIdIsValid returns TRUE if obj holds a valid Interrupt handle.

USAGE
#include "pxdef.h"

int valid = PxInterruptIdIsValid(Interrupt);

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