Intel IXP400 Car Stereo System User Manual


 
Intel
®
IXP400 Digital Signal Processing (DSP) Software Version 2.5
Resource-Specific Control Messages
API Reference Manual 33
6.9 Tone Detector FSK-Receive-Completed Message
6.10 Player-Start Message
Type XMSG_TD_RCV_FSK_CMPLT
Direction Outbound
Description Tone Detector indicates the completion of receiving FSK data
Format
typedef struct{
XMsgHdr_t head; /* message header */
UINT16 reason; /* the reason of completion */
UINT8 numBytes; /* number of bytes received */
UINT8 data[XMAX_FSKDATASIZE]; /* received data */
} XMsgTDRcvFskCmplt_t;
where the reason may be:
#define XMSG_STOP_REASON_EOD 2
#define XMSG_STOP_REASON_TIMEOUT 4
Macro
#define XMSG_FIELD_TD_RCV_FSK_CMPLT(pMsg, rsn, num, pBuf)\
{\
rsn = ((XMsgTDRcvFskCmplt_t *)(pMsg))->reason;\
num = ((XMsgTDRcvFskCmplt_t *)(pMsg))->numBytes;\
pBuf= ((XMsgTDRcvFskCmplt_t *)(pMsg))->data;\
}
Type XMSG_PLY_START (Sheet 1 of 2)
Direction Inbound
Description Start Player to play back pre-recorded audio data