XilSKey_ZynqMp_EfusePs_ReadSecCtrlBits - 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 function is used to read the PS eFUSE secure control bits from cache or eFUSE based on user input provided.

Note: It is highly recommended to read from eFuse cache. Because reading from efuse may reduce the life of the efuse. And Cache reload is required for obtaining updated values for ReadOption 0.

Prototype

u32 XilSKey_ZynqMp_EfusePs_ReadSecCtrlBits(XilSKey_SecCtrlBits *ReadBackSecCtrlBits, u8 ReadOption);

Parameters

The following table lists the XilSKey_ZynqMp_EfusePs_ReadSecCtrlBits function arguments.

Table 1. XilSKey_ZynqMp_EfusePs_ReadSecCtrlBits Arguments
Type Name Description
XilSKey_SecCtrlBits * ReadBackSecCtrlBits Pointer to the XilSKey_SecCtrlBits which holds the read secure control bits.
u8 ReadOption Indicates whether or not to read from the actual eFUSE array or from the eFUSE cache.
  • 0(XSK_EFUSEPS_READ_FROM_CACHE) Reads from eFUSE cache
  • 1(XSK_EFUSEPS_READ_FROM_EFUSE) Reads from eFUSE array

Returns

  • XST_SUCCESS if reads successfully
  • XST_FAILURE if reading is failed