Function Prototype
u32 XRFdc_SetThresholdSettings(XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, XRFdc_Threshold_Settings *Threshold_Settings);
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 *Threshold_Settings
- Pointer through which the register settings for thresholds are passed to the API.
Description
This API function writes the threshold settings to the relevant
registers. The driver structure is updated with the new values.
Note: This API function
is only applicable for RF-ADCs.
Return Value
XRFDC_SUCCESS
XRFDC_FAILURE