RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros | Typedefs | Functions
xil_assert.h File Reference

Go to the source code of this file.

Macros

#define Xil_AssertVoid(Expression)
 This assert macro is to be used for void functions. This in conjunction with the Xil_AssertWait boolean can be used to accommodate tests so that asserts which fail allow execution to continue.
 
#define Xil_AssertNonvoid(Expression)
 This assert macro is to be used for functions that do return a value. This in conjunction with the Xil_AssertWait boolean can be used to accommodate tests so that asserts which fail allow execution to continue.
 
#define Xil_AssertVoidAlways()
 Always assert. This assert macro is to be used for void functions. Use for instances where an assert should always occur.
 
#define Xil_AssertNonvoidAlways()
 Always assert. This assert macro is to be used for functions that do return a value. Use for instances where an assert should always occur.
 

Typedefs

typedef void(* Xil_AssertCallback) (const char8 *File, s32 Line)
 

Functions

void XNullHandler (void *NullParameter)
 Null handler function. This follows the XInterruptHandler signature for interrupt handlers. It can be used to assign a null handler (a stub) to an interrupt controller vector table.
 
void Xil_AssertSetCallback (Xil_AssertCallback Routine)
 Set up a callback function to be invoked when an assert occurs. If a callback is already installed, then it will be replaced.