问答

汇集网友智慧,解决技术难题

fondsjay

TA的家园币:10  

  • 请问TI-RTOS里swiParams.arg0里的arg0是用来做什么的?

    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是什么意思?定义时有什么讲究吗?

    AMS RTOS RAM TI ip

    2020-12-25 0