XSecure_AesWaitForDone - XSecure_AesWaitForDone - 2026.1 English - UG643

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

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English
This macro waits for AES engine completes configured operation.

Definition

#define XSecure_AesWaitForDone(InstancePtr)	\
	Xil_WaitForEvent((InstancePtr)->BaseAddress + XSECURE_CSU_AES_STS_OFFSET,\
	                XSECURE_CSU_AES_STS_AES_BUSY,	\
	                0U,	\
	                XSECURE_AES_TIMEOUT_MAX)

Parameters

The following table lists the XSecure_AesWaitForDone definition values.

Table 1. XSecure_AesWaitForDone Values
Name Description
InstancePtr Pointer to the XSecure_Aes instance.

Returns

XST_SUCCESS if the AES engine completes configured operation. XST_FAILURE if a timeout has occurred.