metaonly module ti.catalog.msp430.init.Boot

Boot time initialization code manager

The Boot module supports boot initialization for the MSP430 devices. A special boot init function is created based on the configuration settings for this module. This function is hooked into the xdc.runtime.Reset.fxns[] array and is called very early at boot time (prior to C runtime initialization). [ more ... ]
XDCscript usage meta-domain sourced in ti/catalog/msp430/init/Boot.xdc
var Boot = xdc.useModule('ti.catalog.msp430.init.Boot');
module-wide constants & types
    var obj = new Boot.ModuleView// ;
        obj.disableWatchdog = Bool  ...
        obj.watchdogAddress = UInt  ...
        obj.configureDCO = Bool  ...
module-wide config parameters
 
DETAILS
The Boot module supports boot initialization for the MSP430 devices. A special boot init function is created based on the configuration settings for this module. This function is hooked into the xdc.runtime.Reset.fxns[] array and is called very early at boot time (prior to C runtime initialization).
The code to support the boot module is placed in a separate section named ".text:bootCodeSection" to allow placement of this section in the linker .cmd file if necessary. This section is a subsection of the ".text" section so this code will be placed into the .text section unless explicitly placed, either through Program.sectMap or through a linker command file.
 
struct Boot.ModuleView
XDCscript usage meta-domain
var obj = new Boot.ModuleView;
 
    obj.disableWatchdog = Bool  ...
    obj.watchdogAddress = UInt  ...
    obj.configureDCO = Bool  ...
 
 
config Boot.configureDCO  // module-wide

Configure DCO flag

XDCscript usage meta-domain
Boot.configureDCO = Bool false;
 
DETAILS
The default is false. Set to true to initialize DCO at boot.
 
config Boot.disableWatchdog  // module-wide

Watchdog disable flag

XDCscript usage meta-domain
Boot.disableWatchdog = Bool true;
 
DETAILS
The default is true. Set to false to not automatically disable the watchdog timer.
 
config Boot.rovViewInfo  // module-wide
XDCscript usage meta-domain
Boot.rovViewInfo = ViewInfo.Instance ViewInfo.create;
 
 
config Boot.watchdogAddress  // module-wide

Watchdog control register address

XDCscript usage meta-domain
Boot.watchdogAddress = UInt 0x15c;
 
DETAILS
The default (0x15c) is set for MSP430F54xx and MSP430F552x devices. Change for other devices.
generated on Thu, 27 Sep 2012 23:24:51 GMT