Home > other >  Uc/OS
Uc/OS

Time:10-07

O bosses embedded real-time operating system code suc

CodePudding user response:

Q1:
App_cfg. H set the task priority and size, creating a task using the function OSTaskCreate or OSTaskCreateExt,
Global variables with volatile int COUNT=600, with global variable header file contains statements extern int COUNT,
Add statements in task TaskA function COUNT -=1, internal plus a statement at the end of the while loop OSTimeDlyHMSM (0,0,1,0)...
Modify the task priority function for OSTaskChangePrio, function for OSTaskSuspend task, and restore function for OSTaskResume task, delete the task function for OSTaskDel, see os_task specific parameters. The c source file,

Q2: do you know this

Q3: to analysis these functions specific to see os_task. C source file