module ti.sysbios.family.arm.msp432e4.init.Boot

MSP432E Boot Support

The Boot module supports boot initialization for the MSP432E 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 called very early at boot time (prior to cinit processing). [ more ... ]
C synopsis target-domain sourced in ti/sysbios/family/arm/msp432e4/init/Boot.xdc
DETAILS
The Boot module supports boot initialization for the MSP432E 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 called very early at boot time (prior to cinit processing).
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.
 
Boot_sysCtlClockFreqSet()  // module-wide
C synopsis target-domain
ULong Boot_sysCtlClockFreqSet(ULong ulConfig, ULong ulSysClock);
 
Module-Wide Built-Ins

C synopsis target-domain
Types_ModuleId Boot_Module_id();
// Get this module's unique id
 
Bool Boot_Module_startupDone();
// Test if this module has completed startup
 
IHeap_Handle Boot_Module_heap();
// The heap from which this module allocates memory
 
Bool Boot_Module_hasMask();
// Test whether this module has a diagnostics mask
 
Bits16 Boot_Module_getMask();
// Returns the diagnostics mask for this module
 
Void Boot_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
 
Configuration settings sourced in ti/sysbios/family/arm/msp432e4/init/Boot.xdc
var Boot = xdc.useModule('ti.sysbios.family.arm.msp432e4.init.Boot');
module-wide constants & types
    values of type Boot.OscSrc// 
        const Boot.OSCSRC_MAIN// Main oscillator;
        const Boot.OSCSRC_EXT32// External 32 KHz;
 
    values of type Boot.VcoFreq// 
        const Boot.VCO_480// VCO is 480 MHz;
        const Boot.VCO_320// VCO is 320 MHz;
 
    values of type Boot.XtalFreq// 
        const Boot.XTAL_5MHZ// 5 MHz;
        const Boot.XTAL_6MHZ// 6 MHz;
        const Boot.XTAL_8MHZ// 8 MHz;
        const Boot.XTAL_10MHZ// 10 MHz;
        const Boot.XTAL_12MHZ// 12 MHz;
        const Boot.XTAL_16MHZ// 16 MHz;
        const Boot.XTAL_18MHZ// 18 MHz;
        const Boot.XTAL_20MHZ// 20 MHz;
        const Boot.XTAL_24MHZ// 24 MHz;
        const Boot.XTAL_25MHZ// 25 MHz;
 
    var obj = new Boot.ModuleView// ;
        obj.configureClock = Bool  ...
        obj.xtal = String  ...
        obj.oscSrc = String  ...
        obj.pllBypass = Bool  ...
        obj.ioscDisable = Bool  ...
        obj.moscDisable = Bool  ...
module-wide config parameters
    Boot.pllBypass// PLL Bypass flag = Bool false;
 
 
metaonly enum Boot.OscSrc
Configuration settings
values of type Boot.OscSrc
    const Boot.OSCSRC_MAIN;
    // Main oscillator
    const Boot.OSCSRC_INT;
    // Internal oscillator
    const Boot.OSCSRC_INT4;
    // Internal oscillator / 4
    const Boot.OSCSRC_INT30;
    // Internal 30 KHz oscillator
    const Boot.OSCSRC_EXT4_19;
    // External 4.19 MHz
    const Boot.OSCSRC_EXT32;
    // External 32 KHz
 
 
metaonly enum Boot.VcoFreq
Configuration settings
values of type Boot.VcoFreq
    const Boot.VCO_480;
    // VCO is 480 MHz
    const Boot.VCO_320;
    // VCO is 320 MHz
 
 
metaonly enum Boot.XtalFreq
Configuration settings
values of type Boot.XtalFreq
    const Boot.XTAL_5MHZ;
    // 5 MHz
    const Boot.XTAL_6MHZ;
    // 6 MHz
    const Boot.XTAL_8MHZ;
    // 8 MHz
    const Boot.XTAL_10MHZ;
    // 10 MHz
    const Boot.XTAL_12MHZ;
    // 12 MHz
    const Boot.XTAL_16MHZ;
    // 16 MHz
    const Boot.XTAL_18MHZ;
    // 18 MHz
    const Boot.XTAL_20MHZ;
    // 20 MHz
    const Boot.XTAL_24MHZ;
    // 24 MHz
    const Boot.XTAL_25MHZ;
    // 25 MHz
 
 
metaonly struct Boot.ModuleView
Configuration settings
var obj = new Boot.ModuleView;
 
    obj.configureClock = Bool  ...
    obj.xtal = String  ...
    obj.oscSrc = String  ...
    obj.pllBypass = Bool  ...
    obj.ioscDisable = Bool  ...
    obj.moscDisable = Bool  ...
 
 
metaonly config Boot.common$  // module-wide

Common module configuration parameters

Configuration settings
Boot.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.
 
metaonly config Boot.configureClock  // module-wide

Clock configuration flag, default is true

Configuration settings
Boot.configureClock = Bool true;
 
 
metaonly config Boot.cpuFrequency  // module-wide

Desired CPU Clock Frequency in Hz

Configuration settings
Boot.cpuFrequency = UInt 120000000;
 
 
metaonly config Boot.ioscDisable  // module-wide

Internal Oscillator Disable flag

Configuration settings
Boot.ioscDisable = Bool false;
 
 
metaonly config Boot.moscDisable  // module-wide

Main Oscillator Disable flag

Configuration settings
Boot.moscDisable = Bool false;
 
 
metaonly config Boot.oscSrc  // module-wide

Oscillator Source

Configuration settings
Boot.oscSrc = Boot.OscSrc Boot.OSCSRC_MAIN;
 
 
metaonly config Boot.pllBypass  // module-wide

PLL Bypass flag

Configuration settings
Boot.pllBypass = Bool false;
 
 
metaonly config Boot.rovViewInfo  // module-wide
Configuration settings
Boot.rovViewInfo = ViewInfo.Instance ViewInfo.create;
 
 
metaonly config Boot.vcoFreq  // module-wide

VCO frequency

Configuration settings
Boot.vcoFreq = Boot.VcoFreq Boot.VCO_480;
 
 
metaonly config Boot.xtal  // module-wide

Crystal Value

Configuration settings
 
generated on Thu, 23 May 2019 00:22:41 GMT