Xil_Assert - 2023.1 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 English

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.

Note: None.

Prototype

void Xil_Assert(const char8 *File, s32 Line);

Parameters

The following table lists the Xil_Assert function arguments.

Table 1. Xil_Assert Arguments
Name Description
file filename of the source
line linenumber within File

Returns

None.