Chapter 15 Interrupt Controller
15-8
15.3.7 Interrupt
requests
It is possible to make interrupt requests to external devices and interrupt requests (IRC interrupts) to
the TX49/H3 core by using a 16-bit interrupt request flag register. REQ[1]* signals are used as interrupt
output signals. Consequently, external interrupt requests can only be used when in the PCI External
Arbiter mode. Also, internal interrupt requests are assigned to interrupt number 13 of the Interrupt
Controller (IRC).
The following six registers set the interrupts.
•
Interrupt Request Flag Register (IRFLAG0, IRFLAG1)
•
Interrupt Request Polarity Control Register (IRPOL)
•
Interrupt Request Mask Register (IRMASKINT, IRMASKEXT)
•
Interrupt Request Control Register (IRRCNT)
The following formulas derive the interrupt generation conditions:
Internal interrupt request =
(|((IRFLAG[15:0] ^ IRPOL[15:0]) & IRMASKINT[15:0]))^ IRRCNT.INTPOL
External interrupt request =
(|((IRFLAG[15:0] ^ IRPOL[15:0] ) & IRMASKEXT[15:0]))^ IRRCNT.EXTPOL
In the above formulas, “^” indicates Exclusive OR operations and “|” indicates reduction operators
that perform an OR operation on all bits.
Also, the External Interrupt OD Control bit (IRRCNT.OD) of the Interrupt Request Control Register
can select whether the external interrupt supply signal is open drain output or totem pole output.
Figure 15.3.1 External Interrupt Request Logic
IRFLAG[15]
IRPOL[15]
IRMASK[15]
IRRCNT.EXTPOL
Internal Interrupt
Request
(0: Request present)
External Interrupt Request
IRRCNT.INTPOL
Summary of Contents for TX49 TMPR4937
Page 1: ...64 Bit TX System RISC TX49 Family TMPR4937 Rev 2 0 ...
Page 4: ......
Page 13: ...Table of Contents ix TMPR4937 Revision History 1 ...
Page 14: ...Table of Contents x ...
Page 15: ...Handling Precautions ...
Page 16: ......
Page 18: ...1 Using Toshiba Semiconductors Safely 1 2 ...
Page 40: ...3 General Safety Precautions and Usage Considerations 3 18 ...
Page 42: ...4 Precautions and Usage Considerations 4 2 ...
Page 43: ...TMPR4937 2005 3 Rev 2 0 ...
Page 44: ......
Page 52: ...Chapter 1 Overview and Features 1 6 ...
Page 156: ...Chapter 7 External Bus Controller 7 56 ...
Page 491: ...Chapter 16 Removed 16 1 16 Removed ...
Page 492: ...Chapter 16 Removed 16 2 ...
Page 493: ...Chapter 17 Removed 17 1 17 Removed ...
Page 494: ...Chapter 17 Removed 17 2 ...
Page 495: ...Chapter 18 Removed 18 1 18 Removed ...
Page 496: ...Chapter 18 Removed 18 2 ...
Page 497: ...Chapter 19 Removed 19 1 19 Removed ...
Page 498: ...Chapter 19 Removed 19 2 ...
Page 506: ...Chapter 20 Extended EJTAG Interface 20 8 ...
Page 530: ...Chapter 22 Pinout and Package Information 22 10 ...
Page 542: ...Chapter 24 Parts Number when Ordering 24 2 ...