Type
XMSG_GET_ALLPARMS
typedef struct{
Format
XMsgHdr_t head;
} XMsgGetAllParms_t;
#define XMSG_MAKE_GET_ALLPARMS(pMsg, trans, res, inst) \
{\
Macro
XMSG_MAKE_HEAD(pMsg, trans, res, inst, sizeof(XMsgGetAllParms_t),\
XMSG_GET_ALLPARMS, 0)\
}
Response
Specific acknowledgement message (XMSG_GET_ALLPARMS_ACK)
5.10
Get-All-Parameters Acknowledge Message
Type
XMSG_GET_ALLPARMS_ACK
Direction
Outbound
Description
Resource returns the parameter inquired.
typedef struct{
XMsgHdr_t
UINT16
Format
UINT16
UINT16
} XMsgGetAllParmsAck_t;
#define XMSG_FIELD_GET_ALLPARMS_ACK(pMsg, num, pIDs, pVals)\
{\
num
Macro
pIDs = ((XMsgGetAllParmsAck_t *)(pMsg))->parmIDs;\
pVals = ((XMsgGetAllParmsAck_t *)(pMsg))->values;\
}
5.11
General-Acknowledge Message
Type
XMSG_ACK
Direction
Outbound
Description
Resource indicates the control message has been processed successfully.
typedef struct{
Format
XMsgHdr_t head;
} XMsgAck_t;
API Reference Manual
®
Intel
IXP400 Digital Signal Processing (DSP) Software Version 2.5
/* message header */
head;
numParms;
parmIDs[XMAX_PARMS_GET];
values[XMAX_PARMS_GET];
= ((XMsgGetAllParmsAck_t *)(pMsg))->numParms;\
/* message header */
Common Control Message
/* message header */
/* number of parameters */
/* array of parameter IDs */
/* array of parameter values */
27