Function Prototype
u32 XRFdc_GetPwrMode(XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, XRFdc_Pwr_Mode_Settings *SettingsPtr);
Arguments
- XRFdc *InstancePtr
- Pointer to the driver instance.
- u32 Type
- RF-ADC or RF-DAC; 0 for RF-ADC and 1 for RF-DAC.
- int Tile_Id
- RF-ADC/RF-DAC tile number. Valid values are 0-3 and -1 (for all tiles).
- u32 Block_Id
- RF-ADC/RF-DAC number inside the tile. Valid values are 0-3.
- XRFdc_Pwr_Mode_Settings *SettingsPtr
- A pointer to be populated with the current power mode settings.
Description
This API function gets the power mode for a given RF-ADC/RF-DAC block.
Return Value
XRFDC_SUCCESS
XRFDC_FAILURE