Function Prototype
u32 XRFdc_SetSignalDetector(XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, XRFdc_Signal_Detector_Settings *SettingsPtr);
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 block number inside the tile. Valid values are 0-3.
- XRFdc_Signal_Detector_Settings *SettingsPtr
- Pointer to the
XRFdc_Signal_Detector_Settings
structure that passes the signal detector settings.
Macro | Description |
---|---|
XRFDC_SIGDET_MODE_AVG | Average mode of operation |
XRFDC_SIGDET_MODE_RNDM | Randomized mode of operation |
Macro | Description |
---|---|
XRFDC_SIGDET_TC_2_0 | 2^0 Cycles |
XRFDC_SIGDET_TC_2_2 | 2^2 Cycles |
XRFDC_SIGDET_TC_2_4 | 2^4 Cycles |
XRFDC_SIGDET_TC_2_8 | 2^8 Cycles |
XRFDC_SIGDET_TC_2_12 | 2^12 Cycles |
XRFDC_SIGDET_TC_2_14 | 2^14 Cycles |
XRFDC_SIGDET_TC_2_16 | 2^16 Cycles |
XRFDC_SIGDET_TC_2_18 | 2^18 Cycles |
Description
The signal detector settings passed are used to update the
corresponding block level registers.
Note: This is an API function for RF-ADCs only. Only available for Gen 3/DFE devices.
Return Value
XRFDC_SUCCESS
XRFDC_FAILURE