|
| << Previous | Next >> |
void OSTaskCreateHook(OS_TCB *ptcb);
Description
- Called by µC/OS-II whenever a task is created. This call-back function resides in
UCOS2.LIBand extends functionality during task creation by allowing additional information to be passed to the kernel, anything associated with a task. This function can also be used to trigger other hardware, such as an oscilloscope. Interrupts are disabled during this call, therefore, it is recommended that code be kept to a minimum.Parameters
- ptcb
- Pointer to the TCB of the task being created.
Library
- OS_TASK.C
See also
- OSTaskDelHook
| 020-0059 Rev. D | << Previous | Next >> | µC/OS-II |