module ti.sysbios.family.arm.ducati.Core |
|
|
|
Core Identification Module
The Core module is used to define which core within a dual core
"Ducati" subsystem an application is being built for.
[
more ... ]
#include <ti/sysbios/family/arm/ducati/Core.h>
Functions |
UInt | |
Functions common to all target modules |
|
|
Constants |
| |
extern const UInt | |
DETAILS
The Core module is used to define which core within a dual core
"Ducati" subsystem an application is being built for.
At runtime, a comparison is made between the configured Core.id
and the value of PID0 (at address 0xe00fffe0). If they do not
agree, an Error is raised.
Use of this module has the side effect of configuring default
interrupt vector table placements for Core 0 and Core 1 if
they haven't already been specified by the
Hwi.vectorTableAddress
config parameter.
Core 0's default vector table placement is at 0x400.
Core 1's default vector table placement is at 0x800.
config Core_E_mismatchedIds // module-wide |
|
Error raised if Core.id does not match the contents
of PID0 (at 0xE00FFFE0)
extern const Error_Id Core_E_mismatchedIds;
config Core_id // module-wide |
|
Ducati Core ID, default is Core 0
extern const UInt Core_id;
DETAILS
Used for making static decisions based on Core ID
Core_getId() // module-wide |
|
Reads M3 core ID (0 or 1)
RETURNS
core ID
DETAILS
Used for making dynamic decisions based on Core ID
Module-Wide Built-Ins |
|
// Get this module's unique id
Bool Core_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool Core_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 Core_Module_getMask();
// Returns the diagnostics mask for this module
Void Core_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
var Core = xdc.useModule('ti.sysbios.family.arm.ducati.Core');
module-wide config parameters
msg: "E_mismatchedIds: Core_Id: %d does not match hardware core Id: %d"
};
generated on Thu, 03 Feb 2011 19:01:11 GMT