问答

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

21ic问答首页 - TAG - AMS
  • 请问TI-RTOS里swiParams.arg0里的arg0是用来做什么的? sos

    [i=s] 本帖最后由 fondsjay 于 2020-12-25 13:32 编辑 [/i] Swi_create creates a new Swi object. The following C code sets Swi parameters and creates two Swi objects: Void main() { Swi_Params swiParams; 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

    1522浏览量 0回复量 关注量