module ti.sysbios.knl.Idle |
|
|
|
Idle Thread Manager
The Idle module is used to specify the list of functions to be called
when no other tasks are running in the system.
[
more ... ]
#include <ti/sysbios/knl/Idle.h>
Functions |
Void | |
Functions common to all target modules |
|
|
Typedefs |
typedef Void | |
Constants |
| |
DETAILS
The Idle module is used to specify the list of functions to be called
when no other tasks are running in the system.
If tasking is enabled, then the Task module will create an "Idle task"
with the lowest possible priority. When no other tasks are running, this
idle task runs in an infinite loop, calling the list of functions
specified by the Idle module.
If tasking is disabled, then the idle functions are called in an infinite
loop after main and any Module startup functions.
The list of idle functions is only statically configurable; it cannot be
modified at runtime.
typedef Idle_FuncPtr |
|
Idle function type definition
typedef Void (*Idle_FuncPtr)();
config Idle_funcList // module-wide |
|
The array of functions to be called when no other Tasks are running
Idle_run() // module-wide |
|
Make one pass through idle functions
DETAILS
This function is called internally by the Idle task when
the Idle task has been enabled in the Task module
(see
Task.enableIdleTask).
This function makes one pass through the array of functions defined
in the
Idle.funcList, calling one function after
the next. This function returns after all functions have been
executed one time.
SEE
Module-Wide Built-Ins |
|
// Get this module's unique id
Bool Idle_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool Idle_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 Idle_Module_getMask();
// Returns the diagnostics mask for this module
Void Idle_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
var Idle = xdc.useModule('ti.sysbios.knl.Idle');
module-wide constants & types
module-wide config parameters
module-wide functions
generated on Thu, 03 Feb 2011 19:01:28 GMT