#include "xil_types.h"
#include "xil_assert.h"
Functions | |
void | Xil_Assert (const char *File, int Line) |
void | Xil_AssertSetCallback (Xil_AssertCallback Routine) |
void | XNullHandler (void *NullParameter) |
Variables | |
unsigned int | Xil_AssertStatus |
int | Xil_AssertWait = TRUE |
MODIFICATION HISTORY:
Ver Who Date Changes ----- ---- -------- ------------------------------------------------------- 1.00a hbm 07/14/09 Initial release
|
Implement assert. Currently, it calls a user-defined callback function if one has been set. Then, it potentially enters an infinite loop depending on the value of the Xil_AssertWait variable.
|
|
Set up a callback function to be invoked when an assert occurs. If there was already a callback installed, then it is replaced.
|
|
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.
|
|
This variable allows testing to be done easier with asserts. An assert sets this variable such that a driver can evaluate this variable to determine if an assert occurred. |
|
This variable allows the assert functionality to be changed for testing such that it does not wait infinitely. Use the debugger to disable the waiting during testing of asserts. |