Xil_AssertSetCallback - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 English

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.

Table 1. Xil_AssertSetCallback Arguments
Name Description
Routine callback to be invoked when an assert is taken

Returns

None.