OMAP 2320 and the C55 Module
C-8
C.4
OMAP 2320 and the C55 Module
In addition to extensions to the HWI module, the following extensions
have been made to the C55 module to support the OMAP 2320 level 2
interrupts.
C.4.1
C55_plug API
For C55_plug, the range of vector IDs is extended from 0-31 to 0-95. The
IDs 32-95 correspond to level 2 interrupts 0-63 respectively. The c55.h
file now includes definitions C55_L2_INT0 through C55_L2_INT63 which
map to vector IDs 32-95.
C.4.2
New APIs
The following APIs have been added to the C55 module for use with
OMAP 2320. For details, see the topics for these APIs in the alphabetic
reference in Chapter 2.
❏
C55_disableInt. Disable an individual interrupt.
❏
C55_enableInt. Enable an individual interrupt.
❏
C55_l2AckInt. Explicitly acknowledge an L2 interrupt
❏
C55_l2DisableMIR. Disable a mask of L2 interrupts
❏
C55_l2EnableMIR. Enable a mask of L2 interrupts
❏
C55_l2SetIntPriority. Set the priority of a L2 interrupt
C.5
Building DSP/BIOS Applications for OMAP 2320
In order for the proper DSP/BIOS header files to be used during the build
process, you must define the symbol "_2320_" at assembly time.
If you are building from the command line, add the following option to
your assembler command line:
-d_2320_
If you are building with Code Composer Studio, follow these steps:
1) Open the application's CCStudio project.
2) Choose
Project->Build Options
to open the Build Options dialog.
3) Go to the Compiler tab and choose the Assembly category
4) Add
_2320_
to the “Pre-Define NAME (-ad)” field.
5) Click
OK
.