Function Prototype
u32 XRFdc_ThresholdStickyClear(XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 ThresholdToUpdate);
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.
- u32 ThresholdToUpdate
- Select which Threshold (Threshold0 or Threshold1 or both) to
update.Note: See Threshold_Settings structure for valid macros.
Description
This API function clears the sticky bit in threshold configuration
registers based on the
ThresholdToUpdate
parameter.Note:
This API function is applicable only for RF-ADCs.
Return Value
XRFDC_SUCCESS
XRFDC_FAILURE
Note: Threshold0 and Threshold1 in the driver correspond to
Threshold1 and Threshold2 in the IP respectively.