Interrupt control method and interrupt control unit

A technology of a control unit and a control method, which is applied in the direction of instruments, electrical digital data processing, etc., can solve the problems of increased resource occupation, interrupt processing resource increase, occupation, etc., to overcome the limitation of the number of pins, improve scalability, and meet The effect of dealing with demand

Inactive Publication Date: 2013-05-01
BEIJING DAHAO TECH
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this method is that each external interrupt signal from the interrupt source will occupy an input pin of the MCU, and at the same time, the MCU needs to allocate corresponding interrupt processing resources for the input pin.
When the number of interrupt sources is small, this method can barely maintain normal functions; but when the number of interrupt sources is large, because the number of input pins of the MCU is always limited, it is difficult to meet the processing requirements of a large number of external interrupt signals. makes the scalability of the interrupt control unit limited
Moreover, as the number of interrupt sources increases, the interrupt processing resources occupied in the MCU will also increase significantly, thus increasing the resource occupation of the MCU.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Interrupt control method and interrupt control unit
  • Interrupt control method and interrupt control unit
  • Interrupt control method and interrupt control unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] Embodiment 1 realizes the interrupt control by using the collaborative work of the programmable logic device and the MCU, and it is no longer necessary to connect all the interrupt sources to the input pins of the MCU, thereby overcoming the limitation of the number of pins and satisfying a large number of external interrupt signals processing requirements, improving the scalability of the interrupt control unit; in addition, since the MCU no longer needs to allocate interrupt processing resources for each input pin, it is also beneficial to reduce the resource occupation of the MCU.

[0042] Figure 4 It is a schematic structural diagram of Embodiment 2 of the interrupt control unit of the present invention. As mentioned above, the execution device may be an execution device indirectly connected and controlled via the programmable logic device 10 . In view of this situation, the specific description of this embodiment is as follows:

[0043] When the execution device ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an interrupt control method and an interrupt control unit. The method comprises the following steps that after an MCU (micro control unit) receives an interrupt request, the MCU reads interrupt source information from an interrupt marker register of a programmable logic device, wherein the interrupt source information is the information recorded in the interrupt marker register according to an external interrupt signal after the programmable logic device receives the external interrupt signal of interrupt source equipment; the MCU generates an interrupt task according to the interrupt source information; and the MCU indicates corresponding execution equipment to execute the interrupt task. By a cooperative work means between the programmable logic device and the MCU, the interrupt control is realized, the expandability of the interrupt control unit is improved, and the resource occupancy on the MCU is reduced.

Description

technical field [0001] The invention relates to an interruption control method and an interruption control unit, belonging to the technical field of interruption control. Background technique [0002] In some electromechanical automatic control devices, the interrupt control unit needs to have the ability to handle multiple interrupt requests, so as to deal with scenarios such as monitoring multiple alarm inputs or multiple communication requests. [0003] In order to achieve this purpose, the solution in the prior art is to directly connect the peripheral as the interrupt source with a Micro Control Unit (MCU for short), and use the processing capability of the MCU itself to implement interrupt control. The disadvantage of this method is that each external interrupt signal from the interrupt source will occupy an input pin of the MCU, and at the same time, the MCU needs to allocate corresponding interrupt processing resources for the input pin. When the number of interrupt...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/24
Inventor 魏忠慈刘涛罗任飞谭延磊邵勇
Owner BEIJING DAHAO TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products