This function is used to read the PS eFUSE secure control bits from cache or eFUSE based on user input provided.
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_ReadSecCtrlBits(XilSKey_SecCtrlBits *ReadBackSecCtrlBits, u8 ReadOption);
Parameters
The following table lists the XilSKey_ZynqMp_EfusePs_ReadSecCtrlBits
function arguments.
Type | Member | Description |
---|---|---|
XilSKey_SecCtrlBits * | ReadBackSecCtrlBits | Pointer to the XilSKey_SecCtrlBits which holds the read secure control bits. |
u8 | ReadOption |
Indicates whether or not to read from the actual eFUSE array or from the eFUSE cache.
|
Returns
- XST_SUCCESS if reads successfully
- XST_FAILURE if reading is failed