rfdc
Xilinx Vitis Drivers API Documentation
xrfdc_dp.c File Reference

Functions

u32 XRFdc_SetDecimationFactor (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 DecimationFactor)
 This API is to set the decimation factor and also update the FIFO write words w.r.t to decimation factor. More...
 
u32 XRFdc_SetDecimationFactorObs (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 DecimationFactor)
 This API is to set the decimation factor and also update the FIFO write words w.r.t to decimation factor for the observation FIFO. More...
 
u32 XRFdc_UpdateEvent (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, u32 Event)
 This function will trigger the update event for an event. More...
 
u32 XRFdc_SetInterpolationFactor (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 InterpolationFactor)
 This API is to set the interpolation factor and also update the FIFO read words w.r.t to interpolation factor. More...
 
u32 XRFdc_GetInterpolationFactor (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 *InterpolationFactorPtr)
 Interpolation factor are returned back to the caller. More...
 
u32 XRFdc_GetDecimationFactor (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 *DecimationFactorPtr)
 Decimation factor are returned back to the caller. More...
 
u32 XRFdc_GetDecimationFactorObs (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 *DecimationFactorPtr)
 Decimation factor are returned back to the caller for the observation FIFO. More...
 
u32 XRFdc_SetInvSincFIR (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u16 Mode)
 This API is used to set the mode for the Inverse-Sinc filter. More...
 
u32 XRFdc_GetInvSincFIR (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u16 *ModePtr)
 This API is used to get the Inverse-Sinc filter mode. More...
 
u32 XRFdc_IsDACDigitalPathEnabled (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id)
 Checks whether DAC Digital path is enabled or not. More...
 
u32 XRFdc_IsADCDigitalPathEnabled (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id)
 Checks whether ADC digital path is enabled or not. More...
 
u32 XRFdc_CheckDigitalPathEnabled (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id)
 Checks whether ADC/DAC Digital path is enabled or not. More...
 
u32 XRFdc_SetFabClkOutDiv (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u16 FabClkDiv)
 This API is to set the divider for clock fabric out. More...
 
u32 XRFdc_GetFabClkOutDiv (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u16 *FabClkDivPtr)
 This API is to get the divider for clock fabric out. More...
 
u32 XRFdc_SetFabWrVldWords (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 FabricWrVldWords)
 Fabric data rate for the requested DAC block is set by writing to the corresponding register. More...
 
u32 XRFdc_SetFabRdVldWords (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 FabricRdVldWords)
 Fabric data rate for the requested ADC block is set by writing to the corresponding register. More...
 
u32 XRFdc_SetFabRdVldWordsObs (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 FabricRdVldWords)
 Fabric data rate for the requested ADC block is set by writing to the corresponding register. More...
 
u32 XRFdc_GetFabWrVldWords (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, u32 *FabricWrVldWordsPtr)
 This API returns the number of fabric write valid words requested for the block. More...
 
u32 XRFdc_GetFabWrVldWordsObs (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, u32 *FabricWrVldWordsPtr)
 This API returns the number of fabric write valid words requested for the block. More...
 
u32 XRFdc_GetFabRdVldWords (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, u32 *FabricRdVldWordsPtr)
 This API returns the number of fabric read valid words requested for the block. More...
 
u32 XRFdc_GetFabRdVldWordsObs (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, u32 *FabricRdVldWordsPtr)
 This function returns the number of fabric read valid words requested for the block. More...
 
u32 XRFdc_SetupFIFO (XRFdc *InstancePtr, u32 Type, int Tile_Id, u8 Enable)
 Enable and Disable the ADC/DAC FIFO. More...
 
u32 XRFdc_SetupFIFOObs (XRFdc *InstancePtr, u32 Type, int Tile_Id, u8 Enable)
 Enable and Disable the ADC/DAC FIFO. More...
 
u32 XRFdc_SetupFIFOBoth (XRFdc *InstancePtr, u32 Type, int Tile_Id, u8 Enable)
 Enable and Disable the ADC/DAC FIFO. More...
 
u32 XRFdc_GetFIFOStatusInt (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u8 *EnablePtr, u32 Channel)
 Current status of ADC/DAC FIFO. More...
 
u32 XRFdc_GetFIFOStatus (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u8 *EnablePtr)
 Current status of ADC/DAC FIFO. More...
 
u32 XRFdc_GetFIFOStatusObs (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u8 *EnablePtr)
 Current status of ADC/DAC FIFO. More...
 
u32 XRFdc_ResetInternalFIFOWidth (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id)
 Set the correct FIFO width for current mixer & rate change settings. More...
 
u32 XRFdc_ResetInternalFIFOWidthObs (XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id)
 Set the correct Observation FIFO width for current mixer & rate change settings. More...
 
double XRFdc_GetFabClkFreq (XRFdc *InstancePtr, u32 Type, u32 Tile_Id)
 Get Fabric Clock frequency. More...
 
u32 XRFdc_IsFifoEnabled (XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id)
 Get whether FIFO is enabled or not. More...