XilSKey_ZynqMp_EfusePs_UserFuses_WriteChecks - 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 throws an error if user requests already programmed User FUSE bit to revert, and copies the User FUSE bits which needs actually to be programmed into provided UserFuses_TobePrgrmd pointer.

Note: If user requests a non-zero bit for making to zero throws an error which is not possible

Prototype

INLINE u32 XilSKey_ZynqMp_EfusePs_UserFuses_WriteChecks(const XilSKey_ZynqMpEPs *InstancePtr, XilSKey_UsrFuses *ToBePrgrmd);

Parameters

The following table lists the XilSKey_ZynqMp_EfusePs_UserFuses_WriteChecks function arguments.

Table 1. XilSKey_ZynqMp_EfusePs_UserFuses_WriteChecks Arguments
Type Name Description
const XilSKey_ZynqMpEPs * InstancePtr is a pointer to eFUSE ps instance.
Commented parameter UserFuses_TobePrgrmd does not exist in function XilSKey_ZynqMp_EfusePs_UserFuses_WriteChecks. UserFuses_TobePrgrmd holds User FUSE bits which needs to be actually programmed.

Returns

  • ErrorCode if user requests programmed bit to revert.
  • XST_SUCCESS if user requests valid bits