lib/sw_services/xilnvm/examples/xilnvm_efuse_versal_client_example.c
static int XilNvm_EfuseShowCtrlBits(void)
{
	int Status = XST_FAILURE;

	Status = XilNvm_EfuseShowSecCtrlBits();
	if (Status != XST_SUCCESS) {
		goto END;
	}
	Status = XilNvm_EfuseShowPufSecCtrlBits();
	if (Status != XST_SUCCESS) {
		goto END;
	}
	Status = XilNvm_EfuseShowMiscCtrlBits();
	if (Status != XST_SUCCESS) {
		goto END;
	}
	Status = XilNvm_EfuseShowSecMisc1Bits();
	if (Status != XST_SUCCESS) {
		goto END;
	}
	Status = XilNvm_EfuseShowBootEnvCtrlBits();
	if (Status != XST_SUCCESS) {
		goto END;
	}

END:
	return Status;
}
/****************************************************************************/
/**
 * This API reads secure and control bits from efuse cache and displays here.
 *
 * @return
 * 		- XST_SUCCESS - If read is successful
 * 		- ErrorCode - On failure
 *
 ******************************************************************************/
This API reads secure and control bits from efuse cache and displays here.
@return
- XST_SUCCESS - If read is successful
- ErrorCode - On failure
This API reads secure and control bits from efuse cache and displays here . @return - XST_SUCCESS - If read is successful - ErrorCode - On failure
static int XilNvm_EfuseShowCtrlBits(void)
{
	int Status = XST_FAILURE;
	Status = XilNvm_EfuseShowSecCtrlBits();
	if (Status != XST_SUCCESS) {
		goto END;
	}
	Status = XilNvm_EfuseShowPufSecCtrlBits();
	if (Status != XST_SUCCESS) {
		goto END;
	}
	Status = XilNvm_EfuseShowMiscCtrlBits();
	if (Status != XST_SUCCESS) {
		goto END;
	}
	Status = XilNvm_EfuseShowSecMisc1Bits();
	if (Status != XST_SUCCESS) {
		goto END;
	}
	Status = XilNvm_EfuseShowBootEnvCtrlBits();
	if (Status != XST_SUCCESS) {
		goto END;
	}
END:
	return Status;
}
static int XilNvm_EfuseShowCtrlBits ( void ) { int Status = XST_FAILURE ; Status = XilNvm_EfuseShowSecCtrlBits ( ) ; if ( Status != XST_SUCCESS ) { goto END ; } Status = XilNvm_EfuseShowPufSecCtrlBits ( ) ; if ( Status != XST_SUCCESS ) { goto END ; } Status = XilNvm_EfuseShowMiscCtrlBits ( ) ; if ( Status != XST_SUCCESS ) { goto END ; } Status = XilNvm_EfuseShowSecMisc1Bits ( ) ; if ( Status != XST_SUCCESS ) { goto END ; } Status = XilNvm_EfuseShowBootEnvCtrlBits ( ) ; if ( Status != XST_SUCCESS ) { goto END ; } END : return Status ; }
This API reads secure and control bits from efuse cache and displays here.
This API reads secure and control bits from efuse cache and displays here .