XilSKey_ZynqMp_EfusePs_ReadPufChash - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 English

This function reads eFUSE PUF CHash data from the eFUSE array or cache based on the user read option.

Note: Cache reload is required for obtaining updated values for reading from cache..

Prototype

u32 XilSKey_ZynqMp_EfusePs_ReadPufChash(u32 *Address, u8 ReadOption);

Parameters

The following table lists the XilSKey_ZynqMp_EfusePs_ReadPufChash function arguments.

Table 1. XilSKey_ZynqMp_EfusePs_ReadPufChash Arguments
Type Name Description
u32 * Address Pointer which holds the read back value of the chash.
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 cache
  • 1(XSK_EFUSEPS_READ_FROM_EFUSE) Reads from eFUSE array

Returns

  • XST_SUCCESS if programs successfully.
  • Errorcode on failure