Adds a new RC entry to the RACH Channel configuration in dynamic mode.
Must be used when the core is configured with a single band. It can be used to add an RC which captures from a CC in band 0 in multi band mode.
Note: This API must be executed only after all CC configurations are done with the API XDfePrach_AddCCtoCCCfg.
Prototype
u32 XDfePrach_AddRCtoRCCfgDynamic(const XDfePrach *InstancePtr, XDfePrach_RCCfg *CurrentRCCfg, s32 CCID, u32 RCId, u32 RachChan, XDfePrach_CCCfg *NextCCCfg);
Parameters
The following table lists the XDfePrach_AddRCtoRCCfgDynamic 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. |
Returns
- XST_SUCCESS on success
- XST_FAILURE on failure