This function is used to read a user fuse from the eFUSE or cache
Note: It is highly recommended to read from eFuse cache. Because reading from efuse may reduce the life of the efuse. And Cache reload is required for obtaining updated values for ReadOption 0.
Prototype
u32 XilSKey_ZynqMp_EfusePs_ReadUserFuse(u32 *UseFusePtr, u8 UserFuse_Num, u8 ReadOption);
Parameters
The following table lists the XilSKey_ZynqMp_EfusePs_ReadUserFuse
function arguments.
Type | Name | Description |
---|---|---|
u32 * | UseFusePtr | Pointer to an array which holds the readback user fuse. |
u8 | UserFuse_Num | A variable which holds the user fuse number. Range is (User fuses: 0 to 7) |
u8 | ReadOption |
Indicates whether or not to read from the actual eFUSE array or from the eFUSE cache.
|
Returns
- XST_SUCCESS on successful read
- ErrorCode on failure