module ti.sysbios.hal.Core |
|
|
|
"Global Proxy" for target specific Core implementations
#include <ti/sysbios/hal/Core.h>
Functions common to all ICore modules |
macro UInt | |
macro UInt | |
Functions common to all target modules |
|
|
Constants |
extern const UInt | |
config Core_numCores // module-wide |
|
number of Cores in SMP environment
extern const UInt Core_numCores;
NOTE
This configuration parameter should be set in a family specific or
delegate Core module. Setting "ti.sysbios.hal.Core" module's "numCores"
field does not have the desired affect in SMP mode. This is because all
SMP aware modules reference the family specific (or delegate) Core
module's "numCores" field to determine the number of CPU cores.
Core_getId() // module-wide |
|
return the current core id
Core_hwiEnable() // module-wide |
|
Locally enable interrupts
macro UInt Core_hwiEnable();
RETURNS
opaque key for use by Hwi_restore() or Core_hwiRestore()
DETAILS
Core_hwiEnable locally enables hardware interrupts on the current Core
and returns an opaque key indicating whether interrupts were enabled or
disabled on entry to Core_hwiEnable().
The actual value of the key is target/device specific and is meant
to be passed to Hwi_restore() or Core_hwiRestore().
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.hal.Core');
module-wide config parameters
generated on Tue, 14 Feb 2017 19:58:47 GMT