From RTSC-Pedia

Jump to: navigation, search
revision tip
—— LANDSCAPE orientation
[printable version]  [offline version]offline version generated on 04-Aug-2010 21:08 UTC

XDCspec - @ModuleStartup

This module has a startup initialization function

Modules with this attribute supply a runtime function, named Mod_Module_startup(), that will be run during application startup by the xdc.runtime.Startup module.

The table below shows the specification and the implementation signature of a startup function for the module Foo. For more information about startup functions, see the reference documentation for the Startup module or Using xdc.runtime Startup.

Specification (Foo.xdc)
 
 
 
 
@ModuleStartup
module Foo ... {
   :
}
Implementation (Foo.c)
 
 
 
 
 
 
 
#include <xdc/runtime/Startup.h>
 
Int Foo_Module_startup(Int state)
{
       :
   return(Startup_DONE);
}
[printable version]  [offline version]offline version generated on 04-Aug-2010 21:08 UTC
Copyright © 2008 The Eclipse Foundation. All Rights Reserved


Views
Personal tools
package reference