Texas Instruments TMS320 User Manual page 221

Dsp/bios v5.40
Hide thumbs Also See for TMS320:
Table of Contents

Advertisement

Field
Type
transports
MSGQ_TransportObj *
numMsgqQueues
Uint16
numProcessors
Uint16
startUninitialized
Uint16
errorQueue
MSGQ_Queue
errorPoolId
Uint16
Field
Type
initFxn
MSGQ_MqtInit
fxns
MSGQ_TransportFxns *
params
Ptr
Description
Array of transport objects. The fields of each object must be
initialized.
Length of the msgqQueues array.
Length of the transports array.
Index of the first message queue to initialize in the msgq-
Queue array. This should be set to 0.
Message queue to receive transport errors. Initialize to
MSGQ_INVALIDMSGQ.
Allocator to allocate transport errors. Initialize to
POOL_INVALIDID.
Internally, MSGQ references its configuration via the MSGQ_config variable.
If the MSGQ module is enabled (via the .tcf configuration file) but the
application does not provide the MSGQ_config variable, the application
cannot be linked successfully.
In the MSGQ_Config structure, and array of MSGQ_TransportObj items
defines transport objects with the following structure:
typedef struct MSGQ_TransportObj {
MSGQ_MqtInit
initFxn;
MSGQ_TransportFxns *fxns; /* Interface funcs */
Ptr
params; /* Setup parameters */
Ptr
object; /* Transport-specific object */
Uint16
procId; /* Processor Id talked to */
} MSGQ_TransportObj;
The following table describes the fields in the MSGQ_TransportObj structure:
Description
Initialization function for this transport. This function is called during
DSP/BIOS startup. More explicitly it is called before main().
Pointer to the transport's interface functions.
Pointer to the transport's parameters. This field is transport-specific.
Please see documentation provided with your transport for a
description of this field.
/* Transport init func */
Input/Output Methods
Message Queues
6-19

Advertisement

Table of Contents
loading

Table of Contents