module ti.sysbios.hal.Core

"Global Proxy" for target specific Core implementations

C synopsis target-domain sourced in ti/sysbios/hal/Core.xdc
 
config Core_numCores  // module-wide

number of Cores in SMP environment

C synopsis target-domain
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

C synopsis target-domain
macro UInt Core_getId();
 
 
Core_hwiEnable()  // module-wide

Locally enable interrupts

C synopsis target-domain
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

C synopsis target-domain
Types_ModuleId Core_Module_id();
// Get this module's unique id
 
Bool Core_Module_startupDone();
// Test if this module has completed startup
 
IHeap_Handle Core_Module_heap();
// 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
 
Configuration settings sourced in ti/sysbios/hal/Core.xdc
var Core = xdc.useModule('ti.sysbios.hal.Core');
module-wide config parameters
 
 
 
config Core.numCores  // module-wide

number of Cores in SMP environment

Configuration settings
Core.numCores = UInt undefined;
 
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.
C SYNOPSIS
 
metaonly config Core.common$  // module-wide

Common module configuration parameters

Configuration settings
Core.common$ = Types.Common$ undefined;
 
DETAILS
All modules have this configuration parameter. Its name contains the '$' character to ensure it does not conflict with configuration parameters declared by the module. This allows new configuration parameters to be added in the future without any chance of breaking existing modules.
generated on Tue, 14 Feb 2017 19:58:47 GMT