metaonly module xdc.runtime.Reset |
|
|
|
Startup reset function manager
This module defines an initial reset function and can be used without
requiring any other
xdc.runtime module. The reset function is called
as early as possible in the application startup and is intended for
platform-specific hardware initialization.
[
more ... ]
var Reset = xdc.useModule('xdc.runtime.Reset');
module-wide config parameters
DETAILS
This module defines an initial reset function and can be used without
requiring any other xdc.runtime module. The reset function is called
as early as possible in the application startup and is intended for
platform-specific hardware initialization.
The reset function sequentially calls each of the functions added to the
fxns array starting from index 0. If
Startup.resetFxn is defined, it is called
before any of the functions defined by the
fxns array.
By providing an array of startup functions, rather than a single function
as
Startup does, modules that need very early initialization
can simply add their initialization to the list of functions to be called
without having to implement a "chaining" mechanism or requiring the user
to implement and maintain an application reset function.
WARNING
The reset function is _not_ supported on all platforms and, as a result,
you should never place any "portable" code that is required for your
application in this function. Use the
Startup module to
define required application startup functions.
SEE
generated on Wed, 28 Aug 2019 17:00:49 GMT