devcfg
Xilinx SDK Drivers API Documentation
xdevcfg.c File Reference

Functions

int XDcfg_CfgInitialize (XDcfg *InstancePtr, XDcfg_Config *ConfigPtr, u32 EffectiveAddress)
 Initialize the Device Config Interface driver. More...
 
void XDcfg_EnablePCAP (XDcfg *InstancePtr)
 The functions enables the PCAP interface by setting the PCAP mode bit in the control register. More...
 
void XDcfg_DisablePCAP (XDcfg *InstancePtr)
 The functions disables the PCAP interface by clearing the PCAP mode bit in the control register. More...
 
void XDcfg_SetControlRegister (XDcfg *InstancePtr, u32 Mask)
 The function sets the contents of the Control Register. More...
 
void XDcfg_ClearControlRegister (XDcfg *InstancePtr, u32 Mask)
 The function Clears the specified bit positions of the Control Register. More...
 
u32 XDcfg_GetControlRegister (XDcfg *InstancePtr)
 The function reads the contents of the Control Register. More...
 
void XDcfg_SetLockRegister (XDcfg *InstancePtr, u32 Data)
 The function sets the contents of the Lock Register. More...
 
u32 XDcfg_GetLockRegister (XDcfg *InstancePtr)
 The function reads the contents of the Lock Register. More...
 
void XDcfg_SetConfigRegister (XDcfg *InstancePtr, u32 Data)
 The function sets the contents of the Configuration Register with the given value. More...
 
u32 XDcfg_GetConfigRegister (XDcfg *InstancePtr)
 The function reads the contents of the Configuration Register with the given value. More...
 
void XDcfg_SetStatusRegister (XDcfg *InstancePtr, u32 Data)
 The function sets the contents of the Status Register. More...
 
u32 XDcfg_GetStatusRegister (XDcfg *InstancePtr)
 The function reads the contents of the Status Register. More...
 
void XDcfg_SetRomShadowRegister (XDcfg *InstancePtr, u32 Data)
 The function sets the contents of the ROM Shadow Control Register. More...
 
u32 XDcfg_GetSoftwareIdRegister (XDcfg *InstancePtr)
 The function reads the contents of the Software ID Register. More...
 
void XDcfg_SetMiscControlRegister (XDcfg *InstancePtr, u32 Mask)
 The function sets the bit mask for the feature in Miscellaneous Control Register. More...
 
u32 XDcfg_GetMiscControlRegister (XDcfg *InstancePtr)
 The function reads the contents of the Miscellaneous Control Register. More...
 
u32 XDcfg_IsDmaBusy (XDcfg *InstancePtr)
 This function checks if DMA command queue is full. More...
 
void XDcfg_InitiateDma (XDcfg *InstancePtr, u32 SourcePtr, u32 DestPtr, u32 SrcWordLength, u32 DestWordLength)
 This function initiates the DMA transfer. More...
 
u32 XDcfg_Transfer (XDcfg *InstancePtr, void *SourcePtr, u32 SrcWordLength, void *DestPtr, u32 DestWordLength, u32 TransferType)
 This function starts the DMA transfer. More...