Intel
®
IXP400 Digital Signal Processing (DSP) Software Version 2.5
Common Control Message
API Reference Manual 23
5.0 Common Control Message
This section defines the control messages that can be applied to all the resources.
5.1 Reset Message
5.2 Start Message
Type XMSG_RESET
Direction Inbound
Description Stops the current action and resets the resource to idle state.
Format
typedef struct{
XMsgHdr_t head;/* message header */
} XMsgReset_t;
Macro
#define XMSG_MAKE_RESET(pMsg, trans, res, inst) \
{\
XMSG_MAKE_HEAD(pMsg, trans, res, inst, sizeof(XMsgReset_t),\
XMSG_RESET, 0)\
}
Response
• General acknowledgement message (XMSG_ACK)
• Error message (
XMSG_ERROR) if error.
Caution Any intermediate results are discarded.
Type XMSG_Start
Direction Inbound
Description Generic start message. Starts the media-processing functions on a resource.
Format
typedef struct{
XMsgHdr_t head; /* message header */
} XMsgStart_t;
Macro
#define XMSG_MAKE_START(pMsg, trans, res, inst) \
{\
XMSG_MAKE_HEAD(pMsg, trans, res, inst, sizeof(XMsgStart_t),\
XMSG_START, 0)\
}
Response
• General acknowledgement message (XMSG_ACK)
• Error message (XMSG_ERROR) if error.
Caution This message is not applicable to Tone Generator and Player resources.