module ti.sysbios.hal.SysCall

SysCall Manager proxy

Calling Context

Function Hwi Swi Task Main Startup
enterPrivMode Y Y Y Y Y
enterUnprivMode Y Y Y Y Y
Definitions:
  • Hwi: API is callable from a Hwi thread.
  • Swi: API is callable from a Swi thread.
  • Task: API is callable from a Task thread.
  • Main: API is callable during any of these phases:
    • In your module startup after this module is started (e.g. Hwi_Module_startupDone() returns TRUE).
    • During xdc.runtime.Startup.lastFxns.
    • During main().
    • During BIOS.startupFxns.
  • Startup: API is callable during any of these phases:
    • During xdc.runtime.Startup.firstFxns.
    • In your module startup before this module is started (e.g. Hwi_Module_startupDone() returns FALSE).
C synopsis target-domain sourced in ti/sysbios/hal/SysCall.xdc
 
SysCall_enterPrivMode()  // module-wide
C synopsis target-domain
macro Void SysCall_enterPrivMode();
 
 
SysCall_enterUnprivMode()  // module-wide
C synopsis target-domain
macro Void SysCall_enterUnprivMode();
 
 
SysCall_restorePrivMode()  // module-wide
C synopsis target-domain
macro Void SysCall_restorePrivMode();
 
Module-Wide Built-Ins

C synopsis target-domain
Types_ModuleId SysCall_Module_id();
// Get this module's unique id
 
Bool SysCall_Module_startupDone();
// Test if this module has completed startup
 
IHeap_Handle SysCall_Module_heap();
// The heap from which this module allocates memory
 
Bool SysCall_Module_hasMask();
// Test whether this module has a diagnostics mask
 
Bits16 SysCall_Module_getMask();
// Returns the diagnostics mask for this module
 
Void SysCall_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
 
Configuration settings sourced in ti/sysbios/hal/SysCall.xdc
var SysCall = xdc.useModule('ti.sysbios.hal.SysCall');
local proxy modules
        SysCall.SysCallProxy.delegate$ = ISysCall.Module null
module-wide config parameters
 
 
proxy SysCall.SysCallProxy

Target/device-specific SysCall implementation

Configuration settings
SysCall.SysCallProxy = ISysCall.Module null
// some delegate module inheriting the ISysCall interface
    SysCall.SysCallProxy.delegate$ = ISysCall.Module null
    // explicit access to the currently bound delegate module
 
 
metaonly config SysCall.common$  // module-wide

Common module configuration parameters

Configuration settings
SysCall.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 Thu, 23 May 2019 00:22:17 GMT