clk_wiz
Vitis Drivers API Documentation
xclk_wiz.c File Reference

Functions

u32 XClk_Wiz_CfgInitialize (XClk_Wiz *InstancePtr, XClk_Wiz_Config *CfgPtr, UINTPTR EffectiveAddr)
 Initialize the XClk_Wiz instance provided by the caller based on the given Config structure. More...
 
void XClk_Wiz_SetMinErr (XClk_Wiz *InstancePtr, u64 Minerr)
 Set the Minimum error that can be tolerated. More...
 
u32 XClk_Wiz_SetRateHz (XClk_Wiz *InstancePtr, u64 SetRate)
 Change the frequency to the given rate in Hz. More...
 
u32 XClk_Wiz_SetRate (XClk_Wiz *InstancePtr, u64 SetRate)
 Change the frequency to the given rate. More...
 
u32 XClk_Wiz_EnableClock (XClk_Wiz *InstancePtr, u32 ClockId)
 Enable Clock for the given ClockId. More...
 
u32 XClk_Wiz_DisableClock (XClk_Wiz *InstancePtr, u32 ClockId)
 Disable Clock for the given ClockId. More...
 
u32 XClk_Wiz_WaitForLock (XClk_Wiz *InstancePtr)
 Wait till the clocking wizard is locked to the frequency. More...
 
void XClk_Wiz_SetInputRate (XClk_Wiz *InstancePtr, double Rate)
 Change the Input frequency to the given rate. More...
 
void XClk_Wiz_GetInterruptSettings (XClk_Wiz *InstancePtr)
 XClk_Wiz_GetInterruptSettings will get the information from clock wizard IER and ISR Registers. More...