<< 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.LIB
and 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
- UCOS2.LIB
See also
- OSTaskDelHook
Dynamic C Functions | << Previous | Next >> | rabbit.com |