module ti.sysbios.knl.Idle |
|
|
|
Idle Thread Manager
The Idle module is used to specify a 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 | |
DETAILS
The Idle module is used to specify a list of functions to be called
when no other tasks are running in the system.
If tasking is enabled (ie
BIOS.taskEnabled = true), 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 (ie
BIOS.taskEnabled = false), then the idle functions are called in an
infinite loop within the
BIOS_start
function called within main().
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)();
Idle_run() // module-wide |
|
Make one pass through idle functions
DETAILS
This function is called repeatedly by the Idle task when
the Idle task has been enabled in the Task module
(see
Task.enableIdleTask).
This function makes one pass through an internal static array
of functions made up of functions added using the
Idle.addFunc() API as well as any functions
defined in the GUI tool's
Idle.idleFxns[] array.
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
null,
null,
null,
null,
null,
null,
null,
null
];
module-wide functions
generated on Thu, 23 May 2019 00:22:13 GMT