rfdc
Xilinx Vitis Drivers API Documentation
xrfdc.c File Reference

Functions

u32 XRFdc_CfgInitialize (XRFdc *InstancePtr, XRFdc_Config *ConfigPtr)
 Initializes a specific XRFdc instance such that the driver is ready to use. More...
 
u32 XRFdc_StartUp (XRFdc *InstancePtr, u32 Type, int Tile_Id)
 The API Restarts the requested tile. More...
 
u32 XRFdc_Shutdown (XRFdc *InstancePtr, u32 Type, int Tile_Id)
 The API stops the tile as requested. More...
 
u32 XRFdc_Reset (XRFdc *InstancePtr, u32 Type, int Tile_Id)
 The API resets the requested tile. More...
 
u32 XRFdc_CustomStartUp (XRFdc *InstancePtr, u32 Type, int Tile_Id, u32 StartState, u32 EndState)
 The API starts the requested tile from a provided state and runs to the given end state. More...
 
u32 XRFdc_WaitForState (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 State)
 This function is used to wait for a tile to reach a given state. More...
 
u32 XRFdc_GetIPStatus (XRFdc *InstancePtr, XRFdc_IPStatus *IPStatusPtr)
 The API returns the IP status. More...
 
u32 XRFdc_GetBlockStatus (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, XRFdc_BlockStatus *BlockStatusPtr)
 The API returns the requested block status. More...
 
u32 XRFdc_SetDataPathMode (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 Mode)
 This API is to set the DAC Datapath mode. More...
 
u32 XRFdc_GetDataPathMode (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 *ModePtr)
 This API is to get the DAC Datapath mode. More...
 
u32 XRFdc_SetIMRPassMode (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 Mode)
 This API is to set the DAC Image Reject Filter Pass mode. More...
 
u32 XRFdc_GetIMRPassMode (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 *ModePtr)
 This API is to get the DAC Image Reject Filter Pass mode. More...
 
void XRFdc_DumpRegs (XRFdc *InstancePtr, u32 Type, int Tile_Id)
 This Prints the offset of the register along with the content. More...
 
u32 XRFdc_SetPwrMode (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, XRFdc_Pwr_Mode_Settings *SettingsPtr)
 Set The Power up/down mode of a given converter. More...
 
u32 XRFdc_GetPwrMode (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, XRFdc_Pwr_Mode_Settings *SettingsPtr)
 Get The Power up/down mode of a given converter. More...
 
void XRFdc_ClrSetReg (XRFdc *InstancePtr, u32 BaseAddr, u32 RegAddr, u16 Mask, u16 Data)
 Execute Read modify Write. More...
 
void XRFdc_ClrReg (XRFdc *InstancePtr, u32 BaseAddr, u32 RegAddr, u16 Mask)
 Execute Read and clear. More...
 
u16 XRFdc_RDReg (XRFdc *InstancePtr, u32 BaseAddr, u32 RegAddr, u16 Mask)
 Execute Read and mask with the value. More...
 
u32 XRFdc_IsHighSpeedADC (XRFdc *InstancePtr, int Tile)
 Get ADC type is High Speed or Medium Speed. More...
 
u32 XRFdc_Get_IPBaseAddr (XRFdc *InstancePtr)
 Get IP BaseAddress. More...
 
u32 XRFdc_Get_TileBaseAddr (XRFdc *InstancePtr, u32 Type, u32 Tile_Id)
 Get Tile BaseAddress. More...
 
u32 XRFdc_Get_BlockBaseAddr (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id)
 Get Block BaseAddress. More...
 
u32 XRFdc_GetNoOfDACBlock (XRFdc *InstancePtr, u32 Tile_Id)
 Get Number of DAC Blocks enabled. More...
 
u32 XRFdc_GetNoOfADCBlocks (XRFdc *InstancePtr, u32 Tile_Id)
 Get Number of ADC Blocks enabled. More...
 
u32 XRFdc_GetDataWidth (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id)
 Get Data Width for ADC/DAC block. More...
 
u32 XRFdc_CheckTileEnabled (XRFdc *InstancePtr, u32 Type, u32 Tile_Id)
 Checks whether ADC/DAC tile is enabled or not. More...
 
u32 XRFdc_GetMaxSampleRate (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, double *MaxSampleRatePtr)
 Gets ADC/DAC tile maximum sampling rate. More...
 
u32 XRFdc_GetMinSampleRate (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, double *MinSampleRatePtr)
 Gets ADC/DAC tile minimum sampling rate. More...
 
u8 XRFdc_GetTileLayout (XRFdc *InstancePtr)
 Gets whether the device is a DFE variant or not. More...
 
double XRFdc_GetDriverVersion (void)
 This API is used to get the driver version. More...