TSK Module
2-472
2.29
TSK Module
The TSK module is the task manager.
Functions
❏
TSK_checkstacks. Check for stack overflow
❏
TSK_create. Create a task ready for execution
❏
TSK_delete. Delete a task
❏
TSK_deltatime. Update task STS with time difference
❏
TSK_disable. Disable DSP/BIOS task scheduler
❏
TSK_enable. Enable DSP/BIOS task scheduler
❏
TSK_exit. Terminate execution of the current task
❏
TSK_getenv. Get task environment
❏
TSK_geterr. Get task error number
❏
TSK_getname. Get task name
❏
TSK_getpri. Get task priority
❏
TSK_getsts. Get task STS object
❏
TSK_isTSK. Check current thread calling context
❏
TSK_itick. Advance system alarm clock (interrupt only)
❏
TSK_self. Get handle of currently executing task
❏
TSK_setenv. Set task environment
❏
TSK_seterr. Set task error number
❏
TSK_setpri. Set a task’s execution priority
❏
TSK_settime. Set task STS previous time
❏
TSK_sleep. Delay execution of the current task
❏
TSK_stat. Retrieve the status of a task
❏
TSK_tick. Advance system alarm clock
❏
TSK_time. Return current value of system clock
❏
TSK_yield. Yield processor to equal priority task
Task Hook Functions
Void TSK_createFxn(TSK_Handle task);
Void TSK_deleteFxn(TSK_Handle task);
Void TSK_exitFxn(Void);
Void TSK_readyFxn(TSK_Handle newtask);
Void TSK_switchFxn(TSK_Handle oldtask,
TSK_Handle newtask);