HWI Module
Application Program Interface
2-149
Instance Configuration Parameters
HWI instances are provided as a default part of the configuration and
cannot be created. In the items that follow, HWI_INT* may be any
provided instance. Default values for many HWI properties are different
for each instance
* Depends on interrupt ID
Description
The HWI module manages hardware interrupts. Using Tconf, you can
assign routines that run when specific hardware interrupts occur. Some
routines are assigned to interrupts automatically by the HWI module. For
example, the interrupt for the timer that you select for the CLK global
properties is automatically configured to run a function that increments
the low-resolution time. See the CLK Module for more details.
You can also dynamically assign routines to interrupts at run-time using
the HWI_dispatchPlug function or the C55_plug function.
C55x Name
Type
Default (Enum Options)
comment
String
"<add comments here>"
fxn
Extern
prog.extern("HWI_unused", "asm")
monitor
EnumString
"Nothing" ("Data Value", "xsp", "ac0g", "ac0h", "ac0l", "ac1g", "ac1h",
"ac1l", "ac2g", "ac2h", "ac2l", "ac3g", "ac3h", "ac3l", "xar0", "xar1",
"xar2", "xar3", "xar4", "xar5", "xar6", "xar7", "t0", "t1", "t2", "t3", "xssp",
"tim", "st0_55", "st1_55", "st2_55", "st3_55", "trn0", "bk03", "brc0",
"xdp", "xcdp", "dph", "mdp05", "mdp67", "pdp", "bk47", "bkc", "bsa01",
"bsa23", "bsa45", "bsa67", "bsac", "trn1", "brc1", "csr", "rptc")
addr
Arg
0x00000000
dataType
EnumString
"signed" ("unsigned")
operation
EnumString
"STS_add(*addr)" ("STS_delta(*addr)", "STS_add(-*addr)",
"STS_delta(-*addr)", "STS_add(|*addr|)", "STS_delta(|*addr|)")
useDispatcher
Bool
false
arg
Arg
0
interruptMask0
EnumString
"self" ("all", "none", "bitmask")
interruptMask1
EnumString
"self" ("all", "none", "bitmask")
interruptBitMask0
Numeric
0x0010 *
interruptBitMask1
Numeric
0x0010 *
iMirMask
EnumString
"self" ("all", "none", "bitmask") (OMAP 2320/2420 only)
mirmask
Numeric
0x00000000 * (OMAP 2320/2420 only)
mir1mask
Numeric
0x00000000 * (OMAP 2320 only)
priority
Numeric
0 (0-31 or 0-63) (OMAP 2320/2420 only)