ucosii 消息邮箱使用!!
ucosii消息邮箱使用大致分三步:
1,OS_EVENT *Str_Box; Str_Box=OSMboxCreate(0);
2,char s;或者 char *s;
OSMboxPost (Str_Box,(void*)s);
3,对应的
char s;
ss=(char)OSMboxPend (Str_Box, 0, &err);
或者 char *ss;
ss=OSMboxPend
原创
2016-01-25 16:34:24 ·
1104 阅读 ·
0 评论