XSecure_AesWaitForDone - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 English
This macro waits for AES engine completes configured operation.

Definition

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