metaonly module ti.catalog.peripherals.hdvicp2.HDVICP2 |
|
var HDVICP2 = xdc.useModule('ti.catalog.peripherals.hdvicp2.HDVICP2');
module-wide functions
per-instance config parameters
HDVICP2.addPeripheralsMap() // module-wide |
|
Create a map of all peripherals available on a device
XDCscript usage |
meta-domain |
ARGUMENTS
DETAILS
The config parameter
peripherals is by default undefined in an
xdc.platform.ICpuDataSheet instance. This function gathers
all instance configuration parameters that are of the type
xdc.platform.IPeripheral into the map
peripherals.
HDVICP2.getAll() // module-wide |
|
Find all peripherals of a certain type
XDCscript usage |
meta-domain |
DETAILS
The type of the peripherals returned is defined by the type of the
caller.
RETURNS
Returns an array of IPeripheral instances
HDVICP2.getRegisters() // module-wide |
|
Find all registers defined by the peripheral
XDCscript usage |
meta-domain |
HDVICP2.getRegisters() returns String[]
RETURNS
Returns an array of register names
Instance Config Parameters |
|
XDCscript usage |
meta-domain |
var params = new HDVICP2.Params;
// Instance config-params object
params.baseAddr = UInt undefined;
// Address of the peripheral's control register
params.intNum = UInt undefined;
// Transfer completion Interrupt source number
params.name = String undefined;
// Specific peripheral name given by the device
params.owner = String undefined;
// String specifying the entity that manages the peripheral
config HDVICP2.baseAddr // instance |
|
Address of the peripheral's control register
XDCscript usage |
meta-domain |
var params = new HDVICP2.Params;
...
params.baseAddr = UInt undefined;
DETAILS
A peripheral's registers are commonly accessed through a structure
that defines the offsets of a particular register from the lowest
address mapped to a peripheral. That lowest address is specified by
this parameter.
config HDVICP2.intNum // instance |
|
Transfer completion Interrupt source number
XDCscript usage |
meta-domain |
var params = new HDVICP2.Params;
...
params.intNum = UInt undefined;
config HDVICP2.name // instance |
|
Specific peripheral name given by the device
XDCscript usage |
meta-domain |
var params = new HDVICP2.Params;
...
params.name = String undefined;
DETAILS
Devices can have more than one peripheral of the same type. In such
cases, device data sheets give different names to the instances of a
same peripheral. For example, the name for a timer module could be
TimerA3, and a device that has two such timers can name them TA0
and TA1.
config HDVICP2.owner // instance |
|
String specifying the entity that manages the peripheral
XDCscript usage |
meta-domain |
var params = new HDVICP2.Params;
...
params.owner = String undefined;
generated on Tue, 24 Aug 2010 15:40:01 GMT