XilSKey_EfusePs_Read - 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.

Note: When called: This API initializes the timer, XADC subsystems. Unlocks the PS eFUSE Controller. Configures the PS eFUSE Controller and enables read-only mode. Reads the PS eFUSE (Hash Value), and enables read-only mode. Locks the PS eFUSE Controller. Returns an error, if the reference clock frequency is not in between 20 and 60MHz. or if unable to unlock PS eFUSE controller or requested address corresponds to restricted bits. or if the temperature and voltage are not within range

Prototype

u32 XilSKey_EfusePs_Read(XilSKey_EPs *PsInstancePtr);

Parameters

The following table lists the XilSKey_EfusePs_Read function arguments.

Table 1. XilSKey_EfusePs_Read Arguments
Type Name Description
Commented parameter InstancePtr does not exist in function XilSKey_EfusePs_Read. InstancePtr Pointer to the PsEfuseHandle which describes which PS eFUSE should be burned.

Returns

  • XST_SUCCESS no errors occurred.
  • In case of error, value is as defined in xilskey_utils.h. Error value is a combination of Upper 8 bit value and Lower 8 bit value. For example, 0x8A03 should be checked in error.h as 0x8A00 and 0x03. Upper 8 bit value signifies the major error and lower 8 bit values tells more precisely.