摘要 |
<p>Determining whether the highest priority pending interrupt is an active level-triggered interrupt. One embodiment of the present invention includes an interrupt service register (220) operable to indicate when an interrupt is being serviced, an interrupt request register (218) operable to indicate when an interrupt is pending, and a comparator (228) operable to compare the vector corresponding to the highest priority pending interrupt with the vector associated with the particular interrupt input. Included also is a control generator (230) coupled to the comparator and operable to selectively clear and/or set bits contained in the interrupt service register (220) and the interrupt request register (218). The present invention supports both edge-triggered and level-triggered interrupts without the need for a trigger mode register or other similar overhead housekeeping controls and related storage logic and without any handshake requirements.</p> |