Intel IXP400 Car Stereo System User Manual


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