Texas Instruments TMS320C2XX Calculator User Manual


 
Interrupts
5-16
3) Execute the interrupt service routine. Once the interrupt is acknowl-
edged, the ’C2xx branches to its corresponding subroutine called an inter-
rupt service routine (ISR). The ’C2xx follows the branch instruction you
place at a predetermined address (the vector location) and executes the
ISR you have written.
5.6.2 Interrupt Table
For ’C2xx devices other than the ’C209, Table 5–5 lists the interrupts available
and shows their vector locations. In addition, it shows the priority of each of the
hardware interrupts. For the corresponding ’C209 table, see Section 11.3,
’C209 Interrupts
, on page 11-10.
Table 5–5. ’C2xx Interrupt Locations and Priorities
K
Vector
Location
Name Priority Function
0 0h RS 1 (highest)
Hardware reset (nonmaskable)
1 2h HOLD/INT1 4
User-maskable interrupt #1
2 4h INT2, INT3
5
User-maskable interrupts #2
and #3
3 6h TINT 6
User-maskable timer interrupt
4 8h RINT 7 User-maskable synchronous
serial port receive interrupt
5 Ah XINT 8 User-maskable synchronous
serial port transmit interrupt
6 Ch TXRXINT 9 User-maskable asynchronous
serial port transmit/receive in-
terrupt
7 Eh 10 Reserved
8 10h INT8 User-defined software interrupt
9 12h INT9 User-defined software interrupt
Note: This table does not apply to the ’C209. For the ’C209 interrupt table, see Section 11.3
on page 11-10.
The K value is the operand used in an INTR instruction that branches to the corresponding
interrupt vector location.
INT2
and INT3 have separate pins but are tied to the same vector location.