module ti.sysbios.family.c7x.TaskSupport |
|
|
|
C71 Task Support Module
#include <ti/sysbios/family/c7x/TaskSupport.h>
Functions common to all target modules |
|
|
Constants |
| |
extern const SizeT | |
extern const UInt | |
config TaskSupport_defaultStackSize // module-wide |
|
Default Task stack size
extern const SizeT TaskSupport_defaultStackSize;
DETAILS
The C7x CPU uses 2 stacks during interrupt processing. The CPU
automatically saves some context to the memory block to which the
TCSP register points, and SW will save some context to the Task's
SW stack during interrupt processing. In order to keep specification
and processing compatible across different CPU targets, SYS/BIOS
uses a single stack memory block for both of these stacks (although
there isn't really any stacking with TCSP since there is a distinct
block for each Task which is used only once). Due to HW alignment
and size requirements for the TCSP block, there is a strict minimum
of 16KB for the Task stack.
config TaskSupport_stackAlignment // module-wide |
|
Required stack alignment (in MAUs)
extern const UInt TaskSupport_stackAlignment;
DETAILS
The C7x CPU TCSP register requires this alignment (see
defaultStackSize for further information).
config TaskSupport_A_stackSizeTooSmall // module-wide |
|
Asserted in TaskSupport_start
extern const Assert_Id TaskSupport_A_stackSizeTooSmall;
Module-Wide Built-Ins |
|
// Get this module's unique id
Bool TaskSupport_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool TaskSupport_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 TaskSupport_Module_getMask();
// Returns the diagnostics mask for this module
Void TaskSupport_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
var TaskSupport = xdc.useModule('ti.sysbios.family.c7x.TaskSupport');
module-wide config parameters
msg: "A_stackSizeTooSmall: Task stack size must be >= 16KB."
};
generated on Thu, 23 May 2019 00:22:30 GMT