50#define XIL_ASSERT_NONE 0U
51#define XIL_ASSERT_OCCURRED 1U
56extern void Xil_Assert(
const char8 *File, s32 Line);
86#define Xil_AssertVoid(Expression) \
89 Xil_AssertStatus = XIL_ASSERT_NONE; \
91 Xil_Assert(__FILE__, __LINE__); \
92 Xil_AssertStatus = XIL_ASSERT_OCCURRED; \
111#define Xil_AssertNonvoid(Expression) \
114 Xil_AssertStatus = XIL_ASSERT_NONE; \
116 Xil_Assert(__FILE__, __LINE__); \
117 Xil_AssertStatus = XIL_ASSERT_OCCURRED; \
131#define Xil_AssertVoidAlways() \
133 Xil_Assert(__FILE__, __LINE__); \
134 Xil_AssertStatus = XIL_ASSERT_OCCURRED; \
148#define Xil_AssertNonvoidAlways() \
150 Xil_Assert(__FILE__, __LINE__); \
151 Xil_AssertStatus = XIL_ASSERT_OCCURRED; \
158#define Xil_AssertVoid(Expression)
159#define Xil_AssertVoidAlways()
160#define Xil_AssertNonvoid(Expression)
161#define Xil_AssertNonvoidAlways()
void(* Xil_AssertCallback)(const char8 *File, s32 Line)
Definition: xil_assert.h:66
void XNullHandler(void *NullParameter)
Null handler function. This follows the XInterruptHandler signature for interrupt handlers....
Definition: xil_assert.c:120
void Xil_Assert(const char8 *File, s32 Line)
Implement assert. Currently, it calls a user-defined callback function if one has been set....
Definition: xil_assert.c:74
s32 Xil_AssertWait
This variable allows the assert functionality to be changed for testing such that it does not wait in...
Definition: xil_assert.c:51
u32 Xil_AssertStatus
This variable allows testing to be done easier with asserts. An assert sets this variable such that a...
Definition: xil_assert.c:44
void Xil_AssertSetCallback(Xil_AssertCallback Routine)
Set up a callback function to be invoked when an assert occurs. If a callback is already installed,...
Definition: xil_assert.c:101