Interrupt processing method and interrupt controller
A processing method and controller technology, which is applied in the field of communication, can solve the problem of interrupt source processor taking too much time, and achieve the effect of avoiding response time and shortening time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] See figure 2 As shown, the interrupt processing method provided in this embodiment includes the following steps:
[0037] Step 201: Before the processor writes the interrupt processing completion identification information of the current interrupt into the interrupt controller, store the interrupt source clear information in the interrupt controller;
[0038] The interrupt processing completed identification information in this embodiment means that after the interrupt processing is completed, the interrupt handler will write the value required by the interrupt controller to the specified register in the interrupt controller group, so that the interrupt control logic of the interrupt controller will Enable the sampling interface to continue sampling the currently responding interrupt line to respond to new interrupts; at the same time, the total interrupt of the processor will be turned on to respond to other interrupts;
[0039] Step 202: When the interrupt controlle...
Embodiment 2
[0049] This embodiment provides an interrupt controller, please refer to image 3 As shown, including the storage module and the interrupt clearing module, among them:
[0050] The interrupt clearing module is used to obtain the interrupt source clearing information of the interrupt and store it in the storage module before the processor writes the interrupt processing completion identification information of the current interrupt into the interrupt controller; When the request to write the interrupt processing completion identification information is sent, the interrupt source of the interrupt is cleared according to the interrupt source clear information stored in the storage module.
[0051] It can be seen that compared with the existing terminal controller, the interrupt controller provided by this embodiment adds a storage module dedicated to storing interrupt source clearing information and performs interrupt source clearing according to the interrupt source clearing inf...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


