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

Sets variable which stores Microblaze frequency value.

Note: It must be called after runtime change in Microblaze frequency, failing to do so would result in to incorrect behavior of sleep routines

Prototype

u32 Xil_SetMBFrequency(u32 Val);

Parameters

The following table lists the Xil_SetMBFrequency function arguments.

Table 1. Xil_SetMBFrequency Arguments
Name Description
Val - Frequency value to be set

Returns

XST_SUCCESS - If frequency updated successfully XST_INVALID_PARAM - If specified frequency value is not valid