mailbox

所属分类:DSP编程
开发工具:Visual C++
文件大小:122KB
下载次数:13
上传日期:2015-07-26 17:12:08
上 传 者fu1899
说明:  TI公司C6000的DSP BIOS 邮箱管理例程,对做TI C6000开发有特别重要的作用
(C6000 DSP BIOS TI mailbox management routines, the development of C6000 TI to do a special role)

文件列表:
mailbox\dsk5416\mailbox.pjt (1445, 2006-11-15)
mailbox\dsk5416\mailbox.tcf (1045, 2006-11-15)
mailbox\dsk5416\mailboxcfg.cmd (9931, 2006-11-15)
mailbox\dsk5416\mailbox_dsk5416_custom.tci (556, 2006-11-15)
mailbox\dsk5416\makefile (2426, 2006-11-15)
mailbox\dsk5510\mailbox.pjt (1407, 2006-11-15)
mailbox\dsk5510\mailbox.tcf (1045, 2006-11-15)
mailbox\dsk5510\mailboxcfg.cmd (10315, 2006-11-15)
mailbox\dsk5510\mailbox_dsk5510_custom.tci (556, 2006-11-15)
mailbox\dsk5510\makefile (2402, 2006-11-15)
mailbox\dsk6416\mailbox.pjt (1411, 2006-11-15)
mailbox\dsk6416\mailbox.tcf (1045, 2006-11-15)
mailbox\dsk6416\mailboxcfg.cmd (8247, 2006-11-15)
mailbox\dsk6416\mailbox_dsk6416_custom.tci (556, 2006-11-15)
mailbox\dsk6416\makefile (2410, 2006-11-15)
mailbox\dsk6455\mailbox.CS_\FILE.CDX (3072, 2012-04-17)
mailbox\dsk6455\mailbox.CS_\FILE.DBF (390, 2012-04-17)
mailbox\dsk6455\mailbox.CS_\FILE.FPT (858, 2012-04-17)
mailbox\dsk6455\mailbox.CS_\SYMBOL.CDX (28672, 2012-04-17)
mailbox\dsk6455\mailbox.CS_\SYMBOL.DBF (14332, 2012-04-17)
mailbox\dsk6455\mailbox.CS_\SYMBOL.FPT (22922, 2012-04-17)
mailbox\dsk6455\mailbox.paf2 (1033, 2012-04-17)
mailbox\dsk6455\mailbox.pjt (1414, 2006-11-15)
mailbox\dsk6455\mailbox.sbl (2641, 2012-04-17)
mailbox\dsk6455\mailbox.tcf (1045, 2006-11-15)
mailbox\dsk6455\mailbox.tco (380, 2012-04-17)
mailbox\dsk6455\mailboxcfg.cmd (11115, 2006-11-15)
mailbox\dsk6455\mailbox_dsk6455_custom.tci (556, 2006-11-15)
mailbox\dsk6455\makefile (2412, 2006-11-15)
mailbox\dsk6713\mailbox.pjt (1409, 2006-11-15)
mailbox\dsk6713\mailbox.tcf (1045, 2006-11-15)
mailbox\dsk6713\mailboxcfg.cmd (8331, 2006-11-15)
mailbox\dsk6713\mailbox_dsk6713_custom.tci (556, 2006-11-15)
mailbox\dsk6713\makefile (2410, 2006-11-15)
mailbox\evm5509A\mailbox.pjt (1408, 2006-11-15)
mailbox\evm5509A\mailbox.tcf (1051, 2006-11-15)
mailbox\evm5509A\mailboxcfg.cmd (10158, 2006-11-15)
mailbox\evm5509A\mailbox_evm5509A_custom.tci (558, 2006-11-15)
mailbox\evm5509A\makefile (2404, 2006-11-15)
mailbox\evmDM642\mailbox.pjt (1412, 2006-11-15)
... ...

Purpose: Use a MBX mailbox to send messages from multiple writer() tasks to a single reader() task. Design: In this example, the mailbox, reader task, and three writer tasks are created by the Configuration Tool. This example is similar to the semaphore example. The major differences are: - MBX is used in place of QUE and SEM. - the 'elem' field is removed from MsgObj. - reader() task is *not* higher priority than writer task. - reader() looks at return value from MBX_pend() for timeout Expected output: 0 (0) writing 'a' ... 1 (0) writing 'b' ... 2 read 'a' from (0). 3 read 'b' from (0). 4 (0) writing 'c' ... 5 writer (0) done. 6 (1) writing 'a' ... 7 read 'c' from (0). 8 read 'a' from (1). 9 (2) writing 'a' ... 10 (1) writing 'b' ... 11 read 'a' from (2). 12 read 'b' from (1). 13 (2) writing 'b' ... 14 (1) writing 'c' ... 15 writer (1) done. 16 read 'b' from (2). 17 read 'c' from (1). 18 (2) writing 'c' ... 19 writer (2) done. 20 read 'c' from (2). 21 timeout expired for MBX_pend() 22 reader done. Notice that the line showing "timeout expired for MBX_pend()" is expected.

近期下载者

相关文件


收藏者