Adds a new RC entry to the RC_CONFIGURATION.
RCId must be same as the physical channel RachChan on a band id = 0.
Note: This API must be executed only after all CC configuration are done with the API XDfePrach_AddCCtoCCCfg.
Prototype
u32 XDfePrach_AddRCtoRCCfg(const XDfePrach *InstancePtr, XDfePrach_RCCfg *CurrentRCCfg, s32 CCID, u32 RCId, u32 RachChan, XDfePrach_DDCCfg *DdcCfg, XDfePrach_NCO *NcoCfg, XDfePrach_Schedule *StaticSchedule, XDfePrach_CCCfg *NextCCCfg);
Parameters
The following table lists the XDfePrach_AddRCtoRCCfg
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_DDCCfg
* |
DdcCfg | DDC data container. |
XDfePrach_NCO
* |
NcoCfg | NCO data container. |
XDfePrach_Schedule
* |
StaticSchedule | Schedule data container (ignore it if module parameter HAS_CONTINUOUS_SCHED == 1) |
XDfePrach_CCCfg
* |
NextCCCfg | CC configuration container. |
Returns
- XST_SUCCESS on success
- XST_FAILURE on failure