Function Prototype
u32 XRFdc_GetBlockStatus(XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, XRFdc_BlockStatus *BlockStatusPtr);
Arguments
- XRFdc *InstancePtr
- Pointer to the driver instance.
- u32 Type
- RF-ADC or RF-DAC; 0 for RF-ADC and 1 for RF-DAC.
- u32 Tile_Id
- RF-ADC/RF-DAC tile number. Valid values are 0-3.
- u32 Block_Id
- RF-ADC/RF-DAC block number inside the tile. Valid values are 0-3.
- XRFdc_BlockStatus *BlockStatusPtr
- Pointer to the XRFdc_BlockStatus structure through which the RF-ADC/RF-DAC block status is returned.
Description
This API function returns the requested block status.
Note: This is a common
API function for RF-ADCs/RF-DACs.
Return Value
XRFDC_SUCCESS
XRFDC_FAILURE
(Converter not enabled)