Power support for m3

C synopsis target-domain sourced in ti/sysbios/family/arm/m3/Power.xdc
config Power_idle  // module-wide

Idle CPU when threads blocked waiting for an interrupt?

C synopsis target-domain
extern const Bool Power_idle;
Power_idleCPU()  // module-wide

Function to automatically idle the CPU during idle time

C synopsis target-domain
Void Power_idleCPU();
When the idle configuration parameter is set, this function will be added to the list of Idle loop functions. When called from the Idle loop, it will transition the CPU into the idle mode specified by the idleMode configuration parameter. The CPU will stay in the corresponding low power mode until the next interrupt occurs.
Module-Wide Built-Ins

C synopsis target-domain
Types_ModuleId Power_Module_id();
// Get this module's unique id
Bool Power_Module_startupDone();
// Test if this module has completed startup
IHeap_Handle Power_Module_heap();
// The heap from which this module allocates memory
Bool Power_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 Power_Module_getMask();
// Returns the diagnostics mask for this module
Void Power_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
Configuration settings sourced in ti/sysbios/family/arm/m3/Power.xdc
var Power = xdc.useModule('');
module-wide config parameters
config Power.idle  // module-wide

Idle CPU when threads blocked waiting for an interrupt?

Configuration settings
Power.idle = Bool false;
metaonly config Power.common$  // module-wide

Common module configuration parameters

Configuration settings
Power.common$ = Types.Common$ undefined;
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:59:20 GMT