Adds a new RC entry to the RACH Channel configuration.
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_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. Not required and can be ignored for "Always On" mode, where the internal scheduler is removed at core configuration. |
XDfePrach_CCCfg
* |
NextCCCfg | CC configuration container. |
Returns
- XST_SUCCESS on success
- XST_FAILURE on failure