Adds a new RC entry to the RC_CONFIGURATION in dynamic mode.
RCId must be same as the physical channel RachChan on a selected band.
Note: This API must be executed only after all CC configuration are done with the API XDfePrach_AddCCtoCCCfg.
Prototype
u32 XDfePrach_AddRCtoRCCfgMBDynamic(const XDfePrach *InstancePtr, XDfePrach_RCCfg *CurrentRCCfg, s32 CCID, u32 RCId, u32 RachChan, XDfePrach_CCCfg *NextCCCfg, u32 BandId);
Parameters
The following table lists the XDfePrach_AddRCtoRCCfgMBDynamic
function arguments.
Type | Member | Description |
---|---|---|
const
XDfePrach
* |
InstancePtr | Pointer to the PRACH instance. |
XDfePrach_RCCfg * | CurrentRCCfg | Current RACH configuration container. |
s32 | CCID | CC ID [0-15]. |
u32 | RCId | RC Id [0-15]. |
u32 | RachChan | RACH channel [0-15]. |
XDfePrach_CCCfg
* |
NextCCCfg | CC configuration container. |
u32 | BandId | Band id. |
Returns
- XST_SUCCESS on success
- XST_FAILURE on failure