This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
这是状态机的第一个任务A0,当TIF =1就等于是定时器0计时到时间,时间的设置在程序的前面,然后跳转到*A_Task_Ptr指针,这个指针应该指向TaskA1,然后就会在A任务轮转,直到A任务执行完,就会把VTTimer0[0]++。然后跳转到B任务。