Updates specified CCID, with specified configuration to a local CC configuration structure for BandId=0.
If there is insufficient capacity for the new CC the function will return an error.
Prototype
u32 XDfePrach_UpdateCCinCCCfg(const XDfePrach *InstancePtr, XDfePrach_CCCfg *CCCfg, s32 CCID, const XDfePrach_CarrierCfg *CarrierCfg);
Parameters
The following table lists the XDfePrach_UpdateCCinCCCfg
function arguments.
Type | Member | Description |
---|---|---|
const
XDfePrach
* |
InstancePtr | Pointer to the PRACH instance. |
XDfePrach_CCCfg
* |
CCCfg | Component carrier (CC) configuration container. |
s32 | CCID | CC ID [0-15]. |
const
XDfePrach_CarrierCfg
* |
CarrierCfg | CC configuration container. |
Returns
- XST_SUCCESS if successful.
- XST_FAILURE if error occurs.