-
请问TI-RTOS里swiParams.arg0里的arg0是用来做什么的?
本帖最后由fondsjay于2020-12-2513:32编辑Swi_createcreatesanewSwiobject.ThefollowingCcodesetsSwiparametersandcreatestwoSwiobjects:Voidmain(){Swi_ParamsswiParams;Swi_Params_init(&swiParams);swiParams.arg0=1;swiParams.arg1=0;swiParams.priority=2;swiParams.trigger=0;swi0=Swi_create(swi0Fxn,&swiParams,NULL);swiParams.arg0=2;swiParams.arg1=0;swiParams.priority=1;swiParams.trigger=3;swi1=Swi_create(swi1Fxn,&swiParams,NULL);BIOS_start();}以上arg0和arg1是什么意思?定义时有什么讲究吗?
2020-12-25 0