In computer systems programming, an interrupt handler, also known as an interrupt service routine or ISR, is a callback function in microcontrollerfirmware, an operating system or a device driver, whose execution is triggered by the reception of an interrupt. In general, interrupts and their handlers are used to handle high-priority conditions that require the interruption of the current code the processor is executing.