C55_l2EnableMIR
Application Program Interface
2-35
C Interface
Syntax
C55_l2EnableMIR(mirmask);
Parameters
LgUns
mirmask; /* disable mask */
Return Value
Void
Description
This API applies to the OMAP 2320/2420 platforms only.
C55_l2EnableMIR enables level 2 interrupts by clearing the bits specified
by mirmask in the Interrupt Mask Register (MIR). The MIR is a register in
the Level 2 Interrupt Controller (L2IC) that defines which level 2 interrupts
(0-31) are enabled or disabled. (Cleared bits are enabled.)
This function provides the functionality of C55_enableIer0/1 for level 2
interrupts. The mirmask argument is a 32-bit bitmask that defines which
level 2 interrupts to enable.
Example
// Enables L2 interrupts 10, 11, 12, 13
// 0x3c00 = 11110000000000 binary
C55_l2EnableMIR(0x00003c00);
See Also
C55_l2EnableMIR
Enable certain level 2 interrupts