XSecure_AesWaitForDone - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2021-06-16
Version
2021.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.