Xil_SetMBFrequency - 2023.1 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-05-16
Version
2023.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