Function Prototype
u32 XRFdc_GetThresholdSettings(XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, XRFdc_Threshold_Settings *ThresholdSettingsPtr);
Arguments
- XRFdc *InstancePtr
- Pointer to the driver instance.
- u32 Tile_Id
- RF-ADC tile number. Valid values are 0-3.
- u32 Block_Id
- RF-ADC number inside the tile. Valid values are 0-3.
- XRFdc_Threshold_Settings *ThresholdSettingsPtr
- Pointer through which the register settings for thresholds are passed back.
Description
This API function reads threshold settings from the corresponding registers.
Note: This API
function is only applicable for RF-ADCs.
Return Value
XRFDC_SUCCESS
XRFDC_FAILURE