IP Library Granted Patent US 7,707,343
Granted Patent B2
US 7,707,343 · App. 11/790,805 · Granted Apr 27, 2010

Interrupt control circuit and method

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,707,343
App. No.
11/790,805
Granted
Apr 27, 2010
Kind
B2
Abstract

According to an embodiment of the present invention, an interrupt control circuit that controls a plurality of interrupt requests for interrupt handling executed by a processor, includes: an interrupt control module unit as a detecting unit determining whether or not there is an interrupt request masked with interrupt handling executed by a processor during the interrupt handling; and an interrupt control circuit including a priority mask flag indicating whether or not there is the interrupt request. With such configuration, it is possible to simply determine whether or not there is another masked interrupt request.

Claims (41)

1. An interrupt control circuit, comprising:

a priority mask register holding priority mask information being set with respect to each priority level of interrupt requests;

a first masking unit comparing a priority level of an interrupt request with a priority level of an interrupt handling executed by a processor, and outputting an interrupt request signal upon the interrupt request having a higher priority level than, or an equal priority level to, the priority level of the interrupt handling executed by the processor;

a second masking unit determining whether to mask the interrupt request signal outputted from the first masking unit in response to the priority mask information;

a detecting unit determining whether or not there is the masked interrupt request signal in response to a result of the second masking unit; and

a priority mask flag indicating whether or not there is the masked interrupt request signal having a higher priority level than, or an equal priority level to, the priority level of the interrupt handling executed by the processor.

2. The interrupt control circuit according to claim 1 , wherein the priority mask flag is readable by the processor.

3. The interrupt control circuit according to claim 2 , wherein the detecting unit determines whether or not there is a masked interrupt request with respect to each priority level of the interrupt request.

4. The interrupt control circuit according to claim 2 , wherein the detecting unit determines whether or not there is a masked interrupt request with respect to each interrupt priority group preset for the interrupt request.

5. The interrupt control circuit according to claim 1 , wherein the detecting unit determines whether or not there is a masked interrupt request with respect to each priority level of the interrupt request.

6. The interrupt control circuit according to claim 1 , wherein the detecting unit determines whether or not there is a masked interrupt request with respect to each interrupt priority group preset for the interrupt request.

7. A semiconductor device, comprising:

an interrupt control circuit according to claim 1 ; and

a processor determining whether or not to release a resource used for interrupt handling based on whether or not there is an interrupt request.

8. The interrupt control circuit according to claim 1 , further comprising:

a priority setting register holding a priority of each of a plurality of interrupt requests,

wherein the first masking unit compares the priority level of the interrupt request with the priority level of the interrupt handling executed by the processor in response to the priority setting register.

9. The interrupt control circuit according to claim 8 , wherein the interrupt requests are masked on the group basis, and

whether or not there is an interrupt request masked on the group basis is determined.

10. The interrupt control circuit according to claim 1 , further comprising a mask register having mask information for each interrupt request,

wherein the first masking unit determines whether to mask the interrupt request in response to the mask register and compares a priority level of the unmasked interrupt request with a priority level of the interrupt handling executed by the processor.

11. An interrupt control method that controls a plurality of interrupt requests for interrupt handling executed by a processor, comprising:

executing the interrupt handling;

comparing a priority level of an interrupt request with a priority level of interrupt handling executed by a processor, and outputting an interrupt request signal upon the interrupt request having a higher priority level than, or an equal priority level to, the priority level of the interrupt handling executed by the processor;

determining whether to mask the interrupt request signal in response to priority mask information

determining whether or not there is the masked interrupt request in response to a result of the determining whether to mask; and

storing a priority mask flag indicating whether or not there is the masked interrupt request signal having a higher priority level than, or an equal priority level to the priority level of the interrupt handling executed by the processor.

12. The interrupt control method according to claim 11 , wherein whether or not there is the interrupt request can be readable by the processor.

13. The interrupt control method according to claim 12 , wherein whether or not there is a masked interrupt request is determined with respect to each priority level of the interrupt request.

14. The interrupt control method according to claim 12 , wherein whether or not there is a masked interrupt request is determined with respect to each interrupt priority group preset for the interrupt request.

15. The interrupt control method according to claim 11 , wherein whether or not there is a masked interrupt request is determined with respect to each priority level of the interrupt request.

16. The interrupt control method according to claim 11 , wherein whether or not there is a masked interrupt request is determined with respect to each interrupt priority group preset for the interrupt request.

17. A semiconductor device, comprising:

an interrupt control circuit, comprising:

a priority mask register holding mask information being set with respect to each priority level of interrupt requests;

a first masking unit comparing a priority level of an interrupt request with a priori level of an interrupt handling executed by a processor;

a second masking unit determining whether to mask the interrupt request in response to the mask information upon the interrupt request having a higher priority level than, or an equal priority level to the priority level of the interrupt handling executed by the processor;

a detecting unit determining whether or not there is the masked interrupt request in response to a request of the second masking unit; and

a priority mask flag indicating whether or not there is the masked interrupt request; and

a processor determining whether or not to release a resource used for interrupt handling based on whether or not there is an interrupt request,

wherein the processor checks the priority mask flag after an elapse of predetermined wait time for a permission to use another resource for the interrupt handling, and releases the resource when the priority mask flag indicates a presence of the masked interrupt request.

Assignments (2)
CHANGE OF NAME Recorded Nov 4, 2010
From: NEC ELECTRONICS CORPORATION
To: RENESAS ELECTRONICS CORPORATION
Reel/Frame 025311/0869 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 27, 2007
From: SATO, JUNICHI
To: NEC ELECTRONICS CORPORATION
Reel/Frame 019284/0063 →