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