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.
| Name | Description |
|---|---|
| File | filename of the source |
| Line | linenumber within File |