XilSKey_EfusePs_Read - XilSKey_EfusePs_Read - 2025.2 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2025-11-20
Version
2025.2 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 *InstancePtr);

Parameters

The following table lists the XilSKey_EfusePs_Read function arguments.

Table 1. XilSKey_EfusePs_Read Arguments
Type Member Description
XilSKey_EPs * InstancePtr Pointer to the PsEfuseHandle which describes which PS eFUSE is burned.

Returns

  • XST_SUCCESS no errors occurred.
  • In case of error, value is same as defined in xilskey_utils.h. Error value is a combination of Upper 8 bit value and lower 8-bit value. For example, 0x8A03 is checked in error.h as 0x8A00 and 0x03. Upper 8-bit value signifies the major error and lower 8-bit values contains more precise information.