11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 7-2 Status Register Interrupt Mask Bits11 10 Exceptions Permitted Exceptions Masked0 0 IPLO, 1,2,3 None0 1 IPL 1, 2, 3 IPL 01 0 IPL2,3 IPL 0,11 1 IPL 3 IPL 0, 1,2rent processor priority level. However, level 3 interrupts are not maskable and thereforecan always interrupt the processor. DSP56K Family central processor interrupt sourcesand their IPLs are listed in Table 7-6. For information on on-chip peripheral interrupt prioritylevels, see the individual DSP56K family member's User's Manual.-7.3.2.1 Interrupt Priority LevelsThe IPL for each on-chip peripheral device (HI, SSI, SCI) and for each external interruptsource (IRQA, IRQ8) can be programmed to one <strong>of</strong> the three maskable priority levels(IPL 0, 1, or 2) under s<strong>of</strong>tware control. IPLs are set by writing to the interrupt priority registershown in Figure 7-2. This read/write register is located in program memory ataddress $FFFF. It specifies the IPL for each <strong>of</strong> the interrupting devices including IRQA,IRQ8 and each peripheral device. (For specific peripheral information, see the specificDSP56K family member's User's Manual.) In addition, it specifies the trigger mode <strong>of</strong> theexternal interrupt sources and is used to enable or disable the individual external inter~rupts. The interrupt priority register is cleared on RESET or by the reset instruction.Table 7-3 defines the IPL bits. Table 7-4 defines the external interrupt trigger mode bits.23 ........................................................ 1 0 9 8 7 6 5 4 3 2 0'---'----'--- IRQA MODE~~--~------------IRQBMODE~--'-__ -L...---' __________ RESERVED FOR EXPANSION'--_________....1...-_____________ RESERVED FOR PERIPHERAL IPL LEVELSBits 6 to 9 are reserved, read as zero and should be written with zero for future compatibility.Figure 7-2 Interrupt Priority Register (Addr X:$FFFF)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!