clk_wiz
Xilinx SDK Drivers API Documentation
xclk_wiz.h File Reference

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

Macros

Interrupt Types for setting Callbacks
#define XCLK_WIZ_HANDLER_CLK_OUTOF_RANGE   1
 
#define XCLK_WIZ_HANDLER_CLK_GLITCH   2
 
#define XCLK_WIZ_HANDLER_CLK_STOP   3
 
#define XCLK_WIZ_HANDLER_CLK_OTHER_ERROR   4
 

Typedefs

typedef void(* XClk_Wiz_CallBack )(void *CallBackRef, u32 Mask)
 Callback type for all interrupts defined. More...
 

Functions

XClk_Wiz_ConfigXClk_Wiz_LookupConfig (u32 DeviceId)
 Look up the hardware configuration for a device instance. 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...