Set up a callback function to be invoked when an assert occurs.
If a callback is already installed, then it will be replaced.
Note: This function has no effect if NDEBUG is set
Prototype
void Xil_AssertSetCallback(Xil_AssertCallback Routine);
Parameters
The following table lists the Xil_AssertSetCallback function arguments.
| Name | Description |
|---|---|
| routine | callback to be invoked when an assert is taken |