Functions | |
| POSEXTERN void | posTaskYield (void) |
| POSEXTERN void | posTaskSleep (UINT_t ticks) |
| POSEXTERN POSTASK_t | posTaskCreate (POSTASKFUNC_t funcptr, void *funcarg, VAR_t priority, void *stackstart) |
| POSEXTERN void | posInit (POSTASKFUNC_t firstfunc, void *funcarg, VAR_t priority, void *stackFirstTask, void *stackIdleTask) |
| POSEXTERN POSTASK_t | posTaskCreate (POSTASKFUNC_t funcptr, void *funcarg, VAR_t priority, UINT_t stacksize) |
| POSEXTERN void | posInit (POSTASKFUNC_t firstfunc, void *funcarg, VAR_t priority, UINT_t taskStackSize, UINT_t idleStackSize) |
| POSEXTERN POSTASK_t | posTaskCreate (POSTASKFUNC_t funcptr, void *funcarg, VAR_t priority) |
| POSEXTERN void | posInit (POSTASKFUNC_t firstfunc, void *funcarg, VAR_t priority) |
| POSEXTERN void | posTaskExit (void) |
| POSEXTERN POSTASK_t | posTaskGetCurrent (void) |
| POSEXTERN VAR_t | posTaskUnused (POSTASK_t taskhandle) |
| POSEXTERN VAR_t | posTaskSetPriority (POSTASK_t taskhandle, VAR_t priority) |
| POSEXTERN VAR_t | posTaskGetPriority (POSTASK_t taskhandle) |
| POSEXTERN void | posTaskSchedLock (void) |
| POSEXTERN void | posTaskSchedUnlock (void) |
| POSEXTERN void * | posTaskGetUserspace (void) |
| POSEXTERN POSIDLEFUNC_t | posInstallIdleTaskHook (POSIDLEFUNC_t idlefunc) |
|
||||||||||||||||
|
Operating System Initialization. This function initializes the operating system and starts the first tasks: The idle task and the first user task.
|
|
||||||||||||||||||||||||
|
Operating System Initialization. This function initializes the operating system and starts the first tasks: The idle task and the first user task.
|
|
||||||||||||||||||||||||
|
Operating System Initialization. This function initializes the operating system and starts the first tasks: The idle task and the first user task.
|
|
|
Task function. Install or remove an optional idle task hook function. The hook function is called every time the system is idle. It is possible to use this hook to implement your own idle task; in this case the function does not need to return to the system. You may insert a call to posTaskYield into your idle task loop to get a better task performance.
|
|
||||||||||||||||
|
Task function. Creates a new task. The stack memory is fixed, its size is set by the architecture specific portion of the operating system.
|
|
||||||||||||||||||||
|
Task function. Creates a new task. The stack memory is managed by the achitecture specific portion of the operating system, the size can be set by the user.
|
|
||||||||||||||||||||
|
Task function. Creates a new task. The stack memory is managed by the user.
|
|
|
Task function. Terminate execution of a task.
|
|
|
Task function. Get the handle to the currently running task.
|
|
|
Task function. Get the priority of a task.
|
|
|
Task function. Returns a pointer to the user memory in the current task control block.
|
|
|
Task function. Locks the scheduler. When this function is called, no task switches will be done any more, until the counterpart function posTaskSchedUnlock is called. This function is usefull for short critical sections that require exclusive access to variables. Note that interrupts still remain enabled.
|
|
|
Task function. Unlocks the scheduler. This function is called to leave a critical section. If a context switch request is pending, the context switch will happen directly after calling this function.
|
|
||||||||||||
|
Task function. Change the priority of a task. Note that in a non-roundrobin scheduling environment every priority level can only exist once.
|
|
|
Task function. Delay task execution for a couple of timer ticks.
|
|
|
Task function. Tests if a task is yet in use by the operating system. This function can be used to test if a task has been fully terminated (and the stack memory is no more in use).
|
|
|
Task function. This function can be called to give off processing time so other tasks ready to run will be scheduled (= cooparative multitasking).
|
1.4.6-NO