clk_wiz
Vitis Drivers API Documentation
|
Data Structures | |
struct | XClk_Wiz_Config |
The configuration structure for CLK_WIZ Controller This structure passes the hardware building information to the driver. More... | |
struct | XClk_Wiz |
The XClk_Wiz driver instance data. More... | |
Typedefs | |
typedef void(* | XClk_Wiz_CallBack )(void *CallBackRef, u32 Mask) |
Callback type for all interrupts defined. More... | |
Functions | |
XClk_Wiz_Config * | XClk_Wiz_LookupConfig (u32 DeviceId) |
Look up the hardware configuration for a device instance. More... | |
u32 | XClk_Wiz_SetRate (XClk_Wiz *InstancePtr, u64 SetRate) |
Change the frequency to the given rate. More... | |
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_GetInterruptSettings (XClk_Wiz *InstancePtr) |
XClk_Wiz_GetInterruptSettings will get the information from clock wizard IER and ISR Registers. More... | |
int | XClk_Wiz_SetCallBack (XClk_Wiz *InstancePtr, u32 HandleType, void *CallBackFunc, void *CallBackRef) |
This routine installs an asynchronous callback function for the given HandlerType: 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... | |
void | XClk_Wiz_SetInputRate (XClk_Wiz *InstancePtr, double Rate) |
Change the Input frequency to the given rate. More... | |
u32 | XClk_Wiz_WaitForLock (XClk_Wiz *InstancePtr) |
Wait till the clocking wizard is locked to the frequency. More... | |