What is ISR?

admin
admin

Posted On: Apr 11, 2020

 

It stands for "Interrupt Service Routine." An ISR (also termed an interrupt handler) is a software method requested by an intervention offer from a hardware method. It examines the application and assigns it to the CPU, disrupting the current method. While the ISR is concluded, the method is returned.

A primary instance of an ISR is a method that manages keyboard functions, such as holding or delivering a key. Every time a solution is compressed, the ISR prepares the information. For instance, if we compress and uphold the right arrow indicator in a document file, the ISR will indicate to the CPU that the right arrow key is pressed. The CPU transmits this data to the current word processor or document editing application, that will transfer the cursor to the right. When we let perform of the solution, the ISR examines the "key up" function. This prevents the prior "key down" position, which indicates the plan to stop relocating the cursor.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Cyient Embedded C Interview Questions

    What is RTOS?

    A real-time operating system (RTOS) is a running system that supports a particular skill within a particularized time restraint. For instance, an operating system can be produced to assure that a part...

    Cyient Embedded C Interview Questions

    What is return type of ISR?

    ISR does not return anything. An ISR returns nothing because there is no caller in the code to read the returned values....

    Cyient Embedded C Interview Questions

    What is the need for DMAC in ES?

    Direct memory admittance is chiefly utilized to master the limitations of interrupt and program-controlled I/O. DMA modules habitually take the handle across from the processor and execute the memory ...