XSecure_AesWaitForDone - 2023.1 English

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

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 English
This macro waits for AES engine completes configured operation.

Definition

#define XSecure_AesWaitForDone	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.