?? ——ucos51移植心得[社區(qū)].htm
字號(hào):
OSInit();<BR> <BR>
InitTimer0();<BR>
InitSerial();<BR>
InitSerialBuffer();<BR> <BR>
OSTaskCreate(TaskStartyya, (void *)0,
&TaskStartStkyya[0],2);<BR>
OSTaskCreate(TaskStartyyb, (void *)0,
&TaskStartStkyyb[0],3);<BR>
OSTaskCreate(TaskStartyyc, (void *)0,
&TaskStartStkyyc[0],4);<BR>
<BR> OSStart();<BR>}</P>
<P><BR>void TaskStartyya(void *yydata)
reentrant<BR>{<BR>
yydata=yydata;<BR> clrscr();<BR>
PrintStr("\n\t\t*******************************\n");<BR>
PrintStr("\t\t* Hello! The
world.
*\n");<BR>
PrintStr("\t\t*******************************\n\n\n");<BR>
<BR>
for(;;){<BR>
PrintStr("\tAAAAAA111111 is
active.\n");<BR>
OSTimeDly(OS_TICKS_PER_SEC);
<BR> } <BR>}</P>
<P>void TaskStartyyb(void *yydata)
reentrant<BR>{<BR> yydata=yydata;
<BR> <BR>
for(;;){<BR>
PrintStr("\tBBBBBB333333 is
active.\n");<BR>
OSTimeDly(3*OS_TICKS_PER_SEC);
<BR> } <BR>}</P>
<P>void TaskStartyyc(void *yydata)
reentrant<BR>{<BR> yydata=yydata;
<BR> <BR>
for(;;){<BR>
PrintStr("\tCCCCCC666666 is
active.\n");<BR>
OSTimeDly(6*OS_TICKS_PER_SEC);
<BR> } <BR>} </P>
<P><BR>* - 本貼最后修改時(shí)間:2003-5-29 11:25:08 修改者:gdtyy<BR>* - 修改原因:+</P>
<P> </P>
<P>作者信箱 <A
href="mailto:asdjf@163.com">asdjf@163.com</A> <BR> <BR> <BR>社區(qū)原文
<A
href="http://www.21icbbs.com/club/bbs/list.asp?boardid=8&page=1&t=338692&tp=uCOS51%u79FB%u690D%u5FC3%u5F97">http://www.21icbbs.com/club/bbs/list.asp?boardid=8&page=1&t=338692&tp=uCOS51%u79FB%u690D%u5FC3%u5F97</A></P>
<P></P></DIV></TD></TR>
<TR>
<TD align=middle height=15>
<TABLE cellSpacing=0 cellPadding=0 align=center border=0>
<TBODY>
<TR>
<TD>
<DIV></DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD align=right height=2>
<TABLE cellSpacing=0 cellPadding=0 width="80%" border=0>
<TBODY>
<TR>
<TD width=75>【<A href="javascript:doPrint();">打印本稿</A>】</TD>
<TD width=8></TD>
<TD width=75>
<P>【<A
href="http://www.21ic.com/new_info/news/review.asp?title=uCOS51移植心得[社區(qū)]target="
_blank?>發(fā)表評(píng)論</A>】</P></TD>
<TD width=10></TD>
<TD width=79>【<A
href="http://www.21ic.com/new_info/news/sendmail.asp?num=uCOS51移植心得[社區(qū)]">推薦</A>】</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD align=right height=2></TD></TR>
<TR>
<TD align=right height=2><A href="javascript:window.close();"><IMG
height=20 src="——uCOS51移植心得[社區(qū)].files/close_c.gif" width=77 border=0
name=Image161></A><FONT
color=#ffffff>----</FONT></TD></TR></TBODY></TABLE><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=520 align=center border=0>
<TBODY>
<TR>
<TD vAlign=bottom align=middle width=114 bgColor=#999a76
height=1><IMG height=1 src="——uCOS51移植心得[社區(qū)].files/blank.gif"
width=1></TD>
<TD width=466 height=1></TD></TR>
<TR>
<TD align=middle width=114 bgColor=#ece8db height=19>相關(guān)新聞</TD>
<TD width=466 height=19></TD></TR>
<TR bgColor=#999a76>
<TD colSpan=2 height=1><IMG height=1
src="——uCOS51移植心得[社區(qū)].files/blank.gif" width=1></TD></TR>
<TR>
<TD colSpan=2 height=1></TD></TR></TBODY></TABLE>
<TABLE borderColor=#000000 cellSpacing=0 cellPadding=0 width=520
align=center border=0>
<TBODY>
<TR>
<TD vAlign=top>
<TABLE class=RelatedTable width="100%" border=0>
<TBODY>
<TR class=RelatedTr>
<TD class=RelatedTd>
<SCRIPT language=javascript
src="——uCOS51移植心得[社區(qū)].files/about.htm"></SCRIPT>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR></TD>
<TD vAlign=top align=middle width=150 bgColor=#ece8db height=2>
<TABLE cellSpacing=0 cellPadding=1 width="100%" border=0>
<TBODY>
<TR>
<TD bgColor=#000000>
<TABLE cellSpacing=0 cellPadding=2 width=150 bgColor=#ece8db
border=0>
<TBODY>
<TR>
<TD>
<META content="Microsoft FrontPage 5.0" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId><BR><A
href="http://www.hhcn.com/chinese/cnindex.html"
target=blank>華恒<BR>(ARM,PowerPC,冷火,龍珠)</A><BR><A
href="http://www.embedon.com/" target=blank>遠(yuǎn)峰</A> <BR><A
href="http://www.21ic.com/custom/jhb/index.htm"
target=blank>復(fù)旦金海博</A><BR><A
href="http://www.emdoor.com/index.asp"
target=blank>億道</A><BR><BR>單片機(jī) <BR><BR><A
href="http://www.hk.renesas.com/"
target=blank>Renesas</A><BR><A
href="http://www.zlgmcu.com/tools/kaifaban.asp"
target=blank>周立功 Philips</A> <BR><A
href="http://www.strong-ic.com/" target=blank>勝創(chuàng)特</A> <BR><A
href="http://www.holtek.com.tw/" target=blank>盛群 Holtek</A>
<BR><A href="http://www.xhl.com.cn/"
target=blank>Cygnal單片機(jī)</A><BR><A href="http://www.lierda.com/"
target=blank>利爾達(dá)MSP430</A> <BR><BR>接口電路:<BR><BR><A
href="http://www.whjmw.com/" target=blank>金邁威</A> <BR><A
href="http://www.21ic.com/custom/maiwei/mw.htm"
target=blank>邁威</A> <BR><A href="http://www.rs232.net.cn/"
target=blank>瑞賽特</A><BR><BR><BR>存儲(chǔ)器<BR><A
href="http://www.huazhoucn.com/"
target=blank>鐵電存儲(chǔ)器免費(fèi)樣品</A><BR><BR><BR>模擬器件<BR><A
href="http://www.unique-ap.com.cn/"
target=blank>Linear</A><BR><BR><BR>編程器<BR><A
href="http://www.xeltek.com.cn/"
target=blank>西爾特編程器</A><BR></TD></TR>
<TR>
<TD
height=5></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=766 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top colSpan=6></TD></TR>
<TR>
<TD vAlign=top colSpan=6 height=10></TD></TR>
<TR>
<TD vAlign=top bgColor=#999999 colSpan=6 height=2></TD></TR>
<TR>
<TD class=stxt vAlign=center align=middle colSpan=6
height=6></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=766 align=center border=0>
<TBODY>
<TR>
<TD class=s width=973 height=12></TD></TR>
<TR>
<TD class=s width=973 height=20>
<DIV align=center><FONT face="Arial, Helvetica, sans-serif"><!--start copyright-->
<DIV align=center><FONT color=black>
<TABLE cellSpacing=0 cellPadding=0 width=600 align=center border=0>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -