oms_wp_phy_rxch_objid_get ()
Abstract
Gets the receiver channel object ID of the given channel index.
Syntax
oms_wp_phy_rxch_objid_get (phy_hdl, channel_index)
| Argument | Type | Description |
|---|---|---|
phy_handle |
OmsT_WP_Phy_Handle* |
Handle to the PHY module |
channel_index |
int |
Index of the receiver channel for which the channel object ID is to be retrieved. |
Return Type
Objid
Returns a valid channel object ID, if available, otherwise returns OPC_OBJID_INVALID.
Details
This function can be used by the client of the PHY module to retrieve the object ID of the receiver channel for the given channel index.
Example
Excerpt from lte_ue_as process model, function block.
/* Update UE information. */
ue_info_ptr->ue_as_objid = own_module_id;
ue_info_ptr->rxch_objid = oms_wp_phy_rxch_objid_get (phy_module_hdl, 0);