GBL_getProcId
2-114
C Interface
Syntax
procid = GBL_getProcId(Void);
Parameters
Void
Return Value
Uint16
procid;
/* processor ID */
Reentrant
yes
Description
Returns the configured value of the processor ID (PROCID) for this
processor. This numeric ID value is used by the MSGQ module when
determining which processor to communicate with.
The procId is also defined in the MSGQ_TransportObj array that is part
of the MSGQ_Config structure. The same processor ID should be
defined for this processor in both locations.
During the User Init Function, the application may modify the statically
configured processor ID by calling GBL_setProcId. In this case, the User
Init Function may need to call GBL_getProcId first to get the statically
configured processor ID.
See Also
MSGQ Module: Static Configuration
GBL_setProcId
GBL_getProcId
Get configured value of processor ID