Xil_Assert - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 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.